#pagePriceData .lien-duplicate-product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 3px;
  max-width: 100%;
  color: #c8dcf0;
  font-size: 11px;
}

#pagePriceData .lien-duplicate-product span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pagePriceData .lien-duplicate-product small {
  color: #8fb4d5;
  font-size: 11px;
}

#pagePriceData .lien-pricedata-status {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  color: #c7d5e4;
  background: #253447;
  font-size: 10px;
  line-height: 1.2;
}

#pagePriceData .lien-pricedata-status-active {
  color: #59d7b1;
  background: #123a37;
}

#pagePriceData .lien-pricedata-status-archived {
  color: #f4ca8c;
  background: #423121;
}

#pagePriceData .lien-pricedata-status-draft {
  color: #b8c5d7;
  background: #30394b;
}

#pagePriceData .lien-category-size-setup {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #34485f;
}

#pagePriceData .lien-category-size-setup[hidden] {
  display: none;
}

#pagePriceData .lien-category-size-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

#pagePriceData .lien-category-size-heading strong {
  color: #eef5ff;
}

#pagePriceData .lien-category-size-heading small,
#pagePriceData .lien-category-size-note {
  color: #9bb8d1;
}

#pagePriceData .lien-category-size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

#pagePriceData .lien-category-size-option {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid #34485f;
  border-radius: 8px;
  background: #0d1928;
}

#pagePriceData .lien-category-size-option strong {
  color: #eef5ff;
}

#pagePriceData .lien-category-size-option span,
#pagePriceData .lien-category-size-option label {
  color: #9bb8d1;
  font-size: 12px;
}

#pagePriceData .lien-category-size-option label {
  margin-left: auto;
}

#pagePriceData .lien-category-size-option input {
  width: 84px;
  margin-left: 5px;
}

@media (max-width: 700px) {
  #pagePriceData .lien-category-size-grid {
    grid-template-columns: 1fr;
  }
}

#pagePriceData .lien-datacenter-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#pagePriceData .lien-datacenter-category-row label {
  color: #9bb8d1;
  font-size: 12px;
  white-space: nowrap;
}

#pagePriceData .lien-datacenter-category-row select,
#pagePriceData .lien-datacenter-category-row .lien-rounded-select {
  min-width: 230px;
  max-width: min(100%, 340px);
}

#pageProductSet .lien-history-year-export {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#pageProductSet .lien-history-year-export label {
  white-space: nowrap;
  color: #9bb8d1;
  font-size: 12px;
}

#pageProductSet .lien-history-year-export select,
#pageProductSet .lien-history-year-export button {
  min-height: 36px;
}

#pageProductSet .lien-history-year-export select {
  width: 92px;
}

#pageProductSet .lien-history-year-export button {
  padding: 0 12px;
}

#pagePriceData #lienPriceDataTable .lien-parent-name {
  display: block;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
}

#pagePriceData #lienPriceDataTable tbody td:nth-child(2) {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
}

.lien-module-page {
  color: #dbe7f3;
  min-width: 0;
  max-width: 100%;
}

.lien-page-heading {
  align-items: center;
}

.lien-shopify-sync-status {
  display: block;
  margin-top: 5px;
  color: #8ea6bd;
  font-size: 11px;
}

.lien-price-pair {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 7px;
  align-items: baseline;
  white-space: nowrap;
}

.lien-price-pair small {
  color: #8ea6bd;
  font-size: 10px;
}

.lien-price-pair b {
  color: #dbe7f3;
  font-size: 12px;
  font-weight: 600;
}

.lien-export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#pagePriceData .lien-sort-controls {
  gap: 12px;
}

#pagePriceData .lien-sort-controls > label {
  min-width: 210px;
}

#pagePriceData .lien-sort-controls .lien-rounded-select-trigger {
  min-width: 210px;
}

#pagePriceData .lien-sort-controls .lien-rounded-select-options {
  min-width: 230px;
}

#pagePriceData .lien-data-table .lien-sort-primary {
  background: rgba(77, 163, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(77, 163, 255, 0.08);
}

#pagePriceData .lien-data-table .lien-sort-secondary {
  background: rgba(77, 163, 255, 0.06);
}

#pagePriceData {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

#pagePriceData button,
#pagePriceData input,
#pagePriceData select {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
}

#pagePriceData .lien-page-heading h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

#pagePriceData .lien-table-title-row h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

#pagePriceData .lien-page-heading p {
  font-size: 13px;
}

#pagePriceData .lien-filter-grid label > span,
#pagePriceData .lien-table-toolbar label > span {
  font-size: 11px;
  font-weight: 600;
}

#pagePriceData .lien-data-table td {
  font-size: 13px;
  line-height: 1.45;
}

#pagePriceData .lien-price-pair b {
  font-size: 13px;
}

#pagePriceData .lien-export-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  margin: 0;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

#pagePriceData .lien-export-actions {
  align-items: center;
}

#pagePriceData .lien-datacenter-store {
  width: 180px;
  position: relative;
  z-index: 6;
}

#pagePriceData .lien-datacenter-store .lien-store-select-trigger {
  width: 100%;
  height: 42px;
  border-radius: 9px;
}

#pagePriceData .lien-datacenter-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

#pagePriceData .lien-datacenter-search-row input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #25384b;
  border-radius: 9px;
  background: #081521;
  color: #eaf2fb;
}

#pagePriceData #lienPriceDataFiltersToggle {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #365d80;
  border-radius: 9px;
  background: #13263a;
  color: #cce3f9;
  font-weight: 600;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataFiltersToggle::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  vertical-align: -3px;
  background: center / contain no-repeat url("/static/filter_icon.svg");
}

#pagePriceData #lienPriceDataFilters {
  grid-template-columns: minmax(180px, 320px) auto;
  justify-content: start;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #294863;
}

#pagePriceData #lienPriceDataFilters[hidden] {
  display: none;
}

#pagePriceData #lienPriceDataClear {
  white-space: nowrap;
  width: auto;
  min-width: 120px;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 620px) {
  #pagePriceData #lienPriceDataFilters {
    grid-template-columns: 1fr;
  }
}

.lien-filter-card,
.lien-table-card,
.lien-coming-card {
  margin-bottom: 18px;
  padding: 18px;
  min-width: 0;
}

#pagePriceData .lien-filter-card {
  position: relative;
  overflow: visible;
  z-index: 4;
}

#pagePriceData .lien-table-card {
  position: relative;
  z-index: 1;
}

#pageProductSet .lien-filter-card {
  position: relative;
  overflow: visible;
  z-index: 4;
}

#pageProductSet .lien-table-card {
  position: relative;
  z-index: 1;
}

.lien-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(200px, 1.15fr) minmax(260px, 1.2fr) minmax(190px, 1fr)
    max-content;
  gap: 12px;
  align-items: end;
}

.lien-filter-grid label {
  display: grid;
  gap: 7px;
}

.lien-filter-grid label > span {
  color: #91a5ba;
  font-size: 11px;
  font-weight: 700;
}

.lien-filter-grid .lien-requires-change {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #dbe7f3;
  font-size: 12px;
  white-space: nowrap;
}

.lien-filter-grid .lien-requires-change input {
  width: 15px;
  min-height: 15px;
  margin: 0;
}

.lien-filter-grid input,
.lien-filter-grid select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #25384b;
  border-radius: 8px;
  background: #081521;
  color: #eaf2fb;
  padding: 0 11px;
  outline: none;
}

.lien-filter-grid input:focus,
.lien-filter-grid select:focus {
  border-color: #3e88cc;
}

.lien-store-select {
  position: relative;
}

.lien-store-select-native {
  position: absolute;
  width: 1px !important;
  height: 1px;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.lien-store-select-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid #25384b;
  border-radius: 10px;
  background: #081521;
  color: #eaf2fb;
  text-align: left;
}

.lien-store-select-chevron {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  margin-right: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #dbe7f3;
  transform: none;
}

.lien-store-select-trigger:hover,
.lien-store-select.is-open .lien-store-select-trigger {
  border-color: #3e88cc;
}

.lien-store-select-options {
  display: none;

  position: absolute;

  z-index: 20;

  top: calc(100% + 6px);
  left: 0;
  right: 0;

  max-height: 330px;

  padding: 6px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color:
    #547da5
    #0c1926;

  border: 1px solid #294568;

  border-radius: 10px;

  background: #0c1926;

  box-shadow:
    0 14px 28px
    rgba(
      0,
      0,
      0,
      0.34
    );
}


.lien-store-select-options::-webkit-scrollbar {
  width: 7px;
}


.lien-store-select-options::-webkit-scrollbar-track {
  background: #0c1926;
}


.lien-store-select-options::-webkit-scrollbar-thumb {
  background: #547da5;

  border-radius: 999px;
}


.lien-store-select-options::-webkit-scrollbar-thumb:hover {
  background: #6d98c1;
}

.lien-store-select.is-open .lien-store-select-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lien-store-option {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #dbe7f3;
  padding: 0 14px;
  text-align: left;
}

.lien-store-option:hover,
.lien-store-option[aria-selected="true"] {
  background: #173b60;
  color: #fff;
}

.lien-rounded-select {
  position: relative;
  width: 100%;
}

.lien-rounded-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.lien-rounded-select-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 var(--lien-select-edge-gap, 14px);
  border: 1px solid #25384b;
  border-radius: 9px;
  background: #081521;
  color: #eaf2fb;
  text-align: left;
}

.lien-rounded-select-trigger:hover,
.lien-rounded-select.is-open .lien-rounded-select-trigger {
  border-color: #3e88cc;
}

.lien-rounded-select-chevron {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #dbe7f3;
}

.lien-rounded-select-options {
  display: none;
  position: absolute;
  z-index: 22;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #294568;
  border-radius: 10px;
  background: #0c1926;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.lien-rounded-select.is-open .lien-rounded-select-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lien-rounded-option {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #dbe7f3;
  padding: 0 14px;
  text-align: left;
}

.lien-rounded-option:hover,
.lien-rounded-option[aria-selected="true"] {
  background: #173b60;
  color: #fff;
}

#pagePriceData .lien-store-select-trigger,
#pagePriceData .lien-rounded-select-trigger,
#pageProductSet .lien-rounded-select-trigger {
  min-height: 42px;
  border-color: #29415c;
  border-radius: 9px;
  background: #0d1724;
  color: #cfe1f8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

#pagePriceData .lien-store-select-options,
#pagePriceData .lien-rounded-select-options,
#pageProductSet .lien-rounded-select-options {
  border-color: #29415c;
  background: #0d1724;
  border-radius: 9px;
}

#pagePriceData .lien-store-option,
#pagePriceData .lien-rounded-option,
#pageProductSet .lien-rounded-option {
  min-height: 36px;
  border-radius: 8px;
  color: #cfe1f8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

#pagePriceData .lien-store-option:hover,
#pagePriceData .lien-store-option[aria-selected="true"],
#pagePriceData .lien-rounded-option:hover,
#pagePriceData .lien-rounded-option[aria-selected="true"],
#pageProductSet .lien-rounded-option:hover,
#pageProductSet .lien-rounded-option[aria-selected="true"] {
  border-color: #4385c8;
  background: #101e2d;
  color: #cfe1f8;
}

.lien-clear-filters {
  min-height: 38px;
}

#pagePriceData,
#pageProductSet {
  --lien-select-edge-gap: 14px;
}

#pagePriceData .lien-store-select-trigger {
  padding-left: var(--lien-select-edge-gap);
  padding-right: var(--lien-select-edge-gap);
}

#pagePriceData .lien-store-select-chevron {
  margin-right: 0;
}

#pagePriceData .lien-filter-grid select:not(.lien-store-select-native),
#pageProductSet .lien-history-store-wrap select,
#pageProductSet .lien-history-search-row select,
#pageProductSet .lien-history-filter-grid select,
#pagePriceData .lien-table-toolbar select,
#pageProductSet .lien-table-toolbar select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: var(--lien-select-edge-gap);
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, #dbe7f3 50%),
    linear-gradient(135deg, #dbe7f3 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - var(--lien-select-edge-gap)) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.lien-table-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.lien-table-title-row h3 {
  margin: 0 0 4px;
}

.lien-table-title-row small,
.lien-table-note {
  color: #71879d;
  font-size: 11px;
}

.lien-table-toolbar,
.lien-sort-controls,
.lien-pagination,
.lien-pagination > div {
  display: flex;
  align-items: end;
  gap: 10px;
}

.lien-table-toolbar {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 11px 12px;
  margin-bottom: 14px;
  border: 1px solid #1d2d3d;
  border-radius: 9px;
  background: #0a1520;
}

.lien-sort-controls {
  flex-wrap: wrap;
}

.lien-table-toolbar label {
  display: grid;
  gap: 5px;
  color: #91a5ba;
  font-size: 10px;
  font-weight: 700;
}

.lien-table-toolbar select {
  min-height: 34px;
  border: 1px solid #25384b;
  border-radius: 7px;
  background: #081521;
  color: #eaf2fb;
  padding: 0 9px;
}

.lien-table-toolbar small {
  align-self: center;
  color: #71879d;
  font-size: 10px;
}

.lien-page-size {
  min-width: 116px;
}

.lien-pagination {
  justify-content: space-between;
  margin-top: 14px;
  color: #91a5ba;
  font-size: 11px;
}

.lien-pagination > div {
  align-items: center;
}

.lien-pagination .ghost-btn {
  min-height: 32px;
  padding: 6px 11px;
}

.lien-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lien-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.lien-data-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.lien-data-table th,
.lien-data-table td {
  padding: 12px 11px;
  border-bottom: 1px solid #1b2a39;
  text-align: left;
  white-space: nowrap;
}

.lien-data-table th[data-sort],
.lien-data-table th[data-history-sort] {
  padding-right: 17px;
}

.lien-data-table th {
  color: #9eb2c6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lien-data-table td {
  color: #d7e3ee;
  font-size: 12px;
}

.lien-empty-row td {
  padding: 34px 12px;
  color: #71879d;
  text-align: center;
}

.lien-coming-card h3 {
  margin-top: 0;
}

.lien-coming-card p {
  color: #91a5ba;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lien-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .lien-filter-grid {
    grid-template-columns: 1fr;
  }

  .lien-page-heading,
  .lien-table-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .lien-table-toolbar,
  .lien-pagination {
    align-items: stretch;
    flex-direction: column;
  }
}

.lien-history-store-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: min(220px, 100%);
}

.lien-history-store-wrap label,
.lien-history-search-row label > span,
.lien-history-filter-grid label > span {
  color: #91a5ba;
  font-size: 11px;
  font-weight: 700;
}

.lien-history-store-wrap select,
.lien-history-search-row input,
.lien-history-search-row select,
.lien-history-filter-grid select,
.lien-history-filter-grid input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #25384b;
  border-radius: 8px;
  background: #081521;
  color: #eaf2fb;
  padding: 0 11px;
  outline: none;
}

.lien-history-store-wrap select:focus,
.lien-history-search-row input:focus,
.lien-history-search-row select:focus,
.lien-history-filter-grid select:focus,
.lien-history-filter-grid input:focus {
  border-color: #3e88cc;
}

.lien-history-search-row {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(180px, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.lien-history-search-row label,
.lien-history-filter-grid label {
  display: grid;
  gap: 7px;
}

.lien-history-search {
  position: relative;
}

.lien-history-search-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #29415c;
  border-radius: 9px;
  background: #0d1724;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.lien-history-search-result {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 1.5fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #cfe1f8;
  text-align: left;
}

.lien-history-search-result:hover {
  background: #101e2d;
}

.lien-history-search-result span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9db1c6;
}

.lien-history-search-result small {
  color: #7490ab;
  font-size: 10px;
}

.lien-component-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #273746;
}

.lien-component-details h4 {
  margin: 0 0 9px;
  color: #cfe1f8;
  font-size: 12px;
}

.lien-component-detail {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-top: 1px solid rgba(39, 55, 70, 0.7);
}

.lien-component-detail:first-of-type {
  border-top: 0;
}

.lien-component-detail b {
  color: #dbe7f3;
  font-size: 12px;
}

.lien-component-detail span {
  color: #a9bbcb;
  font-size: 11px;
}

.lien-component-detail small {
  color: #7590a8;
  font-size: 10px;
}

.lien-history-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.lien-history-table tbody tr:not(.lien-empty-row) {
  cursor: pointer;
}

.lien-history-table tbody tr:not(.lien-empty-row):hover {
  background: #0d1c2a;
}

.lien-history-product {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
}

.lien-history-product-image {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #25384b;
  background: #0d1c2a;
}

.lien-history-image-placeholder {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #25384b;
  background: #0d1c2a;
  color: #71879d;
  font-size: 11px;
  text-align: center;
}

.lien-history-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.lien-history-meta div,
.lien-platform-row {
  padding: 10px 0;
  border-bottom: 1px solid #1b2a39;
}

.lien-history-meta small,
.lien-platform-row small {
  display: block;
  color: #71879d;
  margin-bottom: 4px;
}

.lien-platform-heading {
  margin: 18px 0 6px;
}

.lien-platform-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.lien-rate {
  font-weight: 700;
}

@media (max-width: 900px) {
  .lien-history-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .lien-history-search-row,
  .lien-history-filter-grid {
    grid-template-columns: 1fr;
  }

  .lien-history-store-wrap {
    width: 100%;
  }

  .lien-history-product {
    grid-template-columns: 1fr;
  }

  .lien-history-meta {
    grid-template-columns: 1fr;
  }

  .lien-platform-row {
    grid-template-columns: 1fr 1fr;
  }
}

#pageProductSet {
  color: #e8ebf0;
}

#pageProductSet .card {
  background: #111722;
  border-color: #27303c;
}

#pageProductSet .lien-filter-card,
#pageProductSet .lien-table-card {
  background: #111722;
}

#pageProductSet .lien-history-store-wrap select,
#pageProductSet .lien-history-search-row input,
#pageProductSet .lien-history-search-row select,
#pageProductSet .lien-history-filter-grid select,
#pageProductSet .lien-history-filter-grid input {
  background: #0c1119;
  border-color: #303946;
  color: #e8ebf0;
}

#pageProductSet .lien-data-table th {
  background: #0d131c;
  color: #a9b1bd;
}

#pageProductSet .lien-data-table td {
  color: #e1e6ec;
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row):hover {
  background: #1a212c;
}

.lien-sort-icon {
  display: inline-block;
  width: 9px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -2px;
  position: relative;
  color: #8f98a6;
}

.lien-sort-icon::before,
.lien-sort-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 4px;
  height: 4px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
}

.lien-sort-icon::before {
  top: 1px;
  transform: rotate(45deg);
}

.lien-sort-icon::after {
  bottom: 1px;
  transform: rotate(225deg);
}

.lien-sort-asc::after {
  opacity: 0.25;
}

.lien-sort-desc::before {
  opacity: 0.25;
}

.lien-sort-neutral::before,
.lien-sort-neutral::after {
  opacity: 0.75;
}

#pagePriceData .lien-rate-position,
#pageProductSet .lien-rate-position {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 70px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

#pagePriceData .lien-rate-position svg,
#pageProductSet .lien-rate-position svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pagePriceData .lien-rate-position.higher,
#pageProductSet .lien-rate-position.higher {
  color: #3de1a1;
}

#pagePriceData .lien-rate-position.lower,
#pageProductSet .lien-rate-position.lower {
  color: #ff6677;
}

#pagePriceData .lien-rate-position.equal,
#pageProductSet .lien-rate-position.equal {
  color: #ffbf4a;
}

#pagePriceData .lien-rate-empty,
#pageProductSet .lien-rate-empty {
  color: #526176;
}

#pageProductSet .lien-productset-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  max-width: 100%;
}

#pageProductSet .lien-productset-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

#pageProductSet .lien-productset-detail-stack {
  display: none;
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.82fr);
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  min-width: 0;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 16px;
}

#pageProductSet .lien-product-info-card {
  min-height: 210px;
  padding: 18px;
}

#pageProductSet .lien-platform-price-card {
  min-height: 285px;
  padding: 18px;
}

#pageProductSet .lien-detail-card-heading {
  padding-bottom: 13px;
  margin-bottom: 14px;
  border-bottom: 1px solid #27303c;
}

#pageProductSet .lien-detail-card-heading small {
  display: block;
  margin-bottom: 4px;
  color: #71879d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#pageProductSet .lien-detail-card-heading h3 {
  margin: 0;
}

#pageProductSet .lien-detail-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: #71879d;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

#pageProductSet .lien-selected-history-row {
  background: #1a212c;
  box-shadow: inset 3px 0 0 #6f7f91;
}

#pageProductSet .lien-inline-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

#pageProductSet .lien-inline-product .lien-history-product-image,
#pageProductSet .lien-inline-product .lien-history-image-placeholder {
  width: 72px;
  height: 72px;
}

#pageProductSet .lien-inline-product .lien-history-meta {
  grid-template-columns: 1fr;
  gap: 0;
}

#pageProductSet .lien-platform-price-card .lien-platform-row {
  grid-template-columns: minmax(100px, 1.2fr) 1fr 1fr auto;
}

@media (max-width: 1180px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 900px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns: 1fr;
  }

  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-template-columns: 1fr;
  }

  #pageProductSet .lien-platform-price-card .lien-platform-row {
    grid-template-columns: 1fr 1fr;
  }
}

#pageProductSet .lien-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: end;
  padding: 2px 4px 8px;
}

#pageProductSet .lien-page-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

#pageProductSet .lien-page-heading p {
  margin: 7px 0 0;
}

#pageProductSet .lien-history-store-wrap {
  width: 100%;
  padding: 12px;
  border: 1px solid #29415c;
  border-radius: 13px;
  background: #0d1724;
}

#pageProductSet .lien-filter-card {
  padding: 16px;
  border-color: #2a3d52;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

#pageProductSet .lien-history-search-row {
  grid-template-columns: minmax(0, 2.2fr) minmax(220px, 0.8fr);
  gap: 16px;
  margin-bottom: 16px;
}

#pageProductSet .lien-history-filter-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) max-content;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #273746;
}

#pageProductSet .lien-history-filter-grid .lien-clear-filters {
  min-height: 42px;
  min-width: 110px;
}

#pageProductSet .lien-table-card {
  padding: 0;
  overflow: hidden;
  border-color: #2a3d52;
}

#pageProductSet .lien-table-title-row {
  min-height: 84px;
  padding: 18px 20px;
  border-bottom: 1px solid #273746;
  background: #101a27;
}

#pageProductSet .lien-table-title-row h3 {
  margin: 0 0 5px;
}

#pageProductSet .lien-table-toolbar {
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #273746;
  border-radius: 0;
  background: #0d1724;
}

#pageProductSet .lien-table-scroll {
  max-height: calc(100vh - 455px);
  min-height: 260px;
}

#pageProductSet .lien-history-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 #273746;
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row) {
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease;
}

#pageProductSet .lien-pagination {
  padding: 14px 20px;
  margin: 0;
  border-top: 1px solid #273746;
  border-radius: 0;
  background: #101a27;
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.85fr);
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  gap: 14px;
  top: 12px;
}

#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-price-card {
  margin: 0;
  border-color: #2a3d52;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

#pageProductSet .lien-product-info-card {
  max-height: calc(100vh - 176px);
  overflow: auto;
}

#pageProductSet .lien-selected-history-row {
  background: #152638;
  box-shadow: inset 3px 0 0 #4e9cf0;
}

@media (max-width: 1080px) {
  #pageProductSet .lien-page-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #pageProductSet .lien-history-store-wrap {
    max-width: 330px;
  }

  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  #pageProductSet .lien-page-heading h2 {
    font-size: 26px;
  }

  #pageProductSet .lien-history-search-row,
  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: 1fr;
  }

  #pageProductSet .lien-history-filter-grid .lien-clear-filters {
    width: 100%;
  }

  #pageProductSet .lien-table-title-row,
  #pageProductSet .lien-table-toolbar,
  #pageProductSet .lien-pagination {
    padding-left: 14px;
    padding-right: 14px;
  }

  #pageProductSet .lien-table-scroll {
    max-height: none;
  }
}

#pageProductSet .lien-productset-workspace {
  grid-template-columns: minmax(0, 1fr);
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(0, 1fr);
}

#pageProductSet .lien-table-scroll {
  min-height: 0;
  max-height: none;
  overflow: visible;
}

#pageProductSet .lien-history-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

#pageProductSet .lien-history-table th,
#pageProductSet .lien-history-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

#pageProductSet .lien-history-table th:nth-child(1) {
  width: 13%;
}

#pageProductSet .lien-history-table th:nth-child(2) {
  width: 31%;
}

#pageProductSet .lien-history-table th:nth-child(3) {
  width: 15%;
}

#pageProductSet .lien-history-table th:nth-child(4) {
  width: 16%;
}

#pageProductSet .lien-history-table th:nth-child(5) {
  width: 12%;
}

#pageProductSet .lien-history-table th:nth-child(6) {
  width: 13%;
}

#pageProductSet .lien-history-product-cell b,
#pageProductSet .lien-history-product-cell small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pageProductSet .lien-history-product-cell b {
  white-space: nowrap;
  color: #edf3f8;
}

#pageProductSet .lien-history-product-cell small {
  margin-top: 4px;
  color: #859bb2;
  font-size: 11px;
  white-space: nowrap;
}

#pageProductSet .lien-history-price-change {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #cfdae6;
}

#pageProductSet .lien-history-price-change small {
  color: #b7c5d4;
}

#pageProductSet .lien-history-price-change b {
  color: #6fabeb;
}

#pageProductSet .lien-history-difference {
  color: #a9d0fa;
  font-weight: 700;
}

#pageProductSet .lien-history-table td.lien-difference-positive {
  color: #61dcb0;
}

#pageProductSet .lien-history-table td.lien-difference-negative {
  color: #ff8f98;
}

#pageProductSet .lien-history-table td.lien-difference-neutral {
  color: #a9bdcf;
}

#pageProductSet .lien-productset-detail-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  position: static;
  min-width: 0;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  position: static;
}

#pageProductSet .lien-product-info-card {
  display: none;
  max-height: none;
  overflow: visible;
}

#pageProductSet.lien-has-selected-product .lien-product-info-card {
  display: block;
}

#pageProductSet .lien-platform-price-card {
  min-height: 0;
}

#pageProductSet .lien-platform-price-card .lien-platform-row {
  grid-template-columns: minmax(130px, 1.25fr) 1fr 1fr auto;
}

#pageProductSet .lien-platform-row-empty {
  color: #8ba0b5;
}

#pageProductSet .lien-platform-row-empty b {
  color: #cbd8e5;
}

#pageProductSet .lien-history-meta div,
#pageProductSet .lien-component-row,
#pageProductSet .lien-inline-product {
  min-width: 0;
}

#pageProductSet .lien-history-meta strong,
#pageProductSet .lien-history-meta span,
#pageProductSet .lien-component-row,
#pageProductSet .lien-inline-product {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  #pageProductSet .lien-history-table thead {
    display: none;
  }

  #pageProductSet .lien-history-table,
  #pageProductSet .lien-history-table tbody,
  #pageProductSet .lien-history-table tr,
  #pageProductSet .lien-history-table td {
    display: block;
    width: 100%;
  }

  #pageProductSet .lien-history-table tr {
    padding: 10px 14px;
  }

  #pageProductSet .lien-history-table td {
    padding: 5px 0;
    border: 0;
  }

  #pageProductSet .lien-history-table td::before {
    content: attr(data-label);
    display: block;
    color: #71879d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  #pageProductSet .lien-platform-price-card .lien-platform-row {
    grid-template-columns: 1fr 1fr;
  }
}

#pageProductSet .lien-productset-detail-stack {
  display: none;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  position: fixed;
  z-index: 40;
  top: 86px;
  right: 22px;
  bottom: 22px;
  width: min(540px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 14px;
  padding: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #34516d;
  border-radius: 16px;
  background: #0c1521;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.58);
}

#pageProductSet .lien-product-info-card {
  display: block;
}

#pageProductSet .lien-detail-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

#pageProductSet .lien-detail-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid #35516b;
  border-radius: 50%;
  background: #122133;
  color: #e8f0f8;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

#pageProductSet .lien-detail-close:hover {
  border-color: #6eaceb;
  background: #18314a;
}

@media (max-width: 680px) {
  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    top: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    border-radius: 14px;
  }
}

body:has(#pageProductSet.active) .platform-summary-strip {
  display: none !important;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  display: block;
  scrollbar-width: thin;
  scrollbar-color: #486985 #0b1520;
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar {
  width: 9px;
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar-track {
  margin: 10px 0;
  border-radius: 10px;
  background: #0b1520;
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar-thumb {
  border: 2px solid #0b1520;
  border-radius: 10px;
  background: #486985;
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar-thumb:hover {
  background: #6e9bc0;
}

#pageProductSet.lien-product-info-card,
#pageProductSet .lien-platform-price-card {
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  overflow: visible !important;
}

#pageProductSet .lien-product-info-card {
  margin: 0 0 14px;
}

#pageProductSet .lien-platform-price-card {
  margin: 0;
}

#pageProductSet .lien-detail-close {
  width: auto;
  height: 30px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border-color: #36516b;
  background: #132337;
  color: #c9d9e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#pageProductSet .lien-detail-close:hover {
  color: #ffffff;
  border-color: #68a4dd;
  background: #1b3650;
}

#pageProductSet .lien-detail-card-heading {
  margin-bottom: 16px;
}

#pageProductSet .lien-platform-price-card .lien-detail-card-heading {
  align-items: center;
}

#pageProductSet {
  --lien-audit-blue: #66a9ee;
  --lien-audit-line: #21354a;
}

#pageProductSet .lien-page-heading {
  margin-bottom: 14px;
  padding: 4px 2px;
}

#pageProductSet .lien-page-heading h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
}

#pageProductSet .lien-page-heading p {
  max-width: 640px;
  color: #8fa7be;
}

#pageProductSet .lien-filter-card {
  padding: 14px 16px;
  border-color: #263e56;
  border-radius: 14px;
  background: linear-gradient(135deg, #101c2a 0%, #0d1724 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

#pageProductSet .lien-history-search-row {
  margin-bottom: 10px;
}

#pageProductSet .lien-history-filter-grid {
  gap: 10px;
}

#pageProductSet .lien-history-search-row label > span,
#pageProductSet .lien-history-filter-grid label > span {
  color: #9eb5ca;
}

#pageProductSet .lien-table-card {
  border-color: #263e56;
  border-radius: 14px;
  background: #0d1724;
}

#pageProductSet .lien-table-title-row {
  min-height: 72px;
  padding: 15px 20px;
  background: linear-gradient(90deg, #101e2e, #0d1724);
}

#pageProductSet .lien-table-title-row h3 {
  letter-spacing: -0.02em;
}

#pageProductSet .lien-table-note {
  color: #7791aa;
}

#pageProductSet .lien-table-toolbar {
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-bottom: 1px solid var(--lien-audit-line);
  border-radius: 0;
  background: #0b1520;
}

#pageProductSet .lien-history-table {
  border-collapse: separate;
  border-spacing: 0 6px;
  padding: 0 10px;
}

#pageProductSet .lien-history-table thead th {
  border-bottom: 0;
  background: transparent;
  color: #7893ad;
  font-size: 10px;
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row) {
  background: #101b29;
  outline: 1px solid transparent;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row):hover {
  background: #132439;
  outline-color: #2e557a;
}

#pageProductSet .lien-history-table tbody tr.lien-selected-history-row {
  background: #152b42;
  outline-color: #4c8ac4;
  box-shadow:
    inset 3px 0 0 #66a9ee,
    0 5px 14px rgba(0, 0, 0, 0.18);
}

#pageProductSet .lien-history-table td {
  border: 0;
  padding: 13px 10px;
  color: #d8e3ed;
}

#pageProductSet .lien-history-table td:first-child {
  border-radius: 9px 0 0 9px;
  color: #a8bdcf;
  font-variant-numeric: tabular-nums;
}

#pageProductSet .lien-history-table td:last-child {
  border-radius: 0 9px 9px 0;
}

#pageProductSet .lien-product-cell-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#pageProductSet .lien-product-cell-heading b {
  min-width: 0;
  flex: 1;
}

#pageProductSet .lien-product-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 21px;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

#pageProductSet .lien-product-status-active {
  border-color: #1f8f69;
  background: rgba(35, 157, 111, 0.15);
  color: #76e3b8;
}

#pageProductSet .lien-product-status-draft {
  border-color: #997332;
  background: rgba(177, 128, 40, 0.14);
  color: #efc978;
}

#pageProductSet .lien-product-status-archived {
  border-color: #7a5a75;
  background: rgba(133, 86, 128, 0.14);
  color: #d8add5;
}

#pageProductSet .lien-product-status-unknown {
  border-color: #3d566d;
  background: #152434;
  color: #9bb0c4;
}

#pageProductSet .lien-pagination {
  background: #0b1520;
  border-color: var(--lien-audit-line);
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  border-color: #355b7d;
  background: linear-gradient(160deg, #101f30, #0b1420 55%);
}

#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-price-card {
  background: rgba(15, 28, 43, 0.86);
  border-color: #294863;
  box-shadow: none;
}

#pageProductSet .lien-platform-row {
  padding: 12px 0;
}

#pageProductSet .lien-history-date-controls {
  display: grid;
  grid-template-columns: minmax(145px, 0.9fr) minmax(130px, 0.8fr);
  gap: 8px;
}

#pageProductSet .lien-history-date-controls input {
  min-width: 0;
}

#pageProductSet .lien-history-date-controls input[hidden] {
  display: none;
}

#pageProductSet .lien-table-title-row {
  display: grid;
  justify-content: initial;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

#pageProductSet .lien-history-activity {
  display: grid;
  grid-template-columns: repeat(12, minmax(18px, 1fr));
  gap: 5px;
  align-items: end;
  min-height: 37px;
}

#pageProductSet .lien-activity-month {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

#pageProductSet .lien-activity-month i {
  display: block;
  width: 100%;
  height: 19px;
  border: 1px solid #284158;
  border-radius: 4px;
  background: #172739;
}

#pageProductSet .lien-activity-month small {
  color: #7590a8;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

#pageProductSet .lien-activity-up i {
  border-color: #1f9170;
  background: #29b994;
  box-shadow: 0 0 10px rgba(41, 185, 148, 0.18);
}

#pageProductSet .lien-activity-down i {
  border-color: #b66d4a;
  background: #e57750;
  box-shadow: 0 0 10px rgba(229, 119, 80, 0.16);
}

#pageProductSet .lien-activity-mixed i {
  border-color: #836cc7;
  background: #977de4;
}

#pageProductSet .lien-table-toolbar .lien-sort-controls {
  display: grid;
  grid-template-columns: 270px 330px minmax(210px, 1fr);
  align-items: end;
  gap: 12px;
  width: min(100%, 900px);
}

#pageProductSet .lien-table-toolbar .lien-sort-controls label {
  min-width: 0;
}

#pageProductSet .lien-table-toolbar .lien-sort-controls .lien-rounded-select {
  min-width: 0;
}

#pageProductSet
  .lien-table-toolbar
  .lien-sort-controls
  .lien-rounded-select-options {
  min-width: 270px;
}

#pageProductSet .lien-table-toolbar .lien-sort-controls small {
  padding-bottom: 11px;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  #pageProductSet .lien-table-title-row {
    grid-template-columns: 1fr;
  }

  #pageProductSet .lien-history-activity {
    max-width: 480px;
  }

  #pageProductSet .lien-table-toolbar .lien-sort-controls {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.25fr);
    width: 100%;
  }

  #pageProductSet .lien-table-toolbar .lien-sort-controls small {
    grid-column: 1 / -1;
    padding: 0;
  }
}

@media (max-width: 680px) {
  #pageProductSet .lien-history-date-controls,
  #pageProductSet .lien-table-toolbar .lien-sort-controls {
    grid-template-columns: 1fr;
  }

  #pageProductSet .lien-table-toolbar .lien-sort-controls small {
    grid-column: auto;
  }

  #pageProductSet .lien-history-activity {
    width: 100%;
    max-width: none;
  }
}

#pageProductSet input[type="date"]::-webkit-calendar-picker-indicator,
#pageProductSet input[type="month"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  filter: invert(78%) sepia(27%) saturate(668%) hue-rotate(168deg)
    brightness(103%) contrast(94%);
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(500px, 0.85fr) minmax(620px, 1.15fr);
  align-items: start;
}

#pageProductSet.lien-has-selected-product .lien-productset-main {
  display: contents;
}

#pageProductSet.lien-has-selected-product .lien-filter-card {
  grid-column: 1 / -1;
}

#pageProductSet.lien-has-selected-product .lien-table-card {
  grid-column: 1;
  min-width: 0;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  grid-column: 2;
  min-width: 0;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  position: sticky;
  z-index: 1;
  top: 16px;
  right: auto;
  bottom: auto;
  width: auto;
  max-height: calc(100vh - 120px);
  margin: 0;
  padding: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

#pageProductSet.lien-has-selected-product .lien-product-info-card,
#pageProductSet.lien-has-selected-product .lien-platform-price-card {
  padding: 22px 24px;
}

#pageProductSet.lien-has-selected-product .lien-detail-card-heading h3 {
  font-size: 23px;
  line-height: 1.35;
}

#pageProductSet.lien-has-selected-product .lien-inline-product {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
}

#pageProductSet.lien-has-selected-product
  .lien-inline-product
  .lien-history-product-image,
#pageProductSet.lien-has-selected-product
  .lien-inline-product
  .lien-history-image-placeholder {
  width: 112px;
  height: 112px;
}

#pageProductSet.lien-has-selected-product .lien-history-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

#pageProductSet.lien-has-selected-product
  .lien-platform-price-card
  .lien-platform-row {
  grid-template-columns: minmax(170px, 1.3fr) 1fr 1fr auto;
}

@media (max-width: 1120px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns: 1fr;
  }

  #pageProductSet.lien-has-selected-product .lien-filter-card,
  #pageProductSet.lien-has-selected-product .lien-table-card,
  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-column: 1;
  }

  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    position: static;
    max-height: none;
  }
}

#pageProductSet .lien-component-details {
  margin-top: 18px;
  border: 1px solid #294863;
  border-radius: 10px;
  background: #0d1926;
  overflow: hidden;
}

#pageProductSet .lien-component-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  color: #dce9f5;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

#pageProductSet .lien-component-details summary::-webkit-details-marker {
  display: none;
}

#pageProductSet .lien-component-details summary::marker {
  content: "";
}

#pageProductSet .lien-component-details summary strong {
  display: block;
  margin: 0;
  line-height: 1.2;
}

#pageProductSet .lien-component-details summary::after {
  content: "⌄";
  color: #79aee1;
  font-size: 16px;
  transition: transform 0.16s ease;
}

#pageProductSet .lien-component-details[open] summary::after {
  transform: rotate(180deg);
}

#pageProductSet .lien-component-details summary span {
  margin-left: auto;
  margin-right: 9px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #19324a;
  color: #9fc8ee;
  font-size: 10px;
}

#pageProductSet .lien-component-list {
  padding: 0 14px 10px;
  border-top: 1px solid #294863;
}

#pageProductSet .lien-rate-wrap {
  display: grid;
  justify-items: start;
  gap: 4px;
}

#pageProductSet .lien-rate-wrap > small {
  margin: 0;
  color: #819ab0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#pageProductSet .lien-demo-toggle {
  margin-top: 10px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #3a668b;
  border-radius: 7px;
  background: #122a40;
  color: #b9dafa;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#pageProductSet .lien-demo-toggle[aria-pressed="true"] {
  border-color: #9477dd;
  background: #211d45;
  color: #d6c9ff;
}

#pageProductSet .lien-platform-price-card .lien-detail-card-heading {
  justify-content: flex-start;
}

#pageProductSet .lien-platform-price-card .lien-platform-row,
#pageProductSet.lien-has-selected-product
  .lien-platform-price-card
  .lien-platform-row {
  grid-template-columns:
    minmax(180px, 1.45fr) minmax(118px, 1fr) minmax(130px, 1fr)
    minmax(88px, 0.72fr);
  gap: 16px;
  align-items: center;
}

#pageProductSet .lien-platform-row > b,
#pageProductSet .lien-platform-row > span {
  min-width: 0;
}

#pageProductSet .lien-platform-row > b {
  overflow-wrap: anywhere;
}

#pageProductSet .lien-platform-row > span:not(.lien-rate-wrap) {
  display: grid;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

#pageProductSet .lien-rate-wrap {
  align-self: center;
}

#pageProductSet .lien-platform-row-empty {
  opacity: 0.62;
}

#pageProductSet .lien-platform-row-empty .lien-rate-position {
  color: #8da2b4;
}

@media (max-width: 720px) {
  #pageProductSet .lien-platform-price-card .lien-platform-row,
  #pageProductSet.lien-has-selected-product
    .lien-platform-price-card
    .lien-platform-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

#pageProductSet .lien-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  margin-bottom: 10px;
  padding: 0 2px;
}

#pageProductSet .lien-page-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

#pageProductSet .lien-page-heading p {
  margin: 5px 0 0;
  font-size: 13px;
}

#pageProductSet .lien-history-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

#pageProductSet .lien-history-sync-line {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 285px;
}

#pageProductSet .lien-history-sync-line small {
  color: #8ea8be;
  font-size: 10px;
  line-height: 1.35;
}

#pageProductSet .lien-sync-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #45d7a1;
  box-shadow: 0 0 0 0 rgba(69, 215, 161, 0.5);
  animation: lien-sync-pulse 2s infinite;
}

@keyframes lien-sync-pulse {
  70% {
    box-shadow: 0 0 0 6px rgba(69, 215, 161, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(69, 215, 161, 0);
  }
}

#pageProductSet .lien-history-store-wrap {
  width: 180px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#pageProductSet .lien-history-store-wrap label {
  display: none;
}

#pageProductSet .lien-history-store-wrap .lien-rounded-select-trigger {
  min-height: 38px;
}

#pageProductSet .lien-demo-toggle {
  width: 180px;
  min-height: 38px;
  margin: 0;
  padding: 0 11px;
  white-space: nowrap;
  border-radius: 8px;
}

#pageProductSet .lien-filter-card {
  margin: 0 0 0;
  padding: 10px 12px;
  border-radius: 14px 14px 0 0;
  box-shadow: none;
}

#pageProductSet .lien-history-search-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin: 0;
}

#pagePriceData .module-find-button,
#pageProductSet .module-find-button {
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 196, 64, 0.48);
  border-radius: 8px;
  background: #211b10;
  color: #ffd978;
  font-size: 12px;
  font-weight: 850;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 150ms ease;
}

#pagePriceData .module-find-button:hover,
#pageProductSet .module-find-button:hover {
  background: #2a2110;
  border-color: rgba(255, 207, 92, 0.78);
  color: #fff0bf;
}

#pageProductSet .lien-history-search-row .lien-history-search > span {
  display: none;
}

#pageProductSet .lien-history-search-row input {
  min-height: 40px;
}

#pageProductSet .lien-history-filters-toggle {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #365d80;
  border-radius: 8px;
  background: #13263a;
  color: #cce3f9;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#pageProductSet .lien-history-filters-toggle::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  vertical-align: -3px;
  background: center / contain no-repeat url("/static/filter_icon.svg");
}

#pageProductSet .lien-history-filter-grid {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #263e56;
}

#pageProductSet .lien-filter-card.lien-filters-open .lien-history-filter-grid {
  display: grid;
}

#pageProductSet .lien-table-card {
  border-radius: 0 0 14px 14px;
}

#pageProductSet .lien-filter-card + .lien-table-card {
  border-top: 1px solid #263e56;
}

@media (max-width: 1050px) {
  #pageProductSet .lien-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  #pageProductSet .lien-history-heading-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  #pageProductSet .lien-history-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #pageProductSet .lien-history-store-wrap {
    width: 100%;
  }

  #pageProductSet .lien-history-sync-line {
    max-width: none;
  }
}

#pageProductSet .lien-history-table th:nth-child(1) {
  width: 12%;
}

#pageProductSet .lien-history-table th:nth-child(2) {
  width: 25%;
}

#pageProductSet .lien-history-table th:nth-child(3) {
  width: 10%;
}

#pageProductSet .lien-history-table th:nth-child(4) {
  width: 14%;
}

#pageProductSet .lien-history-table th:nth-child(5) {
  width: 16%;
}

#pageProductSet .lien-history-table th:nth-child(6) {
  width: 11%;
}

#pageProductSet .lien-history-table th:nth-child(7) {
  width: 12%;
}

#pageProductSet .lien-history-table td[data-label="Status"] {
  white-space: nowrap;
}

#pageProductSet .lien-table-title-row h3,
#pageProductSet .lien-detail-card-heading h3,
#pageProductSet.lien-has-selected-product .lien-detail-card-heading h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

#pageProductSet .lien-component-details {
  margin-top: 14px;
  padding: 0;
}

#pageProductSet .lien-component-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  white-space: nowrap;
}

#pageProductSet .lien-component-details summary strong {
  display: inline;
  line-height: 1;
}

#pageProductSet .lien-component-details summary span {
  margin: 0;
  line-height: 1.3;
}

#pageProductSet .lien-component-details summary::after {
  justify-self: end;
  line-height: 1;
}

#pageProductSet .lien-table-title-row {
  grid-template-columns: minmax(220px, 1fr) auto;
  min-height: 76px;
  padding: 12px 20px;
}

#pageProductSet .lien-table-title-row .lien-table-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#pageProductSet .lien-table-title-row .lien-sort-controls {
  display: grid;
  grid-template-columns: 190px 290px;
  gap: 10px;
}

#pageProductSet .lien-table-title-row .lien-page-size {
  min-width: 112px;
}

#pageProductSet .lien-history-store-wrap select,
#pageProductSet .lien-history-store-wrap .lien-rounded-select-trigger {
  text-align: center;
  text-align-last: center;
}

@media (max-width: 1180px) {
  #pageProductSet .lien-table-title-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  #pageProductSet .lien-table-title-row .lien-table-toolbar,
  #pageProductSet .lien-table-title-row .lien-sort-controls {
    grid-template-columns: 1fr;
    width: 100%;
  }

  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    display: grid;
  }
}

#pageProductSet .lien-productset-workspace {
  max-width: 100%;
  padding-right: 12px;
  overflow: visible;
}

#pageProductSet .lien-filter-card {
  border-radius: 14px;
  margin-bottom: 12px;
}

#pageProductSet .lien-table-card {
  border-radius: 14px;
}

#pageProductSet .lien-filter-card + .lien-table-card {
  border-top: 1px solid #263e56;
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  column-gap: 16px;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
}

@media (max-width: 1120px) {
  #pageProductSet .lien-productset-workspace {
    padding-right: 0;
  }
}

#pageProductSet .lien-table-title-row {
  min-height: 68px;
  align-items: center;
}

#pageProductSet .lien-table-title-row .lien-table-toolbar {
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 5px;
}

#pageProductSet .lien-table-title-row .lien-sort-controls {
  width: auto;
  grid-template-columns: 180px 270px;
  gap: 10px;
}

#pageProductSet .lien-table-title-row .lien-page-size {
  min-width: 100px;
  width: 100px;
}

#pageProductSet .lien-history-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  #pageProductSet .lien-table-title-row {
    grid-template-columns: minmax(190px, 1fr) auto;
  }

  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  #pageProductSet .lien-table-title-row {
    grid-template-columns: 1fr;
  }

  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row) {
  outline: 0;
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row) td {
  background: #101b29;
}

#pageProductSet
  .lien-history-table
  tbody
  tr:not(.lien-empty-row)
  td:first-child {
  border-radius: 10px 0 0 10px;
}

#pageProductSet
  .lien-history-table
  tbody
  tr:not(.lien-empty-row)
  td:last-child {
  border-radius: 0 10px 10px 0;
}

#pageProductSet .lien-history-table tbody tr:not(.lien-empty-row):hover td {
  background: #132439;
}

#pageProductSet .lien-history-table tbody tr.lien-selected-history-row td {
  background: #152b42;
}

#pageProductSet .lien-history-table tbody tr.lien-selected-history-row {
  outline: 0;
  box-shadow:
    inset 3px 0 0 #66a9ee,
    0 5px 14px rgba(0, 0, 0, 0.18);
}

#pageProductSet .lien-history-sync-line {
  min-height: 18px;
  line-height: 1;
}

#pageProductSet .lien-history-sync-line small {
  display: block;
  line-height: 1;
}

#pageProductSet .lien-sync-dot {
  transform: translateY(0);
}

#pageProductSet.lien-has-selected-product .lien-productset-workspace {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.98fr);
}

#pageProductSet.lien-has-selected-product .lien-history-table th,
#pageProductSet.lien-has-selected-product .lien-history-table td {
  padding-left: 8px;
  padding-right: 8px;
}

#pageProductSet .lien-history-filter-grid {
  grid-template-columns:
    minmax(155px, 1fr) minmax(155px, 1fr) minmax(185px, 1fr)
    minmax(145px, 0.7fr) auto;
  align-items: end;
}

#pageProductSet .lien-history-filter-grid .lien-clear-filters {
  min-width: 118px;
  min-height: 38px;
  margin: 0;
}

#pageProductSet .lien-productset-detail-stack,
#pageProductSet .lien-table-scroll,
#pageProductSet .lien-history-search-suggestions {
  scrollbar-width: thin;
  scrollbar-color: #77b9e8 #0c1724;
}

#pageProductSet .lien-productset-detail-stack::-webkit-scrollbar,
#pageProductSet .lien-table-scroll::-webkit-scrollbar,
#pageProductSet .lien-history-search-suggestions::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#pageProductSet .lien-productset-detail-stack::-webkit-scrollbar-track,
#pageProductSet .lien-table-scroll::-webkit-scrollbar-track,
#pageProductSet .lien-history-search-suggestions::-webkit-scrollbar-track {
  background: #0c1724;
  border-radius: 99px;
}

#pageProductSet .lien-productset-detail-stack::-webkit-scrollbar-thumb,
#pageProductSet .lien-table-scroll::-webkit-scrollbar-thumb,
#pageProductSet .lien-history-search-suggestions::-webkit-scrollbar-thumb {
  border: 2px solid #0c1724;
  border-radius: 99px;
  background: #77b9e8;
}

#pageProductSet .lien-productset-detail-stack::-webkit-scrollbar-thumb:hover,
#pageProductSet .lien-table-scroll::-webkit-scrollbar-thumb:hover,
#pageProductSet
  .lien-history-search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #a0d4f4;
}

html,
body {
  scrollbar-width: thin;
  scrollbar-color: #77b9e8 #0c1724;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #0c1724;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  border: 2px solid #0c1724;
  border-radius: 99px;
  background: #77b9e8;
}

#pageProductSet .lien-sync-dot {
  transform: translateY(2px);
}

@media (max-width: 1180px) {
  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

#pageProductSet {
  --lien-panel: #0e1b29;
  --lien-border: #294863;
}

#pageProductSet .lien-table-card,
#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-price-card {
  background: var(--lien-panel);
  border: 1px solid var(--lien-border);
  border-radius: 14px;
  box-shadow: none;
}

#pageProductSet .lien-table-card {
  container-type: inline-size;
}

#pageProductSet .lien-table-title-row {
  background: var(--lien-panel);
}

#pageProductSet .lien-table-scroll {
  overflow: auto;
  max-width: 100%;
}

#pageProductSet .lien-history-table {
  min-width: 880px;
}

#pageProductSet .lien-history-table td {
  overflow-wrap: normal;
}

#pageProductSet .lien-history-table td[data-label="Difference"],
#pageProductSet .lien-history-price-change {
  white-space: nowrap;
}

@container (max-width:1000px) {
  #pageProductSet .lien-table-title-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
  }

  #pageProductSet .lien-table-title-row .lien-sort-controls {
    flex: 1;
    min-width: 0;
    width: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  #pageProductSet .lien-table-title-row .lien-page-size {
    flex: 0 0 90px;
    min-width: 0;
    width: 90px;
  }
}

#pageProductSet .lien-filter-card {
  padding: 14px 24px 14px 16px;
}

#pageProductSet .lien-history-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(145px, 0.8fr) minmax(
      120px,
      0.65fr
    );
  gap: 12px;
}

#pageProductSet .lien-history-filter-grid > * {
  min-width: 0;
}

#pageProductSet .lien-history-filter-grid .lien-rounded-select-trigger,
#pageProductSet .lien-history-filter-grid .lien-clear-filters {
  height: 42px;
  min-height: 42px;
  width: 100%;
  border-radius: 9px;
  box-sizing: border-box;
}

#pageProductSet .lien-sync-dot {
  transform: translateY(3px);
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  scrollbar-color: #77b9e8 #0c1724;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  background: var(--lien-panel);
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar-thumb {
  background: #77b9e8;
  border: 2px solid #0c1724;
}

#pageProductSet.lien-has-selected-product
  .lien-productset-detail-stack::-webkit-scrollbar-track {
  background: #0c1724;
}

#pageProductSet .lien-rounded-select-options {
  scrollbar-color: #77b9e8 #0c1724;
  scrollbar-width: thin;
}

#pageProductSet .lien-component-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
}

#pageProductSet .lien-component-details summary strong {
  margin-right: auto;
}

#pageProductSet .lien-component-details summary span {
  flex: 0 0 auto;
  margin: 0;
}

#pageProductSet .lien-component-details summary::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #79aee1;
  border-bottom: 2px solid #79aee1;
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin: 0 2px 3px;
}

#pageProductSet .lien-component-details[open] summary::after {
  transform: rotate(225deg);
  margin-bottom: 0;
}

#pageProductSet .lien-platform-price-card .lien-platform-row,
#pageProductSet.lien-has-selected-product
  .lien-platform-price-card
  .lien-platform-row {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 80px;
  gap: 12px;
}

#pageProductSet .lien-platform-row > span {
  min-width: 0;
}

#pageProductSet .lien-rate-wrap {
  justify-self: end;
  max-width: 100%;
}

#pageProductSet .lien-rate-position {
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 1120px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#pageProductSet .lien-platform-price-card.lien-platform-comparison-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #0d1723;
  border: 1px solid #22364a;
  border-radius: 18px;
}

#pageProductSet.lien-has-selected-product
  .lien-platform-price-card.lien-platform-comparison-card {
  padding: 0;
}

#pageProductSet .lien-platform-comparison-heading {
  margin: 0;
  padding: 20px 20px 10px;
  border: 0;
}

#pageProductSet .lien-platform-comparison-heading h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #eef3f9;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

#pageProductSet .lien-platform-comparison-heading small {
  display: block;
  margin-top: 6px;
  color: #8798ad;
  font-size: 11px;
  line-height: 1.45;
}

#pageProductSet .lien-platform-title-icon {
  color: #dce8f5;
  font-size: 18px;
  line-height: 1;
}

#pageProductSet .lien-platform-comparison-scroll {
  width: 100%;
  overflow-x: auto;
  padding: 8px 20px 20px;
  box-sizing: border-box;
}

#pageProductSet .lien-platform-comparison-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  table-layout: fixed;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(1),
#pageProductSet .lien-platform-comparison-table td:nth-child(1) {
  width: 31%;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(2),
#pageProductSet .lien-platform-comparison-table td:nth-child(2) {
  width: 22%;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(3),
#pageProductSet .lien-platform-comparison-table td:nth-child(3) {
  width: 27%;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(4),
#pageProductSet .lien-platform-comparison-table td:nth-child(4) {
  width: 20%;
}

#pageProductSet .lien-platform-comparison-table th {
  padding: 11px 10px;
  border-bottom: 1px solid #203247;
  color: #7f91a8;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

#pageProductSet .lien-platform-comparison-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #1d3044;
  color: #e7edf7;
  font-size: 11px;
  vertical-align: middle;
}

#pageProductSet .lien-platform-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

#pageProductSet .lien-platform-comparison-row-own {
  background: #0f222a;
}

#pageProductSet .lien-platform-comparison-row-empty .lien-platform-price {
  color: #53657a;
}

#pageProductSet .lien-platform-store {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #e9eef6;
  font-size: 12px;
  font-weight: 800;
}

#pageProductSet .lien-platform-store > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pageProductSet .lien-platform-store-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid #2d435a;
  border-radius: 9px;
  background: #0b1723;
  color: #9eafc1;
  font-size: 11px;
  font-weight: 900;
  box-sizing: border-box;
}

#pageProductSet .lien-platform-store-mark-shopify {
  border-color: #217c67;
  background: #0d2b28;
  color: #59e2b1;
}

#pageProductSet .lien-platform-store-mark-amazon {
  color: #f0b956;
}

#pageProductSet .lien-platform-store-mark-ebay {
  color: #73a8ee;
}

#pageProductSet .lien-platform-store-mark-neshome {
  color: #b58df2;
}

#pageProductSet .lien-platform-store-mark-bnq {
  color: #ed7680;
}

#pageProductSet .lien-platform-price {
  color: #e9f0f8;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#pageProductSet .lien-platform-rate-cell {
  white-space: nowrap;
}

#pageProductSet .lien-platform-rate-cell .lien-rate-position {
  min-width: 126px;
}

#pageProductSet .lien-platform-rate-cell .lien-rate-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  #pageProductSet .lien-platform-comparison-heading {
    padding: 18px 16px 8px;
  }

  #pageProductSet .lien-platform-comparison-scroll {
    padding: 8px 16px 16px;
  }
}

#pagePriceData .lien-pricedata-summary-mount {
  width: 100%;
  margin: 12px 0 18px;
}

#pagePriceData .lien-pricedata-summary-mount:empty {
  display: none;
}

#pagePriceData .lien-pricedata-summary-mount .platform-summary-strip {
  width: 100%;
  margin: 0;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#pagePriceData .lien-pricedata-summary-mount .platform-summary-card {
  min-width: 0;
  min-height: 104px;
}

#pagePriceData .lien-page-heading + .lien-pricedata-summary-mount {
  margin-top: 10px;
}

@media (max-width: 1280px) {
  #pagePriceData .lien-pricedata-summary-mount .platform-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #pagePriceData .lien-pricedata-summary-mount .platform-summary-strip {
    grid-template-columns: 1fr;
  }
}

#pagePriceData .lien-export-actions {
  align-items: center;
}

#pagePriceData .lien-pricedata-sync-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  max-width: 310px;
  white-space: nowrap;
}

#pagePriceData .lien-pricedata-sync-line .lien-shopify-sync-status {
  display: block;
  margin: 0;
  color: #8ea8be;
  font-size: 10px;
  line-height: 1.35;
}

#pagePriceData .lien-pricedata-sync-line .lien-sync-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #45d7a1;
  box-shadow: 0 0 0 0 rgba(69, 215, 161, 0.5);
  animation: lien-sync-pulse 2s infinite;
}

@media (max-width: 980px) {
  #pagePriceData .lien-pricedata-sync-line {
    width: 100%;
    max-width: none;
    min-height: auto;
    white-space: normal;
  }
}

#pagePriceData .lien-data-reason {
  display: block;
  max-width: 190px;
  white-space: normal;
  overflow-wrap: normal;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  color: #9ab0c5;
}

#pagePriceData .lien-sort-controls label[hidden] {
  display: none !important;
}

#pagePriceData .lien-datacenter-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

#pagePriceData .lien-datacenter-search-field input {
  width: 100%;
  box-sizing: border-box;
}

#pagePriceData #lienPriceDataSuggestions[hidden] {
  display: none;
}

#pagePriceData #lienPriceDataSuggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 6px;
  background: #0e1b29;
  border: 1px solid #2b4b65;
  border-radius: 12px;
  box-shadow: 0 12px 28px #0006;
}

#pagePriceData #lienPriceDataSuggestions button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #dce9f6;
  font: inherit;
  font-size: 12px;
  white-space: normal;
}

#pagePriceData #lienPriceDataSuggestions button:hover {
  background: #1b344b;
}

#pagePriceData #lienPriceDataTable {
  table-layout: fixed;
  min-width: 1500px;
}

#pagePriceData #lienPriceDataTable tbody tr {
  height: 48px;
}

#pagePriceData #lienPriceDataTable td {
  box-sizing: border-box;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pagePriceData #lienPriceDataTable th {
  padding: 12px 11px;
}

#pagePriceData #lienPriceDataTable .lien-data-reason {
  max-width: none;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pagePriceData .lien-datacenter-rate {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

#pagePriceData .lien-datacenter-rate .lien-rate-position {
  min-width: 0;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
}

#pagePriceData .lien-datacenter-rate .lien-rate-position.lower {
  font-size: 13px;
  font-weight: 700;
}

#pagePriceData .lien-datacenter-rate .lien-rate-amount {
  color: inherit;
  font-size: inherit;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

#pagePriceData .lien-table-toolbar {
  flex-wrap: wrap;
}

#pagePriceData .lien-datacenter-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #203247;
}

#pagePriceData .lien-datacenter-base > span {
  color: #9eb2c6;
  font-size: 12px;
  font-weight: 600;
  margin-right: 4px;
}

#pagePriceData .lien-datacenter-base button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #2b4b65;
  border-radius: 9px;
  background: #0d1926;
  color: #dbe7f3;
  font-size: 12px;
  font-weight: 600;
}

#pagePriceData .lien-datacenter-base button.active,
#pagePriceData .lien-datacenter-base button[aria-pressed="true"] {
  background: #19334b;
  border-color: #7ebce9;
  color: #b9e4ff;
}

#pagePriceData #lienDataBaseCustom {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9eb2c6;
  font-size: 11px;
}

#pagePriceData #lienDataBaseCustom[hidden] {
  display: none;
}

#pagePriceData #lienDataBaseSlider {
  width: 180px;
  accent-color: #7ebce9;
  padding: 0;
  height: 20px;
}

#pagePriceData .lien-base-switch {
  display: grid;
  grid-template-columns: minmax(0, 320px) 44px;
  gap: 14px;
  align-items: center;
}

#pagePriceData .lien-base-presets {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#pagePriceData .lien-base-switch button {
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid #2b3a4e;
  color: #aab6c5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  transition:
    border-color 0.2s,
    color 0.2s;
}

#pagePriceData .lien-base-switch #lienDataBaseLow.active {
  color: #ff8292;
  border-color: #ff8292;
  background: transparent;
  box-shadow: none;
}

#pagePriceData .lien-base-switch #lienDataBaseHigh.active {
  color: #65eebe;
  border-color: #65eebe;
  background: transparent;
  box-shadow: none;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pagePriceData #lienDataBaseAdjust svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust:hover,
#pagePriceData .lien-base-switch #lienDataBaseAdjust[aria-pressed="true"] {
  color: #a9d9ff;
  border-color: #7ebce9;
  background: transparent;
}

#pagePriceData .lien-base-switch.adjust-mode .lien-base-presets {
  visibility: hidden;
  pointer-events: none;
}

#pagePriceData .lien-base-switch #lienDataBaseCustom {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #42647d;
  border-radius: 12px;
  background: transparent;
}

#pagePriceData .lien-base-slider-labels {
  position: absolute;
  top: 7px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  color: #8e9baf;
  font-size: 9px;
  font-weight: 700;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider {
  appearance: none;
  position: absolute;
  left: 16px;
  bottom: 10px;
  width: calc(100% - 32px);
  height: 2px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #54748d;
  cursor: pointer;
}

#pagePriceData #lienDataBaseSlider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--lien-base-thumb, #ff687a);
  background: #0b141e;
  box-shadow: 0 0 0 3px #0b141e;
}

#pagePriceData #lienDataBaseSlider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--lien-base-thumb, #ff687a);
  background: #0b141e;
}

#pagePriceData .lien-base-ticks {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 7px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

#pagePriceData .lien-base-ticks i {
  height: 8px;
  border-left: 1px solid #54748d;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store
  > td {
  background: #172e43;
  border-top: 1px solid #47799e;
  border-bottom: 1px solid #47799e;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store
  > td:first-child {
  border-radius: 10px 0 0 10px;
  box-shadow: none;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store
  > td:last-child {
  border-radius: 0 10px 10px 0;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store
  .lien-platform-store {
  color: #e4f3ff;
}

#pagePriceData .lien-base-slider-labels span {
  transition: color 0.12s ease;
}

#pageProductSet .lien-panel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

#pageProductSet .lien-panel-controls > span {
  color: #8ea6bd;
  font-size: 11px;
  margin-right: 4px;
}

#pageProductSet .lien-panel-controls button,
#pageProductSet .lien-panel-hide {
  background: transparent;
  border: 1px solid #2b4b65;
  color: #9eb2c6;
  border-radius: 8px;
  padding: 7px 11px;
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

#pageProductSet .lien-panel-controls button[aria-pressed="true"] {
  color: #c0e5ff;
  border-color: #6095bb;
}

#pageProductSet .lien-panel-hidden {
  display: none !important;
}

#pageProductSet .lien-panel-divider {
  display: none;
}

#pageProductSet .lien-table-card,
#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-comparison-card {
  resize: vertical;
  overflow: auto;
  min-height: 160px;
  max-width: 100%;
  box-sizing: border-box;
}

#pageProductSet .lien-table-card {
  min-height: 240px;
}

#pageProductSet .lien-platform-comparison-heading .lien-panel-hide {
  align-self: start;
}

#pageProductSet .lien-table-title-row .lien-panel-hide {
  justify-self: end;
}

@media (min-width: 901px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns:
      minmax(0, calc(var(--lien-history-width, 54%) - 14px))
      12px minmax(0, 1fr);
    gap: 8px;
  }

  #pageProductSet.lien-has-selected-product .lien-productset-main {
    display: contents;
  }

  #pageProductSet.lien-has-selected-product .lien-table-card {
    grid-column: 1;
    grid-row: 1;
  }

  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-column: 3;
    grid-row: 1;
  }

  #pageProductSet.lien-has-selected-product .lien-panel-divider {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    min-height: 260px;
    cursor: col-resize;
    touch-action: none;
    border-radius: 8px;
    position: relative;
  }

  #pageProductSet .lien-panel-divider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    width: 2px;
    border-radius: 3px;
    background: #2b4b65;
  }

  #pageProductSet .lien-panel-divider:hover::after,
  #pageProductSet .lien-panel-divider.dragging::after {
    background: #8acbfa;
  }

  #pageProductSet.lien-history-hidden .lien-productset-workspace,
  #pageProductSet.lien-details-hidden .lien-productset-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  #pageProductSet.lien-history-hidden .lien-productset-detail-stack {
    grid-column: 1;
  }

  #pageProductSet.lien-history-hidden .lien-panel-divider,
  #pageProductSet.lien-details-hidden .lien-panel-divider {
    display: none;
  }

  #pageProductSet.lien-details-hidden .lien-productset-detail-stack {
    display: none;
  }
}

#pageProductSet .lien-history-filter-grid {
  grid-template-columns:
    repeat(3, minmax(140px, 1fr)) minmax(300px, 1.5fr)
    130px;
  gap: 14px;
  align-items: end;
}

#pageProductSet .lien-history-date-controls {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

#pageProductSet .lien-history-date-controls > input {
  width: 100%;
  box-sizing: border-box;
}

#pageProductSet #lienHistoryDateRange {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#pageProductSet #lienHistoryDateRange[hidden] {
  display: none;
}

#pageProductSet #lienHistoryDateRange input {
  width: 0;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

#pageProductSet #lienHistoryDateRange span {
  color: #8ea6bd;
  font-size: 11px;
}

@media (max-width: 1200px) {
  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  #pageProductSet .lien-history-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

#pagePriceData #lienPriceDataTable th:last-child {
  white-space: normal;
}

#pagePriceData .lien-price-difference {
  font-weight: 700;
  font-size: 11px;
}

#pagePriceData .lien-price-difference.increase {
  color: #3de1a1;
}

#pagePriceData .lien-price-difference.decrease {
  color: #ff6677;
}

#pagePriceData .lien-price-difference.equal {
  color: #ffbf4a;
}

#pagePriceData .lien-base-switch {
  grid-template-columns: minmax(0, 440px) 44px;
}

#pagePriceData .lien-base-presets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#pagePriceData .lien-base-switch #lienDataBaseMedium.active {
  color: #ffd65b;
  border-color: #ffcd48;
  background: linear-gradient(180deg, #ffc12d2b, #5b400a21);
}

#pagePriceData .lien-base-switch #lienDataBaseLow.active {
  background: linear-gradient(180deg, #ff455b2b, #57162221);
}

#pagePriceData .lien-base-switch #lienDataBaseHigh.active {
  background: linear-gradient(180deg, #25c38929, #12503c21);
}

#pagePriceData .lien-base-switch #lienDataBaseCustom {
  border-color: #ffcd4880;
  background: linear-gradient(180deg, #ffc83c12, #0b141ef2);
}

#pagePriceData .lien-base-switch #lienDataBaseSlider {
  height: 5px;
  background: linear-gradient(90deg, #ff6677 0%, #ffc94f 50%, #3de1a1 100%);
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #09111b;
  background: var(--lien-base-thumb, #ff687a);
  box-shadow: 0 0 0 2px var(--lien-base-thumb, #ff687a);
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #09111b;
  background: var(--lien-base-thumb, #ff687a);
  box-shadow: 0 0 0 2px var(--lien-base-thumb, #ff687a);
}

#pagePriceData .lien-base-ticks {
  display: none;
}

#pageProductSet .lien-panel-controls[hidden],
#pageProductSet .lien-panel-controls button[hidden],
#pageProductSet #lienHistoryDetailClose[hidden] {
  display: none !important;
}

#pageProductSet .lien-table-title-row,
#pageProductSet .lien-detail-card-heading {
  position: relative;
}

#pageProductSet .lien-table-title-row {
  padding-top: 42px;
}

#pageProductSet .lien-detail-card-heading {
  padding-right: 106px;
}

#pageProductSet .lien-window-actions {
  position: absolute;
  right: 10px;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

#pageProductSet .lien-window-actions button {
  width: 28px;
  height: 28px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #91b1c9;
  background: transparent;
  cursor: pointer;
}

#pageProductSet .lien-window-actions button:hover {
  background: #1b3349;
  border-color: #365a76;
  color: #d5efff;
}

#pageProductSet .lien-window-actions button:last-child:hover {
  background: #482432;
  color: #ff9aaa;
  border-color: #925063;
}

#pageProductSet .lien-window-actions svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
}

#pageProductSet .lien-panel-minimized {
  height: auto !important;
  min-height: 0 !important;
  resize: none;
}

#pageProductSet
  .lien-panel-minimized
  > :not(.lien-table-title-row):not(.lien-detail-card-heading):not(
    .lien-window-actions
  ) {
  display: none !important;
}

#pageProductSet .lien-panel-minimized .lien-table-toolbar {
  display: none !important;
}

#pageProductSet .lien-panel-maximized {
  position: fixed !important;
  inset: 24px !important;
  width: auto !important;
  height: calc(100vh - 48px) !important;
  max-height: none !important;
  z-index: 1000 !important;
  resize: none;
  box-shadow: 0 0 0 100vmax #050a12b8;
}

#pageProductSet .lien-panel-maximized .lien-table-scroll {
  max-height: none;
}

#pageProductSet .lien-history-frozen-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #080e16;
  padding-bottom: 12px;
}

#pageProductSet .lien-history-frozen-header .lien-page-heading {
  margin-bottom: 16px;
}

#pageProductSet .lien-table-card,
#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-comparison-card {
  position: relative;
  padding: 46px 20px 20px !important;
}

#pageProductSet .lien-window-actions {
  top: 10px;
  right: 12px;
}

#pageProductSet .lien-table-title-row {
  padding: 0 0 14px !important;
}

#pageProductSet .lien-detail-card-heading {
  padding: 0 0 14px !important;
}

#pageProductSet .lien-panel-minimized > .lien-window-actions {
  display: flex !important;
}

#pageProductSet .lien-panel-maximized {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: calc(100vh - var(--lien-frozen-height, 220px) - 40px) !important;
  min-height: 240px !important;
  max-height: none !important;
  z-index: 1 !important;
  box-shadow: none !important;
  overflow: auto !important;
}

#pageProductSet .lien-productset-workspace:has(.lien-panel-maximized) {
  grid-template-columns: minmax(0, 1fr) !important;
}

#pageProductSet
  .lien-productset-workspace:has(.lien-panel-maximized)
  .lien-panel-divider {
  display: none !important;
}

#pageProductSet
  .lien-productset-workspace:has(.lien-table-card.lien-panel-maximized)
  .lien-productset-detail-stack {
  display: none !important;
}

#pageProductSet
  .lien-productset-workspace:has(
    .lien-productset-detail-stack .lien-panel-maximized
  )
  .lien-productset-main {
  display: none !important;
}

#pageProductSet
  .lien-productset-workspace:has(
    .lien-productset-detail-stack .lien-panel-maximized
  )
  .lien-productset-detail-stack {
  grid-column: 1 !important;
  position: static !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

#pageProductSet
  .lien-productset-detail-stack:has(.lien-panel-maximized)
  > .card:not(.lien-panel-maximized) {
  display: none !important;
}

#pageProductSet .lien-productset-detail-stack {
  min-width: 0;
}

#pageProductSet .lien-platform-comparison-scroll {
  overflow-x: auto !important;
  max-width: 100%;
}

#pageProductSet .lien-platform-comparison-table {
  min-width: 620px;
}

#pageProductSet .lien-detail-card-heading h3 {
  overflow-wrap: anywhere;
}

#pagePriceData {
  background: #080e16;
}

#pagePriceData .card {
  background: #0d1620;
  border: 1px solid #243445;
  border-radius: 12px;
  box-shadow: none;
}

#pagePriceData .lien-page-heading {
  margin: 0 0 16px;
  align-items: start;
}

#pagePriceData .lien-page-heading p {
  margin: 6px 0;
  font-size: 12px;
  display: inline-block;
}

#pagePriceData .lien-pricedata-sync-line {
  display: inline-flex;
  margin-left: 12px;
  align-items: center;
  gap: 6px;
}

#pagePriceData .lien-shopify-sync-status {
  margin: 0;
  font-size: 11px;
  color: #8fa5ba;
}

#pagePriceData .lien-sync-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
  animation: none;
}

#pagePriceData .lien-export-actions {
  gap: 0;
}

#pagePriceData .lien-export-menu {
  position: relative;
}

#pagePriceData .lien-export-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid #34506b;
  border-radius: 8px;
  padding: 11px 16px;
  color: #c9dcec;
  font-size: 12px;
}

#pagePriceData .lien-export-menu summary::-webkit-details-marker {
  display: none;
}

#pagePriceData .lien-export-formats {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  width: 150px;
  padding: 6px;
  border: 1px solid #34506b;
  border-radius: 8px;
  background: #101d2b;
}

#pagePriceData .lien-export-formats #lienPriceDataCsv,
#pagePriceData .lien-export-formats #lienPriceDataXlsx {
  width: 100%;
  height: 36px;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #c9dcec;
  text-align: left;
  font: inherit;
  font-size: 12px;
}

#pagePriceData .lien-export-formats button:hover {
  background: #17365a !important;
}

#pagePriceData #lienPriceDataSummaryMount {
  margin: 0 0 16px;
}

#pagePriceData #lienPriceDataSummaryMount .platform-summary-strip {
  display: none !important;
}

#pagePriceData .lien-compact-status {
  min-height: 58px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  border: 1px solid #243445;
  border-radius: 12px;
  background: #0d1620;
  padding: 8px 12px;
}

#pagePriceData .lien-status-store {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 170px;
  min-width: 0;
  font-size: 12px;
  padding: 0 12px;
  border-right: 1px solid #243445;
}

#pagePriceData .lien-status-store small {
  font-size: 10px;
  color: #8296aa;
  white-space: nowrap;
}

#pagePriceData .lien-status-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 700;
}

#pagePriceData .lien-status-mark.amazon {
  color: #ffbd4a;
}

#pagePriceData .lien-status-mark.ebay {
  color: #7db5ff;
}

#pagePriceData .lien-status-mark.neshome {
  color: #b792ff;
}

#pagePriceData .lien-status-mark.bnq {
  color: #ff8fae;
}

#pagePriceData .lien-status-source {
  font-size: 11px;
  color: #a5b9ca;
  padding: 0 12px;
  white-space: nowrap;
}

#pagePriceData .lien-status-source span {
  color: #3de1a1;
  margin-right: 6px;
}

#pagePriceData .lien-filter-card {
  padding: 12px;
  margin-bottom: 16px;
}

#pagePriceData .lien-datacenter-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

#pagePriceData .lien-datacenter-search-field {
  flex: 1;
  min-width: 180px;
}

#pagePriceData #lienPriceDataParentSku {
  height: 44px;
  min-height: 44px;
  font-size: 13px;
  border-radius: 8px;
  padding: 0 12px;
}

#pagePriceData .lien-datacenter-store {
  width: 180px;
  flex: 0 0 180px;
  margin: 0;
}

#pagePriceData .lien-store-select-trigger {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border-radius: 8px;
}

#pagePriceData .lien-inline-rate {
  width: 150px;
  flex: 0 0 150px;
}

#pagePriceData .lien-inline-rate > span {
  display: none;
}

#pagePriceData .lien-inline-rate .lien-rounded-select-trigger {
  height: 44px;
  min-height: 44px;
  border-radius: 8px;
}

#pagePriceData #lienPriceDataClear {
  min-width: 0;
  width: auto;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  color: #91b6d5;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataFiltersToggle[hidden] {
  display: none;
}

#pagePriceData #lienDataCentreChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

#pagePriceData #lienDataCentreChips[hidden] {
  display: none;
}

#pagePriceData #lienDataCentreChips button {
  border: 1px solid #34506b;
  border-radius: 6px;
  padding: 4px 8px;
  background: #132334;
  color: #b9d3e8;
  font: inherit;
  font-size: 11px;
}

#pagePriceData .lien-table-card {
  padding: 16px;
}

#pagePriceData .lien-table-title-row {
  padding: 0 0 12px;
  min-height: 0;
}

#pagePriceData .lien-table-title-row h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

#pagePriceData .lien-table-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  margin: 0 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 48px;
}

#pagePriceData .lien-datacenter-base {
  flex-basis: auto;
  flex-wrap: nowrap;
  border: 0;
  padding: 0;
  gap: 10px;
}

#pagePriceData .lien-base-switch {
  grid-template-columns: minmax(0, 270px) 36px;
  gap: 8px;
}

#pagePriceData .lien-base-presets {
  gap: 0;
  border: 1px solid #34506b;
  border-radius: 8px;
  overflow: hidden;
}

#pagePriceData .lien-base-switch .lien-base-presets button {
  height: 36px;
  border: 0;
  border-right: 1px solid #34506b;
  border-radius: 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: #9eb2c6;
  box-shadow: none;
}

#pagePriceData .lien-base-presets button:last-child {
  border-right: 0;
}

#pagePriceData .lien-base-switch .lien-base-presets button.active {
  color: #d9eaff !important;
  background: #17365a !important;
  box-shadow: inset 0 0 0 1px #398bff !important;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  color: #91b6d5;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust[aria-pressed="true"] {
  border-color: #398bff;
  color: #bddcff;
  background: #17365a;
}

#pagePriceData .lien-base-switch #lienDataBaseCustom {
  height: 36px;
  border-color: #34506b;
  border-radius: 8px;
  background: transparent;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider {
  background: #5b85ab;
  height: 3px;
  bottom: 7px;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-webkit-slider-thumb {
  background: #8bc1f4;
  box-shadow: none;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-moz-range-thumb {
  background: #8bc1f4;
  box-shadow: none;
}

#pagePriceData .lien-sort-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

#pagePriceData .lien-sort-controls > label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#pagePriceData .lien-sort-controls > label > span {
  font-size: 11px;
  margin: 0;
}

#pagePriceData .lien-sort-controls .lien-rounded-select-trigger {
  min-width: 165px;
  height: 36px;
  min-height: 36px;
  border-radius: 8px;
  font-size: 12px;
}

#pagePriceData .lien-table-scroll {
  max-height: calc(100vh - 380px);
  min-height: 200px;
  overflow: auto;
}

#pagePriceData #lienPriceDataTable {
  min-width: 1250px;
}

#pagePriceData #lienPriceDataTable col:nth-child(1) {
  width: 44px !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(2) {
  width: 135px !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(3) {
  width: 240px !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(4) {
  width: 140px !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(n + 5) {
  width: 120px !important;
}

#pagePriceData #lienPriceDataTable col:last-child {
  width: 180px !important;
}

#pagePriceData #lienPriceDataTable th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #101c29;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #92a8bb;
  padding: 12px 10px;
}

#pagePriceData #lienPriceDataTable th:nth-child(n + 5) {
  text-align: right;
}

#pagePriceData #lienPriceDataTable td {
  padding: 6px 10px;
  border-bottom: 0;
  font-variant-numeric: tabular-nums;
}

#pagePriceData #lienPriceDataTable td[data-column="2"] {
  font-weight: 600;
}

#pagePriceData #lienPriceDataTable td[data-column="3"] {
  padding-left: 16px;
  color: #91a6ba;
}

#pagePriceData #lienPriceDataTable td[data-column="4"],
#pagePriceData #lienPriceDataTable td[data-column="5"],
#pagePriceData #lienPriceDataTable td[data-column="6"],
#pagePriceData #lienPriceDataTable td[data-column="7"],
#pagePriceData #lienPriceDataTable td[data-column="8"],
#pagePriceData #lienPriceDataTable td[data-column="9"] {
  text-align: right;
}

#pagePriceData #lienPriceDataTable tr.lien-child-row {
  height: 32px;
}

#pagePriceData #lienPriceDataTable tr.lien-single-row {
  height: 54px;
}

#pagePriceData #lienPriceDataTable tr.lien-group-end td,
#pagePriceData #lienPriceDataTable td[rowspan] {
  border-bottom: 1px solid #243445;
}

#pagePriceData #lienPriceDataTable tbody tr:hover {
  background: rgba(130, 170, 210, 0.04);
}

#pagePriceData #lienPriceDataTable .lien-sort-primary {
  background: #13283c;
  box-shadow: none;
}

#pagePriceData #lienPriceDataTable .lien-rate-position {
  justify-content: flex-end;
}

#pagePriceData .lien-pagination {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0 0;
  margin-top: 0;
}

#pagePriceData .lien-pagination > small {
  margin-right: auto;
}

#pagePriceData .lien-pagination .lien-page-size {
  display: flex;
  align-items: center;
  gap: 8px;
}

#pagePriceData .lien-page-size .lien-rounded-select-trigger {
  min-width: 70px;
  width: 70px;
  height: 36px;
  min-height: 36px;
  border-radius: 8px;
}

#pagePriceData .lien-pagination button {
  box-shadow: none;
  background: transparent;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  #pagePriceData .lien-status-store {
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 8px;
  }

  #pagePriceData .lien-table-toolbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 850px) {
  #pagePriceData .lien-datacenter-search-row {
    flex-wrap: wrap;
  }

  #pagePriceData .lien-datacenter-search-field {
    flex-basis: 100%;
  }

  #pagePriceData .lien-compact-status {
    flex-wrap: wrap;
    gap: 12px;
  }

  #pagePriceData .lien-status-store {
    flex: 1 1 35%;
  }

  #pagePriceData .lien-pagination {
    flex-wrap: wrap;
  }
}

#pagePriceData .lien-base-switch {
  grid-template-columns: minmax(0, 342px) 36px;
  gap: 10px;
}

#pagePriceData .lien-base-presets {
  padding: 3px;
  gap: 3px;
  border: 1px solid #2a4055;
  border-radius: 9px;
  background: #0a1420;
  overflow: visible;
}

#pagePriceData .lien-base-switch .lien-base-presets button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 32px;
  padding: 0 12px;
  white-space: nowrap;
  line-height: 1;
  border: 0 !important;
  border-radius: 6px;
  background: transparent !important;
  color: #92a8bd;
  box-shadow: none !important;
  transform: none !important;
  outline-offset: 2px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

#pagePriceData .lien-base-switch .lien-base-presets button:not(.active):hover {
  background: #152536 !important;
  color: #c7dced !important;
}

#pagePriceData .lien-base-switch .lien-base-presets button.active,
#pagePriceData .lien-base-switch .lien-base-presets button.active:hover {
  color: #dcecff !important;
  background: #17365a !important;
  box-shadow: none !important;
}

#pagePriceData .lien-base-switch .lien-base-presets button::before,
#pagePriceData .lien-base-switch .lien-base-presets button::after {
  display: none !important;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust {
  border: 1px solid #2a4055;
  background: transparent;
  color: #8facbf;
  box-shadow: none;
  transform: none;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust:hover {
  color: #c7dced;
  border-color: #486b8a;
  background: #152536;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseLow {
  color: #e99ca6;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseMedium {
  color: #d9bf82;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseHigh {
  color: #88cdbd;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseLow.active,
#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseLow:hover {
  color: #ffb1bd !important;
  background: #39202b !important;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseMedium.active,
#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseMedium:hover {
  color: #f7d98e !important;
  background: #332d1e !important;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseHigh.active,
#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseHigh:hover {
  color: #94e6d2 !important;
  background: #17352f !important;
}

#pagePriceData .lien-base-switch #lienDataBaseCustom {
  background: linear-gradient(
    115deg,
    rgba(255, 104, 122, 0.09),
    rgba(255, 201, 79, 0.06) 50%,
    rgba(54, 224, 201, 0.09)
  );
  border-color: #4b6177;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider {
  background: linear-gradient(90deg, #ef8192, #e8c77c 50%, #73d8c4);
  height: 4px;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-webkit-slider-thumb {
  background: var(--lien-base-thumb, #ef8192);
  box-shadow: 0 0 0 2px #9abbd333;
  transition: box-shadow 0.18s ease;
}

#pagePriceData
  .lien-base-switch
  #lienDataBaseSlider:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px #9abbd326;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider::-moz-range-thumb {
  background: var(--lien-base-thumb, #ef8192);
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust {
  background: linear-gradient(135deg, #192e44, #1d2b38);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust svg {
  transition: transform 0.25s ease;
}

#pagePriceData .lien-base-switch #lienDataBaseAdjust:hover svg {
  transform: rotate(12deg);
}

#pagePriceData .lien-status-mark.amazon {
  background: #ffbd4a0d;
}

#pagePriceData .lien-status-mark.ebay {
  background: #7db5ff0d;
}

#pagePriceData .lien-status-mark.neshome {
  background: #b792ff0d;
}

#pagePriceData .lien-status-mark.bnq {
  background: #ff8fae0d;
}

#pagePriceData .lien-status-store {
  border-radius: 8px;
  transition: background-color 0.2s ease;
  padding-top: 6px;
  padding-bottom: 6px;
}

#pagePriceData .lien-status-store:hover {
  background: #17283a;
}

#pagePriceData .lien-status-mark {
  transition: transform 0.2s ease;
}

#pagePriceData .lien-status-store:hover .lien-status-mark {
  transform: translateY(-2px);
}

#pagePriceData .lien-export-menu summary,
#pagePriceData .lien-store-select-trigger,
#pagePriceData .lien-rounded-select-trigger {
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

#pagePriceData .lien-export-menu summary:hover,
#pagePriceData .lien-store-select-trigger:hover,
#pagePriceData .lien-rounded-select-trigger:hover {
  border-color: #659bd0;
  background: #14283c;
  color: #d2eaff;
}

#pagePriceData .lien-export-menu summary {
  background: #13283e;
  border-color: #3e6388;
}

#pagePriceData .lien-base-presets button {
  position: relative;
  overflow: hidden;
}

#pagePriceData .lien-base-presets button:hover {
  animation: lien-base-highlight 0.22s ease-out;
}

#pagePriceData #lienPriceDataTable tbody tr {
  transition: background-color 0.18s ease;
}

#pagePriceData #lienPriceDataTable tbody tr:hover {
  background: rgba(111, 171, 225, 0.065);
}

#pagePriceData .lien-table-title-row h3 {
  color: #d1e5f8;
}

#pagePriceData #lienDataCentreChips button {
  transition:
    background-color 0.18s,
    border-color 0.18s;
}

#pagePriceData #lienDataCentreChips button:hover {
  background: #1c3a54;
  border-color: #74a6ce;
}

@keyframes lien-base-highlight {
  from {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.12);
  }

  to {
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pagePriceData *,
  #pagePriceData *::before,
  #pagePriceData *::after {
    animation: none !important;
    transition: none !important;
  }
}

#pagePriceData .lien-unified-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  margin-left: auto;
}

#pagePriceData .lien-price-status {
  width: 205px;
  min-width: 160px;
}

#pagePriceData .lien-price-status .lien-rounded-select-trigger {
  height: 44px;
  border-radius: 8px;
}

#pagePriceData .lien-datacenter-search-field {
  width: 100%;
}

#pagePriceData .lien-status-store {
  cursor: default;
}

#pagePriceData .lien-status-store small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}

#pagePriceData .lien-parent-name {
  display: block;
}

#pagePriceData .lien-view-product {
  display: block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 10px;
  color: #85b7df;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.15s;
}

#pagePriceData tr:hover .lien-view-product,
#pagePriceData .lien-view-product:focus {
  opacity: 1;
}

#pagePriceData .lien-variance-track {
  display: block;
  width: 100%;
  max-width: 110px;
  height: 3px;
  margin: 7px 0 0 auto;
  background: #233443;
  border-radius: 3px;
  overflow: hidden;
}

#pagePriceData .lien-variance-track i {
  display: block;
  height: 100%;
  background: currentColor;
  border-radius: 3px;
}

#pagePriceData #lienDataProductDrawer {
  position: fixed;
  inset: 16px 16px 16px auto;
  margin: 0;
  width: min(460px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  max-height: none;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #3c5c77;
  border-radius: 12px;
  background: #0e1b29;
  color: #d8e6f2;
  overflow: auto;
}

#pagePriceData #lienDataProductDrawer::backdrop {
  background: #04091099;
}

#pagePriceData .lien-drawer-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #9ebbd1;
  font-size: 24px;
  cursor: pointer;
}

#pagePriceData .lien-drawer-content h3 {
  font-size: 20px;
  margin: 12px 0;
}

#pagePriceData .lien-drawer-content small,
#pagePriceData .lien-drawer-sku {
  color: #8fb4ce;
  font-size: 12px;
}

#pagePriceData .lien-drawer-content dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 12px;
  padding: 16px 0;
  border-block: 1px solid #294157;
}

#pagePriceData .lien-drawer-content dt {
  color: #90a8ba;
}

#pagePriceData .lien-drawer-content dd {
  margin: 0;
  overflow-wrap: anywhere;
}

#pagePriceData .lien-drawer-content ul {
  list-style: none;
  padding: 0;
}

#pagePriceData .lien-drawer-content li {
  padding: 10px 0;
  border-bottom: 1px solid #294157;
  font-size: 12px;
}

#pagePriceData .lien-drawer-content li span {
  display: block;
  color: #90a8ba;
  margin-top: 4px;
}

#pagePriceData .lien-drawer-history {
  font-size: 12px;
  color: #a9c1d4;
}

#pagePriceData .lien-child-branch {
  color: #45647d;
  margin-right: 4px;
}

#pageProductSet .lien-table-card,
#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-comparison-card {
  padding: 20px !important;
  overflow-x: hidden !important;
}

#pageProductSet .lien-window-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

#pageProductSet .lien-window-title-row h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

#pageProductSet .lien-window-title-row .lien-window-actions {
  position: static;
  flex: 0 0 auto;
  align-self: flex-start;
}

#pageProductSet .lien-table-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

#pageProductSet .lien-detail-card-heading {
  display: block;
}

#pageProductSet .lien-detail-card-heading > div {
  min-width: 0;
  width: 100%;
}

#pageProductSet .lien-product-info-card .lien-inline-product {
  grid-template-columns: 112px minmax(0, 1fr);
}

#pageProductSet .lien-product-info-card .lien-history-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#pageProductSet .lien-product-info-card .lien-history-meta > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

#pageProductSet .lien-product-info-card #lienProductInfoContent {
  min-width: 0;
  max-width: 100%;
}

#pageProductSet .lien-table-card > .lien-table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

#pageProductSet .lien-table-card .lien-pagination {
  min-width: 0;
  flex-wrap: wrap;
}

#pageProductSet .lien-productset-detail-stack {
  overflow-x: hidden !important;
}

@media (max-width: 650px) {
  #pageProductSet .lien-product-info-card .lien-inline-product {
    grid-template-columns: minmax(0, 1fr);
  }

  #pageProductSet .lien-product-info-card .lien-history-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

#pagePriceData #lienPriceDataTable td[data-column="3"] {
  white-space: normal;
  padding: 8px 10px;
}

#pagePriceData .lien-child-sku-inline,
#pagePriceData .lien-child-sku-list summary > span,
#pagePriceData .lien-child-sku-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#pagePriceData .lien-child-sku-chip {
  display: inline-block;
  padding: 3px 5px;
  border: 1px solid #2b4053;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.2;
  color: #a8bfd1;
  overflow-wrap: anywhere;
}

#pagePriceData .lien-child-sku-list summary {
  list-style: none;
  cursor: pointer;
}

#pagePriceData .lien-child-sku-list summary::-webkit-details-marker {
  display: none;
}

#pagePriceData .lien-child-sku-list summary small {
  display: block;
  margin-top: 5px;
  color: #82b5dc;
  font-size: 10px;
}

#pagePriceData .lien-child-sku-list[open] > div {
  margin-top: 6px;
}

#pagePriceData .lien-data-scroll-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  border: 1px solid #34506b;
  border-radius: 10px;
  background: #0e1b29;
  box-shadow: 0 4px 16px #0004;
}

#pagePriceData .lien-data-scroll-actions button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9fc6e7;
  font-size: 20px;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s;
}

#pagePriceData .lien-data-scroll-actions button:hover {
  background: #1b3953;
  color: #e0f2ff;
}

#pagePriceData:not(.active) .lien-data-scroll-actions {
  display: none;
}

#pagePriceData #lienPriceDataTable th[data-sort="rate"],
#pagePriceData #lienPriceDataTable td[data-column="8"] {
  text-align: right;
}

#pagePriceData #lienPriceDataTable td[data-column="8"] .lien-rate-position {
  justify-content: flex-end;
}

#pagePriceData #lienPriceDataTable th,
#pagePriceData #lienPriceDataTable td,
#pagePriceData #lienPriceDataTable td[data-column="3"] {
  padding-left: 12px;
  padding-right: 12px;
}

#pagePriceData .lien-child-sku-inline,
#pagePriceData .lien-child-sku-list summary > span,
#pagePriceData .lien-child-sku-list > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

#pagePriceData .lien-child-sku-chip {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.4;
}

#pagePriceData .lien-tree-branch {
  color: #547b9a;
  font-family: monospace;
  flex: 0 0 auto;
}

#pagePriceData .lien-child-sku-list summary small {
  margin-left: 0;
}

#pagePriceData .lien-child-sku-list[open] summary small {
  display: none;
}

#pagePriceData .child-sku-show-less {
  margin: 4px 0 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #82b5dc;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

#pagePriceData .child-sku-show-less:hover {
  text-decoration: underline;
}

#pagePriceData .lien-child-sku-list[open] > div {
  margin-top: 3px;
}

#pageProductSet .lien-product-info-card .lien-detail-card-heading {
  position: relative;
}

#pageProductSet
  .lien-product-info-card
  .lien-detail-card-heading
  > div
  > small {
  display: block;
  padding-right: 100px;
  min-height: 22px;
}

#pageProductSet
  .lien-product-info-card
  .lien-window-title-row
  .lien-window-actions {
  position: absolute;
  top: -5px;
  right: 0;
}

#pageProductSet .lien-product-info-card .lien-window-title-row h3 {
  width: 100%;
}

#pagePriceData #lienPriceDataTable th[data-sort="expected_cap"],
#pagePriceData #lienPriceDataTable td[data-column="7"] {
  padding-right: 24px;
}

#pagePriceData #lienPriceDataTable th[data-sort="rate"],
#pagePriceData #lienPriceDataTable td[data-column="8"] {
  padding-left: 20px;
  padding-right: 24px;
  white-space: nowrap;
  text-overflow: clip;
}

#pagePriceData .lien-table-scroll {
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
}

#pagePriceData .lien-table-card {
  height: auto;
  max-height: none;
  overflow: visible;
}

#pagePriceData #lienPriceDataTable {
  min-width: 0;
  width: 100%;
}

#pagePriceData #lienPriceDataTable col:nth-child(1) {
  width: 64px !important;
}

#pagePriceData #lienPriceDataTable th:first-child,
#pagePriceData #lienPriceDataTable td[data-column="0"] {
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden th:nth-child(6) {
  padding: 0 8px;
  text-align: center;
}

#pagePriceData
  #lienPriceDataTable.compare-column-hidden
  th:nth-child(6)
  .compare-header-label,
#pagePriceData
  #lienPriceDataTable.compare-column-hidden
  th:nth-child(6)::after {
  display: none;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden td[data-column="5"] {
  visibility: hidden;
  padding: 0;
  overflow: hidden;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden col:nth-child(6) {
  width: 40px !important;
}

#pagePriceData
  #lienPriceDataTable.compare-column-hidden
  .compare-column-toggle {
  margin-left: 0;
}

#pagePriceData .compare-column-toggle {
  position: relative;
  top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 2px;
  margin-left: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  box-sizing: border-box;
  vertical-align: middle;
  cursor: pointer;
}

#pagePriceData .compare-column-toggle:hover {
  background: #263b50;
}

#pagePriceData .compare-column-toggle > span {
  display: block;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--compare-icon) center / contain no-repeat;
  -webkit-mask: var(--compare-icon) center / contain no-repeat;
}

#pagePriceData #lienPriceDataTable th[data-sort="compare_at_price"] {
  white-space: nowrap;
  overflow: visible;
}

#pagePriceData #lienPriceDataTable col:nth-child(2) {
  width: 10% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(3) {
  width: 12% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(4) {
  width: 11% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(5) {
  width: 10% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(6) {
  width: 16% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(7),
#pagePriceData #lienPriceDataTable col:nth-child(8) {
  width: 11% !important;
}

#pagePriceData #lienPriceDataTable col:nth-child(9) {
  width: 18% !important;
}

#pagePriceData #lienPriceDataTable th[data-sort="price"],
#pagePriceData #lienPriceDataTable th[data-sort="compare_at_price"],
#pagePriceData #lienPriceDataTable th[data-sort="expected_price"],
#pagePriceData #lienPriceDataTable th[data-sort="expected_cap"],
#pagePriceData #lienPriceDataTable td[data-column="4"],
#pagePriceData #lienPriceDataTable td[data-column="5"],
#pagePriceData #lienPriceDataTable td[data-column="6"],
#pagePriceData #lienPriceDataTable td[data-column="7"] {
  padding-left: 20px;
  padding-right: 20px;
}

#pagePriceData #lienPriceDataPagination {
  padding-right: 16px;
}

#pagePriceData .lien-pagination .lien-page-size > span {
  white-space: nowrap;
}

#pagePriceData .lien-pagination .lien-rounded-select-options {
  top: auto;
  bottom: calc(100% + 6px);
}

#pagePriceData .lien-data-scroll-actions {
  right: 6px;
  bottom: 120px;
  padding: 3px;
  gap: 4px;
}

#pagePriceData .lien-data-scroll-actions button {
  width: 26px;
  height: 30px;
}

#pageProductSet .lien-platform-comparison-scroll {
  padding: 8px 0 0 !important;
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

#pageProductSet .lien-platform-comparison-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

#pageProductSet .lien-platform-comparison-table th,
#pageProductSet .lien-platform-comparison-table td {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 12px 8px;
}

#pageProductSet .lien-platform-comparison-table th:first-child,
#pageProductSet .lien-platform-comparison-table td:first-child {
  padding-left: 12px;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(1),
#pageProductSet .lien-platform-comparison-table td:nth-child(1) {
  width: 32%;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(2),
#pageProductSet .lien-platform-comparison-table td:nth-child(2),
#pageProductSet .lien-platform-comparison-table th:nth-child(3),
#pageProductSet .lien-platform-comparison-table td:nth-child(3) {
  width: 18%;
}

#pageProductSet .lien-platform-comparison-table th:nth-child(4),
#pageProductSet .lien-platform-comparison-table td:nth-child(4) {
  width: 32%;
}

#pageProductSet .lien-platform-rate-cell .lien-rate-position {
  min-width: 0;
  flex-wrap: wrap;
  line-height: 1.4;
}

#pageProductSet .lien-platform-rate-cell .lien-data-reason {
  white-space: normal;
  overflow-wrap: anywhere;
}

#pageProductSet .lien-platform-store {
  min-width: 0;
}

#pageProductSet .lien-platform-store > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

#pageProductSet .lien-history-store-wrap .lien-rounded-select-trigger {
  position: relative;
  justify-content: center;
  padding-left: 10px;
  padding-right: 30px;
  text-align: center;
}

#pageProductSet
  .lien-history-store-wrap
  .lien-rounded-select-trigger
  > span:first-child {
  flex: 1;
  text-align: center;
}

#pageProductSet .lien-history-store-wrap .lien-rounded-select-chevron {
  position: absolute;
  right: 14px;
}

#pageProductSet .lien-window-actions button:nth-child(1) {
  color: #efc66c;
  background: #30291b;
  border-color: #655334;
}

#pageProductSet .lien-window-actions button:nth-child(2) {
  color: #88c8f4;
  background: #192e40;
  border-color: #365875;
}

#pageProductSet .lien-window-actions button:nth-child(3) {
  color: #f69da9;
  background: #35202a;
  border-color: #69404c;
}

#pageProductSet .lien-window-actions button:nth-child(1):hover {
  background: #4a3b21;
  border-color: #b79755;
}

#pageProductSet .lien-window-actions button:nth-child(2):hover {
  background: #24475f;
  border-color: #72acd1;
}

#pageProductSet .lien-window-actions button:nth-child(3):hover {
  background: #60313d;
  border-color: #d8788a;
}

#pageProductSet #lienHistoryDemoToggle,
#pageProductSet #lienHistoryFiltersToggle,
#pagePriceData .lien-export-menu > summary {
  box-sizing: border-box;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid #73bcff;
  background: linear-gradient(135deg, #238cff, #176bd8);
  color: #f4f9ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 #ffffff2e,
    0 4px 12px #176bd82b;
  transition:
    filter 0.18s ease,
    border-color 0.18s ease;
}

#pageProductSet #historyFind,
#pageProductSet #lienHistoryFiltersToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 108px;
  height: 42px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  white-space: nowrap;
}

#pageProductSet #lienHistoryDemoToggle:hover,
#pageProductSet #lienHistoryFiltersToggle:hover,
#pagePriceData .lien-export-menu > summary:hover {
  filter: brightness(1.08);
  color: #fff;
  border-color: #a5d5ff;
}

#pageProductSet #lienHistoryFiltersToggle::before {
  filter: brightness(0) invert(1);
}

#pageProductSet #lienHistoryFiltersToggle[aria-expanded="true"]::before {
  background-image: url("/static/filter_off_icon.svg");
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseLow.active {
  background: #b34456 !important;
  color: #fff0f3 !important;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseMedium.active {
  background: #dba638 !important;
  color: #231b08 !important;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseHigh.active {
  background: #169c9f !important;
  color: #e3fff7 !important;
}

#pagePriceData
  .lien-base-switch
  .lien-base-presets
  #lienDataBaseLow:not(.active):hover {
  background: #462631 !important;
}

#pagePriceData
  .lien-base-switch
  .lien-base-presets
  #lienDataBaseMedium:not(.active):hover {
  background: #433820 !important;
}

#pagePriceData
  .lien-base-switch
  .lien-base-presets
  #lienDataBaseHigh:not(.active):hover {
  background: #1d4239 !important;
}

#pageProductSet .lien-platform-comparison-row-own {
  background: transparent;
}

#pageProductSet .lien-platform-comparison-table tbody td {
  transition: background-color 0.18s ease;
}

#pageProductSet .lien-platform-comparison-table tbody td:first-child {
  border-radius: 10px 0 0 10px;
}

#pageProductSet .lien-platform-comparison-table tbody td:last-child {
  border-radius: 0 10px 10px 0;
  padding-right: 12px;
}

#pageProductSet .lien-platform-comparison-table tbody tr:hover > td {
  background: #142536;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store
  > td {
  background: #192f42;
  border-top: 0;
  border-bottom-color: #294257;
}

#pageProductSet
  .lien-platform-comparison-table
  tr.lien-platform-selected-store:hover
  > td {
  background: #20394e;
}

#pageProductSet .lien-platform-store-mark {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

#pagePriceData .lien-table-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#pagePriceData .lien-table-title-row .lien-export-menu {
  flex-shrink: 0;
  margin-left: auto;
}

#pagePriceData .lien-base-switch #lienDataBaseCustom {
  height: 48px;
}

#pagePriceData .lien-base-slider-labels {
  top: 6px;
  line-height: 12px;
}

#pagePriceData .lien-base-switch #lienDataBaseSlider {
  bottom: 10px;
}

#pageProductSet.active {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 128px);
  min-height: 0;
}

#pageProductSet .lien-history-frozen-header {
  position: relative;
  top: auto;
  z-index: 2;
  flex: 0 0 auto;
}

#pageProductSet .lien-productset-workspace {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  position: relative;
  isolation: isolate;
  scrollbar-gutter: stable;
}

#pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
  position: static;
  top: auto;
  max-height: none;
  overflow-y: visible;
}

#pageProductSet .lien-panel-maximized {
  height: auto !important;
  min-height: 240px !important;
}

@media (max-width: 680px) {
  #pageProductSet.active {
    height: calc(100dvh - 110px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pageProductSet .lien-platform-comparison-table tbody td {
    transition: none;
  }
}

:is(#pagePriceData, #pageProductSet) {
  color: var(--text, #f4f7fb);
  font-family: inherit;
}

:is(#pagePriceData, #pageProductSet) .lien-page-heading h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

:is(#pagePriceData, #pageProductSet) .lien-page-heading p {
  color: var(--muted, #8491a5);
  font-size: 12px;
  line-height: 1.5;
}

:is(#pagePriceData, #pageProductSet) .lien-filter-card,
#pagePriceData .lien-table-card,
#pageProductSet .lien-table-card,
#pageProductSet .lien-product-info-card,
#pageProductSet .lien-platform-comparison-card {
  border-color: #243448;
  border-radius: 12px;
  background: #0d1521;
  box-shadow: 0 6px 20px #00000018;
}

:is(#pagePriceData, #pageProductSet) .lien-filter-card {
  padding: 14px 16px;
}

:is(#pagePriceData, #pageProductSet) .lien-filter-card::after,
#pagePriceData .lien-table-card::after {
  display: none;
}

:is(#pagePriceData, #pageProductSet) input[type="search"] {
  height: 42px;
  min-height: 42px;
  border: 1px solid #2a3d52;
  border-radius: 9px;
  background: #090f18;
  color: #dfe8f4;
  font-size: 12px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

:is(#pagePriceData, #pageProductSet) input[type="search"]::placeholder {
  color: #72859a;
}

:is(#pagePriceData, #pageProductSet) input[type="search"]:focus {
  outline: none;
  border-color: #4385c8;
  box-shadow: 0 0 0 3px #4da3ff14;
}

:is(#pagePriceData, #pageProductSet) .lien-rounded-select-trigger,
:is(#pagePriceData, #pageProductSet) .lien-store-select-trigger {
  border-color: #2a4058;
  border-radius: 9px;
  background: #0d1724;
  color: #cfe1f8;
  font-size: 12px;
}

:is(#pagePriceData, #pageProductSet) .lien-rounded-select-trigger:hover,
:is(#pagePriceData, #pageProductSet) .lien-store-select-trigger:hover {
  border-color: #4385c8;
  background: #101e2d;
}

#pagePriceData .lien-table-title-row h3,
#pageProductSet .lien-table-card h3,
#pageProductSet .lien-platform-comparison-card h3 {
  color: #edf3fb;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

#pagePriceData #lienPriceDataTable thead th,
#pageProductSet .lien-history-table thead th,
#pageProductSet .lien-platform-comparison-table thead th {
  background: #111d2b;
  color: #91acc6;
  font-size: 11px;
  font-weight: 600;
  border-bottom-color: #2a3d52;
}

#pagePriceData #lienPriceDataTable tbody td,
#pageProductSet .lien-history-table tbody td,
#pageProductSet .lien-platform-comparison-table tbody td {
  border-bottom-color: #223244;
  transition: background-color 0.16s ease;
}

#pagePriceData #lienPriceDataTable tbody tr:hover td {
  background: #142436;
}

#pagePriceData #lienPriceDataTable tbody tr:hover .lien-parent-name {
  color: #d8ecff;
}

#pageProductSet
  .lien-history-table
  tbody
  tr:hover:not(.lien-selected-history-row)
  td {
  background: #142436;
}

#pageProductSet .lien-history-table .lien-selected-history-row td {
  background: #193047;
}

#pagePriceData .lien-pagination,
#pageProductSet .lien-pagination {
  border-top-color: #243448;
  background: #0b1420;
}

:is(#pagePriceData, #pageProductSet) button:focus-visible,
#pagePriceData .lien-export-menu > summary:focus-visible {
  outline: 2px solid #70baff;
  outline-offset: 3px;
}

#pagePriceData .lien-page-heading {
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
}

#pagePriceData .lien-page-heading p {
  margin: 6px 0 0;
}

#pagePriceData .lien-export-actions .module-sync-status-stack .lien-sync-dot,
#pageProductSet .module-sync-status-stack .lien-sync-dot {
  display: none !important;
}

#pagePriceData #lienPriceDataTable {
  border-collapse: separate;
  border-spacing: 0;
}

#pageProductSet .lien-history-table tbody tr,
#pageProductSet .lien-history-table tbody tr.lien-selected-history-row,
#pagePriceData #lienPriceDataTable tbody tr {
  box-shadow: none;
}

#pageProductSet .lien-history-table tbody tr:hover > td:first-child,
#pageProductSet .lien-history-table tbody tr.lien-selected-history-row > td:first-child,
#pagePriceData #lienPriceDataTable tbody tr:hover > td:first-child,
#pagePriceData #lienPriceDataTable tbody tr:has(.price-row-select:checked) > td:first-child {
  border-radius: 10px 0 0 10px;
  box-shadow: inset 3px 0 0 #3e9cff;
}

#pageProductSet .lien-history-table tbody tr:hover > td:last-child,
#pageProductSet .lien-history-table tbody tr.lien-selected-history-row > td:last-child,
#pagePriceData #lienPriceDataTable tbody tr:hover > td:last-child,
#pagePriceData #lienPriceDataTable tbody tr:has(.price-row-select:checked) > td:last-child {
  border-radius: 0 10px 10px 0;
}

#pagePriceData #lienPriceDataTable tbody tr:has(.price-row-select:checked) > td {
  background: #193047;
}

#pagePriceData #lienPriceDataPagination {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 16px 16px 0 0;
  gap: 16px;
}

#pagePriceData #lienPriceDataRange {
  margin-right: auto;
}

#pagePriceData #lienPriceDataPagination > div {
  justify-content: flex-end;
}

:is(#pagePriceData, #pageProductSet) .module-sync-status-stack {
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  max-width: 460px;
}

:is(#pagePriceData, #pageProductSet) .module-sync-status-stack .lien-sync-dot {
  position: relative;
  top: -2px;
}

:is(#pagePriceData, #pageProductSet) .google-sheet-sync-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8ea6bd;
  font-size: 10px;
  line-height: 1.5;
}

:is(#pagePriceData, #pageProductSet) .google-sheet-sync-line small {
  font-size: inherit;
}

:is(#pagePriceData, #pageProductSet) .google-sheet-sync-line .lien-sync-dot {
  flex-shrink: 0;
}

#pageProductSet.active {
  height: auto;
  min-height: 0;
  overflow: visible;
}

#pageProductSet .lien-history-frozen-header {
  position: static;
  top: auto;
}

#pageProductSet .lien-productset-workspace {
  flex: 0 0 auto;
  overflow: visible;
  max-height: none;
  scrollbar-gutter: auto;
}

#pageProductSet .lien-productset-detail-stack {
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump input {
  width: 64px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid #29415c;
  border-radius: 8px;
  background: #0d1724;
  color: #cfe1f8;
  font-size: 12px;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump button {
  width: auto;
  height: 32px;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

#lienPriceDataPage.module-page-jump,
#lienHistoryPage.module-page-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  color: #cfe1f8;
  white-space: nowrap;
  font-size: 12px;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump input {
  width: 48px;
  height: 36px;
  padding: 4px;
  background: #172a40;
  border-color: #456786;
  color: #fff;
  font-weight: 700;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination button {
  height: 36px;
  min-height: 36px;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump button {
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  color: #8ac2ff;
  white-space: nowrap;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination .lien-page-size {
  margin-right: 12px;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump input,
:is(#pagePriceData, #pageProductSet) .lien-pagination button,
#lienPriceDataPage,
#lienHistoryPage {
  text-align: center;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump input {
  appearance: textfield;
  -moz-appearance: textfield;
}

:is(#pagePriceData, #pageProductSet) .module-page-jump input::-webkit-inner-spin-button,
:is(#pagePriceData, #pageProductSet) .module-page-jump input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:is(#pagePriceData, #pageProductSet) .lien-pagination > div {
  flex-wrap: wrap;
}

#pageProductSet .product-website-action {
  margin-top: 12px;
  color: #8491a5;
  font-size: 11px;
}

#pageProductSet .product-website-action:empty {
  display: none;
}

#pageProductSet .product-website-link {
  display: inline-flex;
  width: auto;
  text-decoration: none;
}

#pagePriceData .lien-sort-controls label > span {
  font-weight: 700;
  font-size: 13px;
}

#pagePriceData #lienPriceDataTable col:first-child {
  width: 86px !important;
}

#pagePriceData .price-row-select,
#pagePriceData #priceSelectPage {
  position: relative;
  top: -1px;
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin: 0 6px 0 0;
  vertical-align: middle;
  accent-color: #398bff;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url(/static/checkbox-empty.png) center / contain no-repeat;
}

#pagePriceData .price-row-select:checked,
#pagePriceData #priceSelectPage:checked {
  background-image: url(/static/checkbox-selected.png);
}

#pagePriceData #priceSelectPage:indeterminate {
  background: linear-gradient(#fff, #fff) center / 7px 2px no-repeat,
    url(/static/checkbox-empty.png) center / contain no-repeat;
}

#pagePriceData .price-row-select:focus-visible,
#pagePriceData #priceSelectPage:focus-visible {
  outline: 2px solid #70baff;
  outline-offset: 3px;
}

#pagePriceData #priceSelectionStatus {
  color: #83bfff;
  margin-left: 0;
  white-space: nowrap;
}

#pagePriceData .price-export-selection-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
}

#pagePriceData .price-export-selection-actions .lien-export-menu {
  margin-left: 0;
}

#pagePriceData #clearPriceSelection {
  width: auto;
  white-space: nowrap;
}

#pagePriceData .price-export-selection-actions #clearPriceSelection,
#pagePriceData .price-export-selection-actions .lien-export-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  border-radius: 9px;
  margin-top: 0;
  margin-bottom: 0;
}

#pagePriceData #lienPriceDataBody tr:has(.price-row-select) {
  cursor: pointer;
}

#pagePriceData #clearPriceSelection[hidden] {
  display: none;
}

#pagePriceData .lien-filter-card,
#pagePriceData .lien-table-card {
  background: #101c2b;
  border-color: #34485f;
  box-shadow: none;
  backdrop-filter: none;
}

#pagePriceData .lien-rounded-select-trigger,
#pagePriceData .lien-store-select-trigger {
  background: #172a40;
  border-color: #405c79;
  color: #eef5ff;
  opacity: 1;
}

#pagePriceData .lien-rounded-select-trigger:hover,
#pagePriceData .lien-store-select-trigger:hover {
  background: #203a56;
}

#pagePriceData .module-find-button {
  background: #211b10;
  border-color: #8c6c28;
  color: #ffd978;
}

#pagePriceData .module-find-button:hover {
  background: #2a2110;
  border-color: #c5a148;
  color: #fff0bf;
}

#pagePriceData .lien-export-menu > summary {
  background: #1879e5;
  border-color: #459aff;
  color: #fff;
  box-shadow: none;
  position: relative;
  padding-left: 18px;
  padding-right: 34px;
}

#pagePriceData .lien-export-menu .export-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

#pagePriceData .lien-base-presets button {
  background: #15263a;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseLow.active {
  background: #b34456;
  color: #fff;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseMedium.active {
  background: #dba638;
  color: #231b08;
}

#pagePriceData .lien-base-switch .lien-base-presets #lienDataBaseHigh.active {
  background: #169c9f;
  color: #fff;
}

#pagePriceData #lienDataBaseAdjust {
  background: #29435b;
  border-color: #43617d;
  color: #dceeff;
}

#pagePriceData #lienPriceDataTable thead th {
  background: #1a2d42;
  color: #b9d0e7;
}

#pageProductSet .lien-history-store-wrap {
  width: 170px;
  min-width: 0;
  max-width: 170px;
  flex: 0 0 170px;
}

#pageProductSet .lien-history-store-wrap .lien-rounded-select {
  width: 100%;
  min-width: 0;
}

#pageProductSet .lien-table-card > .lien-table-title-row,
#pageProductSet .lien-table-card .lien-table-toolbar {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

#pagePriceData .lien-export-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

#pagePriceData .lien-export-actions .lien-pricedata-sync-line {
  margin-left: 0;
}

#pagePriceData .lien-datacenter-store {
  width: 170px;
  flex: 0 0 170px;
}

#pagePriceData #lienPriceDataStore {
  display: none !important;
}

#pagePriceData .lien-export-actions .lien-pricedata-sync-line {
  max-width: 440px;
  min-width: 0;
  white-space: normal;
}

#pagePriceData #lienPriceDataShopifySync {
  margin-top: 0;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#pagePriceData .lien-export-actions {
  min-width: 0;
}

#pagePriceData .lien-export-actions .module-sync-status-stack {
  gap: 3px;
  justify-content: center;
}

#pagePriceData .lien-export-actions .module-sync-status-stack > div {
  display: flex;
  align-items: center;
  gap: 7px;
  height: auto;
  min-height: 18px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#pagePriceData .lien-export-actions .module-sync-status-stack small {
  display: block;
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}

#pagePriceData .lien-export-actions .module-sync-status-stack .lien-sync-dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #45d7a1;
  box-shadow: none;
  animation: none;
  transform: none;
  top: 0;
}

#pagePriceData .lien-store-select-trigger {
  position: relative;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  padding: 0 30px;
  border: 1px solid #405c79;
  border-radius: 9px;
  background: #172a40;
  color: #eef5ff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

#pagePriceData .lien-store-select-trigger > span:first-child {
  flex: 1;
  text-align: left;
}

#pagePriceData .lien-store-select-chevron {
  position: absolute;
  right: 14px;
  border-left-width: 4px;
  border-right-width: 4px;
  border-top-width: 5px;
}

#pagePriceData .lien-store-select-options {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
}

#pagePriceData .lien-store-select-options .lien-store-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  white-space: nowrap;
  text-overflow: clip;
  text-align: left;
}

#pagePriceData .lien-pricedata-summary-mount {
  display: contents;
}

#pagePriceData .lien-filter-card {
  margin-bottom: 16px;
}

#pagePriceData .lien-unified-filter-row {
  margin-top: 10px;
  gap: 12px;
}

#pagePriceData .lien-table-card {
  padding: 20px;
}

#pagePriceData .lien-table-title-row {
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #243448;
}

#pagePriceData .lien-table-toolbar {
  min-height: 42px;
  margin: 0 0 12px;
  padding: 0;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-rate,
#pagePriceData #lienPriceDataTable .lien-rate-position,
#pagePriceData #lienPriceDataTable .lien-rate-amount {
  max-width: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 900px) {
  #pagePriceData .lien-page-heading {
    flex-wrap: wrap;
    gap: 12px;
  }

  #pagePriceData .lien-export-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(#pagePriceData, #pageProductSet) input[type="search"],
  #pagePriceData #lienPriceDataTable tbody td,
  #pageProductSet .lien-history-table tbody td {
    transition: none;
  }
}

.lien-price-apply-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(75vh, 760px);
  overflow: auto;
  padding: 24px;
  color: #e9f2ff;
  background: #0d1521;
  border: 1px solid #34506b;
  border-radius: 18px;
  box-shadow: 0 24px 70px #000a;
}

.lien-price-apply-dialog::backdrop {
  background: #030913b8;
}

.lien-price-apply-dialog h3 {
  margin: 0 0 8px;
}

.lien-price-apply-dialog p {
  color: #a8c4df;
}

.lien-price-apply-preview {
  max-height: 340px;
  overflow: auto;
}

.lien-price-apply-preview table {
  width: 100%;
  border-collapse: collapse;
}

.lien-price-apply-preview th, .lien-price-apply-preview td {
  padding: 10px;
  border-bottom: 1px solid #294056;
  text-align: left;
}

.lien-price-apply-preview small {
  display: block;
  color: #8eb8dc;
}

.lien-price-apply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.lien-price-apply-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Lien DataCentre: one visual hierarchy, scoped away from Pricing Workspace. */
#pagePriceData .lien-page-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

#pagePriceData .lien-page-heading h2 {
  margin: 0;
}

#pagePriceData .lien-page-heading p {
  max-width: 560px;
  color: #9bb6ce;
}

#pagePriceData .lien-export-actions {
  margin-left: auto;
}

#pagePriceData .lien-filter-card {
  padding: 18px;
  margin-bottom: 18px;
}

#pagePriceData #lienCategorySizeSetup[hidden] {
  display: none !important;
}

#pagePriceData .lien-datacenter-search-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 100px;
  align-items: end;
  gap: 12px;
}

#pagePriceData .lien-datacenter-search-field {
  order: 1;
  width: auto;
  min-width: 0;
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-store {
  order: 2;
  width: auto;
  min-width: 0;
  margin: 0;
}

#pagePriceData .lien-datacenter-search-row .module-find-button {
  order: 3;
  width: 100%;
  height: 44px;
}

#pagePriceData .lien-datacenter-category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#pagePriceData .lien-filter-field {
  min-width: 0;
}

#pagePriceData .lien-filter-field label {
  display: block;
  margin-bottom: 6px;
  color: #a9c2d8;
  font-size: 11px;
  font-weight: 600;
}

#pagePriceData .lien-filter-field select,
#pagePriceData .lien-filter-field .lien-rounded-select {
  width: 100%;
  min-width: 0;
  max-width: none;
}

#pagePriceData .lien-filter-field .lien-rounded-select-trigger {
  width: 100%;
  height: 42px;
  min-height: 42px;
}

#pagePriceData .lien-filter-field select:disabled,
#pagePriceData .lien-filter-field:has(select:disabled) .lien-rounded-select-trigger {
  opacity: .55;
  cursor: not-allowed;
}

#pagePriceData .lien-unified-filter-row {
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid #283d51;
}

#pagePriceData .lien-unified-filter-row .lien-inline-rate,
#pagePriceData .lien-unified-filter-row .lien-price-status {
  width: 190px;
  flex: 0 0 190px;
}

#pagePriceData .lien-unified-filter-row .lien-inline-rate > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: #a9c2d8;
}

#pagePriceData .lien-unified-filter-row .lien-price-status::before {
  content: "Price data";
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #a9c2d8;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  margin-left: auto;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls > label {
  flex-direction: column;
  align-items: flex-start;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls > label > span {
  font-size: 11px;
  color: #a9c2d8;
}

#pagePriceData .lien-unified-filter-row #lienPriceDataClear {
  align-self: end;
}

#pagePriceData .lien-table-card {
  padding: 18px;
}

#pagePriceData .lien-table-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

#pagePriceData .lien-table-title-row > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

#pagePriceData .price-export-selection-actions {
  margin-left: auto;
  flex: 0 0 auto;
  gap: 10px;
}

#pagePriceData #lienPriceDataApply {
  box-sizing: border-box;
  width: auto;
  min-width: 150px;
  flex: 0 0 auto;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  background: #1879e5;
  border-color: #459aff;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataApply:disabled {
  opacity: .55;
  cursor: not-allowed;
}

#pagePriceData #lienPriceDataApply:hover {
  background: #328df4;
}

#pagePriceData .price-export-selection-actions .lien-export-selected {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 132px;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  white-space: nowrap;
  line-height: 1;
}

#pagePriceData .lien-table-toolbar {
  align-items: center;
}

#pagePriceData .lien-table-scroll {
  overflow-x: auto;
  overflow-y: visible;
}

#pagePriceData #lienPriceDataTable {
  min-width: 1320px;
}

#pagePriceData #lienPriceDataTable col:nth-child(3) {
  width: 270px !important;
}

#pagePriceData #lienPriceDataTable tr.lien-single-row {
  height: 72px;
}

#pagePriceData .lien-product-title,
#pagePriceData .lien-product-taxonomy {
  display: block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pagePriceData .lien-product-title {
  margin-top: 4px;
  color: #e7f1ff;
  font-size: 12px;
}

#pagePriceData .lien-product-taxonomy {
  margin-top: 3px;
  color: #84a8c9;
  font-size: 10px;
}

#pagePriceData .lien-price-apply-dialog {
  border-color: #4b74a2;
}

#pagePriceData .lien-datacenter-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

#pagePriceData .lien-datacenter-search-field {
  flex: 2 1 260px;
  order: 1;
}

#pagePriceData .lien-datacenter-search-row .module-find-button {
  flex: 0 0 78px;
  order: 2;
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-store {
  flex: 0 1 160px;
  order: 3;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field {
  flex: 0 1 158px;
  order: 4;
}

#pagePriceData .lien-datacenter-search-row .lien-inline-rate {
  flex: 0 1 125px;
  order: 5;
  width: auto;
}

#pagePriceData .lien-datacenter-search-row .lien-inline-rate > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #a9c2d8;
}

#pagePriceData .lien-datacenter-category-row[hidden] {
  display: none !important;
}

#pagePriceData .lien-unified-filter-row {
  justify-content: flex-end;
  padding-top: 12px;
  margin-top: 12px;
}

#pagePriceData .lien-unified-filter-row .lien-price-status {
  margin-right: auto;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  margin-left: 0;
}

#pagePriceData .lien-unified-filter-row .lien-export-menu > summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
}

#pagePriceData .lien-filter-card {
  padding: 14px 16px;
}

#pagePriceData .lien-datacenter-search-row {
  gap: 8px;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field label,
#pagePriceData .lien-datacenter-search-row .lien-inline-rate > span,
#pagePriceData .lien-unified-filter-row .lien-price-status::before,
#pagePriceData .lien-unified-filter-row .lien-sort-controls > label > span {
  display: none;
}

#pagePriceData #lienPriceDataParentSku,
#pagePriceData .lien-datacenter-search-row .lien-store-select-trigger,
#pagePriceData .lien-datacenter-search-row .module-find-button,
#pagePriceData .lien-datacenter-search-row .lien-rounded-select-trigger,
#pagePriceData .lien-unified-filter-row .lien-rounded-select-trigger,
#pagePriceData .lien-unified-filter-row .lien-export-menu > summary {
  height: 38px;
  min-height: 38px;
}

#pagePriceData .lien-unified-filter-row {
  padding-top: 10px;
  margin-top: 10px;
}

#pagePriceData .lien-export-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 14px;
}

#pagePriceData .lien-export-actions .lien-datacenter-store {
  width: 196px;
  flex: 0 0 196px;
}

#pagePriceData .lien-export-actions .lien-store-select-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 36px;
  min-height: 36px;
  border-radius: 18px;
  padding: 0 28px 0 14px;
  background: #1a2335;
  border-color: #303c54;
}

#pagePriceData .lien-export-actions .module-sync-status-stack {
  flex: 0 0 auto;
}

#pagePriceData .lien-export-actions .lien-pricedata-sync-line {
  margin: 0;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataShopifySync {
  color: #a4b0c3;
  font-size: 12px;
  white-space: nowrap;
}

/* Dropdown options must grow with wrapped product names instead of overlapping. */
:is(#pagePriceData, #pageProductSet) .lien-rounded-select-options .lien-rounded-option {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: auto;
  min-height: 36px;
  padding: 8px 12px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

#pagePriceData .lien-filter-field:has(#lienPriceDataProductType) .lien-rounded-select-options {
  left: auto;
  right: 0;
  width: max(100%, 270px);
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

@media (max-width: 700px) {
  #pagePriceData .lien-datacenter-search-field {
    flex-basis: 100%;
  }

  #pagePriceData .lien-datacenter-search-row .lien-filter-field {
    flex-basis: 42%;
  }
}

/* DataCentre list workspace. Keep table overflow inside its scroll area. */
#pagePriceData .lien-filter-card {
  background: #151b29;
  border-color: #30394d;
  border-radius: 14px;
}

#pagePriceData .lien-datacenter-search-row {
  align-items: center;
  gap: 8px;
}

#pagePriceData .lien-datacenter-search-field {
  flex: 1 1 250px;
}

#pagePriceData .lien-datacenter-search-row .module-find-button {
  display: none;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field {
  flex: 0 1 150px;
}

#pagePriceData .lien-datacenter-search-row .lien-inline-rate {
  flex: 0 1 100px;
}

#pagePriceData .lien-datacenter-search-row .lien-price-status {
  flex: 0 1 145px;
  min-width: 100px;
}

#pagePriceData .lien-datacenter-search-row .lien-rounded-select-trigger {
  background: #101522;
  border-color: #343d51;
}

#pagePriceData .lien-level-filter {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #343d51;
  border-radius: 8px;
  color: #b8c5dd;
  font-size: 12px;
  white-space: nowrap;
}

#pagePriceData .lien-exceptions-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b8c5dd;
  font-size: 12px;
  white-space: nowrap;
}

#pagePriceData .lien-quick-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #aebbd2;
  font-size: 12px;
  white-space: nowrap;
}

#pagePriceData .lien-quick-select button {
  border: 0;
  border-bottom: 1px dashed #a89aff;
  border-radius: 0;
  padding: 2px 0;
  background: transparent;
  color: #bfb4ff;
  cursor: pointer;
  font-size: 12px;
}

#pagePriceData .lien-unified-filter-row {
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 0;
  margin-top: 4px;
  padding-top: 2px;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  margin-left: 0;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls > label:nth-child(2) {
  display: none;
}

#pagePriceData .lien-columns-menu {
  position: relative;
  z-index: 8;
}

#pagePriceData .lien-columns-menu > summary {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #343d51;
  border-radius: 8px;
  background: #101522;
  color: #e1e7f4;
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}

#pagePriceData .lien-columns-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  display: grid;
  gap: 3px;
  width: 220px;
  max-height: 300px;
  overflow: auto;
  padding: 9px;
  border: 1px solid #343d51;
  border-radius: 9px;
  background: #101522;
  box-shadow: 0 16px 32px #0008;
}

#pagePriceData .lien-columns-menu label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  color: #d1dbeb;
  font-size: 12px;
}

#pagePriceData .lien-reference-table-title {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#pagePriceData .lien-reference-table-title > div:first-child {
  display: none;
}

#pagePriceData .lien-reference-table-title .price-export-selection-actions {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: none;
  padding: 8px 12px;
  border: 1px solid #3c455d;
  border-radius: 13px;
  background: #202638;
  box-shadow: 0 12px 35px #0008;
}

#pagePriceData .lien-reference-table-title .price-export-selection-actions:has(#priceSelectionStatus:not(:empty)) {
  display: flex;
}

#pagePriceData .lien-reference-table-title .price-export-selection-actions .lien-export-menu {
  display: none;
}

#pagePriceData .lien-reference-toolbar {
  display: none;
}

#pagePriceData .lien-datacenter-table-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 68px;
  padding: 12px 16px;
  border-bottom: 1px solid #30394d;
  background: #151b29;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
  flex: 0 0 180px;
  min-width: 180px;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  display: none;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base {
  display: block;
  flex: 0 0 174px;
  width: 174px;
  margin: 0;
  padding: 0;
  border: 0;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base > span {
  display: none;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch {
  display: block;
  width: 174px;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-presets {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-presets button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  padding: 0 3px;
}

#pagePriceData .lien-datacenter-table-controls .lien-custom-base #lienDataBaseAdjust,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
}

#pagePriceData .lien-datacenter-table-controls .lien-custom-base #lienDataBaseAdjust {
  width: 44px;
}

#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary {
  width: 110px;
  justify-content: center;
}

@media (max-width: 900px) {
  #pagePriceData .lien-datacenter-table-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

#pagePriceData .lien-datacenter-table-controls {
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
  display: block;
  flex: 0 0 220px;
  width: 220px;
  min-width: 220px;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child > span {
  margin: 0;
  color: #a9c8ed;
  font-size: 11px;
  font-weight: 600;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select,
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger {
  width: 100%;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base,
#pagePriceData .lien-datacenter-table-controls .lien-base-switch,
#pagePriceData .lien-datacenter-table-controls .lien-base-presets {
  height: 42px;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-presets button {
  height: 40px;
  min-height: 40px;
}

#pagePriceData .lien-datacenter-table-controls .lien-custom-base #lienDataBaseAdjust,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger {
  height: 42px;
  min-height: 42px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #142337;
  color: #e0eeff;
  box-shadow: none;
  font-size: 13px;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease;
}

#pagePriceData .lien-datacenter-table-controls .lien-custom-base #lienDataBaseAdjust:hover,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary:hover,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary:hover,
#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger:hover {
  filter: none;
  border-color: #4385c8;
  background: #101e2d;
  color: #f4f9ff;
}

#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary {
  width: 125px;
  min-width: 125px;
  padding: 0 12px;
  font-weight: 700;
}

#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px 0 12px;
  line-height: 1;
}

#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary > span:first-child {
  flex: 1;
  text-align: center;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger {
  position: relative;
  justify-content: center;
  padding: 0 32px;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger > span:first-child {
  display: block;
  flex: 1;
  width: 100%;
  text-align: center;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-chevron {
  position: absolute;
  right: 14px;
}

#pagePriceData #lienPriceDataFiltersToggle[aria-expanded="true"]::before {
  background-image: url("/static/filter_off_icon.svg");
}

#pagePriceData #lienPriceDataFiltersToggle::before {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-size: 18px 18px;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-presets {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 3px;
  gap: 3px;
  overflow: hidden;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch .lien-base-presets button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  padding: 0 2px;
  font-size: 12px;
  text-align: center;
}

#pagePriceData .lien-datacenter-table-controls button,
#pagePriceData .lien-datacenter-table-controls summary,
#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger,
#pagePriceData .lien-export-actions button,
#pagePriceData .price-export-selection-actions button {
  text-align: center;
}

#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger > span:first-child,
#pagePriceData .lien-export-actions .lien-store-select-trigger > span:first-child {
  text-align: center;
}

#pagePriceData .lien-export-actions .lien-store-select-trigger {
  justify-content: center;
  padding-left: 10px;
}

#pagePriceData .lien-table-card {
  padding: 0;
  overflow: visible;
  background: #151b29;
  border-color: #30394d;
}

#pagePriceData .lien-table-scroll {
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 0;
}

#pagePriceData #lienPriceDataTable {
  width: 100%;
  min-width: 1830px;
  table-layout: fixed;
  border-collapse: collapse;
}

#pagePriceData #lienPriceDataTable th, #pagePriceData #lienPriceDataTable td {
  box-sizing: border-box;
  padding: 11px 9px;
  border-bottom: 1px solid #2a3345;
  vertical-align: middle;
}

#pagePriceData #lienPriceDataTable thead th {
  background: #202635;
  color: #a9c8ed;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataTable th:nth-child(1) {
  width: 42px;
}

#pagePriceData #lienPriceDataTable th:nth-child(2) {
  width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(3) {
  width: 70px !important;
}

#pagePriceData #lienPriceDataTable th:nth-child(4) {
  width: 215px;
}

#pagePriceData #lienPriceDataTable th:nth-child(5) {
  width: 105px;
}

#pagePriceData #lienPriceDataTable th:nth-child(6) {
  width: 165px;
}

#pagePriceData #lienPriceDataTable th:nth-child(7) {
  width: 70px;
}

#pagePriceData #lienPriceDataTable th:nth-child(8) {
  width: 78px;
}

#pagePriceData #lienPriceDataTable th:nth-child(n+9):nth-child(-n+14) {
  width: 120px;
}

#pagePriceData #lienPriceDataTable th:nth-child(15) {
  width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(16) {
  width: 90px;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-base {
  display: flex;
  margin-top: 6px;
  align-items: center;
  gap: 0;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-base > span, #pagePriceData #lienPriceDataTable #lienDataBaseAdjust {
  display: none;
}

#pagePriceData #lienPriceDataTable .lien-base-presets {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: #0e1421;
  border-radius: 7px;
}

#pagePriceData #lienPriceDataTable .lien-base-presets button {
  min-width: 0;
  min-height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #a9c8ed;
  font-size: 10px;
}

#pagePriceData #lienPriceDataTable .lien-base-presets button.active {
  background: #7863f3 !important;
  color: #fff !important;
}

#pagePriceData #lienPriceDataTable tbody tr:hover {
  background: #22293b;
}

#pagePriceData #lienPriceDataTable tbody tr:has(.price-row-select:checked) {
  background: #241f3b;
  box-shadow: inset 3px 0 #7863f3;
}

#pagePriceData #lienPriceDataTable .lien-product-title {
  margin: 0;
  max-width: 195px;
  font-size: 12px;
}

#pagePriceData #lienPriceDataTable .lien-parent-name {
  display: block;
  max-width: 115px;
  font-size: 12px;
}

#pagePriceData #lienPriceDataTable small.lien-row-children, #pagePriceData #lienPriceDataTable small.lien-row-store {
  display: block;
  margin-top: 4px;
  max-width: 195px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8fa9cb;
  font-size: 10px;
}

#pagePriceData #lienPriceDataTable .lien-level-tag {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 6px;
  background: #30374b;
  color: #dce3f0;
  font-size: 10px;
}

#pagePriceData #lienPriceDataTable .lien-positive {
  color: #ffd653;
}

#pagePriceData #lienPriceDataTable .lien-negative {
  color: #ff7c87;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #6857a9;
  border-radius: 7px;
  background: #22203a;
  color: #c6baff;
  font-size: 11px;
  cursor: pointer;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice:disabled {
  opacity: .45;
  cursor: not-allowed;
}

#pagePriceData .lien-pagination {
  padding: 12px 18px;
}

#pagePriceData .lien-data-scroll-actions {
  right: 20px;
}

@media (max-width: 900px) { #pagePriceData .lien-quick-select { margin-left: 0; } }
@media (max-width: 1150px) {
  #pagePriceData .lien-datacenter-category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pagePriceData .lien-unified-filter-row {
    flex-wrap: wrap;
  }

  #pagePriceData .lien-unified-filter-row .lien-sort-controls {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  #pagePriceData .lien-datacenter-search-row {
    grid-template-columns: minmax(0, 1fr) 100px;
  }

  #pagePriceData .lien-datacenter-search-field {
    grid-column: 1 / -1;
  }

  #pagePriceData .lien-datacenter-search-row .lien-datacenter-store {
    grid-column: 1;
  }

  #pagePriceData .lien-datacenter-search-row .module-find-button {
    grid-column: 2;
  }

  #pagePriceData .lien-datacenter-category-row {
    grid-template-columns: 1fr;
  }
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-search-field {
  order: 1;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataCategory) {
  order: 2;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductType) {
  order: 3;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataSize) {
  order: 4;
}

#pagePriceData .lien-datacenter-search-row .lien-inline-rate {
  order: 5;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductStatus) {
  order: 6;
}

#pagePriceData .lien-datacenter-search-row .lien-level-filter {
  order: 7;
}

#pagePriceData .lien-datacenter-search-row .lien-exceptions-filter {
  order: 8;
}

#pagePriceData .lien-datacenter-search-row .lien-quick-select {
  order: 9;
}

#pagePriceData .lien-datacenter-search-row .lien-price-status {
  order: 10;
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-search-field {
  flex: 2 1 245px;
}

#pagePriceData .lien-datacenter-search-row .lien-quick-select {
  margin-left: auto;
}

#pagePriceData .lien-datacenter-search-row .lien-price-status {
  flex-basis: 140px;
}

#pagePriceData .lien-data-scroll-actions {
  display: none;
}

#pagePriceData #lienPriceDataTable {
  min-width: 2020px;
}

#pagePriceData #lienPriceDataTable th:nth-child(5) {
  width: 145px;
}

#pagePriceData #lienPriceDataTable th:nth-child(6) {
  width: 205px;
}

#pagePriceData #lienPriceDataTable tbody td:nth-child(5),
#pagePriceData #lienPriceDataTable tbody td:nth-child(6) {
  white-space: normal;
  overflow-wrap: anywhere;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-amount {
  display: none;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden th:nth-child(6) {
  padding: 11px 9px;
  text-align: left;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden td[data-column="5"] {
  visibility: visible;
  padding: 11px 9px;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden th:nth-child(10) {
  width: 40px;
  padding: 0 8px;
  text-align: center;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden th:nth-child(10) .compare-header-label {
  display: none;
}

#pagePriceData #lienPriceDataTable.compare-column-hidden td[data-column="9"] {
  visibility: hidden;
  padding: 0;
}

#pagePriceData #lienPriceDataTable th:nth-child(12) {
  width: 210px;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-base {
  display: block;
  width: 132px;
  max-width: none;
  margin: 7px 0 0;
}

#pagePriceData #lienPriceDataTable .lien-base-switch {
  display: block;
  width: 132px;
  max-width: none;
}

#pagePriceData #lienPriceDataTable .lien-base-presets {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  grid-column: auto;
  grid-row: auto;
}

#pagePriceData #lienPriceDataTable .lien-base-switch .lien-base-presets button {
  display: inline-flex;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 28px;
  padding: 0 1px;
  font-size: 9px;
  font-weight: 600;
}

#pagePriceData #lienPriceDataTable {
  min-width: 2450px;
}

#pagePriceData #lienPriceDataTable th:nth-child(12), #pagePriceData #lienPriceDataTable td:nth-child(12) {
  width: 220px;
  min-width: 220px;
}

#pagePriceData #lienPriceDataTable th:nth-child(13), #pagePriceData #lienPriceDataTable td:nth-child(13) {
  width: 195px;
  min-width: 195px;
}

#pagePriceData #lienPriceDataTable .lien-base-switch .lien-base-presets {
  width: 132px;
  min-width: 132px;
  overflow: visible;
}

#pagePriceData .lien-custom-base {
  position: relative;
  z-index: 9;
}

#pagePriceData .lien-custom-base #lienDataBaseAdjust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #343d51;
  border-radius: 8px;
  background: #101522;
  color: #b8cce0;
  cursor: pointer;
}

#pagePriceData .lien-custom-base #lienDataBaseAdjust[aria-pressed="true"] {
  border-color: #7863f3;
  color: #c9beff;
}

#pagePriceData .lien-custom-base #lienDataBaseCustom {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: block;
  box-sizing: border-box;
  width: 250px;
  padding: 12px;
  border: 1px solid #3a4660;
  border-radius: 9px;
  background: #101522;
  box-shadow: 0 15px 35px #0009;
}

#pagePriceData .lien-custom-base #lienDataBaseCustom[hidden] {
  display: none;
}

#pagePriceData .lien-custom-base .lien-base-slider-labels {
  position: static;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#pagePriceData .lien-custom-base .lien-base-ticks {
  display: none;
}

#pagePriceData .lien-custom-base #lienDataBaseSlider {
  position: static;
  display: block;
  width: 100%;
}

/* Keep the DataCentre filters to two horizontal bands at desktop widths. */
#pagePriceData #lienDataCentreChips {
  display: none !important;
}

#pagePriceData .lien-datacenter-search-row {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-search-field {
  flex: 1 1 300px;
  min-width: 190px;
}

#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataCategory),
#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductType),
#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataSize),
#pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductStatus) {
  flex: 0 1 175px;
  min-width: 120px;
}

#pagePriceData .lien-datacenter-search-row .lien-inline-rate {
  flex: 0 1 120px;
  min-width: 90px;
}

#pagePriceData .lien-unified-filter-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 9px;
  padding-top: 0;
  border-top: 0;
}

#pagePriceData .lien-unified-filter-row .lien-exceptions-filter {
  flex: 0 0 auto;
  margin-right: auto;
}

#pagePriceData .lien-unified-filter-row .lien-quick-select {
  flex: 0 0 auto;
  margin-left: 0;
}

#pagePriceData .lien-unified-filter-row .lien-price-status {
  flex: 0 0 135px;
  width: 135px;
  margin-right: 0;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  flex: 0 0 175px;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls .lien-rounded-select {
  width: 100%;
}

#pagePriceData .lien-unified-filter-row .lien-columns-menu > summary {
  white-space: nowrap;
}

#pagePriceData #lienPriceDataTable th:nth-child(2) {
  width: 150px;
}

#pagePriceData #lienPriceDataTable th:nth-child(3) {
  width: 180px !important;
}

#pagePriceData #lienPriceDataTable td:nth-child(3) {
  white-space: normal;
}

#pagePriceData #lienPriceDataTable .lien-child-sku-inline,
#pagePriceData #lienPriceDataTable .lien-child-sku-list {
  max-width: 170px;
}

@media (max-width: 1400px) {
  #pagePriceData .lien-datacenter-search-row .lien-datacenter-search-field {
    flex: 1 1 190px;
    min-width: 190px;
  }

  #pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataCategory),
  #pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductType),
  #pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataSize),
  #pagePriceData .lien-datacenter-search-row .lien-filter-field:has(#lienPriceDataProductStatus) {
    flex: 1 1 120px;
    min-width: 110px;
  }

  #pagePriceData .lien-datacenter-search-row .lien-inline-rate {
    flex: 1 1 90px;
    min-width: 80px;
  }

  #pagePriceData .lien-unified-filter-row {
    gap: 7px;
  }

  #pagePriceData .lien-unified-filter-row .lien-quick-select > span {
    display: none;
  }

  #pagePriceData .lien-unified-filter-row .lien-quick-select {
    gap: 5px;
  }

  #pagePriceData .lien-unified-filter-row .lien-price-status {
    flex-basis: 105px;
    width: 105px;
  }

  #pagePriceData .lien-unified-filter-row .lien-sort-controls {
    flex-basis: 135px;
  }
}

@media (max-width: 1100px) {
  #pagePriceData .lien-datacenter-search-row,
  #pagePriceData .lien-unified-filter-row {
    flex-wrap: wrap;
  }
}

/* Align every DataCentre value with its own heading, including horizontally scrolled columns. */
#pagePriceData #lienPriceDataTable thead th:nth-child(n+7),
#pagePriceData #lienPriceDataTable tbody td[data-column="6"],
#pagePriceData #lienPriceDataTable tbody td[data-column="7"],
#pagePriceData #lienPriceDataTable tbody td[data-column="8"],
#pagePriceData #lienPriceDataTable tbody td[data-column="9"],
#pagePriceData #lienPriceDataTable tbody td[data-column="10"],
#pagePriceData #lienPriceDataTable tbody td[data-column="11"],
#pagePriceData #lienPriceDataTable tbody td[data-column="12"],
#pagePriceData #lienPriceDataTable tbody td[data-column="13"],
#pagePriceData #lienPriceDataTable tbody td[data-column="14"],
#pagePriceData #lienPriceDataTable tbody td[data-column="15"] {
  text-align: center;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(5),
#pagePriceData #lienPriceDataTable thead th:nth-child(6),
#pagePriceData #lienPriceDataTable tbody td[data-column="4"],
#pagePriceData #lienPriceDataTable tbody td[data-column="5"] {
  text-align: left;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-base,
#pagePriceData #lienPriceDataTable .lien-base-switch,
#pagePriceData #lienPriceDataTable .lien-rate-position {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(12) {
  white-space: normal;
  line-height: 1.3;
}

/* Search/actions stay on the first line; all DataCentre filters open below them. */
#pagePriceData .lien-datacenter-search-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

#pagePriceData .lien-datacenter-search-row .lien-datacenter-search-field {
  flex: 1 1 auto;
  min-width: 180px;
}

#pagePriceData .lien-datacenter-search-row .module-find-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  flex: 0 0 100px;
  width: 100px;
  height: 42px;
}

#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 3;
  flex: 0 0 115px;
  height: 42px;
}

#pagePriceData #lienPriceDataFilters:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #30394d;
}

#pagePriceData #lienPriceDataFilters .lien-filter-field,
#pagePriceData #lienPriceDataFilters .lien-inline-rate,
#pagePriceData #lienPriceDataFilters .lien-price-status,
#pagePriceData #lienPriceDataFilters .lien-datacenter-store {
  width: 100%;
  min-width: 0;
  margin: 0;
  flex: none;
}

#pagePriceData #lienPriceDataFilters .lien-store-select-trigger,
#pagePriceData #lienPriceDataFilters .lien-rounded-select-trigger {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  min-height: 42px;
}

#pagePriceData #lienPriceDataFilters .lien-inline-rate > span,
#pagePriceData #lienPriceDataFilters .lien-price-status::before {
  display: none;
}

#pagePriceData #lienPriceDataFilters #lienPriceDataClear {
  justify-self: start;
}

#pagePriceData .lien-unified-filter-row {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

#pagePriceData .lien-unified-filter-row .lien-datacenter-base {
  display: block;
  flex: 0 0 174px;
  width: 174px;
  margin: 0;
  padding: 0;
  border: 0;
}

#pagePriceData .lien-unified-filter-row .lien-datacenter-base > span {
  display: none;
}

#pagePriceData .lien-unified-filter-row .lien-base-switch {
  display: block;
  width: 174px;
}

#pagePriceData .lien-unified-filter-row .lien-base-presets {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

#pagePriceData .lien-unified-filter-row .lien-base-presets button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 38px;
  padding: 0 3px;
}

#pagePriceData .lien-export-actions .lien-pricedata-renew {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #36506b;
  border-radius: 9px;
  background: #172537;
  color: #cfe4fb;
  white-space: nowrap;
}

#pagePriceData .lien-export-actions .lien-pricedata-renew:disabled {
  opacity: .6;
  cursor: wait;
}

@media (max-width: 900px) {
  #pagePriceData #lienPriceDataFilters:not([hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pagePriceData .lien-unified-filter-row {
    flex-wrap: wrap;
  }
}

/* Product details share one cell, keeping the DataCentre table compact. */
#pagePriceData #lienPriceDataTable {
  min-width: 1450px;
}

#pagePriceData #lienPriceDataTable th,
#pagePriceData #lienPriceDataTable td {
  padding-left: 6px;
  padding-right: 6px;
}

#pagePriceData #lienPriceDataTable tbody td[data-column] {
  padding-left: 6px;
  padding-right: 6px;
}

#pagePriceData #lienPriceDataTable th:nth-child(1) {
  width: 42px;
}

#pagePriceData #lienPriceDataTable th:nth-child(2) {
  width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(3) {
  width: 125px !important;
}

#pagePriceData #lienPriceDataTable th:nth-child(4) {
  width: 320px;
}

#pagePriceData #lienPriceDataTable th:nth-child(5) {
  width: 105px;
}

#pagePriceData #lienPriceDataTable th:nth-child(6) {
  width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(7),
#pagePriceData #lienPriceDataTable td:nth-child(7) {
  width: 110px;
  min-width: 110px;
}

#pagePriceData #lienPriceDataTable th:nth-child(8),
#pagePriceData #lienPriceDataTable td:nth-child(8) {
  width: 160px;
  min-width: 160px;
}

#pagePriceData #lienPriceDataTable th:nth-child(9) {
  width: 100px;
}

#pagePriceData #lienPriceDataTable th:nth-child(10) {
  width: 95px;
}

#pagePriceData #lienPriceDataTable th:nth-child(11),
#pagePriceData #lienPriceDataTable td:nth-child(11) {
  width: 130px;
  min-width: 130px;
}

#pagePriceData #lienPriceDataTable .lien-child-sku-inline,
#pagePriceData #lienPriceDataTable .lien-child-sku-list {
  max-width: 100%;
}

#pagePriceData #lienPriceDataTable .lien-product-title,
#pagePriceData #lienPriceDataTable .lien-product-meta,
#pagePriceData #lienPriceDataTable .lien-row-store {
  max-width: 100%;
}

#pagePriceData #lienPriceDataTable .lien-product-meta {
  display: block;
  margin-top: 3px;
  color: #a0b9d4;
  font-size: 10px;
  line-height: 1.4;
  white-space: normal;
}

#pagePriceData #lienPriceDataTable .lien-product-meta .lien-pricedata-status {
  margin-left: 2px;
  margin-top: 0;
  vertical-align: baseline;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(n+5),
#pagePriceData #lienPriceDataTable tbody td[data-column="4"],
#pagePriceData #lienPriceDataTable tbody td[data-column="5"],
#pagePriceData #lienPriceDataTable tbody td[data-column="6"],
#pagePriceData #lienPriceDataTable tbody td[data-column="7"],
#pagePriceData #lienPriceDataTable tbody td[data-column="8"],
#pagePriceData #lienPriceDataTable tbody td[data-column="9"],
#pagePriceData #lienPriceDataTable tbody td[data-column="10"] {
  text-align: center;
}

#pagePriceData #lienPriceDataTable tbody td[data-column="3"] {
  text-align: left;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(8) {
  white-space: normal;
  line-height: 1.3;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice {
  width: 112px;
  max-width: 100%;
  white-space: nowrap;
}

/* Consistent DataCentre toolbar controls: one height and one corner shape. */
#pagePriceData .lien-export-actions .lien-pricedata-renew,
#pagePriceData .lien-export-actions .lien-store-select-trigger,
#pagePriceData .lien-datacenter-search-row #lienPriceDataParentSku,
#pagePriceData .lien-datacenter-search-row .module-find-button,
#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle,
#pagePriceData .lien-unified-filter-row .lien-sort-controls .lien-rounded-select-trigger,
#pagePriceData .lien-unified-filter-row .lien-base-presets,
#pagePriceData .lien-unified-filter-row .lien-custom-base #lienDataBaseAdjust,
#pagePriceData .lien-unified-filter-row .lien-columns-menu > summary,
#pagePriceData .lien-unified-filter-row .lien-export-menu > summary {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
}

#pagePriceData .lien-export-actions .lien-pricedata-renew {
  width: 120px;
  min-width: 120px;
}

#pagePriceData .lien-datacenter-search-row .module-find-button,
#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle {
  flex-basis: 110px;
  width: 110px;
}

#pagePriceData .lien-unified-filter-row .lien-base-presets button {
  height: 36px;
  min-height: 36px;
  border-radius: 7px;
}

#pagePriceData .lien-unified-filter-row .lien-sort-controls {
  flex-basis: 180px;
}

#pagePriceData .lien-unified-filter-row .lien-custom-base #lienDataBaseAdjust {
  width: 44px;
}

#pagePriceData .lien-unified-filter-row .lien-columns-menu > summary,
#pagePriceData .lien-unified-filter-row .lien-export-menu > summary {
  width: 110px;
  justify-content: center;
}

/* Columns: compact product summary by default, six separate fields on demand. */
#pagePriceData .lien-columns-menu .lien-columns-detail-toggle {
  padding-bottom: 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid #343d51;
  font-weight: 600;
}

#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) .lien-product-detail-column {
  display: none !important;
}

#pagePriceData #lienPriceDataTable.lien-expanded-product tr > :nth-child(4) {
  display: none !important;
}

#pagePriceData #lienPriceDataTable.lien-expanded-product {
  min-width: 2100px;
}

#pagePriceData #lienPriceDataTable th:nth-child(1) {
  width: 42px;
}

#pagePriceData #lienPriceDataTable th:nth-child(2) {
  width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(3) {
  width: 125px !important;
}

#pagePriceData #lienPriceDataTable th:nth-child(4) {
  width: 320px;
}

#pagePriceData #lienPriceDataTable th:nth-child(5) {
  width: 240px;
}

#pagePriceData #lienPriceDataTable th:nth-child(6) {
  width: 130px;
}

#pagePriceData #lienPriceDataTable th:nth-child(7),
#pagePriceData #lienPriceDataTable td:nth-child(7) {
  width: 150px;
  min-width: 150px;
}

#pagePriceData #lienPriceDataTable th:nth-child(8),
#pagePriceData #lienPriceDataTable td:nth-child(8) {
  width: 95px;
  min-width: 95px;
}

#pagePriceData #lienPriceDataTable th:nth-child(9) {
  width: 95px;
}

#pagePriceData #lienPriceDataTable th:nth-child(10) {
  width: 140px;
}

#pagePriceData #lienPriceDataTable th:nth-child(11),
#pagePriceData #lienPriceDataTable td:nth-child(11) {
  width: 105px;
  min-width: 105px;
}

#pagePriceData #lienPriceDataTable th:nth-child(12),
#pagePriceData #lienPriceDataTable td:nth-child(12) {
  width: 125px;
  min-width: 125px;
}

#pagePriceData #lienPriceDataTable th:nth-child(13),
#pagePriceData #lienPriceDataTable td:nth-child(13) {
  width: 110px;
  min-width: 110px;
}

#pagePriceData #lienPriceDataTable th:nth-child(14),
#pagePriceData #lienPriceDataTable td:nth-child(14) {
  width: 160px;
  min-width: 160px;
}

#pagePriceData #lienPriceDataTable th:nth-child(15) {
  width: 100px;
}

#pagePriceData #lienPriceDataTable th:nth-child(16) {
  width: 95px;
}

#pagePriceData #lienPriceDataTable th:nth-child(17),
#pagePriceData #lienPriceDataTable td:nth-child(17) {
  width: 130px;
  min-width: 130px;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(5),
#pagePriceData #lienPriceDataTable thead th:nth-child(6),
#pagePriceData #lienPriceDataTable thead th:nth-child(7),
#pagePriceData #lienPriceDataTable thead th:nth-child(10),
#pagePriceData #lienPriceDataTable tbody td[data-column="4"],
#pagePriceData #lienPriceDataTable tbody td[data-column="5"],
#pagePriceData #lienPriceDataTable tbody td[data-column="6"],
#pagePriceData #lienPriceDataTable tbody td[data-column="9"] {
  text-align: left;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(n+8):not(:nth-child(10)),
#pagePriceData #lienPriceDataTable tbody td[data-column="7"],
#pagePriceData #lienPriceDataTable tbody td[data-column="8"],
#pagePriceData #lienPriceDataTable tbody td[data-column="10"],
#pagePriceData #lienPriceDataTable tbody td[data-column="11"],
#pagePriceData #lienPriceDataTable tbody td[data-column="12"],
#pagePriceData #lienPriceDataTable tbody td[data-column="13"],
#pagePriceData #lienPriceDataTable tbody td[data-column="14"],
#pagePriceData #lienPriceDataTable tbody td[data-column="15"],
#pagePriceData #lienPriceDataTable tbody td[data-column="16"] {
  text-align: center;
}

#pagePriceData #lienPriceDataTable thead th:nth-child(14) {
  white-space: normal;
  line-height: 1.3;
}

#pagePriceData #lienPriceDataTable .lien-detail-name,
#pagePriceData #lienPriceDataTable .lien-detail-category,
#pagePriceData #lienPriceDataTable .lien-detail-type,
#pagePriceData #lienPriceDataTable .lien-detail-store {
  overflow-wrap: anywhere;
}

/* DataCentre table: keep selection and actions inside their column gutters. */
#pagePriceData #lienPriceDataTable {
  min-width: 1530px;
}

#pagePriceData #lienPriceDataTable.lien-expanded-product {
  min-width: 2180px;
}

#pagePriceData #lienPriceDataTable thead th,
#pagePriceData #lienPriceDataTable tbody td {
  padding-left: 10px;
  padding-right: 10px;
}

#pagePriceData #lienPriceDataTable thead th:first-child,
#pagePriceData #lienPriceDataTable tbody td:first-child {
  width: 58px;
  min-width: 58px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}

#pagePriceData #lienPriceDataTable #priceSelectPage,
#pagePriceData #lienPriceDataTable .price-row-select {
  display: block;
  margin: 0 auto;
}

#pagePriceData #lienPriceDataTable thead th:last-child,
#pagePriceData #lienPriceDataTable tbody td:last-child {
  width: 170px;
  min-width: 170px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}

#pagePriceData #lienPriceDataTable tbody td:last-child > span {
  display: block;
  width: 100%;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 146px;
  min-height: 34px;
  padding: 5px 7px;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}

/* Logs and History: keep export beside rows-per-page, with its options in a menu. */
#pageProductSet .lien-table-title-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

#pageProductSet .lien-table-title-row .lien-table-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  gap: 10px;
  overflow: visible;
}

#pageProductSet .lien-table-title-row .lien-sort-controls {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  grid-template-columns: minmax(115px, 1fr) minmax(180px, 1.5fr);
}

#pageProductSet .lien-table-title-row .lien-page-size {
  flex: 0 0 112px;
  width: 112px;
  min-width: 0;
}

#pageProductSet .lien-history-year-export {
  position: relative;
  display: block;
  flex: 0 0 100px;
  align-self: end;
  margin: 0;
}

#pageProductSet .lien-history-year-export > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 0 12px;
  list-style: none;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #142337;
  color: #e0eeff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#pageProductSet .lien-history-year-export > summary::-webkit-details-marker {
  display: none;
}

#pageProductSet .lien-history-year-export > summary::after {
  content: "";
  width: 0;
  height: 0;
  flex: 0 0 auto;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #dbe7f3;
}

#pageProductSet .lien-history-export-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  width: 200px;
  gap: 9px;
  padding: 12px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #101b2b;
  box-shadow: 0 12px 28px #0008;
}

#pageProductSet .lien-history-export-menu select {
  width: 100%;
}

#pageProductSet .lien-history-export-menu > div {
  display: flex;
  gap: 8px;
}

#pageProductSet .lien-history-export-menu button {
  flex: 1;
}

/* Price-history graph occupies the existing comparison card. */
#pageProductSet #lienPriceGraphContent[hidden],
#pageProductSet #lienPlatformPriceContent[hidden] {
  display: none !important;
}

#pageProductSet .lien-platform-comparison-card {
  background: linear-gradient(140deg, #111d30, #0c1828 75%);
  border-color: #2c405d;
}

#pageProductSet .lien-platform-comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 22px 20px 16px;
}

#pageProductSet .lien-platform-comparison-heading > div:first-child {
  min-width: 0;
  padding-right: 86px;
}

#pageProductSet .lien-platform-comparison-heading h3 {
  margin: 0 0 5px;
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

#pageProductSet .lien-platform-comparison-heading small {
  color: #a9bee2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

#pageProductSet .lien-history-view-tabs {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding: 0;
  border: 1px solid #2d405d;
  border-radius: 10px;
  background: #101b2d;
  overflow: hidden;
}

#pageProductSet .lien-history-view-tabs button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 43px;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #b7caeb;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

#pageProductSet .lien-history-view-tabs button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pageProductSet .lien-history-view-tabs button.active {
  border-color: #9467ff;
  background: linear-gradient(135deg, #38326b, #282553);
  color: #fff;
  box-shadow: inset 0 0 0 1px #7659cf55;
  font-weight: 700;
}

#pageProductSet .lien-history-view-tabs button.active svg {
  color: #aa84ff;
}

#pageProductSet .lien-price-graph-content {
  min-width: 0;
  padding: 0 20px 20px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-controls {
  display: grid;
  gap: 15px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-periods {
  display: flex;
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
  border: 1px solid #344862;
  border-radius: 24px;
  background: #142238;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-periods button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 35px;
  padding: 6px 1px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: #bdd0ef;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-periods button + button {
  border-left: 1px solid #30415b;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-periods button.active {
  border-left-color: transparent;
  border-radius: 20px;
  background: linear-gradient(135deg, #9366ff, #6e4ef2);
  color: #fff;
  box-shadow: 0 2px 9px #4c37bd66;
  font-weight: 700;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-store-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-store-controls > label,
:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-store-controls > .lien-history-graph-field {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #bdd0ef;
  font-size: 11px;
  font-weight: 500;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #b9d1f2;
  stroke-width: 1.7;
  z-index: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > summary {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 42px;
  box-sizing: border-box;
  padding: 0 10px 0 36px;
  border: 1px solid #344b6a;
  border-radius: 9px;
  background: #101d30;
  color: #eef5ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > summary::-webkit-details-marker {
  display: none;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 190px;
  overflow: auto;
  border: 1px solid #344b6a;
  border-radius: 9px;
  background: #101d30;
  box-shadow: 0 12px 24px #0008;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > div button {
  display: block;
  width: 100%;
  padding: 6px 11px;
  border: 0;
  background: transparent;
  color: #eef5ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > div button:hover:not(:disabled),
:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > div button.selected {
  background: #2069cf;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-select > div button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare {
  position: relative;
  width: 100%;
  min-width: 0;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare > summary {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #344b6a;
  border-radius: 9px;
  background: #101d30;
  color: #eef5ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare > summary::-webkit-details-marker {
  display: none;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare > summary > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pageProductSet .lien-compare-plus {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  height: 18px;
  border: 1px solid #a8c6f3;
  border-radius: 50%;
  color: #a8c6f3;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-compare-swap {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: #a8c6f3;
  -webkit-mask: url("/static/swap_icon.png") center / contain no-repeat;
  mask: url("/static/swap_icon.png") center / contain no-repeat;
}

#pageProductSet .lien-compare-plus::before,
#pageProductSet .lien-compare-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

#pageProductSet .lien-compare-plus::before {
  width: 9px;
  height: 1.5px;
}

#pageProductSet .lien-compare-plus::after {
  width: 1.5px;
  height: 9px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-compare-chevron {
  margin-left: auto;
  margin-right: 6px;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #a8c6f3;
  border-bottom: 1.5px solid #a8c6f3;
  transform: rotate(45deg) translateY(-2px);
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  max-height: 190px;
  overflow: auto;
  gap: 8px;
  padding: 11px;
  border: 1px solid #344b6a;
  border-radius: 9px;
  background: #101d30;
  box-shadow: 0 12px 24px #0008;
  color: #eef5ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-compare label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-frame {
  margin-top: 17px;
  padding: 12px 10px 15px;
  border: 1px solid #2b405c;
  border-radius: 13px;
  background: #101d30bb;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-canvas {
  position: relative;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-canvas svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-gridline {
  stroke: #49627b;
  stroke-width: .7;
  stroke-dasharray: 4 4;
  opacity: .6;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-gridline-vertical {
  opacity: .42;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-axis {
  fill: #b6c9e9;
  font-size: 11px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-area {
  fill: #9df5db;
  opacity: .14;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-guide {
  stroke: #dce9e8;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-tooltip {
  position: absolute;
  top: 12px;
  z-index: 5;
  box-sizing: border-box;
  width: 118px;
  max-width: calc(100% - 12px);
  padding: 5px 7px;
  border: 1px solid #9eb9bd;
  border-radius: 6px;
  background: #0a141c;
  color: #eff7f5;
  font-size: 10px;
  line-height: 1.3;
  pointer-events: none;
  text-align: left;
  white-space: pre-line;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  padding: 5px 9px 0;
  color: #eef5ff;
  font-size: 12px;
  font-weight: 600;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-empty {
  margin: 17px 0 0;
  padding: 42px 12px;
  border: 1px solid #2b405c;
  border-radius: 13px;
  background: #101d30bb;
  color: #aebfdb;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 620px) {
  #pageProductSet .lien-history-view-tabs button {
    gap: 5px;
    font-size: 11px;
  }
  :is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-store-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (max-width: 760px) {
  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    gap: 6px;
  }

  #pageProductSet .lien-table-title-row .lien-sort-controls {
    grid-template-columns: minmax(85px, 1fr) minmax(150px, 1.7fr);
    gap: 6px;
  }

  #pageProductSet .lien-history-year-export {
    flex-basis: 82px;
  }

  #pageProductSet .lien-table-title-row .lien-page-size {
    flex-basis: 90px;
    width: 90px;
  }
}

/* DataCentre uses the same table typography as Logs and History. */
#pagePriceData button,
#pagePriceData summary {
  text-align: center;
}

#pagePriceData #lienPriceDataTable thead th {
  color: #91acc6;
  font-size: 11px;
  font-weight: 600;
}

#pagePriceData #lienPriceDataTable tbody td {
  color: #d8e3ed;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#pagePriceData #lienPriceDataTable .lien-product-title {
  color: #edf3f8;
  font-size: 13px;
  font-weight: 700;
}

#pagePriceData #lienPriceDataTable .lien-parent-name {
  font-size: 13px;
}

#pagePriceData #lienPriceDataTable .lien-product-meta,
#pagePriceData #lienPriceDataTable .lien-row-store {
  font-size: 11px;
}

#pagePriceData #lienPriceDataTable tbody td:nth-child(15) {
  font-weight: 700;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-rate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-position.lower {
  line-height: 18px;
  position: relative;
  top: -5px;
}

#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle {
  flex: 0 0 136px;
  width: 136px;
  min-width: 136px;
}

#pagePriceData #lienPriceDataFilters .lien-inline-rate > span,
#pagePriceData #lienPriceDataFilters .lien-price-status > span {
  display: block;
  margin: 0 0 6px;
  color: #a9c2d8;
  font-size: 11px;
  font-weight: 600;
}

/* Price History view switcher. */
#pageProductSet .lien-platform-comparison-heading {
  display: block;
  padding: 18px 20px 12px;
}

#pageProductSet .lien-platform-comparison-heading > div:first-child {
  min-width: 0;
  padding-right: 0;
}

#pageProductSet .lien-history-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

#pageProductSet .lien-history-title-row h3 {
  margin: 0;
  line-height: 1.2;
}

#pageProductSet .lien-history-view-tabs {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transform: translateY(-3px); /* Lien: move graph/comparison buttons slightly upward */
}

#pageProductSet .lien-history-view-tabs button {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 1px solid #31465c;
  border-radius: 9px;
  background: #101d2b;
  color: #91a8bd;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

#pageProductSet .lien-history-view-tabs button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#pageProductSet .lien-history-view-tabs button:hover {
  border-color: #526f8d;
  background: #152538;
  color: #d3e4f5;
}

#pageProductSet .lien-history-view-tabs button.active,
#pageProductSet .lien-history-view-tabs button[aria-pressed="true"] {
  border-color: #8b5cf6;
  background: #342568;
  color: #b995ff;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .18), 0 0 12px rgba(139, 92, 246, .18);
  font-weight: 700;
}

#pageProductSet .lien-history-view-tabs button.active svg,
#pageProductSet .lien-history-view-tabs button[aria-pressed="true"] svg {
  color: #b995ff;
}

#pageProductSet .lien-history-view-tabs button:active {
  transform: scale(.96);
}

#pageProductSet .lien-history-visual-heading > small {
  display: block;
  margin: 7px 0 0;
  color: #a9bee2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 620px) {
  #pageProductSet .lien-history-title-row {
    gap: 7px;
  }

  #pageProductSet .lien-history-view-tabs button {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-basis: 32px;
  }
}

/* Price History header actions. */
#pageProductSet .lien-platform-comparison-card {
  position: relative;
}

#pageProductSet .lien-platform-comparison-heading {
  position: relative;
  padding-right: 255px !important;
}

/* Lien: graph / platform icons appear first (left group). */
#pageProductSet .lien-platform-comparison-card .lien-history-view-tabs {
  position: absolute;
  top: 18px;
  right: 148px;
  z-index: 4;
  margin: 0;
}

/* Lien: window controls appear second (right group). */
#pageProductSet .lien-platform-comparison-card > .lien-window-actions,
#pageProductSet .lien-platform-comparison-card .lien-window-actions {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  margin: 0;
}

/* Lien: slightly increase spacing within the window-control group. */
#pageProductSet .lien-platform-comparison-card .lien-window-actions {
  gap: 6px;
}

/* Lien: responsive fallback so header actions do not collide on narrow panels. */
@media (max-width: 620px) {
  #pageProductSet .lien-platform-comparison-heading {
    padding-right: 0 !important;
    padding-top: 64px !important;
  }

  #pageProductSet .lien-platform-comparison-card .lien-history-view-tabs {
    top: 14px;
    left: 20px;
    right: auto;
  }

  #pageProductSet .lien-platform-comparison-card > .lien-window-actions,
  #pageProductSet .lien-platform-comparison-card .lien-window-actions {
    top: 14px;
    right: 20px;
  }
}

/* Keep the two compare-at headings on one line in DataCentre. */
#pagePriceData #lienPriceDataTable thead th:nth-child(12),
#pagePriceData #lienPriceDataTable thead th:nth-child(14),
#pagePriceData #lienPriceDataTable thead th:nth-child(14) span {
  white-space: nowrap;
}
#pagePriceData #lienPriceDataTable th:nth-child(12),
#pagePriceData #lienPriceDataTable td:nth-child(12) {
  width: 165px;
  min-width: 165px;
}
#pagePriceData #lienPriceDataTable th:nth-child(14),
#pagePriceData #lienPriceDataTable td:nth-child(14) {
  width: 205px;
  min-width: 205px;
}
#pagePriceData #lienPriceDataTable {
  min-width: 1670px;
}

/* Match the Logs and History table toolbar: labelled sort, order and page size. */
#pagePriceData .lien-datacenter-table-controls {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
  display: flex;
  flex: 1 1 490px;
  align-items: flex-end;
  gap: 10px;
  width: auto;
  min-width: min(100%, 380px);
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label,
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child,
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  width: auto;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child {
  flex: 1 1 40%;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  flex: 1.5 1 60%;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label > span,
#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base > span,
#pagePriceData .lien-datacenter-table-controls .lien-page-size > span {
  display: block;
  margin: 0;
  color: #a9c8ed;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base {
  display: flex;
  flex: 0 0 174px;
  flex-direction: column;
  gap: 6px;
  width: 174px;
  height: auto;
}

#pagePriceData .lien-datacenter-table-controls .lien-page-size {
  display: flex;
  flex: 0 0 112px;
  flex-direction: column;
  gap: 6px;
  width: 112px;
  min-width: 112px;
}

#pagePriceData .lien-datacenter-table-controls .lien-page-size .lien-rounded-select,
#pagePriceData .lien-datacenter-table-controls .lien-page-size .lien-rounded-select-trigger {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
}

/* Match button typography across Pricing Overview and Logs and History. */
:is(#pagePriceData, #pageProductSet) .module-find-button,
:is(#pagePriceData, #pageProductSet) .lien-rounded-select-trigger,
:is(#pagePriceData, #pageProductSet) .lien-store-select-trigger,
#pagePriceData .lien-pricedata-renew,
#pagePriceData #lienPriceDataFiltersToggle,
#pageProductSet #lienHistoryFiltersToggle,
#pagePriceData .lien-datacenter-table-controls .lien-base-switch .lien-base-presets button,
#pagePriceData .lien-datacenter-table-controls #lienDataBaseAdjust,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary,
#pageProductSet .lien-history-year-export > summary {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

:is(#pagePriceData, #pageProductSet) .lien-rounded-option,
#pagePriceData .lien-store-option,
#pagePriceData .lien-columns-menu label,
#pagePriceData .lien-export-formats button,
#pagePriceData .lien-export-formats #lienPriceDataCsv,
#pagePriceData .lien-export-formats #lienPriceDataXlsx,
#pageProductSet .lien-history-export-menu button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* Keep the complete Pricing Overview toolbar on one row like History. */
#pagePriceData .lien-datacenter-table-controls {
  flex-wrap: nowrap;
  align-items: flex-end;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child,
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label > span,
#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base > span,
#pagePriceData .lien-datacenter-table-controls .lien-page-size > span {
  text-align: left;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1050px) {
  #pagePriceData .lien-datacenter-table-controls {
    flex-wrap: wrap;
  }

  #pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
    flex-basis: 100%;
  }
}

/* Pricing Base is one segmented control, including its settings button. */
#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base {
  flex-basis: 218px;
  width: 218px;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base .lien-base-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  box-sizing: border-box;
  width: 218px;
  height: 42px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #0a1420;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base .lien-base-presets {
  flex: 1 1 auto;
  width: auto;
  height: 100%;
  padding: 3px;
  border: 0;
  border-radius: 9px 0 0 9px;
  background: transparent;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseAdjust {
  position: static;
  flex: 0 0 42px;
  box-sizing: border-box;
  width: 42px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-left: 1px solid #36506b;
  border-radius: 0 9px 9px 0;
  background: transparent;
  box-shadow: none;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseAdjust:hover,
#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseAdjust[aria-pressed="true"] {
  border-color: #4385c8;
  background: #152536;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseCustom {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  display: block;
  box-sizing: border-box;
  width: 250px;
  padding: 12px;
  border: 1px solid #3a4660;
  border-radius: 9px;
  background: #101522;
  box-shadow: 0 15px 35px #0009;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseCustom[hidden] {
  display: none;
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch.adjust-mode .lien-base-presets {
  visibility: visible;
  pointer-events: auto;
}

/* Fit the default DataCentre columns inside the card without clipping Action. */
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(1) { width: 3.5%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(2) { width: 8%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(3) { width: 8% !important; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(4) { width: 21%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(11) { width: 8%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(12) { width: 8%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(13) { width: 7.5%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(14) { width: 11%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(15) { width: 8%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(16) { width: 7%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(17) { width: 10%; }

#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) thead th,
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tbody td {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) .lien-row-reprice {
  max-width: 100%;
}

@media (max-width: 1200px) {
  #pagePriceData #lienPriceDataTable:not(.lien-expanded-product) {
    min-width: 1200px;
  }
}

/* DataCentre table uses the same card, spaced rows and navigation as History. */
#pagePriceData .lien-table-card {
  padding: 20px !important;
  border-color: #263e56;
  border-radius: 14px;
  background: #0d1724;
}

#pagePriceData .lien-reference-table-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #273746;
  background: transparent;
}

#pagePriceData .lien-reference-table-title > div:first-child {
  display: block;
}

#pagePriceData .lien-reference-table-title h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 750;
}

#pagePriceData .lien-reference-table-title #lienPriceDataCount {
  color: #7791aa;
  font-size: 11px;
}

#pagePriceData .lien-reference-table-title .lien-datacenter-table-controls {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#pagePriceData .lien-table-scroll {
  max-width: 100%;
  margin-top: 12px;
  border-radius: 0;
}

#pagePriceData #lienPriceDataTable,
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) {
  box-sizing: border-box;
  border-collapse: separate;
  border-spacing: 0 6px;
  padding: 0 10px;
}

#pagePriceData #lienPriceDataTable thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 0;
  background: #111d2b;
  color: #91acc6;
}

#pagePriceData #lienPriceDataTable tbody tr:not(.lien-empty-row) {
  background: #101b29;
  box-shadow: none;
  transition: background-color .16s ease;
}

#pagePriceData #lienPriceDataTable tbody tr:not(.lien-empty-row) td {
  border: 0;
  background: #101b29;
  transition: background-color .16s ease;
}

#pagePriceData #lienPriceDataTable tbody tr:not(.lien-empty-row):hover td {
  background: #132439;
}

#pagePriceData #lienPriceDataTable tbody tr:has(.price-row-select:checked) td {
  background: #152b42;
}

#pagePriceData #lienPriceDataTable tbody tr:not(.lien-empty-row) td:first-child {
  border-radius: 10px 0 0 10px;
}

#pagePriceData #lienPriceDataTable tbody tr:not(.lien-empty-row) td:last-child {
  border-radius: 0 10px 10px 0;
}

#pagePriceData #lienPriceDataPagination {
  margin: 12px 0 0;
  padding: 16px 10px 0;
  border-top: 1px solid #273746;
  border-radius: 0;
  background: transparent;
}

/* Difference and Rate share one colour scale; all rate states match Lower. */
#pagePriceData #lienPriceDataTable .lien-positive,
#pagePriceData #lienPriceDataTable .lien-rate-position.higher {
  color: #3de1a1;
}

#pagePriceData #lienPriceDataTable .lien-equal,
#pagePriceData #lienPriceDataTable .lien-rate-position.equal {
  color: #ffbf4a;
}

#pagePriceData #lienPriceDataTable .lien-negative,
#pagePriceData #lienPriceDataTable .lien-rate-position.lower {
  color: #ff6677;
}

#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-position,
#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-position.lower {
  position: relative;
  top: -5px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

/* Put Show more in the same left-aligned position as Show less. */
#pagePriceData #lienPriceDataTable .lien-child-sku-list summary {
  text-align: left;
}

#pagePriceData #lienPriceDataTable .lien-child-sku-list summary small,
#pagePriceData #lienPriceDataTable .lien-child-sku-list .child-sku-show-less {
  display: block;
  align-self: flex-start;
  margin: 4px 0 0;
  padding: 0;
  color: #82b5dc;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

#pagePriceData #lienPriceDataTable .lien-child-sku-list[open] summary small {
  display: none;
}

#pagePriceData #lienPriceDataTable .lien-child-sku-list .child-sku-show-less {
  margin-top: 1px;
}

/* Expanded Base settings align with the full segmented control above. */
#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseCustom {
  left: -1px;
  right: -1px;
  width: calc(100% + 2px);
}

#pagePriceData .lien-datacenter-table-controls .lien-base-switch #lienDataBaseSlider {
  box-sizing: border-box;
  left: 16px;
  width: calc(100% - 32px);
}

/* Give Pricing Base more room without widening the toolbar; take it from Order. */
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child {
  flex: 1.1 1 0;
}

#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  flex: .9 1 0;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base {
  flex-basis: 270px;
  width: 270px;
}

#pagePriceData .lien-datacenter-table-controls .lien-datacenter-base .lien-base-switch {
  width: 270px;
}

/* Lower already has the correct baseline; only the other rates need lowering. */
#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-position.higher,
#pagePriceData #lienPriceDataTable .lien-datacenter-rate .lien-rate-position.equal {
  top: 0;
}

/* Logs and History Filters matches the Pricing Overview control. */
#pageProductSet #lienHistoryFiltersToggle {
  flex: 0 0 136px;
  width: 136px;
  height: 44px;
  min-height: 44px;
  gap: 0;
  padding: 0 16px;
  border: 1px solid #365d80;
  border-radius: 10px;
  background: #13263a;
  color: #cce3f9;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

#pageProductSet #lienHistoryFiltersToggle::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: 0;
  background-size: 18px 18px;
  filter: none;
}

#pageProductSet #lienHistoryFiltersToggle:hover {
  filter: none;
  border-color: #4385c8;
  background: #173047;
  color: #e0f4ff;
}

/* DataCentre Clear all matches the Logs and History clear button. */
#pagePriceData #lienPriceDataFilters #lienPriceDataClear {
  box-sizing: border-box;
  justify-self: start;
  width: 130px;
  min-width: 118px;
  height: 42px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #29415c;
  border-radius: 9px;
  background: #0d1724;
  box-shadow: none;
  color: #cfe1f8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

#pagePriceData #lienPriceDataFilters #lienPriceDataClear:hover {
  border-color: #4385c8;
  background: #101e2d;
}

/* Keep both price-change dialog actions and their labels on one line. */
#pagePriceData .lien-price-apply-actions {
  flex-wrap: nowrap;
  align-items: center;
}

#pagePriceData .lien-price-apply-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 42px;
  white-space: nowrap;
}

#pagePriceData #lienPriceDataApplyConfirm {
  min-width: 170px;
  padding: 0 18px;
}

/* Search icon: outline normally, selected variant while the field is active. */
#pagePriceData .lien-datacenter-search-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: #8eb8dc;
  mask: url("/static/search_magnifier.svg") center / contain no-repeat;
  -webkit-mask: url("/static/search_magnifier.svg") center / contain no-repeat;
  pointer-events: none;
}

#pagePriceData .lien-datacenter-search-field:focus-within::before {
  background: #6fc4ff;
  mask-image: url("/static/search_magnifier_selected.svg");
  -webkit-mask-image: url("/static/search_magnifier_selected.svg");
}

#pagePriceData .lien-datacenter-search-field #lienPriceDataParentSku {
  padding-left: 42px;
}

/* Keep all five DataCentre filters and Clear all on one desktop row. */
@media (min-width: 1151px) {
  #pagePriceData #lienPriceDataFilters:not([hidden]) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) 130px;
  }
}

@media (min-width: 901px) and (max-width: 1150px) {
  #pagePriceData #lienPriceDataFilters:not([hidden]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Clear hover feedback for the main Pricing Overview actions. */
#pagePriceData #lienPriceDataFiltersToggle,
#pagePriceData .lien-export-actions .lien-pricedata-renew,
#pagePriceData .lien-export-actions .lien-store-select-trigger,
#pagePriceData #lienPriceDataTable .lien-row-reprice {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

#pagePriceData #lienPriceDataFiltersToggle:hover {
  border-color: #59a2d9;
  background: #1b3b55;
  color: #e5f7ff;
  box-shadow: 0 0 0 2px #35a7df20;
}

#pagePriceData .lien-export-actions .lien-pricedata-renew:hover:not(:disabled),
#pagePriceData .lien-export-actions .lien-store-select-trigger:hover {
  border-color: #6aa7dc;
  background: #26415e;
  color: #fff;
  box-shadow: 0 0 0 2px #5aaeff20;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice:hover:not(:disabled) {
  border-color: #a794f0;
  background: #362e59;
  color: #f0eaff;
  box-shadow: 0 0 0 2px #9c80ee24;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice:hover:disabled {
  border-color: #816da9;
  background: #2a2540;
  opacity: .7;
}

/* Logs and History uses the same two search-icon states as DataCentre. */
#pageProductSet .lien-history-search::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: #8eb8dc;
  mask: url("/static/search_magnifier.svg") center / contain no-repeat;
  -webkit-mask: url("/static/search_magnifier.svg") center / contain no-repeat;
  pointer-events: none;
}

#pageProductSet .lien-history-search:focus-within::before {
  background: #6fc4ff;
  mask-image: url("/static/search_magnifier_selected.svg");
  -webkit-mask-image: url("/static/search_magnifier_selected.svg");
}

#pageProductSet .lien-history-search #lienHistorySearch {
  padding-left: 42px;
}

#pageProductSet .lien-history-year-export > summary {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

#pageProductSet .lien-history-year-export > summary:hover,
#pageProductSet .lien-history-year-export[open] > summary {
  border-color: #6aa7dc;
  background: #26415e;
  color: #fff;
  box-shadow: 0 0 0 2px #5aaeff20;
}

/* Compact history sync summaries and a Renew control matching DataCentre. */
#pageProductSet .lien-history-heading-actions .module-sync-status-stack {
  flex: 0 1 auto;
  gap: 3px;
  max-width: none;
}

#pageProductSet .lien-history-heading-actions .module-sync-status-stack small {
  color: #a4b0c3;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

#pageProductSet .lien-history-heading-actions .lien-history-renew {
  flex: 0 0 120px;
  box-sizing: border-box;
  width: 120px;
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #172537;
  color: #cfe4fb;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

#pageProductSet .lien-history-heading-actions .lien-history-renew:hover:not(:disabled) {
  border-color: #6aa7dc;
  background: #26415e;
  color: #fff;
  box-shadow: 0 0 0 2px #5aaeff20;
}

#pageProductSet .lien-history-heading-actions .lien-history-renew:disabled {
  opacity: .6;
  cursor: wait;
}

/* Keep the Sheets sync active, but show only the Shopify status in this header. */
#pageProductSet .lien-history-heading-actions .google-sheet-sync-line {
  display: none;
}

/* Match the Pricing Overview store selector; Renew stays at 120 × 44. */
#pageProductSet .lien-history-heading-actions .lien-history-store-wrap {
  flex: 0 0 196px;
  width: 196px;
  max-width: 196px;
}

#pageProductSet .lien-history-heading-actions .lien-history-store-wrap .lien-rounded-select,
#pageProductSet .lien-history-heading-actions .lien-history-store-wrap .lien-rounded-select-trigger {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
}

#pageProductSet .lien-history-search-row #historyFind,
#pageProductSet .lien-history-search-row #lienHistoryFiltersToggle {
  flex: 0 0 120px;
  width: 120px;
  min-width: 120px;
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
}

/* Reserve table space during the first price load so pagination stays put. */
#pagePriceData .lien-table-scroll.lien-initial-load {
  min-height: 60vh;
}

#pageProductSet .lien-history-table th:last-child,
#pageProductSet .lien-history-table td:last-child {
  width: 112px;
  text-align: center;
}

#pageProductSet .lien-history-date-cell time {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
}

#pageProductSet .lien-history-date-cell time strong {
  color: #d7eaff;
  font-size: 12px;
  font-weight: 700;
}

#pageProductSet .lien-history-date-cell time small {
  color: #91b5d7;
  font-size: 11px;
}

#pageProductSet .lien-history-restore-button {
  box-sizing: border-box;
  min-width: 88px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #b88721;
  border-radius: 8px;
  background: #30250f;
  color: #ffd45f;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

#pageProductSet .lien-history-restore-button:hover:not(:disabled) {
  border-color: #f2bd40;
  background: #493715;
  color: #ffe38d;
}

#pageProductSet .lien-history-restore-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-dot,
:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-hit {
  cursor: pointer;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-dot:hover,
:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-hit:hover + .lien-history-graph-dot,
:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-hit:focus-visible + .lien-history-graph-dot {
  stroke: #fff;
  stroke-width: 3px;
  outline: none;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-hit:focus-visible { outline: none; }

.lien-history-restore-dialog {
  width: min(480px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #426486;
  border-radius: 14px;
  background: #0d1928;
  color: #e8f2ff;
  box-shadow: 0 24px 80px #0009;
}

.lien-history-restore-dialog::backdrop { background: #000a; }
.lien-history-restore-dialog h3 { margin: 0 0 16px; }
.lien-history-restore-dialog p { line-height: 1.5; }
.lien-history-restore-note { color: #a8c0d9; font-size: 12px; }
.lien-history-restore-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.lien-history-restore-actions button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 88px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.lien-history-restore-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Match the view switchers to the 28px panel window controls. */
#pageProductSet .lien-platform-comparison-card .lien-history-view-tabs button {
  flex: 0 0 28px;
  box-sizing: border-box;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 7px;
}

#pageProductSet .lien-platform-comparison-card .lien-history-view-tabs button svg {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

#pageProductSet .lien-platform-comparison-card .lien-history-view-tabs {
  top: 18px;
  transform: none;
}

@media (max-width: 620px) {
  #pageProductSet .lien-platform-comparison-card .lien-history-view-tabs {
    top: 14px;
  }
}

/* Use the available card width for both the date selector and the graph. */
#pageProductSet .lien-platform-comparison-card #lienPriceGraphContent {
  padding-left: 0;
  padding-right: 0;
}

/* One stable accent per store across Pricing Overview and Logs and History. */
.lien-store-colour-br { --lien-store-accent: #84e8cf; }
.lien-store-colour-amazon { --lien-store-accent: #ffc471; }
.lien-store-colour-ebay { --lien-store-accent: #9bb8ff; }
.lien-store-colour-bnq { --lien-store-accent: #ff9aa3; }
.lien-store-colour-neshome { --lien-store-accent: #75d8f0; }
.lien-store-colour-onbuy { --lien-store-accent: #c8e889; }
.lien-store-colour-manomano-b2b { --lien-store-accent: #baa5ff; }
.lien-store-colour-manomano-b2c { --lien-store-accent: #efa7d5; }
.lien-store-colour-other { --lien-store-accent: #b4c9e0; }

#pagePriceData #lienPriceDataTable .lien-row-store.lien-store-colour,
#pageProductSet .lien-history-table td.lien-store-colour {
  color: var(--lien-store-accent);
  font-weight: 700;
}

#pagePriceData #lienPriceDataTable .lien-row-reprice {
  box-sizing: border-box;
  width: 128px;
  max-width: 100%;
  height: 34px;
  min-height: 34px;
  padding: 0 6px;
  white-space: nowrap;
  line-height: 1;
  font-weight: 700;
}

/* Give the long price heading room, while keeping it on one line. */
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) {
  min-width: 1450px;
}

#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(4) { width: 17%; }
#pagePriceData #lienPriceDataTable:not(.lien-expanded-product) tr > :nth-child(14) { width: 15%; }

#pagePriceData #lienPriceDataTable thead th:nth-child(14) {
  white-space: nowrap;
}

#pagePriceData #lienPriceDataCapHeading {
  display: inline-block;
  max-width: calc(100% - 18px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* Keep the selected history record, graph point and product panel in sync. */
#pageProductSet .lien-history-table tbody tr.lien-selected-history-row > td {
  background: #18324a;
}

:is(#pageProductSet, #calculatorPriceHistory) .lien-history-graph-dot-selected {
  stroke: #fff;
  stroke-width: 2px;
}

#pageProductSet .lien-history-restore-reason {
  display: block;
  max-width: 110px;
  margin-top: 4px;
  color: #99acc1;
  font-size: 10px;
  line-height: 1.2;
}

#pageProductSet .lien-product-info-card.lien-history-detail-updated {
  animation: lien-history-detail-focus .8s ease-out;
}

@keyframes lien-history-detail-focus {
  from { box-shadow: 0 0 0 2px #67baff; }
  to { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  #pageProductSet .lien-product-info-card.lien-history-detail-updated { animation: none; }
}

/* Place the graph/table switch by the heading, away from window controls. */
@media (min-width: 621px) {
  #pageProductSet .lien-platform-comparison-card .lien-platform-comparison-heading {
    padding-right: 145px !important;
  }

  #pageProductSet .lien-platform-comparison-card .lien-history-title-row .lien-window-title-row {
    flex: 0 0 auto;
    width: auto;
  }

  #pageProductSet .lien-platform-comparison-card .lien-history-title-row .lien-window-title-row h3 {
    flex: 0 0 auto;
  }

  #pageProductSet .lien-platform-comparison-card .lien-history-view-tabs {
    position: static;
    margin-left: 12px;
  }
}

/* At narrower window widths, give history and details separate full-width rows. */
@media (max-width: 1350px) {
  #pageProductSet.lien-has-selected-product .lien-productset-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  #pageProductSet.lien-has-selected-product .lien-table-card {
    grid-column: 1;
    grid-row: 1;
  }

  #pageProductSet.lien-has-selected-product .lien-productset-detail-stack {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  #pageProductSet.lien-has-selected-product .lien-panel-divider {
    display: none;
  }
}


/* DATACENTRE STORE SELECT — SMALL PLATFORM LOGOS */

#lienPriceDataStoreLabel{
    min-width:0;
}


.lien-store-option-content{

    display:flex;

    align-items:center;

    gap:9px;

    min-width:0;
}


.lien-store-option-logo{

    width:23px;

    height:23px;

    flex:
        0 0 23px;

    display:block;

    object-fit:contain;

    border-radius:5px;

    background:#ffffff;
}


.lien-store-option-logo-spacer{

    width:23px;

    height:23px;

    flex:
        0 0 23px;
}


/*
Keep dropdown items vertically aligned.
*/

.lien-store-option{

    display:flex;

    align-items:center;
}


/*
Selected store shown in the closed dropdown.
*/

.lien-store-select-trigger
#lienPriceDataStoreLabel{

    display:flex;

    align-items:center;

    min-width:0;
}

/* Data Centre product store logo. */

#pagePriceData
#lienPriceDataTable
.lien-product-summary{

    position:relative;

    padding-right:
        44px !important;
}


#pagePriceData
#lienPriceDataTable
.lien-row-store-logo{

    --row-logo-led:#b4c9e0;

    position:absolute;

    right:38px;

    bottom:9px;

    width:26px;

    height:26px;

    object-fit:contain;

    background:#ffffff;

    border-radius:6px;

    border:
        2px solid
        var(--row-logo-led);

    box-shadow:none;
}

/* DATACENTRE ROW LOGOS — PLATFORM LED BORDERS */

.lien-row-store-logo-br{
    --row-logo-led:#3de1a1;
}

.lien-row-store-logo-amazon{
    --row-logo-led:#ffbf4a;
}

.lien-row-store-logo-ebay{
    --row-logo-led:#78afff;
}

.lien-row-store-logo-neshome{
    --row-logo-led:#b487ff;
}

.lien-row-store-logo-bnq{
    --row-logo-led:#ff7b98;
}

.lien-row-store-logo-onbuy{
    --row-logo-led:#5fdcff;
}

.lien-row-store-logo-manomano-b2b{
    --row-logo-led:#63d89a;
}

.lien-row-store-logo-manomano-b2c{
    --row-logo-led:#ff9966;
}

/* ALL STORES PREVIEW */

.lien-store-label-with-preview{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    width:100%;

    min-width:0;
}


.lien-store-label-text{

    min-width:0;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;
}


.lien-store-option-content-all{

    display:flex;

    align-items:center;

    gap:10px;
}


.lien-store-all-preview{

    display:inline-flex;

    align-items:center;

    gap:7px;

    flex:0 0 auto;
}


.lien-store-all-stack{

    display:flex;

    align-items:center;
}


.lien-store-all-icon{

    width:18px;

    height:18px;

    display:block;

    object-fit:contain;

    background:#ffffff;

    border-radius:5px;

    border:
        1px solid
        rgba(
            130,
            170,
            210,
            .40
        );
}


.lien-store-all-icon
+ .lien-store-all-icon{

    margin-left:-8px;
}


.lien-store-all-plus{

    width:18px;

    height:18px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    border-radius:999px;

    border:
        1px solid
        rgba(
            130,
            170,
            210,
            .40
        );

    background:
        rgba(
            22,
            37,
            61,
            .90
        );

    color:
        #dce8ff;

    font-size:12px;

    font-weight:800;

    line-height:1;
}


/* Slightly smaller in the closed top select */
.lien-store-all-preview.is-trigger
.lien-store-all-icon{

    width:16px;

    height:16px;
}


.lien-store-all-preview.is-trigger
.lien-store-all-plus{

    width:16px;

    height:16px;

    font-size:11px;
}

/* ALL STORES — FINAL LAYOUT */


/* TOP CLOSED SELECT:
   [logos] All stores
*/

#lienPriceDataStoreLabel
.lien-store-label-with-preview{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    gap:9px;

    width:auto;
}


/* DROPDOWN FIRST OPTION:
   All stores              [logos]
*/

.lien-store-option-content-all{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;
}


/* No + icon anywhere */

.lien-store-all-plus{

    display:none !important;
}


/* HISTORY — STORE DROPDOWN PLATFORM LOGOS */

.lien-history-store-select
.lien-rounded-select-trigger
> span:first-child{

    flex:1;

    min-width:0;
}


/* CLOSED SELECT */

.lien-history-trigger-content{

    display:flex;

    align-items:center;

    gap:9px;

    min-width:0;
}


/* INDIVIDUAL STORE ROW */

.lien-history-store-option-content{

    display:flex;

    align-items:center;

    gap:9px;

    width:100%;
}


.lien-history-store-logo{

    width:23px;

    height:23px;

    flex:
        0 0 23px;

    display:block;

    object-fit:contain;

    border-radius:5px;

    background:#ffffff;
}


/* ALL STORES — 4 OVERLAPPING ICONS */

.lien-history-all-icons{

    display:flex;

    align-items:center;

    flex:0 0 auto;
}


.lien-history-all-icons img{

    width:18px;

    height:18px;

    display:block;

    object-fit:contain;

    border-radius:4px;

    background:#ffffff;

    border:
        1px solid
        rgba(
            130,
            170,
            210,
            .35
        );
}


.lien-history-all-icons
img + img{

    margin-left:-8px;
}


/* DROPDOWN FIRST ROW:
   All stores            [icons]
*/

.lien-history-all-option{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:
        space-between;

    gap:12px;
}


/* Make history options use full width */

.lien-history-store-option{

    display:flex;

    align-items:center;

    width:100%;

    padding-left:14px !important;

    padding-right:14px !important;
}

/* SELECTED PRODUCT — WEBSITE BUTTON + STORE LOGO */

#pageProductSet
.lien-product-website-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    width:100%;

    margin-top:12px;
}


#pageProductSet
.lien-product-website-row
.product-website-action{

    margin-top:0;

    flex:
        0 0 auto;
}


#pageProductSet
.lien-selected-product-store-logo{

    display:block;

    width:180px;

    height:58px;

    margin-left:auto;

    object-fit:contain;

    object-position:right center;

    background:transparent;
}


/* PRICING OVERVIEW — STORE HEADER PILLS
   White text, coloured border, coloured inside tint
*/
/* PRICING OVERVIEW — STORE COLOURED HEADERS
   Do not alter table sizing or cell shape.
*/

#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(n + 2):nth-child(-n + 9) {
    color: #f4f8ff !important;
    background: var(--store-fill) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}


/* Bathroom Republic */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(2) {
    --store-colour: #3de1a1;
    --store-fill: rgba(61, 225, 161, 0.13);
}


/* BR Amazon */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(3) {
    --store-colour: #ffbf4a;
    --store-fill: rgba(255, 191, 74, 0.13);
}


/* BR B&Q */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(4) {
    --store-colour: #78afff;
    --store-fill: rgba(120, 175, 255, 0.13);
}


/* BR Ebay */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(5) {
    --store-colour: #b487ff;
    --store-fill: rgba(180, 135, 255, 0.13);
}


/* BR manoB2B */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(6) {
    --store-colour: #ff7b98;
    --store-fill: rgba(255, 123, 152, 0.13);
}


/* BR manoB2C */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(7) {
    --store-colour: #5fdcff;
    --store-fill: rgba(95, 220, 255, 0.13);
}


/* Neshome */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(8) {
    --store-colour: #63d89a;
    --store-fill: rgba(99, 216, 154, 0.13);
}


/* OnBuy BR */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
thead th:nth-child(9) {
    --store-colour: #ff9966;
    --store-fill: rgba(255, 153, 102, 0.13);
}

/* Pricing Overview: one product row with a price cell for each store. */
#pagePriceData #lienPriceDataTable.lien-store-matrix { table-layout: fixed; }
#pagePriceData #lienPriceDataTable.lien-store-matrix col:first-child { width: 260px !important; }
#pagePriceData #lienPriceDataTable.lien-store-matrix col:not(:first-child) { width: 180px !important; }
#pagePriceData .lien-store-matrix th:first-child,
#pagePriceData .lien-store-matrix td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  background: #101b2b;
}
#pagePriceData .lien-store-matrix th:first-child { z-index: 3; }
#pagePriceData .lien-store-matrix th:not(:first-child),
#pagePriceData .lien-store-matrix td:not(:first-child) {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  padding: 12px 16px;
  vertical-align: middle;
  text-align: left;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix th { width: 180px; text-align: left; overflow: hidden; text-overflow: ellipsis; }
#pagePriceData #lienPriceDataTable.lien-store-matrix th:first-child { width: 260px; }
#pagePriceData .lien-store-matrix td:first-child strong { display: inline-block; margin-left: 8px; }
#pagePriceData .lien-store-matrix td:first-child small { display: block; margin-left: 32px; color: #9bb3cf; }
#pagePriceData .lien-matrix-child td { background: #0c1725; }
#pagePriceData .lien-matrix-child td:first-child { background: #0c1725; }
#pagePriceData .lien-matrix-indent { display: inline-block; width: 24px; text-align: right; color: #89a7c9; }
#pagePriceData .lien-matrix-expand { width: 24px; height: 24px; border: 0; background: transparent; color: #a3c7e7; cursor: pointer; }
#pagePriceData .lien-matrix-expand:disabled { visibility: hidden; }
#pagePriceData .lien-matrix-price { font-weight: 600; white-space: nowrap; }
#pagePriceData .lien-matrix-price small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; }
#pagePriceData .lien-matrix-compare { color: #9bb3cf; }
#pagePriceData .lien-matrix-rank {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
}
#pagePriceData .lien-matrix-rank-lowest { color: #42e0bf; background: rgba(35, 164, 137, .2); }
#pagePriceData .lien-matrix-rank-highest { color: #ffad87; background: rgba(220, 111, 67, .2); }
#pagePriceData .lien-store-matrix td:has(.lien-matrix-rank-lowest) { box-shadow: inset 0 0 0 1px rgba(66, 224, 191, .35); }
#pagePriceData .lien-store-matrix td:has(.lien-matrix-rank-highest) { box-shadow: inset 0 0 0 1px rgba(255, 173, 135, .35); }
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th:first-child,
#pagePriceData #lienPriceDataTable.lien-store-matrix tbody td:first-child {
  box-sizing: border-box;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  padding-left: 16px;
  padding-right: 12px;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-sku-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-sku-line strong {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: left;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-expand,
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-indent {
  flex: 0 0 20px;
  width: 20px;
  margin: 0;
  padding: 0;
  text-align: left;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix tbody td:first-child small {
  margin: 4px 0 0 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keep column names visible while the two price tables scroll vertically. */
#pagePriceData .lien-table-card > .lien-table-scroll,
#pageProductSet .lien-table-card > .lien-table-scroll {
  max-height: max(320px, calc(100vh - 390px));
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th,
#pageProductSet #lienHistoryTable thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #111d2b;
  box-shadow: 0 1px 0 #30445b;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th:first-child {
  z-index: 11;
}

/* All store headers and prices use the same responsive column grid. */
#pagePriceData #lienPriceDataTable.lien-store-matrix col:first-child {
  width: var(--lien-product-width, 230px) !important;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix col:not(:first-child) {
  width: var(--lien-store-width, 150px) !important;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix tr > :first-child,
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th:first-child,
#pagePriceData #lienPriceDataTable.lien-store-matrix tbody td:first-child {
  box-sizing: border-box;
  width: var(--lien-product-width, 230px) !important;
  min-width: var(--lien-product-width, 230px) !important;
  max-width: var(--lien-product-width, 230px) !important;
  text-align: left;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix tr > :nth-child(n + 2),
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th:nth-child(n + 2),
#pagePriceData #lienPriceDataTable.lien-store-matrix tbody td:nth-child(n + 2) {
  box-sizing: border-box;
  width: var(--lien-store-width, 150px) !important;
  min-width: var(--lien-store-width, 150px) !important;
  max-width: var(--lien-store-width, 150px) !important;
  padding-left: 10px;
  padding-right: 10px;
  text-align: left !important;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix thead th {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 5px 22px 5px 7px;
  border: 1px solid #36506b;
  border-radius: 6px;
  background: #182b42;
  color: #d8efff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-select:focus-visible {
  outline: 2px solid #75bdf0;
  outline-offset: 2px;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rank {
  display: block;
  width: max-content;
  margin: 4px 0 0;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-price {
  white-space: nowrap;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rate {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  white-space: normal;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rate-low {
  color: #ffad87;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rate-medium {
  color: #e8ce82;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rate-high {
  color: #42e0bf;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-rate-unavailable {
  color: #8299ae;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-low-base {
  background: #13243a;
  color: #d8efff;
  white-space: normal;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-low-base strong {
  white-space: nowrap;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-low-base small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #9bb3cf;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-archived {
  display: block;
  margin-top: 3px;
  color: #bba8ce;
  font-size: 10px;
}

/* Keep Pricing Overview control labels and selected values left aligned. */
#pagePriceData .lien-datacenter-table-controls button,
#pagePriceData .lien-datacenter-table-controls summary,
#pagePriceData .lien-datacenter-table-controls .lien-rounded-select-trigger,
#pagePriceData .lien-export-actions button,
#pagePriceData .lien-export-actions .lien-store-select-trigger,
#pagePriceData .lien-datacenter-search-row button,
#pagePriceData .lien-store-option,
#pagePriceData .lien-rounded-option {
  text-align: left;
  text-align-last: left;
}
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary,
#pagePriceData .lien-export-actions .lien-store-select-trigger,
#pagePriceData .lien-export-actions .lien-pricedata-renew,
#pagePriceData .lien-datacenter-search-row .module-find-button,
#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-base-switch .lien-base-presets button {
  justify-content: flex-start;
}
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger > span:first-child,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary > span:first-child,
#pagePriceData .lien-export-actions .lien-store-select-trigger > span:first-child {
  text-align: left;
}
#pagePriceData .lien-datacenter-table-controls .lien-base-switch .lien-base-presets button {
  padding-left: 10px;
}
#pagePriceData .lien-store-option-content-all {
  justify-content: flex-start;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-data-reason {
  white-space: normal;
  line-height: 1.25;
}

/* One 16px content inset for Pricing Overview controls. */
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls .lien-rounded-select-trigger,
#pagePriceData .lien-datacenter-table-controls .lien-page-size .lien-rounded-select-trigger,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-export-menu > summary,
#pagePriceData .lien-export-actions .lien-pricedata-renew,
#pagePriceData .lien-export-actions .lien-store-select-trigger,
#pagePriceData .lien-datacenter-search-row .module-find-button,
#pagePriceData .lien-datacenter-search-row #lienPriceDataFiltersToggle {
  padding-left: 16px;
}
#pagePriceData .lien-datacenter-table-controls .lien-base-switch .lien-base-presets button {
  padding-left: 12px;
}
#pagePriceData .lien-datacenter-search-field::before {
  left: 11px;
}
#pagePriceData .lien-store-select-options .lien-store-option,
#pagePriceData .lien-rounded-select-options .lien-rounded-option {
  padding-left: 9px;
}

/* Pricing Base is edited inside Column Settings. */
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu {
  margin-left: auto;
}
#pagePriceData .lien-reference-table-title .lien-datacenter-table-controls .lien-export-menu {
  margin-left: 0;
}
#pagePriceData #lienPriceDataFilters .lien-inline-rate[hidden] {
  display: none !important;
}
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
  flex: 0 1 530px;
  width: 530px;
  max-width: 530px;
}
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:first-child {
  flex: 0 1 220px;
}
#pagePriceData .lien-datacenter-table-controls .lien-sort-controls > label:nth-child(2) {
  flex: 1 1 0;
}
#pagePriceData .lien-reference-table-title {
  position: relative;
  z-index: 20;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu[open] {
  z-index: 21;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > div {
  z-index: 22;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary {
  width: 220px;
  min-width: 220px;
}
@media (max-width: 1050px) {
  #pagePriceData .lien-datacenter-table-controls .lien-sort-controls {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > div {
  width: 300px;
  max-height: none;
  overflow: visible;
  gap: 8px;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu .lien-datacenter-base {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 0 4px;
  gap: 8px;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu .lien-base-switch {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  min-height: 42px;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu .lien-base-presets {
  flex: 1 1 calc(100% - 42px);
  width: auto;
  height: 40px;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu #lienDataBaseCustom {
  position: static;
  flex: 0 0 100%;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid #36506b;
  border-radius: 0 0 9px 9px;
  box-shadow: none;
}

/* Renew has a distinct icon and word with the same spacing on both pages. */
#pagePriceData .lien-export-actions .lien-pricedata-renew,
#pageProductSet .lien-history-heading-actions .lien-history-renew {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-left: 16px;
  text-align: left;
}
.lien-renew-icon {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

/* Logs and History text controls share a 16px left inset. */
#pageProductSet .lien-history-heading-actions .lien-rounded-select-trigger,
#pageProductSet .lien-history-search-row #historyFind,
#pageProductSet .lien-history-search-row #lienHistoryFiltersToggle,
#pageProductSet .lien-history-filter-grid .lien-rounded-select-trigger,
#pageProductSet .lien-history-filter-grid .lien-clear-filters,
#pageProductSet .lien-table-title-row .lien-rounded-select-trigger,
#pageProductSet .lien-history-year-export > summary,
#pageProductSet .lien-history-export-menu button,
#pageProductSet .lien-pagination button {
  box-sizing: border-box;
  padding-left: 16px;
  text-align: left;
  text-align-last: left;
  justify-content: flex-start;
}
#pageProductSet .lien-history-heading-actions .lien-rounded-select-trigger > span:first-child,
#pageProductSet .lien-history-filter-grid .lien-rounded-select-trigger > span:first-child,
#pageProductSet .lien-table-title-row .lien-rounded-select-trigger > span:first-child {
  text-align: left;
}
#pageProductSet .lien-history-year-export > summary::after {
  margin-left: auto;
}
#pageProductSet .lien-history-search::before {
  left: 11px;
}
#pageProductSet .lien-rounded-select-options .lien-rounded-option,
#pageProductSet .lien-history-store-select .lien-history-store-option {
  padding-left: 9px;
  text-align: left;
}

#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-no-listing {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.35;
}

/* Match the Base column control to the toolbar. */
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-select {
  height: 36px;
  min-height: 36px;
  padding: 0 22px 0 12px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #142337;
  color: #e0eeff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-select option {
  background: #142337;
  color: #e0eeff;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-select:hover {
  border-color: #4385c8;
  background: #101e2d;
}
/* Column Settings menu matches its trigger after Base moved to the table header. */
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu {
  width: 220px;
  flex: 0 0 220px;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary,
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > div {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

/* Match the Base picker and Column Settings arrows to the Order picker. */
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-trigger {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #36506b;
  border-radius: 10px;
  background: #142337;
  color: #e0eeff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-trigger:hover,
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-trigger[aria-expanded="true"] {
  border-color: #4385c8;
  background: #101e2d;
}
#pagePriceData #lienPriceDataTable.lien-store-matrix .lien-matrix-base-trigger:focus-visible {
  outline: 2px solid #75bdf0;
  outline-offset: 2px;
}
.lien-matrix-base-popup {
  position: fixed;
  z-index: 1000;
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid #29415c;
  border-radius: 10px;
  background: #0d1724;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .34);
}
.lien-matrix-base-option {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #cfe1f8;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.lien-matrix-base-option:hover,
.lien-matrix-base-option[aria-selected="true"] {
  border-color: #4385c8;
  background: #101e2d;
  color: #fff;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary .lien-rounded-select-chevron {
  margin-left: auto;
}
#pagePriceData .lien-datacenter-table-controls .lien-columns-menu > summary::-webkit-details-marker {
  display: none;
}

/* Keep horizontal table scrolling while the page handles vertical scrolling. */
:is(#pagePriceData, #pageProductSet) .lien-table-card > .lien-table-scroll {
  max-height: none;
  height: auto;
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}
:is(.lien-matrix-frozen-header, .lien-history-table-frozen) {
  position: fixed;
  top: 0;
  z-index: 120;
  display: none;
  overflow: hidden;
  background: #111d2b;
  box-shadow: 0 1px 0 #30445b;
}
:is(.lien-matrix-frozen-header, .lien-history-table-frozen).is-visible {
  display: block;
}
#pageProductSet .lien-table-title-row .lien-sort-controls {
  flex: 0 1 auto;
  grid-template-columns: 220px 330px;
}
#pageProductSet .lien-table-title-row .lien-history-year-export {
  margin-left: auto;
}
@container (max-width: 900px) {
  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px 112px;
    gap: 10px;
  }

  #pageProductSet .lien-table-title-row .lien-sort-controls {
    min-width: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  }

  #pageProductSet .lien-table-title-row .lien-sort-controls > label,
  #pageProductSet .lien-table-title-row .lien-sort-controls .lien-rounded-select {
    min-width: 0;
    width: 100%;
  }

  #pageProductSet .lien-table-title-row .lien-history-year-export {
    width: 100%;
    margin-left: 0;
  }

  #pageProductSet .lien-table-title-row .lien-page-size {
    width: 100%;
  }
}

@container (max-width: 650px) {
  #pageProductSet .lien-table-title-row .lien-table-toolbar {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  #pageProductSet .lien-table-title-row .lien-sort-controls {
    grid-column: 1 / -1;
  }

  #pageProductSet .lien-table-title-row .lien-history-year-export {
    width: 120px;
    justify-self: end;
  }
}
#pagePriceData tr[data-calculator-sku] {
  cursor: pointer;
}

#pagePriceData tr[data-calculator-sku]:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: -2px;
}


/* =========================================================
   PRICING OVERVIEW — CLICKABLE ROW HOVER
   Digital left indicator, no whole-row colour change.
   ========================================================= */

#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row) {
    cursor: pointer;
}


/* Kill the old whole-row hover colour */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row):hover {
    background: transparent !important;
}


:is(#pagePriceData, #pageProductSet) .lien-rounded-select-options .lien-rounded-option[hidden] {
  display: none;
}

#pagePriceData .lien-table-top-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 12px;
}

#pagePriceData .lien-table-top-scroll > div {
  height: 1px;
}

#pagePriceData .lien-table-top-scroll + .lien-table-scroll {
  margin-top: 0;
}

#pagePriceData .lien-sort-controls .lien-rounded-select-chevron {
  display: none;
}

#pagePriceData #lienPriceDataFilters #lienPriceDataClear {
  grid-column: -2 / -1;
  justify-self: end;
}

#pagePriceData #lienPriceDataTable .lien-matrix-price.lien-below-low-base {
  color: #ffb5b5;
}

#pagePriceData #lienPriceDataTable .lien-low-base-price-stack {
  display: inline-block;
  position: relative;
  transform: translateY(-5px);
}

#pagePriceData #lienPriceDataTable .lien-low-base-price-note {
  position: absolute;
  top: 100%;
  left: 0;
  color: #ffb5b5;
  font-size: 9px;
  font-weight: 400;
  line-height: 10px;
  white-space: nowrap;
  pointer-events: none;
}

#pagePriceData #lienPriceDataTable.lien-store-matrix tbody tr.lien-low-base-alert-row > td:first-child {
  background: #321d2b;
  box-shadow: inset 3px 0 0 #ff7373;
}

#pagePriceData #lienPriceDataTable.lien-store-matrix tbody tr > td.lien-low-base-alert-cell {
  background: #2d1824;
  box-shadow: inset 0 0 0 1px #ad5666;
}

/* First cell already stays visible when horizontally scrolling */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row) > td:first-child {
    position: sticky;
    transition:
        color 0.14s ease;
}


/* DIGITAL INDICATOR */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row) > td:first-child::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 3px;
    height: 26px;

    background: #4ca8ff;

    opacity: 0;

    transform:
        translateY(-50%)
        scaleY(0.35);

    box-shadow:
        0 0 8px rgba(76, 168, 255, 0.42);

    transition:
        opacity 0.14s ease,
        transform 0.14s ease;

    pointer-events: none;
}


/* Indicator appears when hovering */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row):hover
> td:first-child::before {
    opacity: 1;

    transform:
        translateY(-50%)
        scaleY(1);
}


/* Remove the OLD rounded/full-height hover marker */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row):hover
> td:first-child {
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* Slightly brighten the SKU / product name */
#pagePriceData
#lienPriceDataTable.lien-store-matrix
tbody tr:not(.lien-empty-row):hover
.lien-matrix-sku-line strong {
    color: #ffffff;
}
/* Selected SKU history below Single mode guidelines. */
#calculatorPriceHistory { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border, #dbe3ee); min-width: 0; }
#calculatorPriceHistory[hidden] { display: none; }
.calculator-history-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.calculator-history-heading h3 { margin: 0; }
#calculatorHistorySku { color: #8291a7; font-size: 12px; }
.calculator-history-table-scroll { overflow: auto; max-height: 320px; margin-top: 18px; border: 1px solid var(--border, #dbe3ee); border-radius: 10px; }
#calculatorPriceHistory table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
#calculatorPriceHistory th, #calculatorPriceHistory td { padding: 10px 12px; border-bottom: 1px solid var(--border, #dbe3ee); white-space: nowrap; }
#calculatorPriceHistory th { position: sticky; top: 0; background: var(--card, #fff); z-index: 1; }
#calculatorHistoryBody tr[data-history-id] { cursor: pointer; }
#calculatorHistoryBody tr[data-history-id]:hover, #calculatorHistoryBody tr[aria-selected="true"] { background: rgba(59, 130, 246, .1); }
#calculatorHistoryBody tr:focus-visible { outline: 2px solid #3b82f6; outline-offset: -2px; }

/* Compact graph and readable dark history table in Single mode. */
#calculatorPriceHistory { border-top-color: #263c52; color: #e8f2ff; }
#calculatorPriceHistory .lien-history-graph-frame { max-width: 760px; margin: 12px auto 0; padding: 8px 10px; }
#calculatorPriceHistory .lien-history-graph-canvas { max-width: 720px; margin: 0 auto; }
#calculatorPriceHistory .lien-history-graph-controls { gap: 8px; }
#calculatorPriceHistory .lien-history-graph-periods button { padding: 5px 10px; min-height: 28px; font-size: 11px; }
#calculatorPriceHistory .calculator-history-table-scroll { border-color: #263c52; max-height: 280px; background: #0d1928; }
#calculatorPriceHistory table { color: #dce8f5; background: #0d1928; font-size: 12px; }
#calculatorPriceHistory th { background: #17283b; color: #bcd1e8; }
#calculatorPriceHistory td { background: transparent; color: #e3edf9; }
#calculatorPriceHistory th, #calculatorPriceHistory td { border-color: #263c52; padding: 8px 10px; }
#calculatorHistoryBody tr:nth-child(even) { background: #101f30; }
#calculatorHistoryBody tr[data-history-id]:hover, #calculatorHistoryBody tr[aria-selected="true"] { background: #1a354c; }
#calculatorPriceHistory time { display: flex; flex-direction: column; gap: 3px; }
#calculatorPriceHistory time strong { font-weight: 500; color: #e3edf9; }
#calculatorPriceHistory time small { color: #91a9c4; font-size: 10px; }
#calculatorPriceHistory .calculator-history-restore { width: auto; min-height: 28px; padding: 4px 10px; border: 1px solid #407866; border-radius: 6px; background: #153a30; color: #a6f3d6; font-size: 11px; cursor: pointer; }
#calculatorPriceHistory .calculator-history-restore:hover:not(:disabled) { background: #205444; border-color: #84e8cf; }
#calculatorPriceHistory .calculator-history-restore:disabled { background: #182535; border-color: #304054; color: #74869b; cursor: not-allowed; }

/* Compact history store selectors. */
#calculatorPriceHistory .lien-history-graph-store-controls { grid-template-columns: minmax(0, 200px) minmax(0, 180px); justify-content: start; gap: 10px; margin: 12px 0px 12px 10px; }
#calculatorPriceHistory .lien-history-graph-select > summary,
#calculatorPriceHistory .lien-history-graph-compare > summary { height: 32px; border-radius: 7px; font-size: 11px; }
#calculatorPriceHistory .lien-history-graph-select > summary > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calculator-data-centre-undo { width: auto; margin-top: 10px; padding: 5px 11px; min-height: 28px; border: 1px solid #385671; border-radius: 7px; background: #15283b; color: #d8e9fa; font-size: 12px; cursor: pointer; }
.calculator-data-centre-undo:hover { border-color: #84e8cf; color: #a6f3d6; }
.calculator-data-centre-undo[hidden] { display: none; }
@media (max-width: 460px) {
  #calculatorPriceHistory .lien-history-graph-store-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
