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

.visitor-public-page__logo {
  display: block;
  height: auto;
  margin: 0 auto 1.25rem;
  max-width: min(220px, 76vw);
}

.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-mobile {
  display: none;
}

.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));
  margin-bottom: .75rem;
}

.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;
  margin-bottom: .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;
  margin-bottom: .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__table-note {
  color: #7c8aa5;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.25;
  margin: .65rem 0 0;
}

.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;
}

.visitor-activities {
  display: grid;
  gap: 1rem;
}

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

.visitor-activities__header h4 {
  color: #25324b;
  font-size: 1.05rem;
  font-weight: 800;
  margin: .1rem 0 .15rem;
}

.visitor-activities__header p {
  color: #6b778d;
  font-size: .82rem;
  margin: 0;
}

.visitor-activities__summary {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visitor-activities__summary-card {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 38, 66, .06);
  padding: .85rem 1rem;
  position: relative;
}

.visitor-activities__summary-card::before {
  border-radius: 8px 8px 0 0;
  content: '';
  height: 3px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.visitor-activities__summary-card--overdue::before {
  background: #dc2626;
}

.visitor-activities__summary-card--today::before {
  background: #f0643b;
}

.visitor-activities__summary-card--future::before {
  background: #16a085;
}

.visitor-activities__summary-card span {
  color: #6b778d;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.visitor-activities__summary-card strong {
  color: #25324b;
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: .3rem;
}

.visitor-activities__loading {
  display: grid;
  gap: .75rem;
}

.visitor-activities__skeleton {
  animation: visitor-dashboard-loading 1.1s ease-in-out infinite;
  background: #eef2f7;
  border-radius: 8px;
  height: 84px;
}

.visitor-activities__timeline,
.visitor-activities__tables {
  display: grid;
  gap: 1rem;
}

.visitor-activities__section {
  display: grid;
  gap: .65rem;
}

.visitor-activities__section-header {
  align-items: center;
  display: flex;
  gap: .65rem;
  line-height: 1;
}

.visitor-activities__section-header > span {
  align-items: center;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  line-height: 1;
  margin-top: 0;
  min-width: 34px;
  width: 34px;
}

.visitor-activities__section-header > span i {
  line-height: 1;
}

.visitor-activities__section--overdue .visitor-activities__section-header > span {
  background: #dc2626;
}

.visitor-activities__section--today .visitor-activities__section-header > span {
  background: #f0643b;
}

.visitor-activities__section--future .visitor-activities__section-header > span {
  background: #16a085;
}

.visitor-activities__section-header strong {
  color: #25324b;
  display: block;
  font-size: .95rem;
  font-weight: 900;
}

.visitor-activities__section-header small {
  color: #6b778d;
  display: block;
  font-size: .76rem;
  font-weight: 700;
}

.visitor-activities__empty {
  background: #f8fafc;
  border: 1px dashed #dce2ea;
  border-radius: 8px;
  color: #6b778d;
  font-size: .82rem;
  font-weight: 700;
  padding: .8rem 1rem;
}

.visitor-activities__item {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e9f2;
  border-left: 4px solid #9aa5b8;
  border-radius: 8px;
  display: grid;
  gap: .85rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(170px, 210px);
  padding: .85rem 1rem;
}

.visitor-activities__section--overdue .visitor-activities__item {
  background: #fff7f7;
  border-left-color: #dc2626;
}

.visitor-activities__section--today .visitor-activities__item {
  background: #fffaf7;
  border-left-color: #f0643b;
}

.visitor-activities__section--future .visitor-activities__item {
  border-left-color: #16a085;
}

.visitor-activities__item-main {
  display: grid;
  gap: .55rem;
  min-width: 0;
}

.visitor-activities__visitor,
.visitor-activities__stage {
  min-width: 0;
}

.visitor-name--clickable,
.visitor-activities__visitor--clickable {
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease;
}

.visitor-name--clickable {
  margin: -.3rem -.4rem;
  padding: .3rem .4rem;
}

.visitor-name--clickable:hover,
.visitor-activities__visitor--clickable:hover {
  background: rgba(67, 94, 190, .08);
  box-shadow: 0 0 0 1px rgba(67, 94, 190, .12);
}

.visitor-activities__visitor strong,
.visitor-activities__stage strong {
  color: #25324b;
  display: block;
  font-size: .88rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-activities__visitor span,
.visitor-activities__stage span:not(.visitor-activities__stage-dot) {
  color: #6b778d;
  display: block;
  font-size: .76rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-activities__visitor-details {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .45rem;
}

.visitor-activities__visitor-details span {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e9f2;
  border-radius: 999px;
  color: #516078;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  gap: .28rem;
  line-height: 1;
  max-width: 100%;
  min-height: 24px;
  overflow: hidden;
  padding: .25rem .5rem;
  text-overflow: ellipsis;
}

.visitor-activities__visitor-details i {
  color: #7c8aa5;
  flex: 0 0 auto;
  font-size: .76rem;
  line-height: 1;
}

.visitor-activities__stage {
  align-items: center;
  display: flex;
  gap: .45rem;
}

.visitor-activities__stage-dot {
  border-radius: 50%;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.visitor-activities__meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 120px;
}

.visitor-activities__due,
.visitor-activities__timing {
  color: #25324b;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.visitor-activities__timing {
  color: #6b778d;
}

.visitor-activities__current-status {
  min-height: 26px;
  padding: .22rem .5rem;
  width: auto;
}

.visitor-activities__status-button {
  min-width: 150px;
}

.visitor-activities__action {
  align-items: center;
  display: flex;
  gap: .45rem;
}

.entity-list__table-wrap--activities {
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  cursor: auto;
  overflow: auto;
}

.entity-list__columns--activities,
.entity-list__row--activities,
.entity-list__skeleton-row--activities {
  display: grid;
  grid-template-columns: 220px 112px 150px 180px 150px 116px 126px 164px;
  min-width: 1218px;
}

.entity-list__columns--activities {
  background: #f7f8fb;
  border-bottom: 1px solid #e5e9f2;
  color: #78849b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 3;
}

.entity-list__columns--activities > span,
.entity-list__row--activities > span {
  align-items: center;
  border-right: 1px solid #edf0f5;
  display: flex;
  min-width: 0;
  overflow: hidden;
  padding: .65rem .75rem;
}

.entity-list__columns--activities > span:last-child,
.entity-list__row--activities > span:last-child {
  border-right: 0;
}

.entity-list__row--activities {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  color: #25324b;
  font-size: .78rem;
  font-weight: 700;
  min-height: 58px;
}

.entity-list__row--activities:last-child {
  border-bottom: 0;
}

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

.entity-list__row--activities > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__row--activities > span:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: .2rem;
  justify-content: center;
  white-space: normal;
}

.visitor-activities__sort {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  font: inherit;
  gap: .35rem;
  letter-spacing: inherit;
  padding: 0;
  text-align: left;
  text-transform: inherit;
}

.visitor-activities__sort.is-active {
  color: #435ebe;
}

.visitor-activities__sort i {
  font-size: .82rem;
  line-height: 1;
}

.visitor-activities__visitor-link {
  background: transparent;
  border: 0;
  color: inherit;
  display: grid;
  gap: .18rem;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.visitor-activities__visitor-link strong,
.visitor-activities__visitor-link small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-activities__visitor-link strong {
  color: #25324b;
  font-size: .82rem;
  font-weight: 900;
}

.visitor-activities__visitor-link small {
  color: #6b778d;
  font-size: .72rem;
  font-weight: 800;
}

.visitor-activities__visitor-link:hover strong {
  color: #435ebe;
  text-decoration: underline;
}

.visitor-whatsapp-link {
  align-items: center;
  color: #15803d;
  display: inline-flex;
  font-weight: 800;
  gap: .32rem;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
}

.visitor-whatsapp-link:hover,
.visitor-whatsapp-link:focus {
  color: #166534;
  text-decoration: underline;
}

.visitor-whatsapp-link i {
  flex: 0 0 auto;
  font-size: .9rem;
  line-height: 1;
}

.visitor-whatsapp-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-whatsapp-link--activity {
  font-size: .72rem;
  margin-top: .18rem;
}

.visitor-activities__stage-cell {
  gap: .45rem;
}

.visitor-activities__stage-cell i {
  border-radius: 50%;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.visitor-activities__stage-cell strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-activities__due-cell {
  color: #25324b;
  font-weight: 900;
}

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

.entity-list__skeleton-row--activities > span {
  border-right: 1px solid #edf0f5;
  padding: .65rem .75rem;
  position: relative;
}

.entity-list__skeleton-row--activities > span:last-child {
  border-right: 0;
}

.entity-list__skeleton-row--activities > span::before {
  animation: visitor-dashboard-loading 1.1s ease-in-out infinite;
  background: #e9edf4;
  border-radius: 999px;
  content: '';
  display: block;
  height: 14px;
  width: 80%;
}

.visitor-status-note-modal__summary {
  background: #f8fafc;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
  padding: .85rem 1rem;
}

.visitor-status-note-modal__summary span,
.visitor-status-history__header span {
  color: #6b778d;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.visitor-status-note-modal__summary strong {
  color: #25324b;
  display: block;
  font-size: .92rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-status-note-modal__change {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1rem;
}

.visitor-status-note-modal__status,
.visitor-status-history__status {
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  max-width: 100%;
  min-height: 26px;
  overflow: hidden;
  padding: .35rem .65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-status-history {
  border-top: 1px solid #e5e9f2;
  margin-top: 1rem;
  padding-top: 1rem;
}

.visitor-status-history__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.visitor-status-history__header strong {
  color: #25324b;
  display: block;
  font-size: .98rem;
  font-weight: 900;
}

.visitor-status-history__empty {
  background: #f8fafc;
  border: 1px dashed #dce2ea;
  border-radius: 8px;
  color: #6b778d;
  font-size: .82rem;
  font-weight: 700;
  padding: .8rem 1rem;
}

.visitor-status-history__list {
  display: grid;
  gap: .75rem;
}

.visitor-status-history__item {
  display: grid;
  gap: .7rem;
  grid-template-columns: 18px minmax(0, 1fr);
}

.visitor-status-history__timeline-dot {
  background: #f0643b;
  border: 4px solid #fff4ed;
  border-radius: 50%;
  height: 18px;
  margin-top: .2rem;
  width: 18px;
}

.visitor-status-history__content {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  padding: .75rem .85rem;
}

.visitor-status-history__top {
  align-items: flex-start;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.visitor-status-history__top strong {
  color: #25324b;
  font-size: .86rem;
  font-weight: 900;
}

.visitor-status-history__top span,
.visitor-status-history__content small {
  color: #6b778d;
  font-size: .74rem;
  font-weight: 800;
}

.visitor-status-history__statuses {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .55rem;
}

.visitor-status-history__content p {
  color: #25324b;
  font-size: .82rem;
  font-weight: 700;
  margin: .6rem 0 .25rem;
  white-space: pre-wrap;
}

.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: 8;
}

.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__date-group-row--visitors,
.entity-list__date-group-row--visitors:hover {
  background: #f4f7ff;
  border-bottom-color: #dbe4ff;
  color: #435ebe;
  cursor: default;
  min-height: 42px;
}

.visitor-date-group-summary {
  align-items: flex-start !important;
  flex-direction: column;
  grid-column: 1 / span 7;
  justify-content: center;
}

.visitor-date-group-summary strong {
  color: #25324b;
  font-size: .8rem;
  line-height: 1.1;
}

.visitor-date-group-summary small {
  color: #69758d;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.1;
}

.visitor-date-group-stage {
  color: #435ebe;
  font-size: .75rem;
  font-weight: 800;
  justify-content: center;
  text-align: center;
}

.visitor-date-group-actions {
  background: rgba(67, 94, 190, .04);
}

.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,
.visitor-name__visit-sequence {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visitor-name__visit-sequence {
  align-self: flex-start;
  background: #eef3ff;
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  color: #435ebe;
  display: inline-flex;
  font-size: .64rem;
  font-weight: 800;
  line-height: 1;
  padding: .22rem .42rem;
}

.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-deadline {
  background: #f8f9fc;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .9rem;
}

.visitor-stage-deadline__header {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: .75rem;
}

.visitor-stage-deadline__header strong {
  color: #25324b;
  font-size: .86rem;
}

.visitor-stage-deadline__header small {
  color: #78849b;
}

.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: visible;
  padding: .24rem .5rem;
  position: relative;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}

.visitor-stage-header__responsible:hover,
.visitor-stage-header__responsible:focus {
  outline: none;
  z-index: 12;
}

.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);
  position: relative;
  transition: box-shadow .16s ease, transform .16s ease;
  z-index: 1;
}

.visitor-stage-header__responsible:hover .visitor-stage-header__avatar,
.visitor-stage-header__responsible:focus .visitor-stage-header__avatar {
  box-shadow: 0 8px 18px rgba(23, 38, 66, .24);
  transform: scale(1.85);
  z-index: 14;
}

.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-cell--overdue {
  background: #fee2e2;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, .42);
}

.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-cell--overdue .visitor-stage-status {
  background: #fff1f2 !important;
  border-color: #dc2626 !important;
  color: #991b1b !important;
}

.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__table-note,
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 .visitor-activities__header h4,
body.theme-dark .visitor-activities__summary-card strong,
body.theme-dark .visitor-activities__section-header strong,
body.theme-dark .visitor-activities__visitor strong,
body.theme-dark .visitor-activities__stage strong,
body.theme-dark .visitor-activities__due,
body.theme-dark .visitor-status-note-modal__summary strong,
body.theme-dark .visitor-status-history__header strong,
body.theme-dark .visitor-status-history__top strong,
body.theme-dark .visitor-status-history__content p {
  color: #f1f2f8;
}

body.theme-dark .visitor-activities__header p,
body.theme-dark .visitor-activities__summary-card span,
body.theme-dark .visitor-activities__section-header small,
body.theme-dark .visitor-activities__empty,
body.theme-dark .visitor-activities__visitor span,
body.theme-dark .visitor-activities__stage span:not(.visitor-activities__stage-dot),
body.theme-dark .visitor-activities__timing,
body.theme-dark .visitor-activities__visitor-details span,
body.theme-dark .visitor-status-note-modal__summary span,
body.theme-dark .visitor-status-history__header span,
body.theme-dark .visitor-status-history__empty,
body.theme-dark .visitor-status-history__top span,
body.theme-dark .visitor-status-history__content small {
  color: #a7aac2;
}

body.theme-dark .visitor-activities__summary-card,
body.theme-dark .visitor-activities__item,
body.theme-dark .visitor-status-history__content {
  background: #1e1e2d;
  border-color: #35354f;
  box-shadow: none;
}

body.theme-dark .visitor-name--clickable:hover,
body.theme-dark .visitor-activities__visitor--clickable:hover {
  background: rgba(67, 94, 190, .18);
  box-shadow: 0 0 0 1px rgba(67, 94, 190, .28);
}

body.theme-dark .visitor-status-note-modal__summary,
body.theme-dark .visitor-status-history__empty {
  background: #242436;
  border-color: #35354f;
}

body.theme-dark .visitor-status-history {
  border-top-color: #35354f;
}

body.theme-dark .visitor-status-history__timeline-dot {
  border-color: rgba(240, 100, 59, .18);
}

body.theme-dark .visitor-activities__section--overdue .visitor-activities__item {
  background: rgba(127, 29, 29, .32);
}

body.theme-dark .visitor-activities__section--today .visitor-activities__item {
  background: rgba(120, 53, 15, .28);
}

body.theme-dark .visitor-activities__empty,
body.theme-dark .visitor-activities__skeleton {
  background: #242436;
  border-color: #35354f;
}

body.theme-dark .entity-list__table-wrap--activities {
  border-color: #35354f;
}

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

body.theme-dark .entity-list__columns--activities > span,
body.theme-dark .entity-list__row--activities > span,
body.theme-dark .entity-list__skeleton-row--activities > span {
  border-right-color: #35354f;
}

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

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

body.theme-dark .visitor-activities__visitor-link strong,
body.theme-dark .visitor-activities__due-cell {
  color: #f1f2f8;
}

body.theme-dark .visitor-activities__visitor-link small {
  color: #a7aac2;
}

body.theme-dark .visitor-whatsapp-link {
  color: #86efac;
}

body.theme-dark .visitor-whatsapp-link:hover,
body.theme-dark .visitor-whatsapp-link:focus {
  color: #bbf7d0;
}

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

body.theme-dark .visitor-activities__visitor-details span {
  background: #242436;
  border-color: #35354f;
}

body.theme-dark .visitor-activities__visitor-details i {
  color: #a7aac2;
}

body.theme-dark .visitor-stage-deadline {
  background: #1e1e2d;
  border-color: #35354f;
}

body.theme-dark .visitor-stage-deadline__header strong {
  color: #f1f2f8;
}

body.theme-dark .visitor-stage-deadline__header small {
  color: #a7aac2;
}

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__columns--visitors .visitor-stage-header {
  background: #242436;
  border-color: #35354f;
  color: #f1f2f8;
}

body.theme-dark .entity-list__columns--visitors .visitor-stage-header__body {
  background: #242436;
  color: #f1f2f8;
}

body.theme-dark .entity-list__columns--visitors .visitor-stage-header__name {
  color: #f1f2f8;
}

body.theme-dark .entity-list__columns--visitors .visitor-stage-header__responsible {
  background: #1e1e2d;
  color: #dfe3f0;
}

body.theme-dark .entity-list__columns--visitors .visitor-stage-header__avatar {
  background: #2f3348;
}

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__date-group-row--visitors,
body.theme-dark .entity-list__date-group-row--visitors:hover {
  background: #242436;
  border-bottom-color: #3f425d;
  color: #c7d2fe;
}

body.theme-dark .visitor-stage-cell--overdue {
  background: rgba(127, 29, 29, .62);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .55);
}

body.theme-dark .visitor-stage-cell--overdue .visitor-stage-status {
  background: rgba(69, 10, 10, .78) !important;
  border-color: #f87171 !important;
  color: #fecaca !important;
}

body.theme-dark .visitor-date-group-summary strong {
  color: #f1f2f8;
}

body.theme-dark .visitor-date-group-summary small {
  color: #a7aac2;
}

body.theme-dark .visitor-date-group-stage {
  color: #c7d2fe;
}

body.theme-dark .visitor-date-group-actions {
  background: rgba(199, 210, 254, .05);
}

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-name__visit-sequence {
  background: rgba(67, 94, 190, .22);
  border-color: rgba(158, 175, 255, .44);
  color: #c7d2fe;
}

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;
  }

  .visitor-activities__header {
    align-items: stretch;
    flex-direction: column;
  }

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

  .visitor-activities__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .visitor-activities__meta {
    align-items: flex-start;
  }

  .visitor-activities__action {
    width: 100%;
  }

  .visitor-activities__action .form-select {
    flex: 1 1 auto;
  }

  .visitor-status-note-modal__summary {
    grid-template-columns: 1fr;
  }

  .visitor-status-history__top {
    display: grid;
  }
}

@media (max-width: 575.98px) {
  .visitors-dashboard__kpis,
  .visitors-dashboard__loading,
  .visitor-activities__summary,
  .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;
  }
}

@media (max-width: 767.98px) {
  #main .page-heading.fixed-top.visitors-list-page__heading {
    padding: 10px 20px;
  }

  #main.visitors-list-page,
  #main.visitors-list-page .page-content,
  .entity-list--visitors {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .visitors-list-page__heading {
    background: #435ebe;
    box-shadow: 0 4px 14px rgba(31, 45, 61, .14);
    color: #fff;
  }

  .visitors-list-page__title-row,
  .visitors-list-page__title-copy {
    align-items: center;
  }

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

  .visitors-list-page__title-copy {
    flex: 1 1 auto;
  }

  .visitors-list-page__title-copy > div {
    min-width: 0;
  }

  .visitors-list-page__title-copy h3,
  .visitors-list-page__heading .burger-btn,
  .visitors-list-page__heading .burger-btn i {
    color: #fff;
  }

  .visitors-list-page__title-copy h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .visitors-list-page__title-desktop {
    display: none;
  }

  .visitors-list-page__title-mobile {
    display: inline;
  }

  .visitors-list-page__header-actions {
    align-items: center;
    display: grid;
    flex: 0 0 auto;
    gap: .35rem;
    grid-auto-columns: 40px;
    grid-auto-flow: column;
    margin-top: 0;
  }

  .visitors-list-page__header-actions .dropdown,
  .visitors-list-page__header-actions .btn,
  .visitors-list-page__public-form,
  .visitors-list-page__create,
  .visitors-list-page__options {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    min-height: 40px;
    padding: 0;
    width: 40px;
  }

  .visitors-list-page__header-actions .dropdown {
    width: 40px;
  }

  .visitors-list-page__header-actions .btn i,
  .visitors-list-page__options i {
    color: inherit;
    font-size: 1.1rem;
  }

  .visitors-list-page__header-actions .btn span {
    display: none;
  }

  .visitors-list-page__public-form:hover,
  .visitors-list-page__public-form:focus-visible,
  .visitors-list-page__create:hover,
  .visitors-list-page__create:focus-visible,
  .visitors-list-page__options:hover,
  .visitors-list-page__options:focus-visible,
  .visitors-list-page__options[aria-expanded="true"] {
    background: #fff;
    color: #3656b0;
  }

  body.theme-dark .visitors-list-page__heading {
    background: #252b48;
    border-bottom: 1px solid #414a72;
  }

  .visitors-list-page__toolbar-filters {
    align-items: stretch;
    display: grid;
    gap: .35rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control > .btn {
    align-items: center;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 100%;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control > .btn > span:not(.badge),
  .visitors-list-page__toolbar-filters .entity-list__filter-control.dropdown > .btn > span:not(.badge) {
    display: none;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control > .btn.dropdown-toggle::after {
    display: none;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control > .btn > i {
    font-size: 1.1rem;
  }

  .visitors-list-page__toolbar-filters .entity-list__filter-control .badge {
    align-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    display: inline-flex;
    font-size: .59rem;
    height: 19px;
    justify-content: center;
    min-width: 19px;
    padding: 0 3px;
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
  }

  .visitors-list-page__toolbar-filters .entity-list__clear-filters {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #d6e1ff;
    border-radius: 5px;
    color: #435ebe;
    display: inline-flex;
    font-size: 1rem;
    grid-column: auto;
    height: 42px;
    justify-content: center;
    margin: 0;
    min-height: 42px;
    padding: 0;
    width: 100%;
  }

  .visitors-list-page__toolbar-filters .entity-list__clear-filters span {
    display: none;
  }
}
