/* Daily price/stock workspace; other editors retain their layout. */
.app-shell .catalog-quick-workspace { border: 0; border-radius: 0; background: #fff; font-size: 13px; margin-bottom: 84px; }
.app-shell .catalog-quick-workspace [hidden] { display: none !important; }
.app-shell .catalog-quick-workspace .catalog-bulk-page-head { padding: 18px 16px 12px; border-bottom: 0; }
.app-shell .catalog-quick-workspace .catalog-bulk-page-head h2 { font-size: 20px; }
.app-shell .catalog-quick-workspace .catalog-bulk-page-head p { font-size: 12px; margin-top: 6px; }
.catalog-columns-toggle { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.catalog-columns-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #c44a12; }
.catalog-stock-filters { display: flex; gap: 4px; flex-wrap: wrap; padding: 0 16px 12px; border-bottom: 1px solid #e1e5e8; }
.catalog-stock-filters button { display: flex; gap: 10px; align-items: center; background: transparent; border: 0; border-radius: 4px; min-height: 36px; padding: 8px 10px; color: #4f5b60; font: inherit; cursor: pointer; }
.catalog-stock-filters button b { font-size: 12px; font-variant-numeric: tabular-nums; }
.catalog-stock-filters button[aria-pressed="true"] { background: #eaf2ef; color: #24654e; box-shadow: inset 0 -2px #36816a; }
.catalog-stock-filters button:hover { background: #f0f4f3; }
.app-shell .catalog-quick-workspace .catalog-bulk-filterbar { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(420px, 2fr); align-items: start; gap: 16px; padding: 14px 16px; background: #fff; }
.catalog-refine { min-width: 0; }
.catalog-refine summary { color: #526167; font-size: 12px; cursor: pointer; margin-bottom: 6px; }
.catalog-refine-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.app-shell .catalog-quick-workspace .catalog-bulk-filterbar label { font-size: 12px; }
.app-shell .catalog-quick-workspace input,
.app-shell .catalog-quick-workspace select { border-radius: 4px; font-size: 13px; min-height: 38px; }
.app-shell .catalog-quick-workspace input[type="checkbox"] { min-height: 0; }
.app-shell .catalog-quick-workspace .catalog-bulk-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 16px; background: #f7f9fa; border-block: 1px solid #e1e5e8; }
.app-shell .catalog-quick-workspace .catalog-select-all { font-size: 12px; }
.catalog-selection-scope { margin-left: auto; color: #8c401c; font-weight: 650; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: transparent; border: 0; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell { display: flex; align-items: center; gap: 10px; padding: 0; background: transparent; border: 0; flex-wrap: wrap; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell > span { min-width: 65px; font-size: 12px; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell > span small { display: none; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell > label { flex: 1; min-width: 80px; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell.is-price { order: -2; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell.is-stock { order: -1; }
.app-shell .catalog-quick-workspace:not(.show-more-actions) .catalog-secondary-action { display: none; }
.app-shell .catalog-quick-workspace .catalog-bulk-action-cell--shipping { grid-column: 1 / -1; }
.app-shell .catalog-quick-workspace .catalog-bulk-clear { margin-left: auto; }
.app-shell .catalog-quick-workspace .catalog-bulk-table { min-width: 0; }
.app-shell .catalog-quick-workspace .catalog-bulk-table-wrap { max-height: 660px; scrollbar-gutter: stable; }
.app-shell .catalog-quick-workspace .catalog-bulk-row { grid-template-columns: 24px 50px minmax(210px, 1fr) 126px 150px 112px; gap: 12px; padding: 10px 16px; min-height: 86px; background: #fff; border-bottom-color: #e5e9eb; }
.app-shell .catalog-quick-workspace .catalog-bulk-row:hover { background: #f8faf9; }
.app-shell .catalog-quick-workspace .catalog-bulk-row.is-head { min-height: 40px; font-size: 11px; color: #546367; background: #eff3f4; text-transform: none; }
.app-shell .catalog-quick-workspace .catalog-bulk-row.is-selected { background: #fff7f0; box-shadow: inset 3px 0 #cc581e; }
.app-shell .catalog-quick-workspace .catalog-bulk-row.is-modified { border-left: 3px solid #cb661d; padding-left: 13px; }
.app-shell .catalog-quick-workspace:not(.show-all-columns) .catalog-extra-col { display: none; }
.app-shell .catalog-quick-workspace .catalog-bulk-row > .is-price { order: 4; }
.app-shell .catalog-quick-workspace .catalog-bulk-row > .is-stock { order: 5; }
.app-shell .catalog-quick-workspace .catalog-bulk-inline-status,
.app-shell .catalog-quick-workspace .catalog-visible-head { order: 6; }
.app-shell .catalog-quick-workspace .catalog-extra-col { order: 7; }
.app-shell .catalog-quick-workspace.show-all-columns .catalog-bulk-table { min-width: 1400px; }
.app-shell .catalog-quick-workspace.show-all-columns .catalog-bulk-row { grid-template-columns: 24px 50px minmax(240px, 1fr) 126px 150px 112px 170px 150px 72px; }
.app-shell .catalog-quick-workspace .catalog-bulk-product strong { font-size: 13px; line-height: 1.4; white-space: normal; overflow: visible; }
.app-shell .catalog-quick-workspace .catalog-bulk-product small { font-size: 11px; line-height: 1.35; white-space: normal; color: #637076; }
.app-shell .catalog-quick-workspace .catalog-bulk-product .catalog-row-change { color: #965019; font-size: 10px; }
.app-shell .catalog-quick-workspace .catalog-bulk-inline-number { align-self: start; gap: 4px; margin-top: 6px; }
.app-shell .catalog-quick-workspace .catalog-bulk-inline-number input { padding: 7px 10px; font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 600; }
.app-shell .catalog-quick-workspace .catalog-bulk-inline-number small { font-size: 11px; white-space: normal; overflow: visible; }
.app-shell .catalog-quick-workspace .catalog-stock-label.is-available { color: #26724d; }
.app-shell .catalog-quick-workspace .catalog-stock-label.is-low { color: #925308; }
.app-shell .catalog-quick-workspace .catalog-stock-label.is-out { color: #b34235; }
.app-shell .catalog-quick-workspace input[aria-invalid="true"] { border-color: #c13730; background: #fff5f3; }
.app-shell .catalog-quick-workspace .catalog-field-error { color: #ae2823; }
.app-shell .catalog-quick-workspace .catalog-bulk-more { font-size: 12px; background: #fff; }
.app-shell .catalog-quick-workspace .catalog-import-workspace { margin: 16px 0 0; border-inline: 0; border-radius: 0; }
.app-shell .catalog-workspace-page { padding-bottom: 70px; }
.app-shell .catalog-workspace-page > .manager-page-head [data-save-ortonit],
.app-shell .catalog-workspace-page > .manager-page-head [data-discard-ortonit] { display: none; }
.app-shell .catalog-save-dock { background: #fff; border: 1px solid #d5dfdc; border-radius: 4px; box-shadow: 0 -3px 16px #17252a0a; }
.app-shell.is-site-workspace .catalog-save-dock > div:first-child { display: block; }
.app-shell .catalog-save-dock .button:not(.primary) { color: #45555c; background: #fff; border-color: #ccd6db; }
.app-shell .catalog-save-dock strong { color: #386a56; font-size: 13px; }
.app-shell .catalog-save-dock span { font-size: 11px; color: #65757c; font-weight: 400; }
.app-shell .catalog-save-dock.is-dirty strong { color: #995020; }
.app-shell .catalog-save-dock.has-error strong { color: #b1342d; }
.app-shell .catalog-save-dock:not(.is-dirty):not(.has-error) .actions { display: none; }
.app-shell .catalog-workspace-tabs [data-catalog-workspace-mode="bulk"] { order: -1; }
.app-shell .catalog-workspace-tabs [data-catalog-workspace-mode="products"] { order: -2; }
.catalog-quick-workspace :focus-visible { outline: 2px solid #327768; outline-offset: 2px; }
body:has(.catalog-workspace-page) > .toast { bottom: 110px; max-width: min(420px, calc(100vw - 32px)); border-radius: 4px; font-size: 13px; }
.app-shell .catalog-quick-workspace .catalog-bulk-page-head__actions [data-undo-catalog-batch] { width: 36px; height: 36px; padding: 0; flex: 0 0 36px; }

@media (max-width: 1100px) {
  .app-shell .catalog-quick-workspace .catalog-bulk-filterbar { grid-template-columns: minmax(180px, 1fr) minmax(280px, 2fr); }
  .app-shell .catalog-quick-workspace .catalog-bulk-row { grid-template-columns: 22px 44px minmax(160px, 1fr) 94px 118px 96px; gap: 8px; padding-inline: 10px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-thumb { width: 42px; height: 46px; }
}
@media (max-width: 700px) {
  body:has(.catalog-workspace-page) > .toast { bottom: 150px; }
  .app-shell .catalog-workspace-page > .manager-page-head { display: flex; flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
  .app-shell .catalog-workspace-page > .manager-page-head h1 { font-size: 17px; line-height: 1.3; }
  .app-shell .catalog-workspace-page > .manager-page-head .actions { width: auto; display: flex; }
  .app-shell .catalog-workspace-page > .manager-page-head .actions .button { width: auto; }
  .app-shell .catalog-quick-workspace { margin-bottom: 120px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-page-head { align-items: start; flex-direction: row; padding-inline: 12px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-page-head h2 { font-size: 18px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-page-head__actions { width: auto; flex-wrap: wrap; }
  .catalog-stock-filters { padding-inline: 8px; gap: 2px; }
  .catalog-stock-filters button { font-size: 12px; padding: 8px; gap: 6px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-filterbar { padding: 12px; gap: 10px; grid-template-columns: minmax(0, 1fr); }
  .app-shell .catalog-quick-workspace .catalog-bulk-search { grid-column: 1 / -1; }
  .app-shell .catalog-quick-workspace .catalog-bulk-filterbar input,
  .app-shell .catalog-quick-workspace .catalog-bulk-filterbar select { max-width: 100%; width: 100%; font-size: 13px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-page-actions { padding: 12px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-action-grid { grid-template-columns: minmax(0, 1fr); }
  .app-shell .catalog-quick-workspace .catalog-bulk-row,
  .app-shell .catalog-quick-workspace.show-all-columns .catalog-bulk-row { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 12px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-row.is-head { display: none; }
  .app-shell .catalog-quick-workspace.show-all-columns .catalog-bulk-table { min-width: 0; }
  .app-shell .catalog-quick-workspace .catalog-row-select { position: absolute; top: 26px; left: 8px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-thumb { position: absolute; top: 16px; left: 36px; width: 40px; height: 48px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-product { grid-column: 1 / -1; padding: 0 0 4px 74px; min-height: 60px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-inline-number { margin-top: 0; }
  .app-shell .catalog-quick-workspace .catalog-bulk-inline-number.is-price::before { content: 'Цена, ₽'; color: #536369; font-size: 12px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-inline-number.is-stock::before { content: 'На складе, шт'; color: #536369; font-size: 12px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-inline-status { grid-column: 1 / -1; min-height: 38px; }
  .app-shell .catalog-quick-workspace .catalog-bulk-table-wrap { scrollbar-gutter: auto; max-height: 700px; }
  .app-shell .catalog-save-dock { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; }
  .app-shell .catalog-save-dock .actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .app-shell .catalog-save-dock .button { width: 100%; min-height: 40px; }
}
