/*
  Asset canonico del shell visual Disal BI.
  Este archivo se carga despues de los estilos locales y gobierna el
  masthead compartido Area > Periodo > Hoja > Panel.
*/

:root {
  --dashboard-anchor-gap: 10px;
  --dashboard-anchor-offset: 160px;
  --dashboard-masthead-top: 10px;
  --dashboard-masthead-progress: 0;
  --dashboard-masthead-shift-y: -16px;
  --dashboard-masthead-child-shift-y: -12px;
  --dashboard-masthead-scale-loss: 0.008;
  --dashboard-shell-row-gap: 8px;
  --dashboard-shell-row-padding-y: 8px;
  --dashboard-shell-row-padding-x: 12px;
  --dashboard-shell-row-radius: 20px;
  --dashboard-page-row-gap: 9px;
}

html {
  scroll-padding-top: var(--dashboard-anchor-offset);
}

body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead {
  --dashboard-masthead-progress-safe: clamp(0, var(--dashboard-masthead-progress, 0), 1);
  --dashboard-masthead-visible-ratio: calc(1 - var(--dashboard-masthead-progress-safe));
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 12px !important;
  row-gap: 6px !important;
  min-width: 0 !important;
  overflow: visible !important;
  position: sticky !important;
  top: var(--dashboard-masthead-top) !important;
  z-index: 40 !important;
  box-sizing: border-box !important;
  max-height: calc(var(--dashboard-masthead-expanded-height, 999px) * var(--dashboard-masthead-visible-ratio)) !important;
  opacity: calc(1 - var(--dashboard-masthead-progress-safe)) !important;
  transform:
    translateY(calc(var(--dashboard-masthead-progress-safe) * var(--dashboard-masthead-shift-y)))
    scale(calc(1 - (var(--dashboard-masthead-progress-safe) * var(--dashboard-masthead-scale-loss)))) !important;
  transform-origin: top center !important;
  will-change: max-height, opacity, transform !important;
}

body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead > * {
  opacity: clamp(0, calc(1 - (var(--dashboard-masthead-progress-safe) * 1.15)), 1) !important;
  transform:
    translateY(calc(var(--dashboard-masthead-progress-safe) * var(--dashboard-masthead-child-shift-y))) !important;
  transform-origin: top center !important;
  will-change: opacity, transform !important;
}

body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead.is-scroll-collapsing {
  overflow: clip !important;
}

body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead.is-scroll-hidden > * {
  pointer-events: none !important;
}

body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead.is-scroll-hidden {
  border-color: transparent !important;
  box-shadow: none !important;
}

body.report-variant-analytics .dashboard-masthead-layout .report-masthead-main {
  grid-column: 1 / 2 !important;
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  min-width: 0 !important;
}

body.report-variant-analytics .dashboard-masthead-layout .report-logo.masthead-logo,
body.report-variant-analytics .dashboard-masthead-layout .masthead-logo {
  align-self: flex-end !important;
  justify-self: start !important;
  flex: 0 0 auto !important;
  width: min(152px, 15vw) !important;
  max-width: min(152px, 15vw) !important;
  margin: 0 !important;
}

body.report-variant-analytics .dashboard-masthead-layout .masthead-sheet-slot {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  justify-self: stretch !important;
  align-self: center !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.report-variant-analytics .dashboard-masthead-layout .masthead-tools {
  grid-column: 1 / -1 !important;
  grid-row: 2 / 3 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

body.report-variant-analytics .dashboard-masthead-layout .toolbar-stack {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 10px 14px !important;
}

.dashboard-filter-stack {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: grid;
  gap: 10px;
  align-content: start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.dashboard-nav-stack {
  display: contents;
  min-width: 0;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-filter-stack {
  grid-column: 1 / 2 !important;
  grid-row: 2 / 3 !important;
  align-self: center !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-period-row {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  justify-self: start !important;
  align-self: center !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-sheet-row {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-page-row {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-row {
  margin-top: 0 !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-card {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  padding: 8px 10px !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-label {
  flex: 0 0 auto !important;
}

.toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-pills {
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
}

.dashboard-filter-row,
.dashboard-area-row,
.dashboard-period-row,
.dashboard-sheet-row,
.dashboard-page-row,
.priority-filter-row,
.meta-chip-row {
  min-width: 0 !important;
  border-radius: var(--dashboard-shell-row-radius) !important;
  border: 1px solid rgba(204, 219, 241, 0.92) !important;
  background:
    linear-gradient(180deg, rgba(245, 249, 255, 0.94), rgba(255, 255, 255, 0.82)) !important;
  box-shadow:
    0 14px 30px rgba(92, 124, 165, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.dashboard-filter-row,
.dashboard-area-row,
.dashboard-sheet-row,
.dashboard-page-row,
.priority-filter-row,
.meta-chip-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.dashboard-filter-row::-webkit-scrollbar,
.dashboard-area-row::-webkit-scrollbar,
.dashboard-sheet-row::-webkit-scrollbar,
.dashboard-page-row::-webkit-scrollbar,
.priority-filter-row::-webkit-scrollbar,
.meta-chip-row::-webkit-scrollbar {
  display: none !important;
}

.dashboard-area-row {
  grid-column: auto !important;
  justify-content: flex-start !important;
  gap: var(--dashboard-shell-row-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: var(--dashboard-shell-row-padding-y) var(--dashboard-shell-row-padding-x) !important;
}

.dashboard-area-row .time-filter-pill {
  flex: 1 1 0 !important;
  min-width: max-content !important;
}

.dashboard-masthead-layout .dashboard-area-row .time-filter-pill,
.dashboard-masthead-layout .dashboard-sheet-row .sheet-nav-pill {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #42516c !important;
  font-size: var(--fs-data-sm) !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  line-height: normal !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow:
    0 8px 18px rgba(115, 145, 181, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.dashboard-masthead-layout .dashboard-area-row .time-filter-pill.is-active,
.dashboard-masthead-layout .dashboard-sheet-row .sheet-nav-pill.is-active {
  border-color: rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(180deg, #315fe8, #234fcc) !important;
  color: #ffffff !important;
  box-shadow:
    0 16px 28px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.dashboard-masthead-layout .dashboard-area-row .time-filter-pill.is-unavailable,
.dashboard-masthead-layout .dashboard-area-row .time-filter-pill[data-area-unavailable],
.dashboard-masthead-layout .dashboard-area-row .time-filter-pill[aria-disabled="true"] {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(239, 244, 250, 0.88), rgba(229, 236, 246, 0.82)) !important;
  color: rgba(90, 104, 126, 0.58) !important;
  cursor: not-allowed !important;
  filter: saturate(0.55) !important;
  opacity: 0.72 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(148, 163, 184, 0.08) !important;
}

.dashboard-masthead-layout .dashboard-area-row .time-filter-pill.is-unavailable:hover,
.dashboard-masthead-layout .dashboard-area-row .time-filter-pill[data-area-unavailable]:hover,
.dashboard-masthead-layout .dashboard-area-row .time-filter-pill[aria-disabled="true"]:hover {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(239, 244, 250, 0.88), rgba(229, 236, 246, 0.82)) !important;
  color: rgba(90, 104, 126, 0.58) !important;
  transform: none !important;
}

.dashboard-period-row {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: max-content !important;
  max-width: 100% !important;
  padding: var(--dashboard-shell-row-padding-y) var(--dashboard-shell-row-padding-x) !important;
  z-index: 3 !important;
}

.dashboard-period-row.is-open {
  z-index: 90 !important;
}

.dashboard-period-label {
  flex: 0 0 auto !important;
  color: #5e6f8c !important;
  font-size: var(--fs-micro) !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.dashboard-period-picker {
  position: relative !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.dashboard-period-trigger {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-width: 150px !important;
  min-height: 36px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1f2e4d !important;
  font-size: var(--fs-data-sm) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow:
    0 8px 18px rgba(115, 145, 181, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

.dashboard-period-trigger:hover,
.dashboard-period-trigger:focus-visible {
  border-color: rgba(37, 99, 235, 0.36) !important;
  color: #173a9d !important;
  outline: none !important;
  box-shadow:
    0 12px 22px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.dashboard-period-trigger::after {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 8px !important;
  height: 8px !important;
  margin-top: -2px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  opacity: 0.78 !important;
}

.dashboard-period-row.is-open .dashboard-period-trigger::after {
  margin-top: 3px !important;
  transform: rotate(225deg) !important;
}

.dashboard-period-trigger-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-period-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 120 !important;
  display: grid !important;
  gap: 6px !important;
  width: max(100%, 240px) !important;
  max-height: min(420px, 58vh) !important;
  overflow: auto !important;
  padding: 8px !important;
  border: 1px solid rgba(191, 205, 228, 0.92) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow:
    0 26px 54px rgba(65, 86, 121, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.dashboard-period-menu[hidden] {
  display: none !important;
}

.dashboard-period-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 9px 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #243653 !important;
  cursor: pointer !important;
  text-align: left !important;
}

.dashboard-period-option:hover,
.dashboard-period-option:focus-visible {
  background: rgba(239, 246, 255, 0.94) !important;
  color: #1d4ed8 !important;
  outline: none !important;
}

.dashboard-period-option.is-active {
  background: rgba(219, 234, 254, 0.94) !important;
  color: #1d4ed8 !important;
}

.dashboard-period-option-label {
  font-size: var(--fs-data-sm) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.dashboard-period-option-meta {
  color: #72819c !important;
  font-size: var(--fs-micro) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.dashboard-sheet-row {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  justify-self: stretch !important;
  align-self: center !important;
  justify-content: center !important;
  gap: var(--dashboard-sheet-row-gap, 2px) !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: var(--dashboard-shell-row-padding-y) 8px !important;
}

.dashboard-sheet-row.is-overflowing {
  justify-content: flex-start !important;
}

.dashboard-sheet-row.is-wide-fit {
  grid-column: 1 / -1 !important;
  grid-row: 2 / 3 !important;
}

.toolbar-stack.has-wide-sheet-row .dashboard-page-row {
  grid-row: 3 / 4 !important;
}

.dashboard-sheet-row .sheet-nav-pill {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: var(--dashboard-sheet-pill-width, max-content) !important;
  padding-inline: 6px !important;
  text-align: center !important;
}

.dashboard-masthead-layout .dashboard-sheet-row .sheet-nav-pill {
  padding-inline: 6px !important;
}

.dashboard-page-row {
  grid-column: 1 / -1 !important;
  grid-row: 2 / 3 !important;
  justify-self: stretch !important;
  align-self: center !important;
  justify-content: center !important;
  gap: var(--dashboard-page-row-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 40px !important;
  padding: 4px 0 2px !important;
  margin-inline: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-page-row.is-overflowing {
  justify-content: flex-start !important;
}

.dashboard-page-row .page-nav-pill {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: var(--dashboard-page-pill-width, max-content) !important;
  max-width: none !important;
  min-height: 34px !important;
  padding: 6px 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #54627c !important;
  font-size: var(--fs-data-sm) !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: normal !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  text-align: center !important;
}

.dashboard-page-row .page-nav-pill.is-active,
.dashboard-page-row .page-nav-pill[aria-current="page"] {
  border-color: rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(180deg, #315fe8, #234fcc) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.dashboard-mobile-select-shell {
  display: none !important;
}

body.report-variant-analytics .table-wrap {
  overflow-x: auto !important;
}

@media (max-width: 980px) {
  body.report-variant-analytics .dashboard-masthead-layout .toolbar-stack {
    grid-template-columns: 1fr !important;
  }

  .dashboard-filter-stack,
  .dashboard-period-row {
    width: 100% !important;
  }

  .dashboard-sheet-row {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .dashboard-page-row {
    grid-row: auto !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-filter-stack,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-period-row,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-sheet-row,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-page-row {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 780px) {
  :root {
    --dashboard-masthead-top: 6px;
    --dashboard-anchor-gap: 6px;
    --dashboard-shell-row-radius: 14px;
    --dashboard-shell-row-padding-y: 5px;
    --dashboard-shell-row-padding-x: 8px;
  }

  body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 6px !important;
    padding: 8px 10px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .report-masthead-main {
    position: absolute !important;
    inset: 8px 12px auto auto !important;
    z-index: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    pointer-events: none !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .masthead-sheet-slot,
  body.report-variant-analytics .dashboard-masthead-layout .masthead-tools,
  body.report-variant-analytics .dashboard-masthead-layout .toolbar-stack,
  .dashboard-filter-stack,
  .dashboard-nav-stack {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .masthead-sheet-slot {
    padding-right: 62px !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .masthead-tools {
    display: block !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .toolbar-stack {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-filter-stack,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-period-row,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-sheet-row,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-page-row {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .report-logo.masthead-logo,
  body.report-variant-analytics .dashboard-masthead-layout .masthead-logo {
    width: 52px !important;
    min-width: 0 !important;
    max-width: 52px !important;
    height: auto !important;
  }

  .dashboard-area-row,
  .dashboard-sheet-row,
  .dashboard-page-row {
    display: none !important;
  }

  .dashboard-period-row,
  .priority-filter-row,
  .meta-chip-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .dashboard-period-row {
    min-height: 36px !important;
    padding: 5px 8px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }

  .dashboard-period-label,
  .dashboard-mobile-select-label {
    color: #5e6f8c !important;
    font-size: 0.64rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.08em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .dashboard-period-picker {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .dashboard-period-trigger {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 5px 22px 5px 8px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: var(--fs-data-sm) !important;
  }

  .dashboard-period-trigger::after {
    position: absolute !important;
    right: 10px !important;
  }

  .dashboard-period-menu {
    width: min(100vw - 30px, 270px) !important;
    max-height: min(320px, 56vh) !important;
  }

  .dashboard-filter-stack {
    align-self: stretch !important;
    width: 100% !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-row,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-card {
    width: 100% !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-row {
    display: block !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-card {
    display: grid !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-label,
  .toolbar-stack.pvp-masterhead-toolbar .dashboard-brand-pills {
    display: none !important;
  }

  .dashboard-mobile-select-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 36px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 5px 30px 5px 8px !important;
    border: 1px solid rgba(204, 219, 241, 0.92) !important;
    border-radius: 14px !important;
    background:
      linear-gradient(180deg, rgba(245, 249, 255, 0.96), rgba(255, 255, 255, 0.88)) !important;
    box-shadow:
      0 10px 22px rgba(92, 124, 165, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  .dashboard-mobile-select-shell[hidden] {
    display: none !important;
  }

  .dashboard-brand-card > .dashboard-mobile-select-shell {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .dashboard-mobile-select-shell::after {
    content: "" !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid #5e6f8c !important;
    border-bottom: 2px solid #5e6f8c !important;
    transform: translateY(-62%) rotate(45deg) !important;
    pointer-events: none !important;
  }

  .dashboard-mobile-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #1f2e4d !important;
    font: inherit !important;
    font-size: var(--fs-data-sm) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    outline: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dashboard-page-row {
    justify-content: flex-start !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .dashboard-mobile-select-shell:focus-within,
  .dashboard-period-row:focus-within {
    border-color: rgba(37, 99, 235, 0.36) !important;
    box-shadow:
      0 12px 22px rgba(37, 99, 235, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }

  body.report-variant-analytics .table-shell {
    padding: 10px !important;
  }

  body.report-variant-analytics .table-shell table {
    min-width: 680px;
  }

  body.report-variant-analytics .table-shell table:has(th:nth-child(8)),
  body.report-variant-analytics .table-shell table:has(td:nth-child(8)) {
    min-width: 920px;
  }
}

@media (max-width: 480px) {
  body.report-variant-analytics .dashboard-masthead-layout .toolbar-stack {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .masthead-sheet-slot {
    padding-right: 56px !important;
  }

  body.report-variant-analytics .dashboard-masthead-layout .report-logo.masthead-logo,
  body.report-variant-analytics .dashboard-masthead-layout .masthead-logo {
    width: 46px !important;
    min-width: 0 !important;
    max-width: 46px !important;
    height: auto !important;
  }
}

@media print {
  body.report-variant-analytics .dashboard-masthead-layout.report-masthead.masthead {
    position: static !important;
    top: auto !important;
    overflow: visible !important;
  }

  body.report-variant-analytics .dashboard-area-row,
  body.report-variant-analytics .dashboard-sheet-row,
  body.report-variant-analytics .dashboard-page-row,
  body.report-variant-analytics .dashboard-period-row {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dashboard-masthead-shift-y: -8px;
    --dashboard-masthead-child-shift-y: -6px;
    --dashboard-masthead-scale-loss: 0;
  }
}
