body .workspace.planning-workspace,body .workspace.execution-workspace{min-width:0;min-height:0;overflow:hidden}
.production-work-tabs{flex:none;width:max-content;max-width:100%;min-width:0}
.workspace .production-work-tabs .workspace-tabs [role=tablist]{display:flex;width:auto;max-width:100%;height:36px;padding:4px;gap:0}
.workspace .production-work-tabs .workspace-tabs [role=tab]{height:28px;min-width:96px;width:auto;flex:1;padding:0 16px;font-size:14px;white-space:nowrap}
.planning-workspace .adopted-batch-toolbar,.execution-workspace .execution-tasks-toolbar,.planning-workspace .planning-scope-row{height:auto;min-height:36px;flex-wrap:wrap;row-gap:12px}
.execution-workspace>.production-work-tabs{margin-bottom:16px}
.planning-workspace .planning-filters,.execution-workspace .execution-monitor-filters{height:auto;min-height:36px;flex-wrap:wrap}
.workspace.planning-workspace>.workspace-header,.workspace.execution-workspace>.workspace-header{flex-wrap:wrap;height:auto;min-height:44px;gap:8px 16px}
.workspace.planning-workspace .workspace-navigation,.workspace.execution-workspace .workspace-navigation{position:static;min-width:0;max-width:100%;flex-wrap:wrap}
@media(max-width:767px){
 .production-work-tabs{width:100%}
 .workspace .production-work-tabs .workspace-tabs [role=tablist]{width:100%;height:auto;min-height:40px}
 .workspace .production-work-tabs .workspace-tabs [role=tab]{min-width:0;height:auto;min-height:32px;padding:6px 8px;white-space:normal;line-height:20px}
 .planning-workspace .adopted-batch-toolbar>.workspace-search{width:100%;flex:1 1 100%}
 .execution-workspace .execution-tasks-toolbar{margin-bottom:12px}
 .execution-workspace .execution-tasks-toolbar>.workspace-tabs{width:100%}
 .execution-workspace .execution-tasks-toolbar>.tf-field{flex:1 1 140px;width:auto}
 body .workspace.planning-workspace,body .workspace.execution-workspace{overflow:auto}
}

@media(max-width:767px){
 body .workspace.planning-workspace>.workspace-header,body .workspace.execution-workspace>.workspace-header,body .workspace.adopted-documents-workspace>.workspace-header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;gap:8px;margin-bottom:16px}
 body .workspace:is(.planning-workspace,.execution-workspace,.adopted-documents-workspace) .workspace-header>.workspace-navigation{position:static;grid-column:1/-1;grid-row:2;width:100%;height:auto;min-height:44px;margin:0;flex-wrap:wrap;overflow:visible}
 body .workspace:is(.planning-workspace,.execution-workspace,.adopted-documents-workspace) .workspace-header>.workspace-header-actions{grid-column:2;grid-row:1;margin:0}
 body .workspace:is(.planning-workspace,.execution-workspace,.adopted-documents-workspace) .workspace-navigation>a{flex:1 1 auto;min-width:0;width:auto;padding:8px;font-size:14px;height:auto;min-height:44px}
 body .execution-workspace .execution-task-list table{min-width:1000px}
 body .execution-workspace .execution-tasks-note{height:auto;min-height:20px;flex-wrap:wrap}
 body .execution-workspace .execution-tasks-summary{height:auto;min-height:88px}
 body .execution-workspace .execution-tasks-toolbar>div:nth-child(2){display:none}
 body .execution-workspace .execution-tasks-footer{height:auto;flex-wrap:wrap;gap:8px}
}

@media(max-width:767px){
 body .workspace:is(.planning-workspace,.execution-workspace,.adopted-documents-workspace) .workspace-header>.workspace-navigation[aria-label="打印生产页面"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 body .adopted-documents-workspace .workspace-tabs [role=tablist]{width:100%;min-width:0}
 body .adopted-documents-workspace .workspace-tabs [role=tab]{min-width:0;width:auto;flex:1;padding:0 12px}
}
