.b24-pickups-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 12px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.b24-toolbar_pickups {
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 0;
}

.b24-segmented_source {
  flex: 0 0 auto;
}

.b24-pickups-dates {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.b24-pickups-dates[hidden] {
  display: none !important;
}

.b24-toolbar_pickups .b24-toolbar-search {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 280px;
}

.b24-toolbar_pickups__spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

.b24-pickups-root > #pickups-view-list > .b24-section-chrome,
.b24-pickups-root > #pickups-view-corrections > .b24-section-chrome,
.b24-pickups-root > #pickups-view-calendar > .b24-section-chrome,
.b24-pickups-root > #pickups-view-corr-logs > .b24-section-chrome {
  overflow: visible;
  position: relative;
  z-index: 30;
}

.b24-filter-panel__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.b24-filter-panel_bins {
  left: 0;
  right: auto;
  min-width: 280px;
  max-width: min(320px, calc(100vw - 16px));
  max-height: none;
  padding: 12px 14px;
  overflow: visible;
  z-index: 200;
}

.b24-pickups-filters-panel {
  padding-top: 2px;
}

.b24-inline-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.b24-inline-filters__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #868d95;
}

.b24-inline-filters__field {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.b24-inline-filters__label,
.b24-inline-filters__sep {
  font-size: 13px;
  color: #525c69;
  white-space: nowrap;
}

.b24-pickups-filters-panel .b24-input,
.b24-inline-filters__chip {
  height: 32px;
  border-radius: 6px;
  box-sizing: border-box;
}

.b24-pickups-filters-panel .b24-inline-filters__search {
  width: 240px;
  min-width: 140px;
  max-width: 280px;
}

.b24-pickups-filters-panel .b24-inline-filters__select {
  width: auto;
  min-width: 128px;
  max-width: 200px;
}

.b24-pickups-filters-panel .b24-inline-filters__date {
  width: 138px;
  min-width: 0;
  max-width: 148px;
}

.b24-inline-filters__chip {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d3d9de;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.b24-inline-filters__chip:hover {
  border-color: #b7c0c8;
  background: #f5f7f8;
}

.b24-inline-filters__chip.is-active {
  border-color: #2fc6f6;
  background: #e8f7fc;
  color: #2066b0;
}

.b24-inline-filters__reset {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #525c69;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.b24-inline-filters__reset:hover {
  color: #2066b0;
}

.b24-pickups-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.b24-pickups-filter-field__label {
  font-size: 12px;
  color: #525c69;
  font-weight: 600;
}

.b24-pickups-dates-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.b24-pickups-dates-row .b24-input-date {
  flex: 1 1 auto;
  min-width: 0;
}

.b24-filter-date-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #525c69;
}

.b24-filter-date-label_inline {
  margin: 0;
}

.b24-filter-date-label__text {
  white-space: nowrap;
}

.b24-corr-input {
  width: 4.5rem;
  min-width: 4.5rem;
  max-width: 4.5rem;
  padding: 4px 6px;
  font-size: 12px;
  box-sizing: border-box;
}

.b24-corr-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.b24-corr-value.is-empty {
  color: #8c959f;
}

.b24-corr-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.b24-corr-edit-btn.is-active {
  background: #eef6ee;
  color: #1a7f37;
}

.b24-corr-edit-btn.is-active .b24-corr-edit-btn__icon-edit,
.b24-corr-edit-btn:not(.is-active) .b24-corr-edit-btn__icon-save {
  display: none;
}

.b24-corr-edit-btn.is-active .b24-corr-edit-btn__icon-save,
.b24-corr-edit-btn:not(.is-active) .b24-corr-edit-btn__icon-edit {
  display: block;
}

.b24-corr-cancel-btn {
  color: #e22b2b;
}

.b24-corr-cancel-btn[hidden] {
  display: none !important;
}

.b24-corr-cancel-btn:hover:not(:disabled) {
  color: #c41f1f;
  background: #fdeeee;
}

.b24-corr-autosave {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #525c69;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.b24-corr-autosave input {
  margin: 0;
}

.b24-corr-th-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e7781;
  cursor: pointer;
  line-height: 1;
}

.b24-corr-th-edit:hover,
.b24-corr-th-edit.is-active {
  color: #1a7f37;
}

.b24-corr-th-edit .b24-ico {
  font-size: 14px;
}

/* Кнопка редактирования одной организации, рядом с её названием — в отличие
   от .b24-corr-th-edit в шапке, переводит в режим правки только эту строку. */
.b24-corr-row-edit-btn {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e7781;
  cursor: pointer;
  line-height: 1;
}

.b24-corr-row-edit-btn:hover,
.b24-corr-row-edit-btn.is-active {
  color: #1a7f37;
}

.b24-corr-row-edit-btn .b24-ico {
  font-size: 14px;
}

/* Отмена правки одной организации — рядом с кнопкой сохранения этой строки. */
.b24-corr-row-cancel-btn {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e22b2b;
  cursor: pointer;
  line-height: 1;
}

.b24-corr-row-cancel-btn:hover {
  color: #c41f1f;
}

.b24-corr-row-cancel-btn .b24-ico {
  font-size: 14px;
}

/* Индикатор аккордеона: адреса площадок свёрнуты по умолчанию и раскрываются
   вместе с редактированием — здесь только стрелка и число площадок. */
.b24-corr-org-sites-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  font-size: 12px;
  color: #868d95;
  white-space: nowrap;
}

.b24-corr-org-sites-badge .b24-ico {
  font-size: 12px;
}

.b24-corr-change {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.b24-corr-table-wrap {
  position: relative;
}

#pickups-corr-table .b24-corr-num {
  width: 2.75rem;
  min-width: 2.75rem;
  text-align: right;
  color: #868d95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#pickups-corr-table thead th:first-child {
  width: 2.75rem;
  min-width: 2.75rem;
  text-align: right;
}

#pickups-corr-table thead th.b24-corr-org,
#pickups-corr-table tbody td.b24-corr-org,
#pickups-corr-logs-table thead th.b24-corr-org,
#pickups-corr-logs-table tbody td.b24-corr-org {
  text-align: left;
}

/* Название организации и адрес площадки (строка ниже, та же колонка) — раньше
   обрезались по 3 строкам (.b24-clamp) без способа развернуть их в этом
   разделе, поэтому текст больше не обрезаем, а колонку делаем вдвое шире. */
#pickups-corr-table thead th.b24-corr-org,
#pickups-corr-table tbody td.b24-corr-org,
#pickups-corr-table tbody td.b24-corr-site-addr {
  min-width: 22rem;
}

#pickups-corr-table tbody td.b24-corr-org .b24-link {
  text-align: left;
}

.b24-corr-org-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.b24-corr-org-addr {
  font-size: 0.75rem;
  color: var(--b24-muted, #888);
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

.b24-corr-org-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.b24-corr-org-inn {
  font-size: 12px;
  color: #525c69;
  margin-top: 2px;
}

.b24-corr-bins-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 0;
  border-radius: 3px;
  background: #fff1e0;
  color: #b75b00;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.b24-corr-bins-warn:hover {
  background: #ffe0b8;
}

#pickups-corr-table tbody tr.b24-corr-org-row > td {
  font-weight: 600;
  background: #f7f8fa;
  border-top: 1px solid #dfe3e8;
}

#pickups-corr-table tbody tr.b24-corr-site-row > td {
  font-weight: 400;
  background: #fff;
}

#pickups-corr-table tbody td.b24-corr-site-addr {
  padding-left: 28px;
  color: #525c69;
  font-weight: 400;
}

#pickups-corr-table tbody td.b24-corr-site-empty {
  padding-left: 28px;
}

#pickups-corr-table tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #eef6ff;
  border-top: 2px solid #c8d6e0;
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.06);
}

#pickups-corr-table tfoot .b24-corr-total-vol {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.b24-cal-table-wrap {
  max-width: 100%;
  overflow: auto;
}

.b24-cal-table {
  min-width: max-content;
}

.b24-cal-table thead th.b24-cal-day {
  min-width: 1.25rem;
  max-width: 1.35rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.15;
  padding: 0.2rem 0.1rem;
}

.b24-cal-table thead th.b24-cal-day .b24-cal-dow {
  display: block;
  color: var(--b24-muted, #888);
  font-weight: 400;
  font-size: 0.5625rem;
}

.b24-cal-table tbody td.b24-cal-cell {
  text-align: center;
  font-size: 0.75rem;
  padding: 0.15rem 0.15rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 1.35rem;
  vertical-align: middle;
}

.b24-cal-table tbody td.b24-cal-cell.is-dispatcher {
  background: rgba(47, 128, 237, 0.08);
  font-weight: 600;
}

.b24-cal-table tbody td.b24-cal-cell.is-empty {
  color: var(--b24-muted, #aaa);
}

.b24-cal-table .b24-cal-input {
  width: 1.75rem;
  min-width: 1.5rem;
  max-width: 100%;
  padding: 0.1rem 0.12rem;
  font-size: 0.75rem;
  text-align: right;
}

#pickups-cal-table thead th.b24-cal-total,
#pickups-cal-table tbody td.b24-cal-total,
#pickups-cal-table tfoot td.b24-cal-total {
  position: sticky;
  right: 0;
  z-index: 3;
  background: var(--b24-surface, #fff);
  box-shadow: -3px 0 6px rgba(0, 0, 0, 0.06);
  min-width: 3.25rem;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#pickups-cal-table thead th.b24-cal-total {
  z-index: 4;
}

#pickups-cal-table tfoot td.b24-cal-total {
  background: #eef6ff;
}

#pickups-cal-table thead th:first-child,
#pickups-cal-table tbody td.b24-corr-num {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--b24-surface, #fff);
}

#pickups-cal-table thead th.b24-corr-org,
#pickups-cal-table tbody td.b24-corr-org {
  position: sticky;
  left: 2.5rem;
  z-index: 2;
  background: var(--b24-surface, #fff);
  min-width: 12rem;
  max-width: 18rem;
}

#pickups-cal-table tfoot td {
  font-weight: 600;
  background: #eef6ff;
  border-top: 2px solid #c8d6e0;
}

#pickups-view-list,
#pickups-view-corrections,
#pickups-view-calendar,
#pickups-view-corr-logs {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#pickups-view-list[hidden],
#pickups-view-corrections[hidden],
#pickups-view-calendar[hidden],
#pickups-view-corr-logs[hidden] {
  display: none !important;
}

.b24-orders-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 12px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.b24-bins-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 12px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.b24-orders-root .b24-section-chrome,
.b24-bins-root .b24-section-chrome {
  overflow: visible;
  position: relative;
  z-index: 30;
}

.b24-toolbar_orders {
  align-items: flex-end;
}

.b24-toolbar_orders > .b24-toolbar__meta {
  margin-left: auto;
}

.b24-orders-filters-row {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
  min-width: 0;
}

.b24-orders-filters-row[hidden] {
  display: none !important;
}

.b24-orders-filter-field {
  flex: 0 1 auto;
  min-width: 120px;
  margin-bottom: 0;
}

.b24-orders-filter-field_search {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
}

.b24-orders-filter-field_dates {
  min-width: 240px;
}

.b24-orders-filter-field__label-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #525c69;
  line-height: 1.2;
  min-height: 14px;
  cursor: pointer;
  user-select: none;
}

.b24-registry-root.is-theme-nocturne .b24-orders-filter-field__label-check {
  color: var(--noct-neutral-500);
}

.b24-orders-filter-field_actions {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
}

.b24-orders-filter-field .b24-input,
.b24-orders-filter-field .b24-input-block {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.b24-orders-filter-field select.b24-input {
  min-width: 128px;
}

#orders-table {
  min-width: 1280px;
}

#bins-table {
  min-width: 1100px;
}

#orders-table th[data-col="clientName"],
#orders-table td[data-col="clientName"] {
  min-width: 280px;
}

#orders-table th[data-col="siteAddress"],
#orders-table td[data-col="siteAddress"] {
  min-width: 260px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#orders-table td[data-col="note"],
#orders-table td[data-col="comment"] {
  min-width: 120px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#orders-table th[data-col="orderDate"],
#orders-table td[data-col="orderDate"] {
  min-width: 96px;
  white-space: nowrap;
}

#orders-table th[data-col="typeLabel"],
#orders-table td[data-col="typeLabel"] {
  min-width: 110px;
  white-space: nowrap;
}

#orders-table th[data-col="id"],
#orders-table td[data-col="id"] {
  min-width: 56px;
}

#orders-table td[data-col="id"],
#orders-table td[data-col="binsQty"],
#orders-table td[data-col="executorId"] {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#orders-table td[data-col="containerType"],
#orders-table td[data-col="statusLabel"],
#orders-table th[data-col="containerType"],
#orders-table th[data-col="statusLabel"] {
  white-space: nowrap;
}

#orders-table td[data-col="statusLabel"] .b24-badge {
  white-space: nowrap;
}

#pickups-table td[data-col="containerType"],
#pickups-table td[data-col="statusLabel"],
#pickups-table th[data-col="containerType"],
#pickups-table th[data-col="statusLabel"] {
  white-space: nowrap;
}

.b24-registry-root.is-theme-nocturne .b24-filter-date-label,
.b24-registry-root.is-theme-nocturne .b24-filter-date-label__text {
  color: var(--noct-text);
}

.b24-registry-root.is-theme-nocturne .b24-corr-autosave {
  color: var(--noct-text);
}

/* Nocturne: календарь вывозов и корректировки */

/* Заливка липкой итоговой строки обязана быть непрозрачной: tfoot стоит
   на `position: sticky; bottom: 0`, и сквозь полупрозрачный тон видно
   строки, которые под ним прокручиваются, — текст итогов накладывается
   на текст последней строки. Поэтому акцент подмешиваем в фон обёртки
   таблицы (--noct-surface), а не в `transparent`. Тот же случай, что и
   с состояниями липкой шапки в styles.css. */
.b24-pickups-root.is-theme-nocturne #pickups-corr-table,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table {
  --pickups-total-bg: color-mix(in srgb, var(--noct-accent) 12%, var(--noct-surface));
  --pickups-total-bg-strong: color-mix(in srgb, var(--noct-accent) 16%, var(--noct-surface));
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table thead th:first-child,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-corr-num,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table thead th.b24-corr-org,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-corr-org {
  background-color: var(--noct-surface);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table thead th.b24-corr-org,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-corr-org {
  box-shadow:
    inset -1px 0 0 color-mix(in srgb, var(--noct-text) 12%, transparent),
    4px 0 8px -3px rgba(0, 0, 0, 0.28);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table thead th.b24-cal-total,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-cal-total {
  background-color: var(--noct-surface);
  box-shadow: -4px 0 8px -3px rgba(0, 0, 0, 0.28);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tfoot td {
  background: var(--pickups-total-bg);
  border-top-color: var(--noct-divider);
  color: var(--noct-text);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tfoot td.b24-cal-total {
  background: var(--pickups-total-bg-strong);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-corr-num,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-corr-org,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-cal-total {
  background-color: color-mix(in srgb, var(--noct-text) 6%, transparent);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table thead th.b24-cal-day .b24-cal-dow {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-cal-cell.is-dispatcher {
  background: color-mix(in srgb, var(--noct-accent) 22%, transparent);
  color: var(--noct-text);
  font-weight: 600;
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-cal-cell.is-empty {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table .b24-cal-input {
  background: var(--noct-bg);
  border-color: var(--noct-divider);
  color: var(--noct-text);
}

.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody td.b24-corr-org .b24-link,
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody td.b24-corr-org .b24-link {
  color: #b8aef0;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-org-addr {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody tr.b24-corr-org-row > td {
  background: rgba(255, 255, 255, 0.04);
  border-top-color: var(--noct-divider);
}

/* Базовый стиль красит строки площадок в #fff — в Nocturne это белые полосы
   при раскрытии площадок (режим редактирования по адресам). */
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody tr.b24-corr-site-row > td {
  background: transparent;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-bins-warn {
  background: rgba(255, 170, 60, 0.2);
  color: #ffb347;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-org-inn,
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody td.b24-corr-site-addr {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table .b24-corr-num {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table tfoot td {
  background: var(--pickups-total-bg);
  border-top-color: var(--noct-divider);
  color: var(--noct-text);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.22);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-value.is-empty {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-edit-btn.is-active {
  background: color-mix(in srgb, var(--noct-accent) 16%, transparent);
  color: var(--noct-text);
  border-color: color-mix(in srgb, var(--noct-accent) 45%, transparent);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-cancel-btn {
  color: #f5a8a8;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-cancel-btn:hover:not(:disabled) {
  color: #ffc9c9;
  background: rgba(210, 80, 80, 0.12);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-th-edit {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-th-edit:hover,
.b24-pickups-root.is-theme-nocturne .b24-corr-th-edit.is-active {
  color: #b8aef0;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-row-edit-btn {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne .b24-corr-row-edit-btn:hover,
.b24-pickups-root.is-theme-nocturne .b24-corr-row-edit-btn.is-active {
  color: #b8aef0;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-row-cancel-btn {
  color: #f5a8a8;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-row-cancel-btn:hover {
  color: #ffc9c9;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-org-sites-badge {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne .b24-pickups-filter-field__label,
.b24-pickups-root.is-theme-nocturne .b24-inline-filters__kicker,
.b24-pickups-root.is-theme-nocturne .b24-inline-filters__label,
.b24-pickups-root.is-theme-nocturne .b24-inline-filters__sep {
  color: var(--noct-neutral-500);
}

.b24-pickups-root.is-theme-nocturne .b24-inline-filters__chip {
  background: transparent;
  color: var(--noct-text);
  border-color: var(--noct-divider);
}

.b24-pickups-root.is-theme-nocturne .b24-inline-filters__chip:hover {
  background: color-mix(in srgb, var(--noct-text) 6%, transparent);
  border-color: var(--noct-divider);
}

.b24-pickups-root.is-theme-nocturne .b24-inline-filters__chip.is-active {
  border-color: var(--noct-accent);
  background: color-mix(in srgb, var(--noct-accent) 16%, transparent);
  color: var(--noct-text);
}

.b24-pickups-root.is-theme-nocturne .b24-inline-filters__reset {
  color: var(--noct-text);
}

.b24-pickups-root.is-theme-nocturne .b24-inline-filters__reset:hover {
  color: var(--noct-accent-2);
}

.b24-pickups-root.is-theme-nocturne .b24-cal-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--noct-accent) 55%, transparent) color-mix(in srgb, var(--noct-surface) 35%, transparent);
}

.b24-pickups-root.is-theme-nocturne .b24-cal-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.b24-pickups-root.is-theme-nocturne .b24-cal-table-wrap::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--noct-surface) 15%, transparent);
  border-radius: 999px;
}

.b24-pickups-root.is-theme-nocturne .b24-cal-table-wrap::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--noct-accent) 40%, transparent);
  border: 2px solid color-mix(in srgb, var(--noct-surface) 25%, transparent);
  border-radius: 999px;
}

.b24-pickups-root.is-theme-nocturne .b24-cal-table-wrap::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--noct-accent) 60%, transparent);
}

/* ================================================================
   Nocturne polish: календарь вывозов
   ================================================================ */

/* Sticky-колонки календаря при наведении: непрозрачный тон,
   иначе сквозь них видно прокручиваемые дни */
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-corr-num,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-corr-org,
.b24-pickups-root.is-theme-nocturne #pickups-cal-table tbody tr:hover td.b24-cal-total {
  background-color: var(--noct-hover-solid);
}

/* «Итоговый» — объём, который уйдёт в начисление */
#pickups-corr-table thead th.b24-corr-eff,
#pickups-corr-table tbody td.b24-corr-eff,
#pickups-corr-table tfoot td.b24-corr-eff {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: #f3f8f3;
}

#pickups-corr-table tbody td.b24-corr-eff {
  border-left: 2px solid #cfe0cf;
}

#pickups-corr-table thead th.b24-corr-eff.is-sorted {
  color: #2066b0;
  background: #e8f2fb;
}

#pickups-corr-table tbody td.b24-corr-eff.is-sorted,
#pickups-corr-table tfoot td.b24-corr-eff.is-sorted {
  background: #eef5fb;
}

.b24-corr-eff-value {
  display: block;
  font-weight: 600;
}

.b24-corr-eff-src {
  display: block;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--b24-muted, #888);
}

/* Ручная разбивка фикса по адресу — отличаем от автораспределения */
.b24-corr-eff-src.is-manual {
  color: #b87700;
  font-weight: 600;
}

/* Сумма ручных значений разошлась с фиксом организации */
.b24-corr-eff-warn {
  display: inline-block;
  margin-left: 4px;
  min-width: 1rem;
  text-align: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #d9822b;
  cursor: help;
}

.b24-pickups-root.is-theme-nocturne .b24-corr-eff-src.is-manual {
  color: #e6b566;
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table thead th.b24-corr-eff,
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody td.b24-corr-eff,
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tfoot td.b24-corr-eff {
  background: rgba(120, 200, 150, 0.08);
  border-left-color: rgba(120, 200, 150, 0.28);
}

/* Шапка и итоговая строка липкие — зелёный тон «Итогового» подмешиваем
   в их непрозрачную основу, иначе сквозь колонку просвечивают строки. */
.b24-pickups-root.is-theme-nocturne #pickups-corr-table thead th.b24-corr-eff {
  background: color-mix(in srgb, rgb(120, 200, 150) 8%, var(--noct-header));
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table tfoot td.b24-corr-eff {
  background: color-mix(in srgb, rgb(120, 200, 150) 8%, var(--pickups-total-bg));
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table thead th.b24-corr-eff.is-sorted {
  color: var(--noct-accent);
  background: color-mix(in srgb, var(--noct-accent) 18%, var(--noct-header));
}

.b24-pickups-root.is-theme-nocturne #pickups-corr-table tbody td.b24-corr-eff.is-sorted,
.b24-pickups-root.is-theme-nocturne #pickups-corr-table tfoot td.b24-corr-eff.is-sorted {
  background: color-mix(in srgb, var(--noct-accent) 14%, var(--noct-surface));
}
