/* Отгрузки 6 финал — CSS с прода */
#page-shipments6.page.active,
    #page-stocksPage.page.active,
    #page-equilibrium.page.active,
    #page-search-queries.page.active,
    #page-ads.page.active,
    #page-health.page.active,
    #page-photos.page.active,
    #page-reviews.page.active,
    #page-lamoda-daily.page.active,
    #page-lamoda-dynamics.page.active,
    #page-lamoda-heatmap.page.active {
      display: flex;
      flex-direction: column;
      /* Высота экрана минус шапка/навигация и padding контейнера, чтобы низ окна был у края монитора. */
      height: calc(100vh - var(--public-header-height, 48px) - var(--header-nav-height, 72px) - 24px);
      min-height: 0;
    }

#page-shipments6 .page-header-sticky,
    #page-stocksPage .page-header-sticky,
    #page-hourly .page-header-sticky,
    #page-equilibrium .page-header-sticky,
    #page-search-queries .page-header-sticky,
    #page-ads .page-header-sticky,
    #page-health .page-header-sticky,
    #page-photos .page-header-sticky,
    #page-reviews .page-header-sticky,
    #page-lamoda-daily .page-header-sticky,
    #page-lamoda-dynamics .page-header-sticky,
    #page-lamoda-heatmap .page-header-sticky { flex: 0 0 auto; }

#page-shipments6 > #ship6-panel-analytics,
    #page-shipments6 > #ship6-panel-calc {
      flex: 1 1 0;
      min-height: 0;
      min-width: 0;
      display: flex;
      flex-direction: column;
      --ship-table-body-min-h: max(22rem, calc(100dvh - var(--public-header-height, 48px) - var(--header-nav-height, 72px) - 13.5rem));
    }

/* Две таблицы аналитики — заметная высота (~52vh), без раздувания ×5. */
#page-shipments6 > #ship6-panel-analytics {
      --ship-table-body-min-h: max(20rem, min(36rem, calc((100dvh - var(--public-header-height, 48px) - var(--header-nav-height, 72px) - 14rem) * 0.52)));
      gap: 0.65rem;
      align-items: stretch;
    }

#page-shipments6 > #ship6-panel-calc {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }

#page-shipments6 > #ship6-panel-calc > .dash-box.dash-box-tbl {
      flex: 1 1 auto;
      min-height: var(--ship-table-body-min-h);
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      margin-bottom: 0 !important;
    }

#page-shipments6 .ship6-calc-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
      flex: 0 0 auto;
    }

#page-shipments6 .ship6-calc-toolbar-actions {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

#page-shipments6 #ship6-calc-table.table-core-host,
    #page-shipments6 #ship6-calc-table[data-table-core-host="1"] {
      flex: 1 1 auto;
      min-height: 0;
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

#page-shipments6 #ship6-calc-table .table-core-shell.table-core4 {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }

#page-shipments6 #ship6-calc-table .table-core-scroll {
      flex: 1 1 auto;
      min-height: 0;
      max-height: var(--table-core-scroll-max-h, calc(100vh - 14rem));
      overflow: auto;
    }

#page-shipments6 .ship-plan-fo-group { background: rgba(127,168,255,0.08); font-weight: 700; font-size: 0.76rem; line-height: 1.25; vertical-align: bottom; }

#page-shipments6 .ship-plan-supply-hdr { cursor: pointer; user-select: none; white-space: normal; max-width: 4.75rem; line-height: 1.18; font-size: 0.72rem; }

#page-shipments6 .ship-plan-supply-off { opacity: 0.52; text-decoration: line-through; }

#page-shipments6 .ship-plan-wh-mini-line { font-size: 0.68rem; line-height: 1.25; opacity: 0.95; }

#page-shipments6 .ship-plan-product-sub { opacity: 0.88; }

#page-shipments6 #ship6-plan-table thead .meta-header-cell.ship-plan-meta-fo-hdr {
      cursor: pointer;
      outline: none;
      background: rgba(127,168,255,0.06);
    }

#page-shipments6 #ship6-plan-table thead .meta-header-cell.ship-plan-meta-fo-hdr:hover {
      background: rgba(127,168,255,0.12);
      color: var(--text);
    }

#page-shipments6 #ship6-plan-table thead .meta-header-cell.ship-plan-meta-wh-hdr {
      cursor: context-menu;
      outline: none;
      background: rgba(180, 160, 255, 0.07);
      max-width: 12rem;
    }

#page-shipments6 #ship6-plan-table thead .meta-header-cell.ship-plan-meta-wh-hdr:hover {
      background: rgba(180, 160, 255, 0.14);
      color: var(--text);
    }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact .tbl-cell-data { font-size: 0.71rem; line-height: 1.22; padding: 1px 3px; }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact thead tr.header-filter-row input.filter-quick {
      padding: 1px 3px;
      font-size: 0.69rem;
    }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact thead tr.meta-header-row th.meta-header-cell { font-size: 0.58rem !important; line-height: 1.1; }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact thead tr.header-row th .th-title { font-size: 0.56rem !important; line-height: 1.1; }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact thead tr.header-row th .th-unit { font-size: 0.54rem !important; line-height: 1.08; }

#page-shipments6 #ship6-plan-table.ship-plan-calc-compact thead tr.header-row th .th-inner { padding: 2px 3px; }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .tbl-cell-data,
    #page-shipments6 #ship6-plan-table tbody td[data-col="sp_photo_fmt"] .tbl-cell-data {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      max-width: 100%;
      overflow: visible;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .art-cell,
    #page-shipments6 #ship6-plan-table tbody td[data-col="sp_photo_fmt"] .art-cell {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      min-width: 0;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .art-photo-wrap,
    #page-shipments6 #ship6-plan-table tbody td[data-col="sp_photo_fmt"] .art-photo-wrap {
      width: calc((var(--tbl-row-h, 28px) - 4px) * var(--tbl-zoom, 1));
      height: calc((var(--tbl-row-h, 28px) - 4px) * var(--tbl-zoom, 1));
      flex-shrink: 0;
    }

#page-shipments6 > #ship6-panel-analytics {
      overflow-x: hidden;
      overflow-y: auto;
      scrollbar-gutter: stable;
      -webkit-overflow-scrolling: touch;
    }

#page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl.ship-main-table,
    #page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl.ship-warehouse-analytics-box {
      flex: 0 0 auto;
      flex-shrink: 0;
      min-height: 0;
      min-width: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
      z-index: 0;
    }

#page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl.ship-warehouse-analytics-box {
      margin-top: 0;
      margin-bottom: 0.75rem;
    }

#page-shipments6 .ship-main-table > h3 { flex: 0 0 auto; }

#page-shipments6 .ship-main-table .warehouse-storage-wrap {
      flex: 0 0 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      margin-bottom: 0;
    }

#page-shipments6 .ship-main-table .warehouse-storage-wrap > .toolbar.toolbar-dashboard { flex: 0 0 auto; }

#page-shipments6 .ship-main-table .warehouse-storage-wrap > .toolbar.toolbar-dashboard .zoom-controls {
      display: none;
    }

#page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl.ship-main-table,
    #page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl.ship-warehouse-analytics-box {
      /* Раньше * 5 раздувало таблицы и плодило вложенные скроллы. */
      --ship-period-table-min-h: var(--ship-table-body-min-h);
      --table-core-scroll-max-h: var(--ship-period-table-min-h);
    }

#page-shipments6 .ship-main-table .warehouse-storage-wrap > .dash-box.dash-box-tbl {
      flex: 0 0 auto;
      min-height: var(--ship-period-table-min-h, var(--ship-table-body-min-h));
      display: flex;
      flex-direction: column;
      margin-top: 0 !important;
      overflow: visible;
    }

#page-shipments6 .ship-main-table .warehouse-storage-wrap > .dash-box.dash-box-tbl > .ship-tbl-scroll-host {
      flex: 1 1 auto;
      min-height: 0;
      max-height: var(--ship-period-table-min-h, var(--ship-table-body-min-h));
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-width: 0;
    }

#page-shipments6 .ship-warehouse-analytics-box > h3 { flex: 0 0 auto; }

#page-shipments6 .ship-warehouse-analytics-box .warehouse-storage-wrap {
      flex: 0 0 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      margin-bottom: 0;
    }

#page-shipments6 .ship-warehouse-analytics-box .warehouse-storage-wrap > .toolbar.toolbar-dashboard { flex: 0 0 auto; }

#page-shipments6 .ship-warehouse-analytics-box .warehouse-storage-wrap > .toolbar.toolbar-dashboard .zoom-controls {
      display: none;
    }

#page-shipments6 .ship-warehouse-analytics-box .warehouse-storage-wrap > .dash-box.dash-box-tbl {
      flex: 0 0 auto;
      min-height: var(--ship-period-table-min-h, var(--ship-table-body-min-h));
      display: flex;
      flex-direction: column;
      margin-top: 0 !important;
      overflow: visible;
    }

#page-shipments6 .ship-warehouse-analytics-box .warehouse-storage-wrap > .dash-box.dash-box-tbl > .ship-tbl-scroll-host {
      flex: 1 1 auto;
      min-height: 0;
      max-height: var(--ship-period-table-min-h, var(--ship-table-body-min-h));
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-width: 0;
    }

/* Скролл только внутри .table-core-scroll — не дублировать на host. */
#page-shipments6 #ship6-table,
    #page-shipments6 #ship6-wh-warehouse-table,
    #page-shipments6 #ship6-plan-table {
      flex: 1 1 auto;
      min-height: 0;
      min-width: 0;
      overflow: hidden;
      overscroll-behavior: contain;
    }

#page-shipments6 #ship6-table .tbl-wrap,
    #page-shipments6 #ship6-wh-warehouse-table .tbl-wrap,
    #page-shipments6 #ship6-plan-table .tbl-wrap {
      display: block;
      max-height: none;
      min-height: 0;
      overflow: visible;
      height: auto;
    }

#page-shipments6 #ship6-table .tbl-wrap table.dashboard-tbl-zoom,
    #page-shipments6 #ship6-wh-warehouse-table .tbl-wrap table.dashboard-tbl-zoom {
      margin-bottom: 0;
    }

#page-shipments6 button.ship6-analytics-goto-calc {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
      margin: 0;
      padding: 0;
      border: 0;
      background: none;
      color: #2563eb;
      font: inherit;
      font-weight: 500;
      text-align: left;
      cursor: pointer;
      word-break: normal;
      overflow-wrap: normal;
      line-height: 1.25;
      text-decoration: underline;
      text-decoration-color: color-mix(in srgb, #2563eb 40%, transparent);
      text-underline-offset: 2px;
    }

    #page-shipments6 button.ship6-analytics-goto-calc:hover {
      color: #1d4ed8;
      text-decoration-color: #1d4ed8;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="fo"],
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="warehouse_name"] {
      font-size: calc(var(--ship6-analytics-fs-data, 0.78rem) * 1.18);
      line-height: 1.25;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="fo"] .ship6-analytics-goto-calc,
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="warehouse_name"] .ship6-analytics-goto-calc {
      font-size: inherit;
    }

#page-shipments6 .ship-cell-name-lines {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
      word-break: normal;
      overflow-wrap: normal;
      word-wrap: normal;
      hyphens: none;
      line-height: 1.22;
      text-align: left;
    }

#page-shipments6 .dest-fo-cell .dest-fo-col--name .ship-cell-name-lines {
      -webkit-line-clamp: 2;
    }

#page-shipments6 #ship6-table.table-core-host,
    #page-shipments6 #ship6-table[data-table-core-host="1"],
    #page-shipments6 #ship6-wh-warehouse-table.table-core-host,
    #page-shipments6 #ship6-wh-warehouse-table[data-table-core-host="1"] {
      flex: 1 1 auto;
      min-height: 0;
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

#page-shipments6 #ship6-table .table-core-shell.table-core4,
    #page-shipments6 #ship6-wh-warehouse-table .table-core-shell.table-core4 {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }

#page-shipments6 #ship6-table .table-core-scroll,
    #page-shipments6 #ship6-wh-warehouse-table .table-core-scroll {
      flex: 1 1 auto;
      min-height: 0;
      max-height: var(--table-core-scroll-max-h, var(--ship-period-table-min-h, 28rem));
      overflow-x: auto;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: thin;
    }

#page-shipments6 > #ship6-panel-analytics {
      --ship6-slot-fs-data: 0.55rem;
      --ship6-slot-fs-cell: 0.52rem;
      --ship6-slot-fs-wh: 0.48rem;
      --ship6-slot-fs-weekday: 0.62rem;
      --ship6-slot-fs-th: 0.64rem;
      --ship6-analytics-fs-data: calc(var(--ship6-slot-fs-data) * 1.1);
      --ship6-analytics-fs-cell: calc(var(--ship6-slot-fs-cell) * 1.1);
      --ship6-analytics-fs-wh: calc(var(--ship6-slot-fs-wh) * 1.1);
      --ship6-analytics-fs-weekday: calc(var(--ship6-slot-fs-weekday) * 1.1);
      --ship6-analytics-fs-th: calc(var(--ship6-slot-fs-th) * 1.1);
      --ship6-analytics-fs-sub: calc(0.54rem * 1.1);
      --ship6-analytics-fs-sort: calc(0.5rem * 1.1);
      --ship6-analytics-fs-groupbar: calc(0.62rem * 1.1);
    }

/* Аналитика за период и по дням: типографика TC4 compact — как «Расчёт отгрузок» (#ship6-calc-table) */
#page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table {
      font-size: 0.72rem;
      line-height: 1.2;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table th,
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table td,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table th,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table td {
      padding: 0.22rem 0.32rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table th,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core4.table-core-density-compact .data-table th {
      min-height: 1.65rem;
      font-size: 0.64rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .data-table__meta-row th,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .data-table__meta-row th {
      font-size: 0.66rem;
      padding: 0.16rem 0.32rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .data-table__subtitle,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .data-table__subtitle {
      font-size: 0.62rem;
      line-height: 1.2;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .data-table__sort,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .data-table__sort {
      font-size: 0.48rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core-groupbar,
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core-toolbar,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core-groupbar,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core-toolbar {
      font-size: 0.72rem;
    }

#page-shipments6 .ship-main-table .toolbar.toolbar-dashboard .table-core-export-actions,
    #page-shipments6 .ship-warehouse-analytics-box .toolbar.toolbar-dashboard .table-core-export-actions {
      font-size: 0.72rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="fo"],
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host tbody td[data-col="warehouse_name"] {
      font-size: inherit;
      line-height: 1.2;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-cell,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-cell {
      font-size: 0.72rem;
      line-height: 1.2;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-head .dest-fo-col,
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-hmain,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-head .dest-fo-col,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-hmain {
      font-size: 0.62rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-hsub,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-hsub {
      font-size: 0.58rem;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .ship-cell-name-lines,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .ship-cell-name-lines {
      line-height: 1.2;
    }

#page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host tbody td[data-col="dateFrom"] .date-range-input {
      font-size: inherit;
      max-width: 100%;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-head,
    #page-shipments6 #ship6-table.ship6-analytics-tc4-host .dest-fo-line,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-head,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .dest-fo-line {
      grid-template-columns: minmax(2rem, 0.95fr) minmax(2.6rem, 0.75fr) minmax(1.8rem, 0.55fr) minmax(2.2rem, 0.6fr) minmax(2.4rem, 0.68fr);
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .table-core4 .data-table td.tc4-cell-dest-fo .dest-fo-cell,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .table-core4 .data-table td.tc4-cell-dest-fo .dest-fo-cell {
      min-width: 0;
      max-width: 100%;
    }

#page-shipments6 #ship6-table.ship6-analytics-tc4-host .ship-cell-name-lines,
    #page-shipments6 #ship6-wh-warehouse-table.ship6-analytics-tc4-host .ship-cell-name-lines {
      -webkit-line-clamp: 2;
      line-height: 1.1;
      font-size: inherit;
    }

#page-shipments6 #ship6-table tbody td[data-col="fo"],
    #page-shipments6 #ship6-table tbody td[data-col="warehouse_name"],
    #page-shipments6 #ship6-slot-table tbody td[data-col="fo"],
    #page-shipments6 #ship6-slot-table tbody td[data-col="warehouse_name"] {
      vertical-align: top;
      text-align: left;
    }

#page-shipments6 #ship6-wh-warehouse-table thead .rnp-range-meta-cell .ship-cell-name-lines,
    #page-shipments6 #ship6-wh-warehouse-table thead .rnp-range-cell .ship-cell-name-lines {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }

#page-shipments6 #ship6-table .tbl-resizable thead tr.header-row,
    #page-shipments6 #ship6-wh-warehouse-table .tbl-resizable thead tr.header-row,
    #page-shipments6 #ship6-plan-table .tbl-resizable thead tr.header-row {
      position: static;
    }

#page-stocksPage > .dash-box.dash-box-tbl,
    #page-equilibrium > .dash-box.dash-box-tbl,
    #page-search-queries > .dash-box.dash-box-tbl,
    #page-ads > .dash-box.dash-box-tbl,
    #page-health > .dash-box.dash-box-tbl,
    #page-photos > .dash-box.dash-box-tbl,
    #page-reviews > .dash-box.dash-box-tbl,
    #page-lamoda-daily > .dash-box.dash-box-tbl,
    #page-lamoda-dynamics > .dash-box.dash-box-tbl,
    #page-lamoda-heatmap > .dash-box.dash-box-tbl {
      flex: 1 1 auto;
      min-height: 0;
      padding-bottom: 2px;
      margin-bottom: 0;
      margin-right: 0;
    }

#page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl > div,
    #page-shipments6 #ship6-panel-analytics > .dash-box.dash-box-tbl > .ship-tbl-scroll-host > div[id] { height: auto; }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .ship-plan-prod-inner {
      display: flex;
      align-items: flex-start;
      gap: 4px;
      min-width: 0;
      max-width: 100%;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .ship-plan-prod-photo {
      flex: 0 0 auto;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .ship-plan-prod-lines {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
      flex: 1 1 auto;
      line-height: 1.2;
      font-size: 0.7rem;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .ship-plan-prod-line {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: 100%;
    }

#page-shipments6 #ship6-plan-table tbody td[data-col="sp_product"] .ship-plan-prod-empty {
      color: var(--muted);
    }

#page-shipments6 .ship-plan-inp-wrap {
      border-radius: 4px;
      padding: 2px;
      box-sizing: border-box;
    }

#page-shipments6 .ship-plan-inp-wrap--ok {
      background: rgba(46, 160, 67, 0.32);
      box-shadow: inset 0 0 0 1px rgba(46, 160, 67, 0.55);
    }

#page-shipments6 .ship-plan-inp-wrap--over {
      background: rgba(220, 53, 69, 0.28);
      box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.65);
      cursor: help;
    }

#page-shipments6 .ship-plan-inp-wrap--over .ship-plan-inp {
      color: #ffb4b4;
    }

#page-shipments6 .ship-plan-inp-wrap--local-override::after {
      content: '';
      position: absolute;
      top: 3px;
      right: 3px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
      pointer-events: none;
    }

#page-shipments6 .ship-header-line { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; margin: 0 0 0.35rem; }

#page-shipments6 .ship-header-line h1 { margin: 0; }

#ship6-subtabs.shipments-subtabs,
    .shipments-subtabs {
      display: inline-flex;
      flex-wrap: nowrap;
      gap: 0.28rem;
      align-items: baseline;
      margin: 0;
    }

#ship6-subtabs.shipments-subtabs button,
    .shipments-subtabs button {
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 0.82rem;
      padding: 0.12rem 0.2rem;
      cursor: pointer;
    }

#ship6-subtabs.shipments-subtabs button.active,
    .shipments-subtabs button.active { color: var(--accent); font-weight: 600; }

#ship6-subtabs.shipments-subtabs button:not(.active):hover,
    .shipments-subtabs button:not(.active):hover { color: var(--text); }

#ship6-subtabs.shipments-subtabs .ship-subtab-sep,
    .shipments-subtabs .ship-subtab-sep { color: var(--muted); font-size: 0.76rem; user-select: none; }

#page-shipments6 .ship-article-controls {
      display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
      margin-left: 0; margin-top: 0.05rem;
    }

#page-shipments6 .ship-article-controls-row { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }

#page-shipments6 .ship-sizes-wrap { position: relative; }

#page-shipments6 .ship-sizes-trigger { font-size: 0.74rem; padding: 0.22rem 0.48rem; }

#page-shipments6 .ship-sizes-trigger:disabled {
      opacity: 0.5; cursor: not-allowed;
    }

#page-shipments6 .ship-sizes-popover {
      position: absolute; top: calc(100% + 4px); left: 0; z-index: 80;
      min-width: min(280px, 92vw); max-height: min(260px, 45vh); overflow-y: auto;
      background: var(--panel); border: 1px solid var(--border); border-radius: 6px;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38); padding: 0.28rem;
    }

#page-shipments6 .ship-sizes-popover[hidden] { display: none !important; }

#page-shipments6 .ship-sizes-opt {
      padding: 0.38rem 0.52rem; border-radius: 4px; cursor: pointer; font-size: 0.76rem;
      line-height: 1.25; user-select: none;
    }

#page-shipments6 .ship-sizes-opt:hover { background: rgba(255, 255, 255, 0.06); }

#page-shipments6 .ship-sizes-opt.ship-sizes-opt--picked {
      background: rgba(77, 171, 247, 0.18); color: var(--accent); font-weight: 600;
    }

#page-shipments6 #ship6-panel-analytics > .ship-analytics-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 0.45rem;
      margin-bottom: 0.45rem;
      flex: 0 0 auto;
      width: 100%;
      min-width: 0;
      white-space: normal;
      overflow-x: hidden;
    }

#page-shipments6 .ship-analytics-summary {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.22rem 0.35rem;
      padding: 0.35rem 0.45rem;
      margin-bottom: 0;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--panel);
      font-size: 0.62rem;
      box-sizing: border-box;
      flex: 0 1 260px;
      min-width: 200px;
      max-width: 300px;
      white-space: normal;
      overflow-wrap: break-word;
    }

#page-shipments6 .ship-slot-coef-dash {
      flex: 1 1 280px;
      width: auto;
      max-width: 100%;
      min-width: 240px;
      min-height: 0;
      max-height: min(42vh, 340px);
      margin-left: 0;
      padding: 0.28rem 0.38rem;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--panel);
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      white-space: normal;
      overflow: hidden;
    }

#page-shipments6 .ship-slot-coef-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem 0.5rem;
      margin-bottom: 0.28rem;
      flex-shrink: 0;
    }

#page-shipments6 .ship-slot-coef-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1.2;
    }

#page-shipments6 .ship-slot-mode-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.22rem;
      align-items: center;
      justify-content: flex-end;
    }

#page-shipments6 .ship-slot-mode-btn {
      font-size: 0.62rem;
      line-height: 1.2;
      padding: 0.18rem 0.4rem;
      border-radius: 4px;
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.04);
      color: var(--muted);
      cursor: pointer;
    }

#page-shipments6 .ship-slot-mode-btn:hover {
      color: var(--text);
      border-color: var(--accent);
    }

#page-shipments6 .ship-slot-mode-btn.active {
      color: var(--text);
      border-color: var(--accent);
      background: rgba(77, 171, 247, 0.12);
      font-weight: 600;
    }

#page-shipments6 .ship-slot-coef-dash.ship-slot-coef-dash--off {
      display: none !important;
    }

#page-shipments6 .ship-slot-dash-scroll {
      flex: 1 1 auto;
      min-height: 0;
      max-height: min(42vh, 340px);
      overflow: auto;
      scrollbar-width: thin;
      width: 100%;
      max-width: 100%;
    }

#page-shipments6 #ship6-slot-table {
      width: max-content;
      max-width: 100%;
    }

#page-shipments6 #ship6-slot-table .tbl-wrap {
      max-height: none;
      min-height: 0;
      width: max-content;
      max-width: 100%;
      overflow: visible;
      border-radius: 6px;
    }

#page-shipments6 #ship6-slot-table table.dashboard-tbl-zoom {
      font-size: 0.55rem;
      line-height: 1.12;
    }

#page-shipments6 #ship6-slot-table table.dashboard-tbl-zoom th,
    #page-shipments6 #ship6-slot-table table.dashboard-tbl-zoom td {
      padding: 0.06rem 0.2rem;
    }

#page-shipments6 #ship6-slot-table thead tr.ship-slot-weekday-meta th.ship-slot-weekday-th {
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--muted);
      text-align: center;
      border-bottom: 1px solid var(--border);
      letter-spacing: 0.02em;
    }

#page-shipments6 #ship6-slot-table .header-filter-row input.filter-quick {
      height: 1.05rem;
      min-height: 1.05rem;
      padding: 0.02rem 0.16rem;
      font-size: 0.5rem;
    }

#page-shipments6 #ship6-slot-table .header-filter-row button.filter-btn {
      height: 1.05rem;
      min-height: 1.05rem;
      width: 1.05rem;
      padding: 0;
      font-size: 0.5rem;
      line-height: 1;
    }

#page-shipments6 #ship6-slot-table .header-filter-row td.header-filter-cell--empty {
      padding: 0 !important;
      vertical-align: middle;
    }

#page-shipments6 #ship6-slot-table .header-resize-row td { height: 3px; padding: 0; }

#page-shipments6 #ship6-slot-table .th-header-bar { gap: 0.08rem; }

#page-shipments6 #ship6-slot-table thead th[data-col^="priority_"] .th-inner,
    #page-shipments6 #ship6-slot-table thead th[data-col^="slot_"] .th-inner,
    #page-shipments6 #ship6-slot-table thead th[data-col^="slot_"] .data-table__title {
      white-space: nowrap;
    }

#page-shipments6 #ship6-slot-table .col-drag,
    #page-shipments6 #ship6-slot-table .col-pin,
    #page-shipments6 #ship6-slot-table .col-close {
      transform: scale(0.75);
      transform-origin: center;
    }

#page-shipments6 #ship6-slot-table .slot-cell { font-size: 0.52rem; line-height: 1.08; }

#page-shipments6 #ship6-slot-table .slot-wh { font-size: 0.48rem; margin-top: 0.04rem; }

#page-shipments6 .ship-slot-coef-tbl {
      width: max-content;
      min-width: 0;
      border-collapse: collapse;
      font-size: 0.55rem;
      line-height: 1.15;
      background: var(--panel);
    }

#page-shipments6 .ship-slot-coef-tbl th,
    #page-shipments6 .ship-slot-coef-tbl td {
      padding: 0.06rem 0.2rem;
      border: 1px solid var(--border);
      vertical-align: top;
      text-align: center;
      white-space: nowrap;
    }

#page-shipments6 .ship-slot-coef-tbl th {
      position: sticky;
      top: 0;
      z-index: 2;
      background: var(--panel);
      color: var(--muted);
      font-weight: 700;
    }

#page-shipments6 .ship-slot-coef-tbl tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

#page-shipments6 .ship-slot-coef-tbl tbody tr:hover td { background: rgba(255,255,255,0.035); }

#page-shipments6 .ship-slot-coef-tbl th.ship-slot-dash-geo,
    #page-shipments6 .ship-slot-coef-tbl td.ship-slot-dash-geo {
      text-align: left;
      max-width: 5.2rem;
      overflow: hidden;
      text-overflow: ellipsis;
    }

#page-shipments6 .ship-slot-coef-tbl th.ship-slot-dash-wh,
    #page-shipments6 .ship-slot-coef-tbl td.ship-slot-dash-wh {
      text-align: left;
      max-width: 7rem;
      overflow: hidden;
      text-overflow: ellipsis;
    }

#page-shipments6 .ship-slot-coef-tbl .slot-cell { font-size: 0.52rem; }

#page-shipments6 .ship-slot-coef-tbl .slot-wh { font-size: 0.48rem; margin-top: 0.06rem; }

#page-shipments6 .ship-sum-item { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 0.35rem; }

#page-shipments6 .ship-sum-lbl { color: var(--muted); font-size: 0.58rem; line-height: 1.15; flex: 1; min-width: 0; text-align: left; }

#page-shipments6 .ship-sum-val { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); font-size: 0.68rem; flex-shrink: 0; }

#page-shipments6 .ship-sum-note { grid-column: 1 / -1; font-size: 0.55rem; color: var(--muted); line-height: 1.3; margin: 0.15rem 0 0; }

#page-shipments6 .ship-sum-btn { cursor: pointer; text-align: left; border: 0; background: transparent; padding: 0.06rem 0; margin: 0; font: inherit; width: 100%; min-width: 0; border-radius: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 0.35rem; }

#page-shipments6 .ship-sum-btn:hover .ship-sum-lbl, #page-shipments6 .ship-sum-btn:focus-visible .ship-sum-lbl { color: var(--accent); }

#page-shipments6 #ship6-slot-table.table-core-host .table-core-scroll {
  max-height: none;
  overflow: visible;
}
#page-shipments6 #ship6-slot-table table.data-table.ship-slot-mini-table tbody td {
  padding: 0.06rem 0.2rem;
  font-size: 0.55rem;
  line-height: 1.12;
}
#page-shipments6 #ship6-slot-table thead tr.ship-slot-weekday-meta th.ship-slot-weekday-th {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

