#product-publish-page:has(#print-capture-workspace:not([hidden])) > :is(.commerce-batch-hub, .studio-journey) {
  display: none !important;
}
.pc-workspace {
  max-width: 1440px;
  margin: auto;
  padding: 24px;
  color: var(--ink);
  font-size: 13px;
}
.pc-heading { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pc-workspace :is(h1, h2, p) { margin: 0; }
.pc-heading h1 { font-size: 26px; font-weight: 650; }
.pc-workspace h2 { font-size: 16px; font-weight: 650; }
.pc-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.pc-section, .pc-composition { min-width: 0; padding: 20px; }
.pc-section + .pc-section { border-top: 1px solid var(--line); }
.pc-composition { border-left: 1px solid var(--line); }
.pc-workspace label:not(.product-capture-search) { display: block; font-weight: 550; }
.pc-workspace select { min-width: 0; width: 100%; font: inherit; }
.pc-preview-heading button { flex-shrink: 0; white-space: nowrap; }
.pc-workspace button:disabled { opacity: .55; cursor: default; }
.pc-workspace .pc-upload-dialog {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.pc-upload-area {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.pc-upload-area input { width: 100%; min-width: 0; color: var(--ink); }
.pc-workspace .pc-status { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.pc-workspace .pc-status[data-error] { color: var(--danger, var(--ink)); }
.pc-workspace .pc-title { margin: 14px 0 10px; font-weight: 600; overflow-wrap: anywhere; }
.pc-workspace a { display: inline-block; margin-top: 8px; }
.pc-workspace fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pc-workspace legend { padding: 0; color: var(--muted); }
.pc-source-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 9px; }
.pc-source-image { min-width: 0; }
.pc-delete-image {
  display: block;
  width: 100%;
  min-height: 28px;
  margin-top: 3px;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
}
.pc-delete-image:hover:not(:disabled) { color: var(--danger, var(--ink)); text-decoration: underline; }
.pc-source-images label { position: relative; min-width: 0; }
.pc-source-images input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pc-source-images img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-soft); }
.pc-source-images span {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  cursor: pointer;
}
.pc-source-images input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pc-source-images input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
#pc-extract-action, .pc-result-section { margin-top: 14px; }
.pc-result-section > header { margin-bottom: 8px; }
.pc-result-section h3 { margin: 0; font-size: 14px; }
.pc-workspace .pc-source-images input[type=checkbox] {
  top: 7px; right: 7px; width: 16px; height: 16px; margin: 0; opacity: 1; accent-color: var(--ink); cursor: pointer;
}
.pc-source-images input:disabled { cursor: default; }
.pc-source-images [data-extracted] span { border-color: var(--muted); }
.pc-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.pc-result { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 5px; border: 1px solid var(--line); border-radius: 6px; }
.pc-result button { display: grid; gap: 4px; width: 100%; padding: 4px; text-align: start; overflow-wrap: anywhere; }
.pc-result button[aria-pressed=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pc-result img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface-soft); }
.pc-result small { color: var(--muted); overflow-wrap: anywhere; }
.pc-workspace .pc-consent { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-weight: 400; }
.pc-workspace input[type=checkbox] { width: auto; min-height: auto; }
.pc-preview-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.pc-preview {
  display: grid;
  place-items: center;
  min-height: 310px;
  overflow: hidden;
  padding: 12px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.pc-preview-art { position: relative; max-width: 100%; }
.pc-preview-art:has(canvas[hidden]) { display: none; }
#pc-print-box { position: absolute; outline: 1px dashed #fff; box-shadow: 0 0 0 1px #111; cursor: move; touch-action: none; }
#pc-print-box:active { cursor: grabbing; }
#pc-print-resize {
  position: absolute; right: -1px; bottom: -1px; width: 20px; height: 20px;
  border: 1px solid #fff; border-radius: 3px; background: #171717;
  cursor: nwse-resize; touch-action: none;
}
#pc-print-resize::after {
  content: ''; position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px;
  border-right: 1px solid white; border-bottom: 1px solid white;
}
#pc-adjust-hint { margin: 8px 0 0; }
.pc-preview canvas { display: block; max-width: 100%; max-height: 420px; height: auto; width: auto; object-fit: contain; }
.pc-preview canvas[data-preview=artwork] {
  background: repeating-conic-gradient(var(--line) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px;
}
#pc-style-controls { margin-bottom: 13px; }
#pc-style { margin-top: 6px; }
#pc-placement { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 12px; }
#pc-placement label { flex: 1 1 78px; min-width: 0; }
#pc-placement output { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
#pc-placement input[type=range] { display: block; margin: 4px 0 0; padding: 0; width: 100%; min-height: 26px; accent-color: var(--ink); }
.pc-workspace [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .pc-editor { grid-template-columns: minmax(0, 1fr); }
  #pc-layout { display: none; }
  .pc-composition { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .pc-workspace { padding: 16px 12px; }
  .pc-section, .pc-composition { padding: 14px; }
  .pc-preview { min-height: 240px; }
}

.pc-workspace .pc-heading { flex-wrap: wrap; margin-bottom: 14px; }
.pc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pc-tools a { margin-top: 0; }
.pc-workspace .pc-monitor { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc-monitor strong { font-size: 18px; letter-spacing: 0; line-height: 1.3; }
.pc-editor[data-layout=stacked] { grid-template-columns: minmax(0, 1fr); }
.pc-editor[data-layout=stacked] > .pc-composition { border-left: 0; border-top: 1px solid var(--line); }
#pc-recent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
#pc-recent-toggle::after,
#pc-current-capture::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
#pc-recent-toggle[aria-expanded="false"]::after,
#pc-current-capture[aria-expanded="false"]::after { transform: rotate(-45deg); }
#pc-recent-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc-library:has(#pc-current-capture[hidden]) .pc-preview-heading { margin-bottom: 0; }
.pc-library:has(+ #pc-capture-panel:not([hidden])) { padding-bottom: 12px; }
.pc-recent-list.pc-section { padding-top: 0; }
.pc-recent { display: grid; gap: 4px; max-height: 212px; overflow: auto; }
.pc-recent-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; }
.pc-recent-row span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pc-recent-row small { color: var(--muted); flex: none; }
#pc-current-capture { width: 100%; border-color: var(--ink); user-select: none; }
#pc-current-capture::after { flex: none; }
#pc-current-capture[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
@media (max-width: 650px) {
  .pc-workspace .pc-monitor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-workspace .pc-monitor article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pc-workspace .pc-monitor article:nth-child(3) { border-left: 0; }
}


.product-bulk-listing-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0;
  margin: 10px 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}
.product-bulk-listing-steps li { display: flex; align-items: center; gap: 5px; }
.product-bulk-listing-steps li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.product-bulk-listing-steps [aria-current="step"],
.product-bulk-listing-steps [data-done] { color: var(--ink); }
.product-bulk-listing-steps [aria-current="step"] { font-weight: 600; }
.product-bulk-listing-steps [data-done]::before { background: currentColor; }

#product-bulk-print-preview {
  margin: 16px 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  overflow-wrap: anywhere;
}
#product-bulk-print-preview h3 { margin: 0 0 10px; font-size: 15px; }
#product-bulk-print-preview-retry { margin-top: 8px; }
.bulk-preview-shops { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.bulk-preview-shops li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.bulk-preview-skus { width: 100%; border-collapse: collapse; font-size: 13px; }
.bulk-preview-skus caption { padding: 0 0 6px; text-align: left; font-weight: 600; }
.bulk-preview-skus th, .bulk-preview-skus td { padding: 6px 8px; text-align: left; border-top: 1px solid var(--line); }
.bulk-preview-skus thead th { color: var(--muted); font-weight: 500; }
.bulk-preview-skus th:first-child { padding-left: 0; }
.bulk-preview-skus th:last-child, .bulk-preview-skus td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
