/* Scoped fixes for the requested work screens; no global font/spacing changes. */
html body .patrol-search-04 label{flex:0 0 auto!important;min-width:0!important}
html body .patrol-search-04 .fms-date-field,html body .wm-filter-1901 .fms-date-field{width:155px!important;min-width:0!important;flex:0 0 155px!important;display:inline-flex!important}
html body .patrol-search-04 .fms-date-field>input:not(.fms-native-date-picker),html body .wm-filter-1901 .fms-date-field>input:not(.fms-native-date-picker){width:119px!important;min-width:0!important;flex:1 1 0!important}
html body .ea-list-search>button[data-standard-action="search"]{margin-left:auto!important}
html body .spt-patrol .spt-actions button.fms-standard-action[data-standard-action="patrol-complete-b"],html body.work-pane button.fms-standard-action[data-standard-action="work-complete-a"]{background:#EAF3FF!important;color:#245D91!important;border-color:#AAC9EA!important}
html body .spt-patrol .spt-actions button.fms-standard-action[data-standard-action="patrol-complete-b"]:hover,html body.work-pane button.fms-standard-action[data-standard-action="work-complete-a"]:hover{background:#DEECFF!important}
html body.work-pane button.fms-standard-action[data-standard-action="draft-save"]{background:#FFF1F2!important;color:#C84E59!important;border-color:#EFB4BD!important}
html body .work-table-1901 :is(th,td){height:50px!important;box-sizing:border-box}
html body .work-table-1901 th,html body .work-table-1901 th a{font-size:14px!important;font-weight:800!important}
html body .wm-filter-1901{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;padding:12px!important;margin-bottom:4px!important}
html body .wm-filter-1901 label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:0!important;flex:0 0 auto!important;min-width:0!important;white-space:nowrap}
html body .wm-filter-1901 select{width:auto!important;min-width:100px!important;max-width:170px}
html body .wm-filter-1901 .wm-name-1901 input{width:210px!important;min-width:0!important}
html body .wm-filter-1901>button{margin-left:auto!important}
html body .wm-total-1901{margin:4px 0!important;padding:0!important;flex:none}
html body .work-search-fields{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important}
html body .work-search-fields .search-field{display:flex!important;align-items:center!important;gap:7px;flex:0 0 auto!important;min-width:0!important}
html body .work-search-fields .search-field label{margin:0!important;white-space:nowrap}
html body .work-search-fields .actions{margin-left:auto!important;flex:0 0 auto!important}
.work-issue-embedded-1901>.work-issue-title-1901{display:none!important}
html body.work-issue-1901 .issue-name button.fms-standard-action{min-height:33px!important}
html body.work-pane .wp-photo-button.fms-standard-action{display:inline-flex!important}
html body.work-pane .wp-completed-actions-1901{display:flex!important;justify-content:flex-end!important;flex:none!important;padding:6px 12px!important;margin:0!important;background:#fff}
html body.work-pane .wp-completed-actions-1901 [hidden]{display:none!important}
html body.work-pane .wp-material-table{table-layout:fixed!important}
html body.work-pane .wp-material-table .grid-cell-content{white-space:normal!important}
html body.work-pane :is([data-add-material],[data-remove-materials],[data-material-search],[data-material-save],.material-quantity-control button){background:#EAF3FF!important;color:#245D91!important;border:1px solid #AAC9EA!important;box-shadow:none!important}
html body.work-pane :is([data-add-material],[data-remove-materials],[data-material-search],[data-material-save],.material-quantity-control button):hover{background:#DEECFF!important}
html body.work-pane :is([data-add-material],[data-remove-materials],[data-material-search]){width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:5px!important;flex:none!important}
html body.work-pane [data-material-search] svg{width:16px!important;height:16px!important;stroke:currentColor!important}
html body.work-pane .material-quantity-control input{background:transparent!important;min-width:40px!important}
html body.work-pane .material-quantity-control button{width:24px!important;min-width:24px!important}
html body.work-pane [data-material-save]{border-radius:5px!important}
html body.work-pane .wp-processing input[data-no-picker]{width:100px!important}
@media(max-width:800px){html body .wm-filter-1901 label{max-width:100%;flex-wrap:wrap}html body .wm-filter-1901 .wm-name-1901 input{max-width:100%}}

html body .work-search-fields .search-field[hidden]{display:none!important}
html body.work-pane .wp-completed-actions-1901 button[hidden]{display:none!important}
