/* Sharp, live product illustrations. No bitmap, transform or canvas text. */
.product-preview {
  --pp-line: #e2e8f1;
  --pp-muted: #526176;
  --pp-accent: #0c57ff;
  width: 100%;
  min-width: 0;
  height: 414px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #071c32;
  font: 400 13px/1.4 Onest, Arial, sans-serif;
  text-align: left;
  font-variant-numeric: tabular-nums;
  isolation: isolate;
}
.product-preview--hero { height: 290px; }
.product-preview *, .product-preview *::before, .product-preview *::after { box-sizing: border-box; }
.product-preview button, .product-preview input, .product-preview select { color: inherit; font: inherit; }
.product-preview button, .product-preview select, .product-preview input { border-radius: 0; }
.product-preview button { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; }
.product-preview button:disabled, .product-preview select:disabled, .product-preview input:disabled { opacity: 1; cursor: default; -webkit-text-fill-color: currentColor; }
.product-preview button:focus-visible, .product-preview input:focus-visible, .product-preview select:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: -3px; }
.product-preview .pp-heading { display: flex; min-height: 44px; flex: 0 0 44px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--pp-line); }
.product-preview .pp-heading h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 580; line-height: 1.3; margin: 0; }
.product-preview .pp-heading h3 > span { display: block; width: 3px; height: 15px; background: var(--pp-accent); }
.product-preview .pp-heading > span { color: var(--pp-muted); font-size: 11px; white-space: nowrap; }
.product-preview .pp-tools { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 20px; gap: 16px; border-bottom: 1px solid var(--pp-line); }
.product-preview .pp-filters { display: flex; align-self: stretch; gap: 20px; min-width: 0; }
.product-preview .pp-filters button { min-height: 44px; min-width: 44px; position: relative; flex: 0 0 auto; color: var(--pp-muted); font-size: 12px; }
.product-preview .pp-filters button[aria-pressed='true'] { color: var(--pp-accent); font-weight: 560; }
.product-preview .pp-filters button[aria-pressed='true']::after { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--pp-accent); content: ''; }
.product-preview .pp-search { display: flex; align-items: center; gap: 8px; min-width: 0; width: 218px; max-width: 48%; }
.product-preview .pp-search svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--pp-muted); }
.product-preview .pp-search input { width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 0 4px; font-size: 12px; }
.product-preview .pp-search input::placeholder { color: var(--pp-muted); opacity: 1; }
.product-preview .pp-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.product-preview .pp-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.product-preview .pp-table th { height: 29px; color: var(--pp-muted); font-size: 12px; font-weight: 450; text-align: left; vertical-align: middle; padding: 0 18px; border-bottom: 1px solid var(--pp-line); white-space: nowrap; }
.product-preview .pp-table td { height: 46px; padding: 0 18px; font-size: 12px; border-bottom: 1px solid var(--pp-line); vertical-align: middle; overflow-wrap: anywhere; }
.product-preview .pp-table tr:last-child td { border-bottom: 0; }
.product-preview .pp-table .pp-number { text-align: right; white-space: nowrap; }
.product-preview .pp-table th:first-child, .product-preview .pp-table td:first-child { padding-left: 20px; }
.product-preview .pp-table th:last-child, .product-preview .pp-table td:last-child { padding-right: 20px; }
.product-preview .pp-table th:first-child { width: 27%; }
.product-preview .pp-table th:last-child { width: 24%; }
.product-preview .pp-table--postings th:first-child, .product-preview .pp-table--warehouse th:first-child { width: 38%; }
.product-preview .pp-table--postings th:last-child { width: 28%; }
.product-preview .pp-table--warehouse th:last-child { width: 23%; }
.product-preview .pp-row-link { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 45px; text-align: left; gap: 3px; }
.product-preview .pp-row-link > span { font-weight: 520; }
.product-preview .pp-row-link small { font-size: 11px; color: var(--pp-muted); line-height: 1.3; }
.product-preview .pp-row-link:hover > span { color: var(--pp-accent); }
.product-preview .pp-table tbody tr:hover { background: #f6f9ff; }
.product-preview .pp-mobile-party, .product-preview .pp-mobile-path { display: none; }
.product-preview .pp-direction { color: var(--pp-muted); font-size: 11px; }
.product-preview .pp-account { color: var(--pp-accent); font-weight: 500; }
.product-preview .pp-footer { min-height: 27px; flex: 0 0 27px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 20px; border-top: 1px solid var(--pp-line); color: var(--pp-muted); font-size: 11px; }
.product-preview .pp-footer strong { margin-left: 5px; font-weight: 500; font-size: 12px; color: #071c32; }
.product-preview .pp-empty { text-align: center; height: 125px; color: var(--pp-muted); }
.product-preview .pp-source { font-size: 12px; font-weight: 500; white-space: nowrap; }
.product-preview .pp-source > span { color: var(--pp-muted); font-weight: 400; }
.product-preview .pp-select { display: flex; align-items: center; min-width: 0; }
.product-preview .pp-select select { min-width: 0; min-height: 44px; max-width: 100%; border: 0; background: transparent; padding: 0 20px 0 0; font-size: 12px; cursor: pointer; }
.product-preview .pp-low-stock { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 11px; white-space: nowrap; cursor: pointer; }
.product-preview .pp-low-stock input { width: 16px; height: 16px; margin: 0; accent-color: var(--pp-accent); }
.product-preview .pp-tools--warehouse { flex-wrap: wrap; gap: 0 15px; }
.product-preview .pp-tools--warehouse .pp-search { width: 100%; max-width: 100%; flex-basis: 100%; border-top: 1px solid var(--pp-line); }
.product-preview .pp-article, .product-preview .pp-unit { color: var(--pp-muted); font-size: 11px; }
.product-preview .pp-detail { padding: 0 20px 12px; }
.product-preview .pp-detail-heading { display: flex; align-items: center; gap: 18px; min-height: 44px; }
.product-preview .pp-detail-heading > strong { margin-left: auto; font-size: 12px; font-weight: 550; text-align: right; }
.product-preview .pp-back { display: flex; align-items: center; min-height: 44px; gap: 7px; color: var(--pp-accent); font-size: 12px; white-space: nowrap; }
.product-preview .pp-back > span { font-size: 18px; }
.product-preview .pp-detail-party { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 500; }
.product-preview .pp-detail-party > span { color: var(--pp-muted); font-size: 11px; font-weight: 400; }
.product-preview .pp-detail-totals { display: flex; gap: 24px; padding-block: 9px; margin: 0; border-bottom: 1px solid var(--pp-line); }
.product-preview .pp-detail-totals dt, .product-preview .pp-stock-facts dt { color: var(--pp-muted); font-size: 11px; margin: 0 0 2px; }
.product-preview .pp-detail-totals dd { font-size: 15px; font-weight: 530; margin: 0; white-space: nowrap; }
.product-preview .pp-detail-label { font-size: 11px; color: var(--pp-muted); margin-top: 8px; }
.product-preview .pp-detail-items { list-style: none; padding: 0; margin: 4px 0 0; }
.product-preview .pp-detail-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 24px; font-size: 12px; }
.product-preview .pp-detail-items small { font-size: 11px; color: var(--pp-muted); }
.product-preview .pp-detail-items li > span:last-child { white-space: nowrap; }
.product-preview .pp-detail-reference { font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.product-preview .pp-detail-reference > span { font-size: 11px; color: var(--pp-muted); }
.product-preview .pp-posting-path { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--pp-line); font-size: 21px; }
.product-preview .pp-posting-path small { display: block; color: var(--pp-muted); font-size: 11px; margin-bottom: 5px; }
.product-preview .pp-posting-path > strong { margin-left: auto; font-size: 20px; font-weight: 520; white-space: nowrap; }
.product-preview .pp-stock-facts { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; padding-block: 24px; border-bottom: 1px solid var(--pp-line); }
.product-preview .pp-stock-facts dd { margin: 0; font-size: 17px; white-space: nowrap; font-weight: 520; }
.product-preview .pp-content--overview { padding: 0 20px; overflow: hidden; }
.product-preview .pp-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding: 19px 0; margin: 0; }
.product-preview .pp-metrics dt { font-size: 12px; color: var(--pp-muted); margin-bottom: 7px; }
.product-preview .pp-metrics dd { font-size: clamp(18px, 2vw, 25px); font-weight: 520; letter-spacing: -0.04em; white-space: nowrap; margin: 0; }
.product-preview .pp-metrics > div:last-child dd { color: var(--pp-accent); }
.product-preview .pp-chart { border-top: 1px solid var(--pp-line); padding-top: 12px; }
.product-preview .pp-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.product-preview .pp-chart-legend { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--pp-muted); }
.product-preview .pp-chart-legend i { width: 6px; height: 6px; display: inline-block; background: #0c57ff; }
.product-preview .pp-chart-legend i:last-child { background: #c4d7ff; margin-left: 7px; }
.product-preview .pp-chart svg { width: 100%; height: 133px; margin-top: 6px; overflow: visible; }
.product-preview .pp-chart-grid { stroke: var(--pp-line); stroke-width: 1; fill: none; }
.product-preview .pp-chart-revenue { fill: #729cff; }
.product-preview .pp-chart-expenses { fill: #dbe6ff; }
.product-preview .is-selected .pp-chart-revenue { fill: #0c57ff; }
.product-preview .is-selected .pp-chart-expenses { fill: #b4ceff; }
.product-preview .pp-chart-month rect { transition: fill 160ms ease; }
.product-preview .pp-chart-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; gap: 10px; color: var(--pp-muted); font-size: 11px; }
.product-preview .pp-chart-labels .is-selected { color: var(--pp-accent); font-weight: 560; }
[data-preview-ready='true'] .product-preview { animation: pp-enter 160ms ease-out; }
@keyframes pp-enter { from { opacity: .85; } to { opacity: 1; } }
@media (max-width: 820px) {
  .product-preview .pp-tools, .product-preview .pp-heading, .product-preview .pp-footer { padding-inline: 14px; }
  .product-preview .pp-table th:first-child, .product-preview .pp-table td:first-child { padding-left: 14px; }
  .product-preview .pp-table th:last-child, .product-preview .pp-table td:last-child { padding-right: 14px; }
  .product-preview .pp-table th, .product-preview .pp-table td { padding-inline: 10px; }
  .product-preview .pp-detail { padding-inline: 14px; }
  .product-preview .pp-content--overview { padding-inline: 14px; }
  .product-preview .pp-posting-path { gap: 16px; }
}
@media (max-width: 640px) {
  .product-preview { height: 414px; font-size: 12px; }
  .product-preview--hero { height: 330px; }
  .product-preview .pp-heading { min-height: 36px; flex-basis: 36px; }
  .product-preview .pp-heading h3 { font-size: 13px; }
  .product-preview .pp-heading > span { font-size: 11px; }
  .product-preview .pp-tools { min-height: 44px; gap: 0 12px; }
  .product-preview .pp-tools--documents { flex-direction: column; align-items: stretch; }
  .product-preview .pp-tools--documents .pp-search { max-width: 100%; width: 100%; border-top: 1px solid var(--pp-line); }
  .product-preview .pp-filters { gap: 23px; min-height: 44px; }
  .product-preview .pp-filters button { min-width: 44px; font-size: 12px; }
  .product-preview .pp-search input { font-size: 16px; }
  .product-preview .pp-table .pp-secondary { display: none; }
  .product-preview .pp-table th { height: 26px; font-size: 12px; }
  .product-preview .pp-table td { height: 50px; font-size: 12px; }
  .product-preview .pp-table th:first-child, .product-preview .pp-table--postings th:first-child, .product-preview .pp-table--warehouse th:first-child { width: 62%; }
  .product-preview .pp-table th:last-child, .product-preview .pp-table--postings th:last-child, .product-preview .pp-table--warehouse th:last-child { width: 38%; }
  .product-preview .pp-row-link { min-height: 49px; gap: 3px; }
  .product-preview .pp-row-link > span { font-size: 12px; }
  .product-preview .pp-row-link small { font-size: 11px; }
  .product-preview .pp-mobile-party { display: block; }
  .product-preview .pp-mobile-path { display: block; }
  .product-preview .pp-footer { min-height: 27px; flex-basis: 27px; font-size: 11px; }
  .product-preview .pp-footer .pp-currency { display: none; }
  .product-preview .pp-source { font-size: 12px; }
  .product-preview .pp-source > span { display: none; }
  .product-preview .pp-select select { font-size: 16px; max-width: 175px; }
  .product-preview .pp-tools--warehouse .pp-select select { max-width: 170px; }
  .product-preview .pp-low-stock { font-size: 12px; gap: 5px; }
  .product-preview .pp-low-stock input { width: 15px; height: 15px; }
  .product-preview .pp-detail-heading { min-height: 44px; gap: 12px; }
  .product-preview .pp-detail-heading > strong { font-size: 12px; }
  .product-preview .pp-back { min-height: 44px; font-size: 12px; }
  .product-preview .pp-detail-party { font-size: 12px; }
  .product-preview .pp-detail-party > span { font-size: 11px; }
  .product-preview .pp-detail-totals { gap: 18px; padding-block: 6px; }
  .product-preview .pp-detail-totals dt { font-size: 11px; }
  .product-preview .pp-detail-totals dd { font-size: 13px; }
  .product-preview .pp-detail-label { margin-top: 6px; font-size: 11px; }
  .product-preview .pp-detail-items { margin-top: 2px; }
  .product-preview .pp-detail-items li { font-size: 12px; min-height: 24px; gap: 6px; }
  .product-preview .pp-detail-items small { font-size: 11px; }
  .product-preview .pp-detail-reference { font-size: 12px; }
  .product-preview .pp-posting-path { gap: 12px; font-size: 19px; padding-block: 18px; flex-wrap: wrap; }
  .product-preview .pp-posting-path > strong { font-size: 20px; flex-basis: 100%; margin: 0; }
  .product-preview .pp-stock-facts { grid-template-columns: 1fr 1fr; padding-block: 20px; }
  .product-preview .pp-stock-facts > div:last-child { grid-column: 1/-1; }
  .product-preview .pp-stock-facts dd { font-size: 18px; }
  .product-preview .pp-content--overview { padding-inline: 14px; }
  .product-preview .pp-metrics { gap: 10px; padding-block: 16px; }
  .product-preview .pp-metrics dt { font-size: 12px; }
  .product-preview .pp-metrics dd { font-size: clamp(15px, 4.5vw, 21px); }
  .product-preview .pp-chart-heading { flex-direction: column; align-items: flex-start; gap: 9px; }
  .product-preview .pp-chart-legend { font-size: 11px; }
  .product-preview .pp-chart svg { height: 132px; margin-top: 10px; }
  .product-preview .pp-chart-labels { font-size: 11px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-preview-ready='true'] .product-preview { animation: none; }
  .product-preview .pp-chart-month rect { transition: none; }
}
