.reference-extra {
  grid-column: 1/-1;
  border-top: 1px solid #e2e8ee;
  padding: 18px 0 0;
}
.reference-extra summary {
  font-size: 12px;
  color: #255dcc;
  cursor: pointer;
}
.reference-extra label {
  line-height: 1.8 !important;
  margin-top: 15px !important;
}
.price-target-fields {
  border-top: 1px solid #e2e8ee;
  margin-top: 25px;
  padding-top: 23px;
}
.price-target-fields h3 {
  font-size: 23px;
  margin: 0;
}
.price-target-fields p {
  font-size: 11px;
  color: #465a70;
  line-height: 1.8;
  max-width: 560px;
}
.price-target-fields > div {
  display: grid;
  grid-template-columns: 1fr 1fr 120px;
  gap: 18px;
}
.price-target-fields label {
  font-size: 11px;
  line-height: 1.6;
  margin: 10px 0;
}
.private-reference-prices {
  border-top: 1px solid #e2e8ee;
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0 26px 22px;
  padding-top: 16px;
}
.private-reference-prices > span {
  color: #255dcc;
  font-size: 11px;
  flex: 1;
}
.private-reference-prices > div {
  max-width: 240px;
}
.private-reference-prices small {
  display: block;
  font-size: 10px;
  color: #465a70;
  line-height: 1.5;
}
.private-reference-prices strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}
.reference-media {
  padding: 0 26px 15px;
}
.reference-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.reference-images img {
  height: 108px;
  width: 108px;
  object-fit: contain;
  border-radius: 14px;
  background: #203348;
  padding: 5px;
}
.lookup-message,
.lookup-retry {
  font-size: 11px;
  color: #465a70;
  line-height: 1.7;
}
.lookup-message:empty {
  display: none;
}
.lookup-retry {
  padding: 0 26px 18px;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: #255dcc;
  font-size: 11px;
}
.markup-form {
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 5px 26px 24px;
  flex-wrap: wrap;
}
.markup-form label {
  width: 230px;
  margin: 0;
  font-size: 12px;
}
.markup-form p {
  color: #465a70;
  font-size: 11px;
  line-height: 1.8;
  flex-basis: 100%;
  margin: 0;
  max-width: 680px;
}
.admin-price-review {
  margin-bottom: 25px;
}
.admin-price-review .panel-heading {
  flex-wrap: wrap;
  gap: 15px;
}
.admin-price-review .badge {
  font-size: 10px;
}
.release-form {
  padding: 24px 26px;
  border-top: 1px solid #e2e8ee;
}
.release-form p {
  font-size: 11px;
  color: #465a70;
  margin: 12px 0 0;
}
.missing-details {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.missing-details summary {
  cursor: pointer;
}
.missing-details ul {
  padding-left: 20px;
}
.client-offers {
  margin-bottom: 26px;
}
.client-offers > .panel-heading {
  padding: 0 0 20px;
}
.client-offer {
  display: grid;
  grid-template-columns: 90px 1fr 200px;
  gap: 22px;
  padding: 25px;
  margin-bottom: 16px;
}
.offer-product img {
  width: 88px;
  height: 88px;
  background: white;
  border-radius: 14px;
  padding: 6px;
  object-fit: contain;
}
.offer-product > small {
  font-size: 8px;
  color: #718196;
}
.offer-details h3 {
  font-size: 27px;
  margin: 0 0 12px;
}
.offer-details > span {
  font-size: 11px;
  color: #465a70;
}
.offer-details p {
  font-size: 13px;
  line-height: 1.8;
  color: #465a70;
}
.offer-prices > div {
  margin-bottom: 14px;
}
.offer-prices small {
  font-size: 10px;
  color: #465a70;
  display: block;
  line-height: 1.6;
}
.offer-prices strong {
  font-size: 18px;
  font-weight: 500;
  color: #255dcc;
  display: block;
  margin-top: 5px;
}
.client-correction {
  margin-top: 25px;
  border-top: 1px solid #e2e8ee;
  padding-top: 20px;
}
.client-correction summary {
  cursor: pointer;
  color: #465a70;
  font-size: 12px;
}
.small-note {
  font-size: 11px;
  line-height: 1.8;
}
.client-metrics {
  grid-template-columns: repeat(5, 1fr);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 25px;
  font-size: 13px;
}
.pagination a {
  border: 1px solid #e2e8ee;
  border-radius: 20px;
  padding: 9px 16px;
}
.supplier-panel textarea {
  min-width: 230px;
}
.source-reference + .source-reference {
  border-top: 1px solid #e2e8ee;
}
.source-reference .reference-summary-row {
  border-top: 0;
}
@media (max-width: 1000px) {
  .client-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-target-fields > div {
    grid-template-columns: 1fr 1fr;
  }
  .price-target-fields > div > label:last-child {
    max-width: 180px;
  }
  .client-offer {
    grid-template-columns: 75px 1fr;
  }
  .offer-prices {
    grid-column: 1/-1;
    display: flex;
    gap: 30px;
    border-top: 1px solid #e2e8ee;
    padding-top: 18px;
  }
}
@media (max-width: 600px) {
  .client-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-target-fields > div {
    grid-template-columns: 1fr;
  }
  .private-reference-prices {
    align-items: start;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 16px 18px;
  }
  .private-reference-prices > span {
    flex-basis: 100%;
  }
  .private-reference-prices > div {
    max-width: 130px;
  }
  .reference-media {
    padding: 0 16px 14px;
  }
  .reference-images img {
    width: 85px;
    height: 85px;
  }
  .client-offer {
    padding: 20px;
    gap: 16px;
  }
  .offer-details h3 {
    font-size: 24px;
  }
  .offer-prices {
    flex-wrap: wrap;
    gap: 20px;
  }
  .offer-prices > div {
    max-width: 130px;
  }
  .markup-form {
    padding: 5px 20px 20px;
  }
  .admin-price-review .panel-heading h2 {
    font-size: 27px;
  }
}
.product-options {
  border: 0;
  border-top: 1px solid var(--line, #f7f9fc);
  padding: 22px 0 0;
  margin: 24px 0 0;
  min-width: 0;
}
.product-options legend {
  padding: 0 12px 0 0;
  font-weight: 700;
  font-size: 16px;
}
.product-options > p {
  color: var(--muted, #465a70);
  font-size: 12px;
  margin: 0 0 18px;
}
.product-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-options-grid label {
  min-width: 0;
}
.product-options-details {
  grid-column: 1/-1;
}
.reference-options {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.reference-options div {
  min-width: 70px;
}
.reference-options dt {
  font-size: 11px;
  opacity: 0.65;
}
.reference-options dd {
  margin: 3px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.reference-images a {
  display: block;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.reference-images a:focus-visible {
  outline: 2px solid #203348;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .product-options-grid {
    grid-template-columns: 1fr;
  }
  .product-options-grid label {
    grid-column: 1;
  }
}
.remove-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #465a70;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}
.remove-product:hover {
  background: #f7f9fc;
  color: #465a70;
}
.remove-product:focus-visible,
#undo-reference:focus-visible {
  outline: 2px solid #255dcc;
  outline-offset: 3px;
}
.reference-heading {
  margin-bottom: 18px;
}
.reference-heading > span {
  font-weight: 600;
  font-size: 13px;
}
.reference-removed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  margin-bottom: 18px;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #ffffff;
  font-size: 12px;
  color: #465a70;
}
#undo-reference {
  border: 0;
  background: transparent;
  color: #255dcc;
  font-size: 12px;
  font-weight: 600;
  padding: 5px;
  cursor: pointer;
}
.reference-empty {
  border: 1px dashed #e2e8ee;
  border-radius: 16px;
  padding: 30px 20px;
  margin-bottom: 18px;
  color: #465a70;
  text-align: center;
  font-size: 13px;
}
.reference-removed[hidden],
.reference-empty[hidden] {
  display: none;
}
.sourcing-form button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.client-offer > *,
.offer-product,
.offer-details,
.offer-prices > *,
.reference-summary-row > * {
  min-width: 0;
}
.offer-prices strong,
.private-reference-prices strong {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .price-target-fields > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-target-fields > div > label:last-child {
    max-width: none;
  }
  .client-offer {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 20px;
    gap: 16px;
  }
  .offer-product img {
    width: 64px;
    height: 64px;
  }
  .offer-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .offer-prices > div {
    max-width: none;
  }
  .reference-extra summary,
  .client-correction summary,
  .missing-details summary {
    padding-block: 12px;
    line-height: 1.6;
  }
  .remove-product {
    min-height: 44px;
  }
  #undo-reference {
    min-height: 44px;
    padding-inline: 12px;
  }
}
