.people-list-page__heading,
.groups-list-page__heading {
  padding-bottom: 1rem;
}

#main.groups-list-page {
  overflow: visible;
}

.people-list-page__title-row,
.people-list-page__title-copy,
.people-list-page__header-actions,
.groups-list-page__title-row,
.groups-list-page__title-copy,
.groups-list-page__header-actions,
.entity-list__toolbar,
.entity-list__page-size,
.entity-list__person,
.entity-list__badges,
.entity-list__status-badge {
  align-items: center;
  display: flex;
}

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

.people-list-page__title-copy,
.groups-list-page__title-copy {
  gap: .75rem;
  min-width: 0;
}

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

.people-list-page__title-copy .header-menu-responsive,
.groups-list-page__title-copy .header-menu-responsive {
  margin: 0;
}

.people-list-page__header-actions,
.groups-list-page__header-actions {
  flex: 0 0 auto;
  gap: .75rem;
}

.people-list-page__header-actions .box-notification,
.groups-list-page__header-actions .box-notification {
  float: none;
}

.people-list-page__create,
.groups-list-page__create {
  white-space: nowrap;
}

.entity-list {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(31, 45, 61, .04);
  max-width: 100%;
  overflow: visible;
}

.entity-list__toolbar {
  border-bottom: 1px solid #e7eaf0;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 72px;
  padding: .9rem 1.25rem;
}

.entity-list__summary {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.entity-list__summary-title {
  color: #25324b;
  font-size: 1rem;
  font-weight: 700;
}

.entity-list__summary-copy {
  color: #7c8aa5;
  font-size: .8rem;
}

.entity-list__search {
  flex: 0 1 460px;
  min-width: 280px;
}

.entity-list__search .input-group-text {
  background: #fff;
  border-right: 0;
  color: #7c8aa5;
  padding-right: .25rem;
}

.entity-list__search .form-control {
  border-left: 0;
  min-height: 40px;
  min-width: 0;
  padding-left: .5rem;
  width: 1%;
}

.entity-list__search .form-control:focus {
  border-color: #dce2ee;
  box-shadow: none;
}

.entity-list__search:focus-within {
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .16);
}

.entity-list__columns,
.entity-list__row,
.entity-list__skeleton-row {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(240px, 2fr) minmax(115px, .75fr) minmax(180px, 1.2fr) minmax(150px, .9fr) 48px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.entity-list__columns {
  background: #f7f8fb;
  border-bottom: 1px solid #e7eaf0;
  color: #78849b;
  font-size: .72rem;
  font-weight: 700;
  min-height: 42px;
  text-transform: uppercase;
}

.entity-list__body {
  min-height: 112px;
}

.entity-list__row {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  min-height: 68px;
  outline: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.entity-list__row--clickable {
  cursor: pointer;
}

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

.entity-list__row--clickable:focus-visible {
  box-shadow: inset 3px 0 0 #435ebe, inset 0 0 0 2px rgba(67, 94, 190, .3);
}

.entity-list__person {
  gap: .75rem;
  min-width: 0;
}

.entity-list__avatar {
  background: #edf0f5;
  border: 1px solid #e2e6ee;
  border-radius: 50%;
  flex: 0 0 42px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.entity-list__person-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.entity-list__person-copy strong,
.entity-list__person-copy span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__person-copy strong {
  color: #25324b;
  font-size: .9rem;
  font-weight: 700;
}

.entity-list__person-copy span {
  color: #7c8aa5;
  font-size: .78rem;
  margin-top: .2rem;
}

.entity-list__cell {
  color: #4f5d75;
  font-size: .82rem;
  min-width: 0;
}

.entity-list__badges {
  flex-wrap: nowrap;
  gap: .35rem;
  min-width: 0;
  overflow: hidden;
}

.entity-list__badges .badge {
  border-radius: 4px;
  flex: 0 1 auto;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.15;
  max-width: 116px;
  overflow: hidden;
  padding: .3rem .45rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__profile-badge {
  background: #edf1ff;
  color: #435ebe;
}

.entity-list__profile-more {
  background: #e8ebf1;
  color: #5d6880;
  flex: 0 0 auto !important;
}

.entity-list__status-badge {
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  gap: .35rem;
  line-height: 1.2;
  padding: .32rem .48rem;
  width: fit-content;
}

.entity-list__status-badge--active {
  background: #e8f7ef;
  color: #157347;
}

.entity-list__status-badge--inactive {
  background: #fdebed;
  color: #b02a37;
}

.entity-list__status-badge--pending {
  background: #fff5d8;
  color: #946200;
}

.entity-list__actions {
  display: flex;
  justify-content: flex-end;
}

.entity-list__action-button {
  align-items: center;
  border: 1px solid transparent;
  color: #69758d;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.entity-list__action-button:hover,
.entity-list__action-button:focus-visible,
.entity-list__action-button[aria-expanded="true"] {
  background: #eef1f7;
  border-color: #dce2ee;
  color: #25324b;
}

.entity-list__action-button:focus-visible,
.entity-list__footer select:focus-visible,
.entity-list__pagination .page-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .22);
  outline: none;
}

.entity-list__mobile-label {
  display: none;
}

.entity-list__state {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.entity-list__state-icon {
  align-items: center;
  background: #edf1ff;
  border-radius: 50%;
  color: #435ebe;
  display: flex;
  font-size: 1.4rem;
  height: 48px;
  justify-content: center;
  margin-bottom: .85rem;
  width: 48px;
}

.entity-list__state-icon > i,
.entity-list__state-icon > svg {
  display: block;
  flex: 0 0 auto;
  line-height: 1;
  vertical-align: 0;
}

.entity-list__state-icon > i::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
}

.entity-list__state-icon > svg {
  height: 1em;
  width: 1em;
}

.entity-list__state-icon--error {
  background: #fdebed;
  color: #b02a37;
}

.entity-list__state h4 {
  color: #25324b;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: .4rem;
}

.entity-list__state p {
  color: #7c8aa5;
  font-size: .85rem;
  margin-bottom: 1rem;
  max-width: 520px;
  overflow-wrap: anywhere;
}

.entity-list__skeleton-row {
  border-bottom: 1px solid #edf0f5;
  min-height: 68px;
}

.entity-list__skeleton {
  animation: entity-list-pulse 1.35s ease-in-out infinite;
  background: #e9edf4;
  border-radius: 4px;
  display: block;
  height: 12px;
  max-width: 140px;
  width: 72%;
}

.entity-list__skeleton--person {
  height: 42px;
  max-width: 210px;
  width: 84%;
}

.entity-list__skeleton--action {
  border-radius: 50%;
  height: 32px;
  justify-self: end;
  width: 32px;
}

@keyframes entity-list-pulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.entity-list__footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 66px;
  padding: .75rem 1.25rem;
}

.entity-list__page-size {
  color: #7c8aa5;
  font-size: .78rem;
  gap: .5rem;
}

.entity-list__page-size label {
  margin: 0;
}

.entity-list__page-size select {
  min-width: 68px;
  width: auto;
}

.entity-list__pagination .page-item:first-child,
.entity-list__pagination .page-item:last-child {
  margin: 0;
}

.entity-list__pagination .page-link {
  align-items: center;
  display: flex;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: .3rem .5rem;
}

body.theme-dark .entity-list,
body.theme-dark .entity-list__row,
body.theme-dark .entity-list__search .input-group-text {
  background: #1e1e2d;
  border-color: #35354f;
}

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

body.theme-dark .entity-list__columns {
  background: #242436;
  color: #a7aac2;
}

body.theme-dark .entity-list__summary-title,
body.theme-dark .entity-list__person-copy strong,
body.theme-dark .entity-list__state h4,
body.theme-dark .people-list-page__title-copy h3,
body.theme-dark .groups-list-page__title-copy h3 {
  color: #f1f2f8;
}

body.theme-dark .entity-list__summary-copy,
body.theme-dark .entity-list__person-copy span,
body.theme-dark .entity-list__cell,
body.theme-dark .entity-list__state p,
body.theme-dark .entity-list__page-size {
  color: #a7aac2;
}

body.theme-dark .entity-list__row--clickable:hover,
body.theme-dark .entity-list__action-button:hover,
body.theme-dark .entity-list__action-button:focus-visible,
body.theme-dark .entity-list__action-button[aria-expanded="true"] {
  background: #282839;
}

body.theme-dark .entity-list__skeleton {
  background: #35354f;
}

@media (max-width: 991.98px) {
  .entity-list__columns,
  .entity-list__row,
  .entity-list__skeleton-row {
    grid-template-columns: minmax(220px, 1.8fr) minmax(110px, .8fr) minmax(150px, 1fr) minmax(140px, .9fr) 44px;
    gap: .75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .people-list-page__title-row {
    align-items: flex-start;
  }

  .groups-list-page__title-row {
    align-items: flex-start;
  }

  .people-list-page__title-copy {
    align-items: flex-start;
  }

  .groups-list-page__title-copy {
    align-items: flex-start;
  }

  .people-list-page__title-copy h3,
  .groups-list-page__title-copy h3 {
    font-size: 1.35rem;
  }

  .people-list-page__title-copy .text-subtitle,
  .people-list-page__header-actions .box-notification,
  .groups-list-page__title-copy .text-subtitle,
  .groups-list-page__header-actions .box-notification {
    display: none;
  }

  .people-list-page__create,
  .groups-list-page__create,
  .groups-list-page__options {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 40px;
  }

  .people-list-page__create span,
  .groups-list-page__create span {
    display: none;
  }

  .entity-list__toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: .75rem;
    padding: .9rem;
  }

  .entity-list__summary {
    flex-direction: row;
    gap: .35rem;
  }

  .entity-list__search {
    flex-basis: auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .entity-list__search .btn {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .entity-list__columns {
    display: none;
  }

  .entity-list__row {
    align-items: start;
    gap: .65rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
    position: relative;
  }

  .entity-list__person {
    grid-column: 1;
    padding-right: .25rem;
  }

  .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list__cell {
    align-items: center;
    display: flex;
    gap: .45rem;
    grid-column: 1 / -1;
    min-width: 0;
  }

  .entity-list__cell--cpf {
    color: #69758d;
  }

  .entity-list__mobile-label {
    color: #8a95a9;
    display: inline;
    flex: 0 0 46px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .entity-list__badges {
    flex-wrap: wrap;
    overflow: visible;
  }

  .entity-list__badges .badge {
    max-width: min(180px, 52vw);
  }

  .entity-list__status-badge {
    max-width: calc(100% - 54px);
  }

  .entity-list__skeleton-row {
    gap: .65rem;
    grid-template-columns: minmax(0, 1fr) 32px;
    min-height: 124px;
    padding: .9rem;
  }

  .entity-list__skeleton-row .entity-list__skeleton:not(.entity-list__skeleton--person):not(.entity-list__skeleton--action) {
    grid-column: 1 / -1;
  }

  .entity-list__skeleton--person {
    grid-column: 1;
  }

  .entity-list__skeleton--action {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list__footer {
    align-items: stretch;
    flex-direction: column;
    gap: .85rem;
    padding: .9rem;
  }

  .entity-list__page-size,
  .entity-list__pagination {
    justify-content: center;
  }

  .entity-list__pagination {
    display: flex;
    max-width: 100%;
  }

  .entity-list__pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entity-list__skeleton {
    animation: none;
  }
}

.groups-list-page__header-actions {
  gap: .5rem;
}

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

.entity-list__filters {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e7eaf0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  min-height: 58px;
  padding: .65rem 1.25rem;
}

.entity-list__filter-control {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
  min-height: 36px;
  white-space: nowrap;
}

.entity-list__filter-control > .btn,
.entity-list__filter-control.dropdown > .btn {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
  justify-content: center;
}

.entity-list__filter-control .badge {
  font-size: .65rem;
}

.entity-list__status-filter-menu {
  min-width: 264px;
  padding: .45rem 0 0;
}

.entity-list__status-filter-heading {
  display: flex;
  flex-direction: column;
  padding: .35rem .85rem .55rem;
}

.entity-list__status-filter-heading strong {
  color: #25324b;
  font-size: .82rem;
}

.entity-list__status-filter-heading small {
  color: #7c879b;
  font-size: .7rem;
  margin-top: .1rem;
}

.entity-list__status-filter-option {
  align-items: center;
  display: flex;
  gap: .5rem;
  margin-bottom: 0;
  min-height: 38px;
  padding: .45rem .85rem;
}

body.theme-dark .entity-list__status-filter-option {
  align-items: center;
  display: flex;
  gap: .5rem;
  margin-bottom: 0;
  padding: .45rem .85rem;
}

.entity-list__status-filter-option:hover {
  background: #f5f7fb;
}

.entity-list__status-filter-option .form-check-input,
.entity-list__status-filter-option .form-check-label {
  cursor: pointer;
}

.entity-list__status-filter-option .form-check-input {
  float: none;
  flex: 0 0 auto;
  margin: 0;
}

.entity-list__status-filter-option .form-check-label {
  color: #3d4961;
  flex: 1 1 auto;
  font-size: .8rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.entity-list__status-filter-option.form-check .form-check-input:focus,
.entity-list__status-filter-option.form-check .form-check-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .22);
  outline: none;
}

body.theme-dark .entity-list__status-filter-option .form-check-input {
  float: none;
  flex: 0 0 auto;
  margin: 0;
}

body.theme-dark .entity-list__status-filter-option.form-check .form-check-input:focus,
body.theme-dark .entity-list__status-filter-option.form-check .form-check-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(67, 94, 190, .22);
  outline: none;
}

.entity-list__status-filter-actions {
  align-items: center;
  border-top: 1px solid #e7eaf0;
  display: flex;
  gap: .4rem;
  justify-content: flex-end;
  margin-top: .3rem;
  padding: .65rem .75rem;
}

.entity-list__filter-chips {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: .35rem;
  min-width: 100px;
}

.entity-list__filter-chip {
  align-items: center;
  background: #edf1ff;
  border-radius: 4px;
  color: #435ebe;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 600;
  gap: .25rem;
  max-width: 180px;
  padding: .3rem .35rem .3rem .5rem;
}

.entity-list__filter-chip--status {
  background: #e8f7ef;
  color: #157347;
}

.entity-list__filter-chip > button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  justify-content: center;
  padding: 0;
  width: 20px;
}

.entity-list__filter-chip > button:focus-visible {
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(67, 94, 190, .24);
  outline: none;
}

.entity-list__clear-filters {
  margin-left: auto;
  padding: .35rem .25rem;
  white-space: nowrap;
}

.entity-list__embedded-create {
  margin-left: auto;
}

.entity-list--groups .entity-list__columns,
.entity-list--groups .entity-list__row,
.entity-list--groups .entity-list__skeleton-row {
  grid-template-columns: minmax(220px, 1.7fr) minmax(135px, .85fr) minmax(190px, 1.15fr) minmax(150px, .9fr) minmax(115px, .7fr) 48px;
}

.entity-list--groups .entity-list__row,
.entity-list--groups .entity-list__skeleton-row {
  min-height: 72px;
}

.entity-list__group-image {
  background: #edf0f5;
  border: 1px solid #e2e6ee;
  border-radius: 6px;
  flex: 0 0 48px;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.entity-list__group-status--created {
  background: #edf0f5;
  color: #5f6b7d;
}

.entity-list__group-status--online {
  background: #e8f7ef;
  color: #157347;
}

.entity-list__group-status--running {
  background: #e8efff;
  color: #3156b3;
}

.entity-list__group-status--done {
  background: #f0ebf8;
  color: #6f42a6;
}

.entity-list__group-status--unknown {
  background: #fff5d8;
  color: #946200;
}

.entity-list__facilitator-list,
.entity-list__facilitator {
  align-items: center;
  display: flex;
}

.entity-list__facilitator-list {
  gap: .35rem;
  min-width: 0;
  overflow: hidden;
}

.entity-list__facilitator {
  gap: .3rem;
  min-width: 0;
}

.entity-list__facilitator img {
  border: 1px solid #e2e6ee;
  border-radius: 50%;
  flex: 0 0 26px;
  height: 26px;
  object-fit: cover;
  width: 26px;
}

.entity-list__facilitator span {
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__facilitator:nth-child(n+2) span {
  display: none;
}

.entity-list__facilitator-more {
  align-items: center;
  background: #e8ebf1;
  border-radius: 50%;
  color: #5d6880;
  display: inline-flex;
  flex: 0 0 26px;
  font-size: .67rem;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.entity-list__muted {
  color: #8a95a9;
  font-size: .78rem;
}

.entity-list__group-metrics > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.entity-list__group-metrics strong {
  color: #25324b;
  font-size: .85rem;
}

.entity-list__group-metrics small {
  color: #8a95a9;
  font-size: .68rem;
  margin-top: .18rem;
}

.entity-list__group-date > span:not(.entity-list__mobile-label) {
  align-items: center;
  display: inline-flex;
  gap: .3rem;
  white-space: nowrap;
}

body.theme-dark .entity-list__filters {
  background: #1e1e2d;
  border-color: #35354f;
}

body.theme-dark .entity-list__status-filter-menu {
  background: #252538;
  border-color: #41415c;
}

body.theme-dark .entity-list__status-filter-heading strong,
body.theme-dark .entity-list__status-filter-option .form-check-label {
  color: #f1f2f8;
}

body.theme-dark .entity-list__status-filter-heading small {
  color: #aeb4c5;
}

body.theme-dark .entity-list__status-filter-option:hover {
  background: #303047;
}

body.theme-dark .entity-list__status-filter-actions {
  border-color: #41415c;
}

body.theme-dark .entity-list__group-metrics strong {
  color: #f1f2f8;
}

@media (max-width: 1199.98px) {
  .entity-list--groups .entity-list__columns,
  .entity-list--groups .entity-list__row,
  .entity-list--groups .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(200px, 1.55fr) minmax(125px, .85fr) minmax(155px, 1fr) minmax(135px, .85fr) minmax(105px, .7fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .groups-list-page__header-actions {
    gap: .35rem;
  }

  .entity-list__filters {
    align-items: stretch;
    padding: .75rem .9rem;
  }

  .entity-list__filter-control {
    flex: 1 1 auto;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
  }

  .entity-list__filter-control.dropdown .btn {
    max-width: 100%;
  }

  .entity-list__filter-control.dropdown .btn span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .entity-list__status-filter-menu {
    max-width: calc(100vw - 1.8rem);
    min-width: min(264px, calc(100vw - 1.8rem));
  }

  .entity-list__filter-chips {
    flex-basis: 100%;
    order: 3;
  }

  .entity-list__clear-filters {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .entity-list--groups .entity-list__row,
  .entity-list--groups .entity-list__skeleton-row {
    gap: .65rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
  }

  .entity-list--groups .entity-list__group {
    grid-column: 1;
  }

  .entity-list--groups .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list--groups .entity-list__cell {
    grid-column: 1 / -1;
  }

  .entity-list__facilitator-list {
    flex-wrap: wrap;
    overflow: visible;
  }

  .entity-list__facilitator span,
  .entity-list__facilitator:nth-child(n+2) span {
    display: inline;
    max-width: min(150px, 40vw);
  }

  .entity-list__group-metrics > div {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .entity-list__group-metrics small {
    flex-basis: 100%;
    margin-left: 50px;
  }
}

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

#main.events-list-page {
  overflow: visible;
}

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

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

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

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

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

.events-list-page__header-actions {
  flex: 0 0 auto;
  gap: .5rem;
}

.events-list-page__header-actions .box-notification {
  float: none;
}

.events-list-page__create {
  white-space: nowrap;
}

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

.entity-list--events .entity-list__columns,
.entity-list--events .entity-list__row,
.entity-list--events .entity-list__skeleton-row {
  grid-template-columns: minmax(220px, 1.7fr) minmax(135px, .85fr) minmax(190px, 1.15fr) minmax(150px, .9fr) minmax(115px, .7fr) 48px;
}

.entity-list--events .entity-list__row,
.entity-list--events .entity-list__skeleton-row {
  min-height: 72px;
}

.entity-list__event-image {
  background: #edf0f5;
  border: 1px solid #e2e6ee;
  border-radius: 6px;
  flex: 0 0 48px;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.entity-list__event-status--created {
  background: #edf0f5;
  color: #5f6b7d;
}

.entity-list__event-status--online {
  background: #e8f7ef;
  color: #157347;
}

.entity-list__event-status--running {
  background: #e8efff;
  color: #3156b3;
}

.entity-list__event-status--done {
  background: #f0ebf8;
  color: #6f42a6;
}

.entity-list__event-status--unknown {
  background: #fff5d8;
  color: #946200;
}

.entity-list__event-metrics > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.entity-list__event-metrics strong {
  color: #25324b;
  font-size: .85rem;
}

.entity-list__event-metrics small {
  color: #8a95a9;
  font-size: .68rem;
  margin-top: .18rem;
}

.entity-list__event-date > span:not(.entity-list__mobile-label) {
  align-items: center;
  display: inline-flex;
  gap: .3rem;
  white-space: nowrap;
}

body.theme-dark .events-list-page__title-copy h3,
body.theme-dark .entity-list__event-metrics strong {
  color: #f1f2f8;
}

@media (max-width: 1199.98px) {
  .entity-list--events .entity-list__columns,
  .entity-list--events .entity-list__row,
  .entity-list--events .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(200px, 1.55fr) minmax(125px, .85fr) minmax(155px, 1fr) minmax(135px, .85fr) minmax(105px, .7fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .events-list-page__title-row,
  .events-list-page__title-copy {
    align-items: flex-start;
  }

  .events-list-page__title-copy h3 {
    font-size: 1.35rem;
  }

  .events-list-page__title-copy .text-subtitle,
  .events-list-page__header-actions .box-notification {
    display: none;
  }

  .events-list-page__header-actions {
    gap: .35rem;
  }

  .events-list-page__create,
  .events-list-page__options {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 40px;
  }

  .events-list-page__create span {
    display: none;
  }

  .entity-list--events .entity-list__row,
  .entity-list--events .entity-list__skeleton-row {
    gap: .65rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
  }

  .entity-list--events .entity-list__event {
    grid-column: 1;
  }

  .entity-list--events .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list--events .entity-list__cell {
    grid-column: 1 / -1;
  }

  .entity-list__event-metrics > div {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .entity-list__event-metrics small {
    flex-basis: 100%;
    margin-left: 50px;
  }
}

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

#main.demands-list-page {
  overflow: visible;
}

.demands-list-page__title-row,
.demands-list-page__title-copy,
.demands-list-page__header-actions,
.demands-list-page__view-switch,
.demands-list-page__catalog-error,
.demands-list-page__status-option,
.entity-list__demand-title,
.entity-list__demand-date > span:not(.entity-list__mobile-label) {
  align-items: center;
  display: flex;
}

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

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

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

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

.demands-list-page__header-actions {
  flex: 0 0 auto;
  gap: .5rem;
}

.demands-list-page__header-actions .box-notification {
  float: none;
}

.demands-list-page__create {
  white-space: nowrap;
}

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

.demands-list-page__toolbar {
  gap: 1rem;
}

.demands-list-page__view-switch {
  flex: 0 0 auto;
}

.demands-list-page__view-switch .btn {
  align-items: center;
  display: inline-flex;
  font-size: .78rem;
  gap: .35rem;
  justify-content: center;
  min-height: 36px;
  padding: .4rem .65rem;
}

.demands-list-page__view-switch .btn.active {
  background: #435ebe;
  border-color: #435ebe;
  color: #fff;
}

.demands-list-page__category-menu {
  max-height: 280px;
  max-width: min(320px, calc(100vw - 2rem));
  overflow-y: auto;
}

.demands-list-page__sort-control {
  flex: 1 1 410px;
  min-width: 0;
}

.demands-list-page__sort-control > i {
  color: #6c757d;
  flex: 0 0 auto;
}

.demands-list-page__sort-control .form-select {
  flex: 1 1 0;
  min-width: 0;
}

.demands-list-page__sort-control #demands-sort-field {
  min-width: 190px;
}

.demands-list-page__sort-control #demands-sort-direction {
  max-width: 140px;
  min-width: 120px;
}

.demands-list-page__status-option {
  gap: .45rem;
}

.demands-list-page__status-dot {
  border: 1px solid rgba(31, 41, 55, .14);
  border-radius: 50%;
  flex: 0 0 9px;
  height: 9px;
  width: 9px;
}

.demands-list-page__catalog-error {
  background: #fff5f5;
  border-bottom: 1px solid #f2c7cb;
  color: #9c2f3a;
  flex-wrap: wrap;
  font-size: .8rem;
  gap: .5rem 1rem;
  min-height: 44px;
  padding: .55rem 1.25rem;
}

.demands-list-page__catalog-error span {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.entity-list--demands .entity-list__columns,
.entity-list--demands .entity-list__row,
.entity-list--demands .entity-list__skeleton-row {
  grid-template-columns: minmax(230px, 1.6fr) minmax(175px, 1.05fr) minmax(165px, 1fr) minmax(125px, .75fr) minmax(145px, .85fr) 48px;
}

.entity-list--demands .entity-list__row,
.entity-list--demands .entity-list__skeleton-row {
  min-height: 76px;
}

.entity-list--budget-demands .entity-list__row,
.entity-list--budget-demands .entity-list__skeleton-row {
  grid-template-columns: minmax(230px, 1.6fr) minmax(175px, 1.05fr) minmax(165px, 1fr) minmax(125px, .75fr) minmax(145px, .85fr);
}

.budget-demand-list__row {
  border: 0;
  border-bottom: 1px solid #edf0f5;
  color: inherit;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.budget-demand-list__row:hover {
  color: inherit;
  text-decoration: none;
}

.entity-list__demand-title {
  gap: .35rem;
  min-width: 0;
}

.entity-list__demand-title > span:first-child {
  color: #7c8aa5;
  font-size: .76rem;
  margin-top: .18rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__demand-title .badge {
  flex: 0 0 auto;
  font-size: .62rem;
  margin-top: .18rem;
}

.entity-list__demand-classification > div,
.entity-list__demand-statuses {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
}

.entity-list__demand-classification strong {
  color: #344057;
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__demand-classification small {
  color: #8a95a9;
  font-size: .7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__demand-system-fields {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  margin-top: .35rem;
}

.entity-list__demand-system-fields span {
  color: #69758c;
  font-size: .68rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.entity-list__demand-system-fields strong {
  color: inherit;
  font-size: inherit;
}

.entity-list__budget-indicator {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  margin-top: .3rem;
  max-width: 100%;
  min-width: 0;
  text-align: left;
}

.entity-list__budget-badge {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #d7e3ff;
  border-radius: 4px;
  color: #435ebe;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .66rem;
  font-weight: 700;
  gap: .22rem;
  justify-content: flex-start;
  line-height: 1.2;
  max-width: 100%;
  padding: .14rem .34rem;
  text-align: left;
}

.entity-list__budget-badge--consumption {
  background: #f7f1ff;
  border-color: #eadcff;
  color: #6f42c1;
}

.entity-list__budget-indicator small {
  color: #7c8aa5;
  display: block;
  font-size: .68rem;
  line-height: 1.25;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__demand-status .entity-list__status-badge {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.entity-list__payment-approved {
  align-items: center;
  background: transparent;
  border: 1px solid #198754;
  border-radius: 4px;
  color: #157347;
  display: inline-flex;
  font-size: .66rem;
  font-weight: 600;
  gap: .25rem;
  line-height: 1.2;
  padding: .14rem .32rem;
  text-align: left;
  width: fit-content;
}

.entity-list__demand-date > span:not(.entity-list__mobile-label),
.entity-list__demand-date-content > span:first-child {
  gap: .35rem;
  white-space: nowrap;
}

.entity-list__demand-date-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}

.entity-list__demand-date-content > span:first-child {
  align-items: center;
  display: flex;
}

.entity-list__demand-value {
  align-items: center;
  background: #e7f5ee;
  border: 1px solid #b7dfca;
  border-radius: 4px;
  color: #146c43;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  min-height: 26px;
  padding: .12rem .35rem;
  white-space: nowrap;
}

.entity-list__demand-updated > span:not(.entity-list__mobile-label) {
  display: block;
  line-height: 1.25;
}

.demands-detailed {
  display: grid;
  gap: .75rem;
  padding: 1rem 1.25rem 1.25rem;
}

.demands-detailed__item {
  background: #fff;
  border: 1px solid #e2e8f2;
  border-radius: 6px;
  min-width: 0;
  padding: .9rem 1rem;
}

.demands-detailed__header,
.demands-detailed__header-actions,
.demands-detailed__requester,
.demands-detailed__detail-loading,
.demands-detailed__detail-error {
  align-items: center;
  display: flex;
}

.demands-detailed__header {
  gap: .75rem;
  justify-content: space-between;
}

.demands-detailed__heading {
  min-width: 0;
}

.demands-detailed__eyebrow {
  color: #7c8aa5;
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.demands-detailed__heading h5 {
  color: #25324b;
  font-size: .94rem;
  margin: .12rem 0 .25rem;
  overflow-wrap: anywhere;
}

.demands-detailed__requester {
  color: #68758d;
  font-size: .75rem;
  gap: .3rem;
  overflow-wrap: anywhere;
}

.demands-detailed__header-actions {
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.demands-detailed__status-group {
  align-items: flex-start;
  display: grid;
  gap: .25rem;
  max-width: min(100%, 16rem);
  min-width: 0;
}

.demands-detailed__status-group .entity-list__status-badge {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.demands-detailed__open-button,
.demands-detailed__menu-button {
  align-items: center;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: .25rem .45rem;
  width: 32px;
}

.demands-detailed__expand-button {
  min-height: 32px;
  white-space: nowrap;
}

.demands-detailed__metadata {
  display: grid;
  gap: .7rem 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: .9rem 0 0;
}

.demands-detailed__metadata div {
  min-width: 0;
}

.demands-detailed__metadata dt {
  color: #7c8aa5;
  font-size: .66rem;
  font-weight: 700;
  margin: 0 0 .12rem;
  text-transform: uppercase;
}

.demands-detailed__metadata dd {
  color: #344057;
  font-size: .78rem;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.demands-detailed__budget dd {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.demands-detailed__budget small {
  color: #7c8aa5;
  display: block;
  font-size: .72rem;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demands-detailed__payment-approval dd {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cfd8e6;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  min-height: 26px;
  padding: .12rem .35rem;
}

.demands-detailed__payment-approval--approved dd {
  background: #e7f5ee;
  border-color: #b7dfca;
  color: #146c43;
  font-weight: 700;
}

.demands-detailed__payment-approval--pending dd {
  background: #fff8e6;
  border-color: #efd68f;
  color: #775a00;
}

.demands-detailed__payment-date {
  color: #68758d;
  font-size: .72rem;
}

.demands-detailed__value {
  align-items: center;
  display: inline-flex;
  min-height: 26px;
  padding: .12rem .35rem;
}

.demands-detailed__value--highlighted {
  background: #e7f5ee;
  border: 1px solid #b7dfca;
  border-radius: 4px;
  color: #146c43;
  font-size: .88rem;
  font-weight: 700;
}

.demands-detailed__value--empty {
  color: #68758d;
}

.demands-detailed__content {
  border-top: 1px solid #e8edf5;
  margin-top: .9rem;
  padding-top: .9rem;
}

.demands-detailed__detail-loading,
.demands-detailed__detail-error {
  color: #68758d;
  font-size: .8rem;
  gap: .5rem;
  min-height: 36px;
}

.demands-detailed__detail-error {
  color: #9c2f3a;
  flex-wrap: wrap;
}

.demands-detailed__notes {
  color: #344057;
  font-size: .86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.demands-detailed__notes h6 {
  color: #25324b;
  font-size: .8rem;
  margin: 0 0 .55rem;
}

.demands-detailed__notes > *,
.demands-detailed__notes .demands-detailed__note-element {
  max-width: 100%;
}

.demands-detailed__notes h1,
.demands-detailed__notes h2,
.demands-detailed__notes h3,
.demands-detailed__notes h4,
.demands-detailed__notes h5,
.demands-detailed__notes h6 {
  color: #25324b;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.demands-detailed__notes h1 {
  font-size: 1.2rem;
  margin: .8rem 0 .4rem;
}

.demands-detailed__notes h2 {
  font-size: 1.1rem;
  margin: .75rem 0 .4rem;
}

.demands-detailed__notes h3 {
  font-size: 1rem;
  margin: .7rem 0 .35rem;
}

.demands-detailed__notes h4 {
  font-size: .94rem;
  margin: .65rem 0 .3rem;
}

.demands-detailed__notes h5 {
  font-size: .88rem;
  margin: .6rem 0 .3rem;
}

.demands-detailed__notes h6 {
  font-size: .82rem;
  margin: .55rem 0 .25rem;
}

.demands-detailed__notes p,
.demands-detailed__notes ul,
.demands-detailed__notes ol,
.demands-detailed__notes dl,
.demands-detailed__notes figure,
.demands-detailed__notes pre {
  margin: .45rem 0 .65rem;
}

.demands-detailed__notes p,
.demands-detailed__notes li,
.demands-detailed__notes dd,
.demands-detailed__notes dt,
.demands-detailed__notes blockquote {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.demands-detailed__notes ul,
.demands-detailed__notes ol {
  padding-left: 1.25rem;
}

.demands-detailed__notes li + li {
  margin-top: .2rem;
}

.demands-detailed__notes blockquote {
  background: #f6f8fc;
  border-left: 3px solid #9eabd1;
  color: #526078;
  margin: .55rem 0;
  padding: .45rem .65rem;
}

.demands-detailed__notes pre,
.demands-detailed__notes code {
  font-size: .76rem;
  overflow-wrap: anywhere;
}

.demands-detailed__notes pre {
  background: #f6f8fc;
  border: 1px solid #e2e8f2;
  border-radius: 4px;
  max-width: 100%;
  overflow: auto;
  padding: .55rem .65rem;
  white-space: pre-wrap;
}

.demands-detailed__notes a {
  overflow-wrap: anywhere;
}

.demands-detailed__notes img,
.demands-detailed__notes video {
  display: block;
  height: auto;
  margin: .5rem 0;
  max-width: 100%;
}

.demands-detailed__notes table {
  border-collapse: collapse;
  display: block;
  font-size: .78rem;
  max-width: 100%;
  overflow-x: auto;
}

.demands-detailed__notes th,
.demands-detailed__notes td {
  border: 1px solid #dce3ee;
  overflow-wrap: anywhere;
  padding: .35rem .45rem;
  vertical-align: top;
}

.demands-detailed__notes th {
  background: #f6f8fc;
  color: #526078;
  font-weight: 700;
}

.demands-detailed__notes .demands-detailed__note-control {
  background: #f8fafc;
  border: 1px solid #cfd8e6;
  box-sizing: border-box;
  color: #344057;
  cursor: default;
  font-family: inherit;
  font-size: .82rem;
  line-height: 1.35;
  max-width: 100%;
  pointer-events: none;
}

.demands-detailed__notes input.demands-detailed__note-control:not([type='checkbox']):not([type='radio']):not([type='color']):not([type='range']),
.demands-detailed__notes select.demands-detailed__note-control,
.demands-detailed__notes textarea.demands-detailed__note-control {
  box-sizing: border-box;
  height: 34px;
  min-height: 32px;
  padding: .3rem .45rem;
  width: min(100%, 28rem);
}

.demands-detailed__notes textarea.demands-detailed__note-control {
  display: block;
  height: auto;
  min-height: 72px;
  width: min(100%, 28rem);
}

.demands-detailed__notes input[type='checkbox'].demands-detailed__note-control,
.demands-detailed__notes input[type='radio'].demands-detailed__note-control {
  accent-color: #435ebe;
  height: 1rem;
  margin: 0 .3rem 0 0;
  opacity: 1;
  vertical-align: text-bottom;
  width: 1rem;
}

.demands-detailed__notes input[type='color'].demands-detailed__note-control {
  height: 32px;
  padding: 2px;
  width: 44px;
}

.demands-detailed__notes input[type='range'].demands-detailed__note-control {
  accent-color: #435ebe;
  max-width: 100%;
  min-width: min(10rem, 100%);
  opacity: 1;
  width: min(100%, 16rem);
}

.demands-detailed__notes select.demands-detailed__note-control:disabled,
.demands-detailed__notes input.demands-detailed__note-control:disabled {
  opacity: 1;
}

.demands-detailed__skeleton {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1.6fr repeat(2, 1fr);
  padding: .9rem 1rem;
}

body.theme-dark .demands-detailed__item {
  background: #1e1e2d;
  border-color: #35354f;
}

body.theme-dark .entity-list__payment-approved {
  border-color: #52b982;
  color: #8be0b1;
}

body.theme-dark .entity-list__demand-system-fields span {
  color: #b6bed0;
}

body.theme-dark .entity-list__budget-badge {
  background: #202b4a;
  border-color: #344b83;
  color: #aebdff;
}

body.theme-dark .entity-list__budget-badge--consumption {
  background: #312646;
  border-color: #554071;
  color: #d8c0ff;
}

body.theme-dark .entity-list__budget-indicator small {
  color: #b6bed0;
}

body.theme-dark .demands-detailed__budget small {
  color: #b6bed0;
}

body.theme-dark .demands-detailed__payment-date {
  color: #b6bed0;
}

body.theme-dark .demands-detailed__payment-approval .bi-check-circle-fill {
  color: #7bdca8;
}

body.theme-dark .demands-detailed__payment-approval .bi-hourglass-split {
  color: #f0c96d;
}

body.theme-dark .demands-detailed__heading h5,
body.theme-dark .demands-detailed__metadata dd,
body.theme-dark .demands-detailed__notes,
body.theme-dark .demands-detailed__notes h6 {
  color: #f1f2f8;
}

body.theme-dark .demands-detailed__value--highlighted {
  background: #183c31;
  border-color: #317657;
  color: #a7e5c0;
}

body.theme-dark .entity-list__demand-value {
  background: #183c31;
  border-color: #317657;
  color: #a7e5c0;
}

body.theme-dark .demands-detailed__payment-approval--approved dd {
  background: #183c31;
  border-color: #317657;
  color: #a7e5c0;
}

body.theme-dark .demands-detailed__payment-approval--pending dd {
  background: #453819;
  border-color: #89702f;
  color: #f0d687;
}

body.theme-dark .demands-detailed__value--empty {
  color: #b6bed0;
}

body.theme-dark .demands-detailed__notes .demands-detailed__note-control {
  background: #29293c;
  border-color: #4b4b69;
  color: #f1f2f8;
}

body.theme-dark .demands-detailed__notes h1,
body.theme-dark .demands-detailed__notes h2,
body.theme-dark .demands-detailed__notes h3,
body.theme-dark .demands-detailed__notes h4,
body.theme-dark .demands-detailed__notes h5,
body.theme-dark .demands-detailed__notes h6 {
  color: #f1f2f8;
}

body.theme-dark .demands-detailed__notes blockquote,
body.theme-dark .demands-detailed__notes pre,
body.theme-dark .demands-detailed__notes th {
  background: #29293c;
  color: #d9ddef;
}

body.theme-dark .demands-detailed__notes blockquote {
  border-left-color: #6d7ac4;
}

body.theme-dark .demands-detailed__notes pre,
body.theme-dark .demands-detailed__notes th,
body.theme-dark .demands-detailed__notes td {
  border-color: #4b4b69;
}

body.theme-dark .demands-detailed__content {
  border-color: #35354f;
}

body.theme-dark .demands-detailed__detail-error {
  color: #ffb8c0;
}

.demands-calendar {
  padding: 1rem 1.25rem 1.25rem;
}

.demands-calendar__header,
.demands-calendar__item-footer,
.demands-calendar__agenda-day > header {
  align-items: center;
  display: flex;
}

.demands-calendar__header {
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.demands-calendar__heading {
  min-width: 0;
  text-align: center;
}

.demands-calendar__heading h4 {
  color: #25324b;
  font-size: 1.1rem;
  margin: .1rem 0;
}

.demands-calendar__heading span {
  color: #7c8aa5;
  font-size: .76rem;
}

.demands-calendar__eyebrow {
  color: #435ebe !important;
  display: block;
  font-size: .68rem !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demands-calendar__month-button {
  align-items: center;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.demands-calendar__loading {
  align-items: center;
  color: #7c8aa5;
  display: flex;
  font-size: .86rem;
  gap: .55rem;
  justify-content: center;
  min-height: 360px;
}

.demands-calendar__state {
  min-height: 300px;
}

.demands-calendar__grid {
  border: 1px solid #e2e8f2;
  border-radius: 6px;
  overflow: hidden;
}

.demands-calendar__weekdays,
.demands-calendar__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.demands-calendar__weekdays {
  background: #f6f8fc;
  border-bottom: 1px solid #e2e8f2;
  color: #7c8aa5;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.demands-calendar__weekdays span {
  padding: .55rem .25rem;
}

.demands-calendar__day {
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  border-right: 1px solid #e8edf5;
  min-height: 142px;
  padding: .45rem;
}

.demands-calendar__week:last-child .demands-calendar__day {
  border-bottom: 0;
}

.demands-calendar__day:last-child {
  border-right: 0;
}

.demands-calendar__day--outside {
  background: #fafbfd;
}

.demands-calendar__day-number {
  color: #7c8aa5;
  display: block;
  font-size: .72rem;
  font-weight: 700;
  margin: 0 0 .35rem .1rem;
}

.demands-calendar__day--outside .demands-calendar__day-number {
  opacity: .45;
}

.demands-calendar__item {
  background: #f4f6fb;
  border: 1px solid transparent;
  border-left: 3px solid #435ebe;
  border-radius: 4px;
  color: #344057;
  display: block;
  margin-bottom: .35rem;
  max-width: 100%;
  padding: .4rem .45rem;
  text-align: left;
  width: 100%;
}

.demands-calendar__item:hover,
.demands-calendar__item:focus-visible {
  background: #eaedfb;
  border-color: #435ebe;
  outline: 0;
}

.demands-calendar__item:disabled {
  cursor: default;
  opacity: 1;
}

.demands-calendar__item-title,
.demands-calendar__item-meta {
  display: block;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.demands-calendar__item-title {
  font-size: .73rem;
  font-weight: 700;
}

.demands-calendar__item-meta {
  color: #7c8aa5;
  font-size: .64rem;
  margin-top: .15rem;
}

.demands-calendar__item-footer {
  gap: .3rem;
  justify-content: space-between;
  margin-top: .35rem;
}

.demands-calendar__status {
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: .59rem;
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: .16rem .35rem;
  white-space: normal;
  word-break: break-word;
}

.demands-calendar__item-footer .badge {
  flex: 0 0 auto;
  font-size: .58rem;
}

.demands-calendar__agenda {
  display: none;
}

body.theme-dark .demands-calendar__heading h4 {
  color: #f1f2f8;
}

body.theme-dark .demands-calendar__grid {
  border-color: #35354f;
}

body.theme-dark .demands-calendar__weekdays,
body.theme-dark .demands-calendar__day--outside {
  background: #202032;
  border-color: #35354f;
}

body.theme-dark .demands-calendar__day {
  background: #1e1e2d;
  border-color: #35354f;
}

body.theme-dark .demands-calendar__item {
  background: #29293c;
  color: #f1f2f8;
}

body.theme-dark .demands-calendar__item:hover,
body.theme-dark .demands-calendar__item:focus-visible {
  background: #353552;
}

body.theme-dark .demands-list-page__title-copy h3,
body.theme-dark .entity-list__demand-classification strong {
  color: #f1f2f8;
}

body.theme-dark .demands-list-page__catalog-error {
  background: #33252c;
  border-color: #633c46;
  color: #ffb8c0;
}

body.theme-dark .demands-list-page__sort-control > i {
  color: #aeb4c5;
}

@media (max-width: 1399.98px) {
  .demands-list-page__toolbar {
    flex-wrap: wrap;
  }

  .demands-list-page__toolbar .entity-list__search {
    flex-basis: 100%;
    margin-left: auto;
  }

  .entity-list--demands .entity-list__columns,
  .entity-list--demands .entity-list__row,
  .entity-list--demands .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, .95fr) minmax(125px, .9fr) minmax(100px, .7fr) minmax(115px, .78fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 1199.98px) {

  .entity-list--demands .entity-list__columns,
  .entity-list--demands .entity-list__row,
  .entity-list--demands .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(205px, 1.45fr) minmax(150px, 1fr) minmax(145px, .9fr) minmax(112px, .72fr) minmax(130px, .8fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .entity-list--budget-demands .entity-list__row,
  .entity-list--budget-demands .entity-list__skeleton-row {
    grid-template-columns: minmax(205px, 1.45fr) minmax(150px, 1fr) minmax(145px, .9fr) minmax(112px, .72fr) minmax(130px, .8fr);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .entity-list--demands .entity-list__columns,
  .entity-list--demands .entity-list__row,
  .entity-list--demands .entity-list__skeleton-row {
    gap: .5rem;
    grid-template-columns: minmax(160px, 1.35fr) minmax(100px, .9fr) minmax(110px, .9fr) minmax(90px, .7fr) minmax(100px, .75fr) 40px;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .entity-list--budget-demands .entity-list__row,
  .entity-list--budget-demands .entity-list__skeleton-row {
    grid-template-columns: minmax(160px, 1.35fr) minmax(100px, .9fr) minmax(110px, .9fr) minmax(90px, .7fr) minmax(100px, .75fr);
  }
}

@media (max-width: 767.98px) {
  .demands-list-page__title-row,
  .demands-list-page__title-copy {
    align-items: flex-start;
  }

  .demands-list-page__title-copy h3 {
    font-size: 1.35rem;
  }

  .demands-list-page__title-copy .text-subtitle,
  .demands-list-page__header-actions .box-notification,
  .demands-list-page__showcase {
    display: none;
  }

  .demands-list-page__header-actions {
    gap: .35rem;
  }

  .demands-list-page__create,
  .demands-list-page__options {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 40px;
  }

  .demands-list-page__create span,
  .demands-list-page__view-switch .btn span {
    display: none;
  }

  .demands-list-page__toolbar .entity-list__summary {
    flex: 1 1 100%;
  }

  .demands-list-page__view-switch {
    align-self: flex-start;
  }

  .demands-list-page__view-switch .btn {
    height: 36px;
    padding: 0;
    width: 40px;
  }

  .demands-list-page__catalog-error {
    align-items: flex-start;
    flex-direction: column;
    padding: .75rem .9rem;
  }

  .demands-list-page__sort-control {
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .demands-list-page__sort-control > i {
    align-self: center;
    grid-row: 1 / span 2;
  }

  .demands-list-page__sort-control .form-select {
    grid-column: 2;
    width: 100%;
  }

  .demands-list-page__sort-control #demands-sort-field {
    min-width: 0;
  }

  .demands-list-page__sort-control #demands-sort-direction {
    max-width: none;
    min-width: 0;
  }

  .entity-list--demands .entity-list__row,
  .entity-list--demands .entity-list__skeleton-row {
    gap: .7rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
  }

  .entity-list--budget-demands .entity-list__row,
  .entity-list--budget-demands .entity-list__skeleton-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .entity-list--demands .entity-list__demand-requester {
    grid-column: 1;
  }

  .entity-list--demands.entity-list--budget-demands .entity-list__demand-requester {
    grid-column: 1 / -1;
  }

  .entity-list--demands .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list--demands .entity-list__cell {
    grid-column: 1 / -1;
  }

  .entity-list__demand-classification > div,
  .entity-list__demand-statuses {
    flex: 1 1 auto;
  }

  .entity-list__demand-statuses {
    align-items: flex-start;
  }

  .entity-list__demand-classification strong,
  .entity-list__demand-classification small {
    max-width: calc(100vw - 112px);
  }

  .entity-list__demand-date > span:not(.entity-list__mobile-label),
  .entity-list__demand-date-content > span:first-child,
  .entity-list__demand-updated > span:not(.entity-list__mobile-label) {
    white-space: normal;
  }

  .demands-calendar {
    padding: .75rem .9rem 1rem;
  }

  .demands-detailed {
    padding: .75rem .9rem 1rem;
  }

  .demands-detailed__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .demands-detailed__header-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .demands-detailed__status-group {
    flex: 1 1 auto;
  }

  .demands-detailed__notes h1 {
    font-size: 1.08rem;
  }

  .demands-detailed__notes h2 {
    font-size: 1rem;
  }

  .demands-detailed__notes h3 {
    font-size: .94rem;
  }

  .demands-detailed__notes input.demands-detailed__note-control:not([type='checkbox']):not([type='radio']):not([type='color']):not([type='range']),
  .demands-detailed__notes select.demands-detailed__note-control,
  .demands-detailed__notes textarea.demands-detailed__note-control {
    width: 100%;
  }

  .demands-detailed__notes th,
  .demands-detailed__notes td {
    padding: .3rem .35rem;
  }

  .demands-detailed__metadata {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demands-detailed__skeleton {
    grid-template-columns: 1fr;
  }

  .demands-calendar__grid {
    display: none;
  }

  .demands-calendar__agenda {
    display: grid;
    gap: .9rem;
  }

  .demands-calendar__agenda-day {
    border-left: 2px solid #435ebe;
    padding-left: .75rem;
  }

  .demands-calendar__agenda-day > header {
    color: #344057;
    font-size: .78rem;
    gap: .5rem;
    justify-content: space-between;
    margin-bottom: .45rem;
  }

  .demands-calendar__agenda-day > header span {
    color: #7c8aa5;
    font-size: .68rem;
  }

  .demands-calendar__agenda .demands-calendar__item {
    padding: .65rem .7rem;
  }

  .demands-calendar__agenda .demands-calendar__item-title,
  .demands-calendar__agenda .demands-calendar__item-meta {
    white-space: normal;
    word-break: break-word;
  }

  body.theme-dark .demands-calendar__agenda-day > header {
    color: #f1f2f8;
  }
}

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

#main.lotmoney-list-page {
  overflow: visible;
}

.lotmoney-list-page__title-row,
.lotmoney-list-page__title-copy,
.lotmoney-list-page__header-actions,
.lotmoney-list-page__status-option,
.entity-list__lotmoney-owner-copy,
.entity-list__lotmoney-payments {
  align-items: center;
  display: flex;
}

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

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

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

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

.lotmoney-list-page__header-actions {
  flex: 0 0 auto;
  gap: .5rem;
}

.lotmoney-list-page__header-actions .box-notification {
  float: none;
}

.lotmoney-list-page__create {
  white-space: nowrap;
}

.lotmoney-list-page__status-option {
  gap: .45rem;
}

.lotmoney-list-page__status-option i {
  color: #69758d;
  flex: 0 0 16px;
  text-align: center;
}

.entity-list--lotmoney .entity-list__columns,
.entity-list--lotmoney .entity-list__row,
.entity-list--lotmoney .entity-list__skeleton-row {
  grid-template-columns: minmax(230px, 1.55fr) minmax(165px, 1fr) minmax(165px, 1fr) minmax(105px, .65fr) minmax(205px, 1.2fr) 48px;
}

.entity-list--lotmoney .entity-list__row,
.entity-list--lotmoney .entity-list__skeleton-row {
  min-height: 76px;
}

.entity-list__lotmoney-icon {
  align-items: center;
  background: #edf1ff;
  border: 1px solid #dce3f4;
  border-radius: 6px;
  color: #435ebe;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 1.05rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.entity-list__lotmoney-owner-copy {
  gap: .45rem;
  min-width: 0;
}

.entity-list__lotmoney-avatar {
  background: #edf0f5;
  border: 1px solid #e2e6ee;
  border-radius: 50%;
  flex: 0 0 30px;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.entity-list__lotmoney-owner-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__lotmoney-status > div,
.entity-list__lotmoney-entries > div,
.entity-list__lotmoney-total > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.entity-list__lotmoney-status small,
.entity-list__lotmoney-entries small {
  color: #8a95a9;
  font-size: .68rem;
  line-height: 1.2;
}

.entity-list__lotmoney-status--open {
  background: #fff3cd !important;
  color: #7a5200 !important;
}

.entity-list__lotmoney-status--launched {
  background: #e8efff !important;
  color: #3156b3 !important;
}

.entity-list__lotmoney-status--conferred {
  background: #e8f7ef !important;
  color: #157347 !important;
}

.entity-list__lotmoney-entries strong,
.entity-list__lotmoney-total strong {
  color: #25324b;
  font-size: .86rem;
}

.entity-list__lotmoney-payments {
  flex-wrap: nowrap;
  gap: .25rem;
  min-width: 0;
  overflow: hidden;
}

.entity-list__lotmoney-payments small {
  background: #edf0f5;
  border-radius: 4px;
  color: #5f6b7d;
  flex: 0 1 auto;
  font-size: .64rem;
  max-width: 82px;
  overflow: hidden;
  padding: .2rem .35rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__lotmoney-payments .entity-list__lotmoney-payment-more {
  flex: 0 0 auto;
  font-weight: 700;
}

body.theme-dark .lotmoney-list-page__title-copy h3,
body.theme-dark .entity-list__lotmoney-entries strong,
body.theme-dark .entity-list__lotmoney-total strong {
  color: #f1f2f8;
}

body.theme-dark .entity-list__lotmoney-icon {
  background: #292b43;
  border-color: #414562;
  color: #91a3ee;
}

body.theme-dark .entity-list__lotmoney-payments small {
  background: #303047;
  color: #c4c8d8;
}

@media (max-width: 1399.98px) {
  .entity-list--lotmoney .entity-list__columns,
  .entity-list--lotmoney .entity-list__row,
  .entity-list--lotmoney .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(185px, 1.35fr) minmax(130px, .9fr) minmax(135px, .9fr) minmax(90px, .62fr) minmax(165px, 1.05fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .entity-list--lotmoney .entity-list__columns,
  .entity-list--lotmoney .entity-list__row,
  .entity-list--lotmoney .entity-list__skeleton-row {
    gap: .5rem;
    grid-template-columns: minmax(155px, 1.3fr) minmax(105px, .85fr) minmax(110px, .85fr) minmax(80px, .58fr) minmax(130px, 1fr) 40px;
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

@media (max-width: 767.98px) {
  .lotmoney-list-page__title-row,
  .lotmoney-list-page__title-copy {
    align-items: flex-start;
  }

  .lotmoney-list-page__title-copy h3 {
    font-size: 1.35rem;
  }

  .lotmoney-list-page__title-copy .text-subtitle,
  .lotmoney-list-page__header-actions .box-notification {
    display: none;
  }

  .lotmoney-list-page__create {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 40px;
  }

  .lotmoney-list-page__create span {
    display: none;
  }

  .entity-list--lotmoney .entity-list__row,
  .entity-list--lotmoney .entity-list__skeleton-row {
    gap: .7rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
  }

  .entity-list--lotmoney .entity-list__lotmoney-title {
    grid-column: 1;
  }

  .entity-list--lotmoney .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list--lotmoney .entity-list__cell {
    grid-column: 1 / -1;
  }

  .entity-list__lotmoney-owner-copy,
  .entity-list__lotmoney-status > div,
  .entity-list__lotmoney-entries > div,
  .entity-list__lotmoney-total > div {
    flex: 1 1 auto;
  }

  .entity-list__lotmoney-status > div,
  .entity-list__lotmoney-total > div {
    align-items: flex-start;
  }

  .entity-list__lotmoney-payments {
    flex-wrap: wrap;
    overflow: visible;
  }

  .entity-list__lotmoney-payments small {
    max-width: min(120px, 34vw);
  }
}

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

#main.bills-list-page {
  overflow: visible;
}

.bills-list-page__title-row,
.bills-list-page__title-copy,
.bills-list-page__header-actions,
.bills-list-page__catalog-error,
.entity-list__bill-links {
  align-items: center;
  display: flex;
}

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

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

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

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

.bills-list-page__header-actions {
  flex: 0 0 auto;
  gap: .5rem;
}

.bills-list-page__header-actions .box-notification {
  float: none;
}

.bills-list-page__create {
  white-space: nowrap;
}

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

.bills-list-page__toolbar {
  flex-wrap: wrap;
}

.bills-list-page__search {
  flex: 1 1 470px;
  max-width: 680px;
}

.bills-list-page__search-field {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bills-list-page__filters {
  align-items: center;
}

.bills-list-page__status-filter .btn {
  min-height: 38px;
  white-space: nowrap;
}

.bills-list-page__status-filter .btn.active,
.bills-list-page__advanced-toggle.active {
  background: #435ebe;
  border-color: #435ebe;
  color: #fff;
}

.bills-list-page__advanced {
  background: #f8f9fc;
  border-bottom: 1px solid #e4e8f0;
  padding: 1rem 1.25rem;
}

.bills-list-page__advanced-grid {
  align-items: end;
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.bills-list-page__advanced-grid label {
  margin: 0;
  min-width: 0;
}

.bills-list-page__advanced-grid label > span {
  color: #647087;
  display: block;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.bills-list-page__category-filter {
  grid-column: span 2;
}

.bills-list-page__advanced-actions {
  display: flex;
  gap: .4rem;
  justify-content: flex-end;
}

.bills-list-page__catalog-error {
  background: #fff8e7;
  border-bottom: 1px solid #f0dfa8;
  color: #725400;
  gap: 1rem;
  justify-content: space-between;
  padding: .75rem 1.25rem;
}

.entity-list--bills .entity-list__columns,
.entity-list--bills .entity-list__row,
.entity-list--bills .entity-list__skeleton-row {
  grid-template-columns: minmax(240px, 1.55fr) minmax(185px, 1.15fr) minmax(130px, .8fr) minmax(125px, .75fr) minmax(145px, .85fr) 48px;
}

.entity-list--bills .entity-list__row,
.entity-list--bills .entity-list__skeleton-row {
  min-height: 82px;
}

.entity-list__bill-row--overdue {
  box-shadow: inset 3px 0 0 #dc3545;
}

.entity-list__bill-counterparty .entity-list__person-copy small {
  color: #8a95a9;
  font-size: .67rem;
  line-height: 1.2;
}

.entity-list__bill-details > div,
.entity-list__bill-due > div,
.entity-list__bill-status > div,
.entity-list__bill-value > div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.entity-list__bill-details strong,
.entity-list__bill-due strong,
.entity-list__bill-value strong,
.entity-list__bill-value > div > span {
  color: #25324b;
  font-size: .82rem;
  line-height: 1.25;
}

.entity-list__bill-details small,
.entity-list__bill-due small,
.entity-list__bill-status small,
.entity-list__bill-value small {
  color: #8a95a9;
  font-size: .67rem;
  line-height: 1.25;
}

.entity-list__bill-details > div > small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entity-list__bill-links {
  flex-wrap: wrap;
  gap: .22rem;
}

.entity-list__bill-links small {
  background: #edf0f5;
  border-radius: 4px;
  color: #5f6b7d;
  padding: .16rem .32rem;
}

.entity-list__bill-status--open {
  background: #e8f7ef !important;
  color: #157347 !important;
}

.entity-list__bill-status--overdue {
  background: #fdebed !important;
  color: #b42331 !important;
}

.entity-list__bill-status--done {
  background: #e8efff !important;
  color: #3156b3 !important;
}

body.theme-dark .bills-list-page__title-copy h3,
body.theme-dark .entity-list__bill-details strong,
body.theme-dark .entity-list__bill-due strong,
body.theme-dark .entity-list__bill-value strong,
body.theme-dark .entity-list__bill-value > div > span {
  color: #f1f2f8;
}

body.theme-dark .bills-list-page__advanced {
  background: #202033;
  border-color: #393b54;
}

body.theme-dark .bills-list-page__advanced-grid label > span {
  color: #aeb5c7;
}

body.theme-dark .bills-list-page__catalog-error {
  background: #332d20;
  border-color: #51472c;
  color: #f0d88a;
}

body.theme-dark .entity-list__bill-links small {
  background: #303047;
  color: #c4c8d8;
}

@media (max-width: 1399.98px) {
  .bills-list-page__advanced-grid {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .entity-list--bills .entity-list__columns,
  .entity-list--bills .entity-list__row,
  .entity-list--bills .entity-list__skeleton-row {
    gap: .7rem;
    grid-template-columns: minmax(190px, 1.35fr) minmax(145px, 1fr) minmax(110px, .76fr) minmax(105px, .7fr) minmax(125px, .8fr) 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bills-list-page__advanced-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .entity-list--bills .entity-list__columns,
  .entity-list--bills .entity-list__row,
  .entity-list--bills .entity-list__skeleton-row {
    gap: .5rem;
    grid-template-columns: minmax(160px, 1.25fr) minmax(115px, .92fr) minmax(95px, .72fr) minmax(90px, .68fr) minmax(105px, .78fr) 40px;
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

@media (max-width: 767.98px) {
  .bills-list-page__title-row,
  .bills-list-page__title-copy {
    align-items: flex-start;
  }

  .bills-list-page__title-copy h3 {
    font-size: 1.35rem;
  }

  .bills-list-page__title-copy .text-subtitle,
  .bills-list-page__header-actions .box-notification {
    display: none;
  }

  .bills-list-page__header-actions {
    gap: .35rem;
  }

  .bills-list-page__create,
  .bills-list-page__options {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 40px;
  }

  .bills-list-page__create span,
  .bills-list-page__advanced-toggle span {
    display: none;
  }

  .bills-list-page__search {
    flex-basis: 100%;
    max-width: none;
  }

  .bills-list-page__search-field {
    max-width: 105px;
  }

  .bills-list-page__status-filter {
    display: flex;
    flex: 1 1 auto;
  }

  .bills-list-page__status-filter .btn {
    flex: 1 1 50%;
  }

  .bills-list-page__advanced-toggle {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    justify-content: center;
    padding: 0;
    width: 40px;
  }

  .bills-list-page__advanced {
    padding: .85rem;
  }

  .bills-list-page__advanced-grid {
    grid-template-columns: 1fr;
  }

  .bills-list-page__category-filter {
    grid-column: auto;
  }

  .bills-list-page__advanced-actions {
    justify-content: stretch;
  }

  .bills-list-page__advanced-actions .btn {
    flex: 1 1 50%;
  }

  .bills-list-page__catalog-error {
    align-items: flex-start;
    flex-direction: column;
    padding: .75rem .9rem;
  }

  .entity-list--bills .entity-list__row,
  .entity-list--bills .entity-list__skeleton-row {
    gap: .7rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: .9rem;
  }

  .entity-list--bills .entity-list__bill-counterparty {
    grid-column: 1;
  }

  .entity-list--bills .entity-list__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .entity-list--bills .entity-list__cell {
    grid-column: 1 / -1;
  }

  .entity-list__bill-details > div,
  .entity-list__bill-due > div,
  .entity-list__bill-status > div,
  .entity-list__bill-value > div {
    flex: 1 1 auto;
  }

  .entity-list__bill-details > div > small {
    white-space: normal;
  }
}
