/* Grid children must shrink before a wide table can scroll within its own region. */
.ant-pro-layout-content,.ant-pro-page-container,.ant-pro-page-container-children-container,.ant-pro-grid-content,.ant-pro-grid-content-children,.ant-pro-table,.ant-pro-card,.ant-pro-card-body,.ant-table-wrapper,.ant-table-container{min-width:0;max-width:100%;box-sizing:border-box}
.ant-pro-page-container-children-container [style*="display: grid"]>*{min-width:0}
.ant-table-content,.ant-table-body{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
@media(max-width:1023px){
 html.wecom-h5 .ant-pro-query-filter .ant-space{flex-wrap:wrap;justify-content:flex-end;max-width:100%}
 html.wecom-h5 .ant-pro-query-filter .ant-form-item-control-input-content{min-width:0}
 html.wecom-h5 .ant-pro-query-filter .ant-col{max-width:100%}
 html.wecom-h5 .ant-input-search,html.wecom-h5 .ant-select{max-width:100%}
 html.wecom-h5 .ant-pro-table-list-toolbar-container,html.wecom-h5 .ant-pro-table-list-toolbar-right{flex-wrap:wrap;min-width:0;gap:8px}
 html.wecom-h5 .ant-pro-table-list-toolbar-title{white-space:normal}
 html.wecom-h5 .ant-pagination{display:flex;flex-wrap:wrap;gap:4px}
 html.wecom-h5 .ant-modal{max-width:calc(100vw - 24px);margin:12px auto;top:0;padding-bottom:72px}
 html.wecom-h5 .ant-modal-content{padding:16px}
 html.wecom-h5 .ant-modal-body{min-width:0;max-width:100%;overflow-x:auto}
 html.wecom-h5 .ant-modal-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
 html.wecom-h5 .ant-drawer-content-wrapper{max-width:100vw!important}
 html.wecom-h5 .ant-drawer-body{padding:16px;min-width:0}
 html.wecom-h5 .assistant-work-tools[aria-label="部门工作工具"]{flex-wrap:wrap!important;white-space:normal!important;min-width:0!important;max-width:100%!important}
 html.wecom-h5 .assistant-work-tools .wecom-department-menu-link{max-width:100%;box-sizing:border-box}
}
@media(max-width:1023px){
 html.wecom-h5 .certificate-actions{bottom:calc(59px + env(safe-area-inset-bottom))!important;z-index:20}
 html.wecom-h5 .certificate-action-row{gap:8px;flex-wrap:wrap}
 html.wecom-h5 .certificate-action-row>.ant-btn{flex:1 1 auto}
 html.wecom-h5 .certificate-actions .ant-typography{flex-basis:100%}
}
.publishing-standalone{min-width:0;width:100%}
.publishing-standalone-content{box-sizing:border-box;min-width:0}
@media(max-width:1023px){
 html.wecom-h5 .publishing-standalone .ant-col-15,html.wecom-h5 .publishing-standalone .ant-col-9,html.wecom-h5 .publishing-standalone .ant-col-10,html.wecom-h5 .publishing-standalone .ant-col-14{flex:0 0 100%;max-width:100%}
 html.wecom-h5 .publishing-standalone .ant-page-header-heading-left{flex-wrap:wrap;min-width:0}
 html.wecom-h5 .publishing-standalone .ant-page-header-heading-sub-title{white-space:normal}
 html.wecom-h5 .publishing-standalone .ant-space{flex-wrap:wrap;max-width:100%}
 html.wecom-h5 .publishing-standalone-content{padding:0 0 72px}
}
@media(max-width:1023px){
 html.wecom-h5 div:has(>[aria-label="复制来源仪表"]),html.wecom-h5 div:has(>[aria-label="编号填写方式"]){flex-wrap:wrap!important;min-width:0}
 html.wecom-h5 [aria-label="选择统一填写字段"]{flex:1 1 100%!important;min-width:0}
}
@media(max-width:1023px){
 html.wecom-h5 .ant-page-header-heading-left{flex-wrap:wrap;min-width:0;gap:8px}
 html.wecom-h5 .ant-page-header-heading-title{flex-shrink:0;white-space:normal;overflow:visible}
 html.wecom-h5 .ant-page-header-heading-sub-title{max-width:100%;white-space:normal;margin:0}
}
