.layout-menu .app-brand.demo {
  height: 64px;
}

.authentication-wrapper {
  display: flex;
  flex-basis: 100%;
  min-height: 100vh;
  width: 100%;
}
.authentication-wrapper .authentication-inner {
  margin: auto;
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
}

.misc-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.term-length {
  max-width: 20rem;
}

.source-count {
  width: 13.5rem;
}

.source-count .input-group {
  flex-wrap: nowrap;
}

.source-count .form-control {
  min-width: 4rem;
}

.booking-public {
  max-width: 44rem;
}

.booking-public.booking-public-wide {
  max-width: 64rem;
}

.booking-month td {
  width: 14.28%;
}

.booking-month .booking-day.booking-day-selected {
  outline: 0.15rem solid var(--bs-primary);
  outline-offset: 0.15rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .booking-month td {
    padding: 0.125rem !important;
  }
  .booking-month .booking-day {
    padding-inline: 0;
  }
  .booking-month th {
    padding-inline: 0;
  }
}
.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.5rem;
}

.booking-slot {
  font-variant-numeric: tabular-nums;
}

.booking-aside {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-grid .booking-discuss {
  white-space: pre-line;
  min-width: 8rem;
  max-width: 24rem;
  overflow-wrap: anywhere;
}

.competitor-news .competitor-news-line {
  border-bottom: 1px solid var(--bs-border-color);
  padding: 0.875rem 0;
}
.competitor-news .competitor-news-line:first-child {
  padding-top: 0;
}
.competitor-news .competitor-news-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.competitor-news .competitor-news-body {
  min-width: 0;
}
.competitor-news .competitor-news-title {
  overflow-wrap: anywhere;
}
.competitor-news .competitor-news-irrelevant .competitor-news-body {
  opacity: 0.55;
}
.competitor-news .competitor-news-summary {
  max-width: 48rem;
}
.competitor-news .competitor-news-summary .crm-fold-text {
  white-space: pre-line;
}
.competitor-news .crm-fold-text {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.competitor-news .crm-unfolded .crm-fold-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow: visible;
}
.competitor-news .crm-fold-toggle {
  background: none;
  border: 0;
  color: var(--bs-primary);
  font-size: 0.8125rem;
  padding: 0;
}
.competitor-news .crm-fold-toggle:hover, .competitor-news .crm-fold-toggle:focus-visible {
  text-decoration: underline;
}

.crm-grid th,
.crm-grid td {
  vertical-align: top;
}
.crm-grid.table > :not(caption) > * > * {
  padding-left: 0.4375rem;
  padding-right: 0.4375rem;
}
.crm-grid.table > :not(caption) > * > :first-child {
  padding-left: 1.25rem;
}
.crm-grid.table > :not(caption) > * > :last-child {
  padding-right: 1.25rem;
}
.crm-grid thead th {
  letter-spacing: normal;
  text-transform: none;
}
.crm-grid .crm-filters th {
  font-weight: normal;
  padding-top: 0;
}
.crm-grid.dataTable.table-sm > thead > tr.crm-filters > th:not(:last-child) {
  padding-right: 0.4375rem;
}
.crm-grid .crm-filters th:has(select) {
  min-width: 5.5rem;
}
.crm-grid .crm-filters select {
  background-position: right 0.25rem center;
  background-size: 1rem 1rem;
  padding-left: 0.5rem;
  padding-right: 1.25rem;
  width: 100%;
}
.crm-grid .crm-name {
  min-width: 6rem;
}
.crm-grid .crm-new .crm-name {
  min-width: 11rem;
}
.crm-grid .crm-headline {
  min-width: 6rem;
  max-width: 16rem;
}
.crm-grid .crm-presentation {
  max-width: 6rem;
  overflow-wrap: anywhere;
}
.crm-grid .crm-notes {
  white-space: pre-line;
  min-width: 6rem;
  max-width: 24rem;
  overflow-wrap: anywhere;
}
.crm-grid .crm-fold-text {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.crm-grid .crm-notes .crm-fold-text {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.crm-grid .crm-unfolded .crm-fold-text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow: visible;
}
.crm-grid .crm-fold-toggle {
  background: none;
  border: 0;
  color: var(--bs-primary);
  font-size: 0.8125rem;
  padding: 0;
}
.crm-grid .crm-fold-toggle:hover, .crm-grid .crm-fold-toggle:focus-visible {
  text-decoration: underline;
}
.crm-grid .crm-timeline {
  cursor: pointer;
}
.crm-grid .crm-timeline .crm-next {
  border-top: 1px dashed var(--bs-border-color);
  font-style: italic;
  margin-top: 0.25rem;
  max-width: 16rem;
  padding-top: 0.25rem;
}
.crm-grid .crm-timeline .crm-next:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
.crm-grid .crm-timeline .crm-overdue {
  color: var(--bs-danger);
}
.crm-grid .crm-timeline:hover, .crm-grid .crm-timeline:focus-visible {
  box-shadow: inset 0 0 0 1px var(--bs-primary);
  outline: none;
}
.crm-grid td.crm-e[data-value="1"]:not(.crm-editing) {
  background-color: #ffa040;
  color: #25222f;
  font-weight: 500;
}
.crm-grid td.crm-e[data-value="2"]:not(.crm-editing) {
  background-color: #ffc846;
  color: #25222f;
  font-weight: 500;
}
.crm-grid td.crm-e[data-value="3"]:not(.crm-editing) {
  background-color: #ffeb4d;
  color: #25222f;
  font-weight: 500;
}
.crm-grid td.crm-e[data-value="4"]:not(.crm-editing) {
  background-color: #d4e83a;
  color: #25222f;
  font-weight: 500;
}
.crm-grid td.crm-e[data-value="5"]:not(.crm-editing) {
  background-color: #a8e61d;
  color: #25222f;
  font-weight: 500;
}
.crm-grid .crm-met {
  min-width: 6.5rem;
}
.crm-grid .crm-with .crm-line {
  white-space: nowrap;
}
.crm-grid tr.crm-open > .crm-timeline {
  background-color: rgba(var(--bs-primary-rgb), 0.08);
}
table.crm-grid > tbody > tr.crm-panel-row > td,
table.crm-grid.table-hover > tbody > tr.crm-panel-row:hover > td {
  background-color: rgba(var(--bs-primary-rgb), 0.04);
  box-shadow: inset 3px 0 0 rgba(var(--bs-primary-rgb), 0.5);
  padding: 1rem 1.25rem;
  white-space: normal;
}

.crm-grid.table > * > tr > td.crm-editing {
  padding: 0.125rem;
}
.crm-grid td.crm-saving {
  opacity: 0.6;
}
.crm-grid .crm-new-body td {
  border-bottom: 2px dashed var(--bs-border-color);
}

.crm-introductions.crm-saving {
  opacity: 0.6;
}

.crm-introductions-grid .crm-introduction-customer {
  min-width: 8rem;
  max-width: 16rem;
}
.crm-introductions-grid .crm-introduction-introducedOn {
  white-space: nowrap;
}
.crm-introductions-grid .crm-introduction-contactPerson {
  min-width: 6rem;
  max-width: 12rem;
}

.crm-introduction-add {
  border-top: 1px dashed var(--bs-border-color);
  padding-top: 0.75rem;
}

.crm-editable [data-field] {
  cursor: cell;
}
.crm-editable [data-field]:hover {
  box-shadow: inset 0 0 0 1px var(--bs-primary);
}
.crm-editable [data-field].crm-editing {
  box-shadow: none;
}

.crm-saved {
  animation: crm-saved 1.5s ease-out;
}

@keyframes crm-saved {
  from {
    background-color: rgba(var(--bs-success-rgb), 0.2);
  }
  to {
    background-color: transparent;
  }
}
.crm-conflict {
  white-space: normal;
}

.crm-field {
  min-height: 1.5rem;
}
.crm-editable .crm-field:empty::before {
  content: "Click to add";
  color: var(--bs-secondary-color);
  font-style: italic;
}

.crm-editable .crm-grid tr[data-contact] > td.crm-met:not(:has(.crm-line)):hover::before {
  content: "Log one";
  color: var(--bs-secondary-color);
  font-style: italic;
}

.crm-panel {
  max-width: 60rem;
}
.crm-panel.crm-saving {
  opacity: 0.6;
}
.crm-panel .crm-interaction + .crm-interaction {
  border-top: 1px solid var(--bs-border-color);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}
.crm-panel .crm-summary {
  white-space: pre-line;
}
.crm-panel .crm-interaction-add {
  border-top: 1px dashed var(--bs-border-color);
  padding-top: 0.75rem;
}
.crm-panel .crm-next-action {
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 0.75rem;
}
.crm-panel .crm-next-fields {
  border-top: 1px dotted var(--bs-border-color);
  padding-top: 0.5rem;
}
.crm-panel .crm-next-confirm:focus {
  outline: 2px solid rgba(var(--bs-warning-rgb), 0.6);
}
.crm-panel input::placeholder {
  color: var(--bs-secondary-color);
  font-style: italic;
  opacity: 0.75;
}

.crm-gone td {
  text-decoration: line-through;
  cursor: default;
}

.crm-funnel .crm-funnel-level-0 > td:first-child {
  padding-inline-start: 1rem;
}
@media (min-width: 768px) {
  .crm-funnel .crm-funnel-level-0 > td:first-child {
    padding-inline-start: 1.25rem;
  }
}
.crm-funnel .crm-funnel-level-1 > td:first-child {
  padding-inline-start: 1.75rem;
}
@media (min-width: 768px) {
  .crm-funnel .crm-funnel-level-1 > td:first-child {
    padding-inline-start: 2.75rem;
  }
}
.crm-funnel .crm-funnel-level-2 > td:first-child {
  padding-inline-start: 2.5rem;
}
@media (min-width: 768px) {
  .crm-funnel .crm-funnel-level-2 > td:first-child {
    padding-inline-start: 4.25rem;
  }
}
.crm-funnel .crm-funnel-level-3 > td:first-child {
  padding-inline-start: 3.25rem;
}
@media (min-width: 768px) {
  .crm-funnel .crm-funnel-level-3 > td:first-child {
    padding-inline-start: 5.75rem;
  }
}
.crm-funnel .crm-funnel-level-4 > td:first-child {
  padding-inline-start: 4rem;
}
@media (min-width: 768px) {
  .crm-funnel .crm-funnel-level-4 > td:first-child {
    padding-inline-start: 7.25rem;
  }
}
.crm-funnel .crm-funnel-level-0 > td {
  font-weight: 600;
}
.crm-funnel .crm-funnel-level-4 > td {
  border-bottom-style: dotted;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.crm-funnel td[data-count],
.crm-funnel td[data-share] {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .crm-funnel th,
  .crm-funnel td {
    padding-inline: 0.5rem;
  }
}

.dashboard-order .list-group-item {
  user-select: none;
}
.dashboard-order .dashboard-order-handle {
  cursor: grab;
}
.dashboard-order .dashboard-order-dragging {
  opacity: 0.5;
}
.dashboard-order .dashboard-order-position {
  min-width: 1.75rem;
  font-variant-numeric: tabular-nums;
}

.booking-link-words {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1.5rem;
}

.booking-link-words-note {
  grid-column: 1/-1;
  margin-top: 0;
}

@media (min-width: 992px) {
  .booking-link-words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 0;
  }
  .booking-link-words .booking-link-language {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    align-content: start;
  }
  .booking-link-words-note {
    margin-top: 1.5rem;
  }
}
.table-responsive {
  position: relative;
}

.profile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--mark, #808390);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.profile-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.profile-marks .profile-mark {
  position: absolute;
  width: 11px;
  height: 11px;
  font-size: 7px;
  border: 1px solid var(--bs-paper-bg, #fff);
  box-sizing: content-box;
  pointer-events: auto;
  cursor: default;
  transform: translate(-50%, 0);
}

.profile-marks-hidden .profile-mark[data-kind=change],
.post-marks-hidden .profile-mark[data-kind=post] {
  display: none;
}

.profile-marks .profile-mark[data-kind=post] {
  width: auto;
  min-width: 9px;
  height: 9px;
  margin-top: 1px;
  padding: 0 2px;
  font-size: 6px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.profile-marks .profile-mark[data-kind=post]:hover {
  color: #fff;
  filter: brightness(1.1);
}

.profile-change-thumb {
  max-width: 96px;
  max-height: 64px;
  border-radius: 0.375rem;
  object-fit: cover;
  border: 1px solid var(--bs-border-color);
}
