/* The unit and both selects use the same responsive control width. */
.s5-workbench .s5-field:is([data-field="出血标记"],[data-field="出血标记值"],[data-field="裁切标记"]) {
  width: min(100%, 320px);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.s5-workbench .s5-field:is([data-field="出血标记"],[data-field="裁切标记"]) > :is(select,.admin-select-control,.admin-select-ui,.sc-select-control),
.s5-workbench .s5-field:is([data-field="出血标记"],[data-field="裁切标记"]) > span:has(select),
.s5-workbench .s5-field[data-field="出血标记值"] > input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.method-group:has(.catalog-bleed-amount) :is(.el-select,.catalog-bleed-amount),
.catalog-bleed-amount {
  width: min(100%, 320px) !important;
  max-width: 100%;
  box-sizing: border-box;
}
.catalog-bleed-amount > .el-input-number { flex: 1 1 0; min-width: 0; }
.catalog-bleed-amount > span { flex: none; }

/* Native disabled state must win over theme rules for primary actions. */
html:root body #prototype-root .pd-editor .s5-workbench .ed-setup button.method-view-effect:disabled,
html body button.method-view-effect:disabled,
html body button.method-view-effect:disabled:is(:hover,:active,:focus) {
  color: #697b8c !important;
  -webkit-text-fill-color: #697b8c !important;
  background: #e8edf2 !important;
  border: 1px solid #d3dce5 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
