.visitors-list-page__heading {
  padding-bottom: 1rem;
}

.visitors-list-page__title-row,
.visitors-list-page__title-copy,
.visitors-list-page__header-actions {
  align-items: center;
  display: flex;
}

.visitors-list-page__title-row {
  gap: 1rem;
  justify-content: space-between;
}

.visitors-list-page__title-copy {
  gap: .75rem;
  min-width: 0;
}

.visitors-list-page__title-copy h3 {
  color: #25324b;
  letter-spacing: 0;
  margin-bottom: .2rem;
}

.visitors-list-page__title-copy .header-menu-responsive {
  margin: 0;
}

.visitors-list-page__header-actions {
  flex: 0 0 auto;
  gap: .75rem;
}

.visitors-list-page__create,
.visitors-list-page__public-form {
  white-space: nowrap;
}

.visitors-list-page__options {
  align-items: center;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.visitors-list-page__toolbar {
  align-items: flex-start;
  flex-wrap: wrap;
}

.visitors-list-page__toolbar-filters {
  border-bottom: 0;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
}

.visitors-list-page__toolbar .entity-list__search {
  margin-left: auto;
}

.visitors-list-page__tabs {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e7eaf0;
  display: flex;
  gap: .35rem;
  min-height: 58px;
  padding: .65rem 1.25rem;
}

.visitors-list-page__tab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #7c8aa5;
  font-size: .88rem;
  font-weight: 800;
  min-height: 38px;
  padding: .45rem .85rem;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.visitors-list-page__tab:hover,
.visitors-list-page__tab:focus {
  background: #f4f7fb;
  color: #435ebe;
  outline: none;
}

.visitors-list-page__tab.is-active {
  background: #eef3ff;
  box-shadow: inset 0 0 0 1px #dbe4ff;
  color: #435ebe;
}

.visitors-list-page__tab-panel {
  padding: 1rem 1.25rem 1.25rem;
}

.visitors-list-page__tab-panel--visitors {
  padding-top: 0;
}

.visitors-dashboard {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.visitors-dashboard__header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.visitors-dashboard__eyebrow {
  color: #7c8aa5;
  display: block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.visitors-dashboard__header h4 {
  color: #25324b;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: .15rem 0 0;
}

.visitors-dashboard__kpis,
.visitors-dashboard__loading {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.visitors-dashboard__kpi {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(31, 45, 61, .035);
  min-height: 112px;
  overflow: hidden;
  padding: .9rem 1rem;
  position: relative;
}

.visitors-dashboard__kpi::before {
  background: #f0643b;
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.visitors-dashboard__kpi--teal::before {
  background: #16a085;
}

.visitors-dashboard__kpi--navy::before {
  background: #25324b;
}

.visitors-dashboard__kpi span {
  color: #7c8aa5;
  display: block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.2;
  min-height: 1.65rem;
  text-transform: uppercase;
}

.visitors-dashboard__kpi strong {
  color: #f0643b;
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: .45rem 0 .2rem;
}

.visitors-dashboard__kpi--teal strong {
  color: #16a085;
}

.visitors-dashboard__kpi--navy strong {
  color: #25324b;
}

.visitors-dashboard__kpi small {
  color: #7c8aa5;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
}

.visitors-dashboard__kpi--loading span,
.visitors-dashboard__kpi--loading strong,
.visitors-dashboard__kpi--loading small {
  animation: entity-list-pulse 1.35s ease-in-out infinite;
  background: #e9edf4;
  border-radius: 4px;
  color: transparent;
  display: block;
}

.visitors-dashboard__kpi--loading span {
  height: 13px;
  width: 72%;
}

.visitors-dashboard__kpi--loading strong {
  height: 28px;
  width: 46%;
}

.visitors-dashboard__kpi--loading small {
  height: 12px;
  width: 82%;
}

.visitors-dashboard__grid {
  display: grid;
  gap: .75rem;
}

.visitors-dashboard__grid--main {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.visitors-dashboard__grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visitors-dashboard__grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visitors-dashboard__panel {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(31, 45, 61, .035);
  min-width: 0;
  padding: .95rem;
}

.visitors-dashboard__panel-header {
  align-items: flex-start;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  margin-bottom: .65rem;
}

.visitors-dashboard__panel-header h5 {
  color: #25324b;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 .1rem;
}

.visitors-dashboard__panel-header p {
  color: #7c8aa5;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.visitors-dashboard__chart {
  min-height: 238px;
}

.visitors-dashboard__chart--compact {
  min-height: 184px;
}

.visitors-dashboard__chart--line {
  min-height: 196px;
}

.visitors-dashboard__legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  justify-content: center;
  margin-top: .2rem;
}

.visitors-dashboard__legend span {
  align-items: center;
  color: #4f5d75;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  gap: .3rem;
}

.visitors-dashboard__legend i {
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.visitors-dashboard__bars {
  display: flex;
  flex-direction: column;
  gap: .48rem;
}

.visitors-dashboard__bar-row {
  align-items: center;
  display: grid;
  gap: .5rem;
  grid-template-columns: 86px minmax(0, 1fr) 46px;
}

.visitors-dashboard__bars--age .visitors-dashboard__bar-row {
  grid-template-columns: 50px minmax(0, 1fr) 42px;
}

.visitors-dashboard__bar-row > span {
  color: #7c8aa5;
  font-size: .72rem;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitors-dashboard__bar-row > div {
  background: #f3f5f9;
  border-radius: 5px;
  height: 22px;
  overflow: hidden;
}

.visitors-dashboard__bars--age .visitors-dashboard__bar-row > div {
  height: 18px;
}

.visitors-dashboard__bar-row i {
  align-items: center;
  border-radius: inherit;
  color: #fff;
  display: flex;
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding-left: .4rem;
  white-space: nowrap;
}

.visitors-dashboard__bar-row strong {
  color: #7c8aa5;
  font-size: .72rem;
  font-weight: 900;
  text-align: right;
}

.visitors-dashboard__table-wrap {
  overflow-x: auto;
}

.visitors-dashboard__table {
  border-collapse: collapse;
  font-size: .78rem;
  width: 100%;
}

.visitors-dashboard__table th {
  border-bottom: 1px solid #e7eaf0;
  color: #7c8aa5;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .03em;
  padding: .35rem .4rem;
  text-align: left;
  text-transform: uppercase;
}

.visitors-dashboard__table td {
  border-bottom: 1px solid #f1f3f7;
  color: #4f5d75;
  font-weight: 700;
  max-width: 150px;
  overflow: hidden;
  padding: .42rem .4rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitors-dashboard__table td strong {
  color: #25324b;
}

.visitors-dashboard__empty {
  align-items: center;
  color: #7c8aa5;
  display: flex;
  font-size: .8rem;
  font-weight: 800;
  justify-content: center;
  min-height: 96px;
  text-align: center;
}

.visitors-list-page__multi-filter .dropdown-toggle {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.visitors-list-page__multi-filter-menu {
  max-height: min(420px, calc(100vh - 160px));
  min-width: 250px;
  overflow-y: auto;
}

.visitors-list-page__day-grid {
  display: grid;
  gap: .1rem .35rem;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  padding: 0 .75rem .35rem;
}

.visitors-list-page__day-grid .entity-list__status-filter-option {
  margin: 0;
  padding: .25rem .35rem;
}

.visitors-list-page__stage-filter-option {
  align-items: center;
  display: flex;
  gap: .45rem;
  min-width: 0;
  width: 100%;
}

.visitors-list-page__stage-filter-dot {
  border: 1px solid rgba(23, 38, 66, .16);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: .7rem;
  width: .7rem;
}

.visitors-list-page__stage-filter-step,
.visitors-list-page__stage-filter-responsible {
  color: #25324b;
  flex: 0 0 auto;
  font-weight: 800;
}

.visitors-list-page__stage-filter-separator {
  color: #9aa5b8;
  flex: 0 0 auto;
}

.visitors-list-page__stage-filter-avatar {
  flex: 0 0 auto;
}

.visitors-list-page__stage-filter-title {
  color: #4f5d75;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list--visitors {
  border-color: #e7eaf0;
  box-shadow: 0 3px 12px rgba(31, 45, 61, .04);
}

.entity-list__table-wrap--visitors {
  cursor: grab;
  overflow: auto;
  position: relative;
  scrollbar-gutter: stable;
  touch-action: pan-x pan-y;
}

.entity-list__table-wrap--visitors.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.entity-list__columns--visitors,
.entity-list__row--visitors,
.entity-list__skeleton-row--visitors {
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}

.entity-list__columns--visitors {
  background: #f7f8fb;
  border-bottom: 1px solid #e7eaf0;
  color: #78849b;
  font-size: .72rem;
  min-height: 58px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.entity-list__columns--visitors > span,
.entity-list__row--visitors > span,
.entity-list__skeleton-row--visitors > span {
  align-items: center;
  border-right: 1px solid #edf0f5;
  display: flex;
  min-height: inherit;
  min-width: 0;
  overflow: hidden;
  padding: .45rem .7rem;
}

.entity-list__columns--visitors > span {
  border-color: #e7eaf0;
  color: #78849b;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
}

.entity-list__row--visitors {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  color: #25324b;
  font-size: .82rem;
  min-height: 52px;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.entity-list__row--visitors > span {
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__row--visitors:hover {
  background: #f9faff;
}

.entity-list__skeleton-row--visitors {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  min-height: 52px;
}

.entity-list__skeleton-row--visitors > span {
  min-height: 52px;
  position: relative;
}

.entity-list__skeleton-row--visitors > span::before {
  animation: entity-list-pulse 1.35s ease-in-out infinite;
  background: #e9edf4;
  border-radius: 4px;
  content: '';
  display: block;
  height: 12px;
  max-width: 112px;
  width: 72%;
}

.visitor-name {
  align-items: flex-start !important;
  flex-direction: column;
  gap: .18rem;
  justify-content: center;
}

.visitor-name strong,
.visitor-name__note {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-name__note {
  color: #7c8aa5;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.15;
}

.visitor-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1;
  max-width: 100%;
  min-height: 24px;
  overflow: hidden;
  padding: .3rem .55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-pill--celebration {
  background: #eef3ff;
  border: 1px solid #dbe4ff;
  color: #435ebe;
}

.visitor-pill--note {
  background: #f4f7fb;
  border: 1px solid #e2e6ee;
  color: #4f5d75;
}

.visitor-pill--gender {
  background: #f4f7fb;
  border: 1px solid #e2e6ee;
  color: #4f5d75;
  justify-content: center;
  min-width: 32px;
}

.visitor-pill--gender-male {
  background: #e8f1ff;
  border-color: #bfd7ff;
  color: #1d4ed8;
}

.visitor-pill--gender-female {
  background: #fdeaf3;
  border-color: #f9bdd6;
  color: #be185d;
}

.visitor-stage-header {
  --visitor-stage-color: #6c757d;
  --visitor-stage-contrast: #fff;
  --visitor-stage-soft: rgba(108, 117, 125, .14);
  align-items: stretch !important;
  background: #fff;
  border: 1px solid var(--visitor-stage-color);
  border-radius: 0;
  box-sizing: border-box;
  display: grid !important;
  grid-template-rows: 28px minmax(48px, auto);
  height: 100%;
  justify-items: stretch;
  min-height: 78px !important;
  overflow: visible !important;
  padding: 0 !important;
  position: relative;
  text-align: center;
  text-transform: none;
}

.visitor-stage-header__badge {
  align-items: center;
  align-self: stretch;
  background: var(--visitor-stage-color);
  border-radius: 0;
  box-sizing: border-box;
  color: var(--visitor-stage-contrast);
  display: flex;
  font-size: .74rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: .02em;
  line-height: 1;
  min-width: 0;
  padding: .42rem .55rem;
  position: relative;
  text-transform: uppercase;
  width: 100%;
}

.visitor-stage-header__badge-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0 1.75rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.visitor-stage-header__body {
  align-items: center;
  align-self: stretch;
  background: #fff;
  box-sizing: border-box;
  color: #25324b;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  justify-content: center;
  min-width: 0;
  padding: .42rem .4rem .48rem;
  position: relative;
  width: 100%;
}

.visitor-stage-header__name {
  box-sizing: border-box;
  color: #25324b;
  display: block;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 .4rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.visitor-stage-header__responsible {
  align-items: center;
  align-self: center;
  background: #fff;
  border: 1px solid var(--visitor-stage-color);
  border-radius: 999px;
  box-sizing: border-box;
  color: #25324b;
  display: inline-flex;
  font-size: .67rem;
  font-weight: 800;
  gap: .25rem;
  justify-content: center;
  line-height: 1;
  max-width: 100%;
  min-height: 22px;
  overflow: hidden;
  padding: .24rem .5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.visitor-stage-header__responsible span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visitor-responsible-avatar {
  background: #eef2f7;
  border: 1px solid rgba(23, 38, 66, .12);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 18px;
  object-fit: cover;
  width: 18px;
}

.visitor-stage-header__avatar {
  border-color: var(--visitor-stage-color);
}

.visitor-stage-header__info {
  --bs-btn-padding-x: .22rem;
  --bs-btn-padding-y: .02rem;
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--visitor-stage-contrast);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: .28rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.visitor-stage-header__info:hover,
.visitor-stage-header__info:focus {
  background: rgba(255, 255, 255, .2);
  border: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .18);
  color: var(--visitor-stage-contrast);
}

.visitor-stage-description {
  line-height: 1.45;
  max-height: min(52vh, 520px);
  overflow: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.visitor-stage-description--compact {
  margin-top: .35rem;
  max-height: 140px;
}

.visitor-stage-cell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: .35rem .55rem !important;
}

.visitor-stage-status {
  align-items: center;
  border: 1px solid;
  border-radius: 7px;
  display: inline-flex;
  font-size: .74rem;
  font-weight: 800;
  gap: .2rem;
  justify-content: center;
  max-width: 100%;
  min-height: 30px;
  min-width: 0;
  overflow: hidden;
  padding: .28rem .5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.visitor-stage-status span:not(.spinner-border) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.visitor-stage-status__dot {
  border: 1px solid rgba(23, 38, 66, .16);
  border-radius: 4px;
  display: inline-block;
  flex: 0 0 auto;
  height: .75rem;
  margin-right: .55rem;
  vertical-align: -1px;
  width: .75rem;
}

.visitor-stage-status-menu {
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 38, 66, .2);
  max-height: min(320px, calc(100vh - 24px));
  max-width: min(320px, calc(100vw - 24px));
  overflow-y: auto;
  padding: .45rem;
  position: fixed;
  z-index: 1085;
}

.visitor-stage-status-menu__item,
.visitor-stage-status-menu__empty {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #25324b;
  display: flex;
  font-size: .86rem;
  font-weight: 800;
  min-height: 38px;
  padding: .45rem .55rem;
  text-align: left;
  width: 100%;
}

.visitor-stage-status-menu__item:hover,
.visitor-stage-status-menu__item:focus {
  background: #f4f7fb;
  outline: none;
}

.visitor-stage-status-menu__item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-stage-status-menu__empty {
  color: #7c8aa5;
}

.visitor-responsible-selected {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  display: flex;
  gap: .75rem;
  padding: .65rem;
}

.visitor-responsible-selected__avatar,
.visitor-responsible-search__avatar {
  background: #eef2f7;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.visitor-responsible-selected__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.visitor-responsible-selected__content strong,
.visitor-responsible-selected__content small,
.visitor-responsible-search__item strong,
.visitor-responsible-search__item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-responsible-selected__content small,
.visitor-responsible-search__item small {
  color: #7c8aa5;
}

.visitor-responsible-search {
  position: relative;
}

.visitor-responsible-search__panel {
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 38, 66, .14);
  left: 0;
  margin-top: .35rem;
  max-height: 280px;
  overflow-y: auto;
  padding: .35rem;
  position: absolute;
  right: 0;
  z-index: 1060;
}

.visitor-responsible-search__item,
.visitor-responsible-search__state {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #25324b;
  display: flex;
  gap: .65rem;
  min-height: 46px;
  padding: .5rem .55rem;
  text-align: left;
  width: 100%;
}

.visitor-responsible-search__item:hover,
.visitor-responsible-search__item:focus {
  background: #f4f7fb;
  outline: none;
}

.visitor-responsible-search__item span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.theme-dark .entity-list--visitors {
  border-color: #35354f;
  box-shadow: none;
}

body.theme-dark .visitors-list-page__tabs {
  background: #1e1e2d;
  border-bottom-color: #35354f;
}

body.theme-dark .visitors-list-page__tab {
  color: #a7aac2;
}

body.theme-dark .visitors-list-page__tab:hover,
body.theme-dark .visitors-list-page__tab:focus {
  background: #282839;
  color: #d8dcff;
}

body.theme-dark .visitors-list-page__tab.is-active {
  background: rgba(67, 94, 190, .22);
  box-shadow: inset 0 0 0 1px rgba(67, 94, 190, .38);
  color: #d8dcff;
}

body.theme-dark .visitors-dashboard__header h4,
body.theme-dark .visitors-dashboard__panel-header h5,
body.theme-dark .visitors-dashboard__kpi--navy strong,
body.theme-dark .visitors-dashboard__table td strong {
  color: #f1f2f8;
}

body.theme-dark .visitors-dashboard__eyebrow,
body.theme-dark .visitors-dashboard__panel-header p,
body.theme-dark .visitors-dashboard__kpi span,
body.theme-dark .visitors-dashboard__kpi small,
body.theme-dark .visitors-dashboard__legend span,
body.theme-dark .visitors-dashboard__bar-row > span,
body.theme-dark .visitors-dashboard__bar-row strong,
body.theme-dark .visitors-dashboard__table th,
body.theme-dark .visitors-dashboard__table td,
body.theme-dark .visitors-dashboard__empty {
  color: #a7aac2;
}

body.theme-dark .visitors-dashboard__kpi,
body.theme-dark .visitors-dashboard__panel {
  background: #1e1e2d;
  border-color: #35354f;
  box-shadow: none;
}

body.theme-dark .visitors-dashboard__kpi--loading span,
body.theme-dark .visitors-dashboard__kpi--loading strong,
body.theme-dark .visitors-dashboard__kpi--loading small,
body.theme-dark .visitors-dashboard__bar-row > div {
  background: #35354f;
}

body.theme-dark .visitors-dashboard__table th,
body.theme-dark .visitors-dashboard__table td {
  border-color: #35354f;
}

body.theme-dark .entity-list__columns--visitors {
  background: #242436;
  border-bottom-color: #35354f;
  color: #a7aac2;
}

body.theme-dark .entity-list__columns--visitors > span:not(.visitor-stage-header),
body.theme-dark .entity-list__row--visitors > span,
body.theme-dark .entity-list__skeleton-row--visitors > span {
  border-color: #35354f;
}

body.theme-dark .entity-list__columns--visitors > span:not(.visitor-stage-header) {
  color: #a7aac2;
}

body.theme-dark .entity-list__row--visitors,
body.theme-dark .entity-list__skeleton-row--visitors {
  background: #1e1e2d;
  border-bottom-color: #35354f;
  color: #f1f2f8;
}

body.theme-dark .entity-list__row--visitors:hover {
  background: #282839;
}

body.theme-dark .entity-list__skeleton-row--visitors > span::before {
  background: #35354f;
}

body.theme-dark .visitor-name__note,
body.theme-dark .visitor-pill--note,
body.theme-dark .visitor-pill--gender {
  color: #a7aac2;
}

body.theme-dark .visitor-pill--note,
body.theme-dark .visitor-pill--gender {
  background: #242436;
  border-color: #35354f;
}

body.theme-dark .visitor-pill--gender-male {
  background: rgba(37, 99, 235, .22);
  border-color: rgba(96, 165, 250, .5);
  color: #bfdbfe;
}

body.theme-dark .visitor-pill--gender-female {
  background: rgba(219, 39, 119, .24);
  border-color: rgba(244, 114, 182, .5);
  color: #fbcfe8;
}

body.theme-dark .visitor-pill--celebration {
  background: rgba(67, 94, 190, .18);
  border-color: rgba(67, 94, 190, .35);
  color: #b8c4ff;
}

body.theme-dark .visitors-list-page__stage-filter-step,
body.theme-dark .visitors-list-page__stage-filter-responsible {
  color: #f1f2f8;
}

body.theme-dark .visitors-list-page__stage-filter-title {
  color: #a7aac2;
}

@media (max-width: 991.98px) {
  .visitors-list-page__title-row,
  .visitors-list-page__header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .visitors-list-page__header-actions {
    gap: .5rem;
    margin-top: .75rem;
  }

  .visitors-list-page__header-actions .dropdown,
  .visitors-list-page__header-actions .btn {
    width: 100%;
  }

  .visitors-list-page__options {
    width: 100%;
  }

  .visitors-list-page__toolbar {
    align-items: stretch;
  }

  .visitors-list-page__toolbar-filters {
    width: 100%;
  }

  .visitors-list-page__toolbar .entity-list__search {
    margin-left: 0;
  }

  .visitors-list-page__tabs {
    overflow-x: auto;
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .visitors-list-page__tab {
    flex: 0 0 auto;
  }

  .visitors-dashboard__header {
    align-items: stretch;
    flex-direction: column;
  }

  .visitors-dashboard__kpis,
  .visitors-dashboard__loading,
  .visitors-dashboard__grid--main,
  .visitors-dashboard__grid--split,
  .visitors-dashboard__grid--triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .visitors-dashboard__kpis,
  .visitors-dashboard__loading,
  .visitors-dashboard__grid--main,
  .visitors-dashboard__grid--split,
  .visitors-dashboard__grid--triple {
    grid-template-columns: 1fr;
  }

  .visitors-dashboard__bar-row,
  .visitors-dashboard__bars--age .visitors-dashboard__bar-row {
    grid-template-columns: 72px minmax(0, 1fr) 42px;
  }
}
