.okkwork-analytics-page {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--okkwork-analytics-header-offset, 71px);
  z-index: 19980;
  background: var(--ow-bg, #f5f5f5);
  transform: translateY(100%);
  transition: transform 400ms ease;
  overflow: auto;
  box-sizing: border-box;
  font-family: "Rubik", "Inter", "Segoe UI", system-ui, sans-serif;
}

.okkwork-analytics-page.is-open {
  transform: translateY(0);
}

.okkwork-analytics-page.is-tariff-gated {
  background: var(--ow-bg, #f5f5f5);
}

.okkwork-analytics-page.is-tariff-gated .okkwork-analytics-page__inner {
  display: block;
  min-height: 0;
}

.okkwork-analytics-page.is-tariff-gated .okkwork-analytics-page__inner.sa-page {
  padding-bottom: 32px;
}

.okkwork-analytics-page__tariff-gate-host {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  padding: 8px 24px 24px;
  box-sizing: border-box;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate {
  position: relative;
  inset: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-bg {
  display: none;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-card {
  width: min(520px, 100%);
  padding: 24px 28px 20px;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(6, 88, 162, 0.06),
    0 12px 36px rgba(6, 88, 162, 0.1),
    0 4px 16px rgba(15, 23, 42, 0.05);
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-badge {
  margin-bottom: 14px;
  padding: 6px 12px 6px 8px;
  font-size: 12px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-badge-icon {
  width: 24px;
  height: 24px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-heading {
  margin-bottom: 8px;
  font-size: 22px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-lead {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-plans {
  margin-bottom: 18px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-subtitle {
  margin-bottom: 10px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-list {
  margin-bottom: 18px;
  gap: 8px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-list li {
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-list-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
}

.okkwork-analytics-page__tariff-gate-host .okkwork-org-page__tariff-gate-btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.okkwork-analytics-page .sa-page {
  padding: 20px 24px 48px;
}

.okkwork-analytics-page .sa-title {
  margin: 0;
}

.okkwork-analytics-page__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.okkwork-analytics-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 16px;
  padding: 0;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
}

.okkwork-analytics-page__head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.okkwork-analytics-page__head > * {
  position: relative;
  z-index: 0;
}

.okkwork-analytics-page__head-text {
  flex: 1;
  min-width: 0;
  cursor: pointer;
  user-select: none;
}

.okkwork-analytics-page__title {
  margin: 0;
  font: 600 36px/1.1 "Rubik", sans-serif;
  color: #0658a2;
}

.okkwork-analytics-page__subtitle {
  display: none;
}

.okkwork-analytics-page__grid {
  display: none;
}

.okkwork-analytics-page__close {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: calc((28px * 1.2 - 27px) / 2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.okkwork-analytics-page__close-icon {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
  pointer-events: none;
  transition: transform 200ms ease;
}

.okkwork-analytics-page.is-open .okkwork-analytics-page__close-icon {
  transform: rotate(180deg);
}

.okkwork-perm-denied {
  opacity: 0.35;
  pointer-events: none !important;
}

/* Подсказки шапки (#129_24, #129_29) — как на «Баланс» / «Новости» */
body.okkwork-analytics-page-open .Pixso-frame-219_2 > .Pixso-frame-129_23,
body.okkwork-analytics-page-open .Pixso-frame-219_2 > #129_23,
body.okkwork-analytics-page-open .Pixso-frame-219_2 > .Pixso-frame-129_35,
body.okkwork-analytics-page-open .Pixso-frame-219_2 > .Pixso-frame-129_19 {
  z-index: var(--okkwork-header-tooltip-z, 20250) !important;
}

body.okkwork-analytics-page-open #219_3.Pixso-frame-219_3,
body.okkwork-analytics-page-open .Pixso-frame-219_3 {
  z-index: auto !important;
  overflow: visible !important;
}

html.okkwork-analytics-page-open #129_23 .okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #129_35 .okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #129_19 .okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #219_6 .okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #129_29.okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_23 .okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_35 .okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_19 .okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #219_6 .okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_29.okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_23 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_35 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_19 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #219_6 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_29.okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_23 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-analytics-page-open #129_35 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-analytics-page-open #129_19 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-analytics-page-open #219_6 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-analytics-page-open #129_29.okkwork-tooltip-host:focus-visible::after,
html.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host:hover::after,
html.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host:focus-visible::after,
body.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_23 .okkwork-header-icon-host.okkwork-tooltip-host:focus-visible::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host:hover::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host:focus::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host:focus-visible::after,
html.okkwork-analytics-page-open #129_24 .okkwork-tooltip-host::after,
html.okkwork-analytics-page-open #129_24 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_24 .okkwork-tooltip-host::after,
body.okkwork-analytics-page-open #129_24 .okkwork-tooltip-host:hover::after,
body.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host::after,
body.okkwork-analytics-page-open #129_24 .okkwork-header-icon-host:hover::after,
html.okkwork-analytics-page-open #129_29::after,
html.okkwork-analytics-page-open #129_29:hover::after,
body.okkwork-analytics-page-open #129_29::after,
body.okkwork-analytics-page-open #129_29:hover::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host:hover::after,
html.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host:focus-visible::after,
body.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host::after,
body.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host:hover::after,
body.okkwork-analytics-page-open #129_24 .okkwork-header-float-tip-host:focus-visible::after,
html.okkwork-analytics-page-open #129_29.okkwork-header-float-tip-host::after,
html.okkwork-analytics-page-open #129_29.okkwork-header-float-tip-host:hover::after,
body.okkwork-analytics-page-open #129_29.okkwork-header-float-tip-host::after,
body.okkwork-analytics-page-open #129_29.okkwork-header-float-tip-host:hover::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

html.okkwork-analytics-page-open .okkwork-header-float-tip,
body.okkwork-analytics-page-open .okkwork-header-float-tip,
html.okkwork-analytics-page-open #okkwork-header-float-tip,
body.okkwork-analytics-page-open #okkwork-header-float-tip {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
