/* Approved mobile Prices only. */
@media (max-width: 860px) {
  html:root body .app-shell .prices-workspace.pw-compact {
    gap: 8px;
    padding-bottom: 12px !important;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-heading {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-heading h1 {
    margin: 0;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-controls {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-controls select {
    display: none;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-controls .pw-primary {
    padding-inline: 12px;
    font-size: 15px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-controls .pw-primary::after {
    content: 'Товар';
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-controls button:last-child {
    width: 44px;
    border-color: transparent;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-departments {
    display: grid !important;
    grid-template-columns: repeat(4, auto);
    gap: 0;
    width: 100%;
    padding: 2px 0 0;
    border-bottom: 1px solid var(--pw-line);
    overflow: visible;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-departments button {
    min-width: 0;
    min-height: 44px;
    padding: 6px 2px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent !important;
    color: var(--pw-muted) !important;
    font-size: 14px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-departments button[aria-pressed='true'] {
    border-bottom-color: var(--pw-green);
    color: var(--pw-text) !important;
  }
  html:root body .app-shell .prices-workspace.pw-compact :is(.pw-mobile-filter,.pw-mobile-summary) {
    font-size: 14px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-search input {
    font-size: 16px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-summary {
    flex-direction: row-reverse;
    padding: 3px 0 7px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-catalog:not(:has(.pw-mobile-filter b)) .pw-mobile-summary > span:first-child {
    display: none !important;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-catalog:not(:has(.pw-mobile-filter b)) .pw-mobile-summary {
    justify-content: flex-end;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-table tbody > tr:not(.pw-detail-row) {
    grid-template-columns: minmax(0, 1fr) clamp(92px,27vw,112px) 44px;
    grid-template-rows: auto auto;
    min-height: 64px;
    padding-block: 0 2px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-product-name button {
    min-height: 44px;
    padding: 4px 0 18px;
    font-size: 16px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-product-meta {
    position: relative;
    margin: -18px 0 0;
    pointer-events: none;
    font-size: 14px;
    line-height: 18px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-table .pw-change {
    font-size: 14px;
    line-height: 17px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-currency {
    top: 0;
    line-height: 44px;
    font-size: 17px;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-table .pw-row-action,
  html:root body .app-shell .prices-workspace.pw-compact .pw-table .pw-row-action button {
    min-width: 44px;
    width: 44px;
    color: var(--pw-muted) !important;
  }
  html:root body .app-shell .prices-workspace.pw-compact .pw-mobile-save-note {
    position: static;
    padding: 0;
    font-size: 13px;
    background: transparent;
  }
}
