/* Shared module layouts. Screen-only rules preserve printed documents. */
@media screen and (max-width:1023px){
 body.mkse-admin .mkse-module-mobile{box-sizing:border-box;width:100%;max-width:100%;min-width:0!important;margin:0!important;padding:0!important}
 body.mkse-admin .mkse-module-mobile :is(section,article,form,fieldset){min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-hero,.co-project-head,.pgw-hero,.pgt-hero,.tis-hero,.rc-hero,.cc-hero,.ah-hero,.ah-record-hero,.kb-hero,.ppr-hero,.sgd-hero,.synergy-hero,.phase8-hero,.phase9-hero,.phase10-hero,.psr-hero,.psr-admin-hero,.mkse-module-hero,.erp-hero,.sales-hero,.dp-admin-hero){display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:10px!important;min-width:0;min-height:0!important;padding:14px!important;margin-bottom:10px!important;border-radius:12px}
 body.mkse-admin .mkse-module-mobile :is(.co-hero,.pgw-hero,.pgt-hero,.tis-hero,.rc-hero,.cc-hero,.ah-hero,.kb-hero,.synergy-hero,.mkse-module-hero,.erp-hero)>div{min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-hero,.pgw-hero,.pgt-hero,.tis-hero,.rc-hero,.cc-hero,.ah-hero,.kb-hero,.synergy-hero,.mkse-module-hero,.erp-hero) :is(h1,h2){font-size:24px!important;line-height:1.25!important;margin:3px 0!important;overflow-wrap:anywhere}
 body.mkse-admin .mkse-module-mobile :is(.co-hero,.pgw-hero,.pgt-hero,.tis-hero,.rc-hero,.cc-hero,.ah-hero,.kb-hero,.synergy-hero,.mkse-module-hero,.erp-hero) p{font-size:13px!important;line-height:1.45;margin:4px 0!important}
 body.mkse-admin .mkse-module-mobile :is(.co-actions,.pgw-hero-actions,.pgt-hero-actions,.tis-hero-links,.rc-actions,.cc-hero-actions,.ah-actions,.kb-actions,.ppr-actions,.synergy-actions,.phase8-actions,.phase9-actions,.mkse-module-hero-actions,.erp-hero-actions,.dp-actions){display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-actions,.pgw-hero-actions,.pgt-hero-actions,.tis-hero-links,.rc-actions,.cc-hero-actions,.ah-actions,.kb-actions,.ppr-actions,.synergy-actions,.mkse-module-hero-actions,.erp-hero-actions,.dp-actions)>:is(a,button){min-width:0;max-width:100%;min-height:38px;padding:8px 10px!important;font-size:13px!important;line-height:1.35;white-space:normal!important}
 body.mkse-admin .mkse-module-mobile :is(.co-kpis,.pgw-metrics,.pgw-group-metrics,.pgt-metrics,.pgt-task-metrics,.pgt-command-metrics,.pgt-health-metrics,.tis-metrics,.rc-kpis,.cc-stats,.ah-kpis,.ah-vehicle-kpis,.kb-kpis,.synergy-kpis,.phase8-kpis,.phase9-kpis,.dp-admin-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
 body.mkse-admin .mkse-module-mobile :is(.co-kpis,.pgw-metrics,.pgt-metrics,.tis-metrics,.rc-kpis,.cc-stats,.ah-kpis,.kb-kpis,.synergy-kpis)>*{min-width:0;min-height:0!important;padding:12px!important;overflow-wrap:anywhere}
 body.mkse-admin .mkse-module-mobile :is(.co-kpis,.pgw-metrics,.pgt-metrics,.tis-metrics,.rc-kpis,.ah-kpis,.kb-kpis,.synergy-kpis) :is(strong,b){font-size:23px;line-height:1.25}
 body.mkse-admin .mkse-module-mobile :is(.co-split,.co-integration-grid,.ah-two,.ah-two-wide,.pgt-layout-2,.pgw-task-update-panel,.pgw-task-update-grid,.cc-form-layout,.rc-grid-7-5,.rc-grid-8-4,.sgd-layout,.synergy-two-col,.kb-layout,.support-layout,.psr-admin-layout,.dp-two){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0}
 body.mkse-admin .mkse-module-mobile :is(.co-form.grid4,.co-master-filters,.co-supplier-price-filters,.ah-filters,.ah-filters-wide,.ah-filters-v2,.ah-profile-grid,.ah-form-grid,.pgt-form-grid,.pgt-definition,.pgw-form-grid,.rc-filters,.rc-form-grid,.cc-form-grid,.sgd-doc-form,.synergy-form-grid,.kb-filters,.ppr-fields,.support-fields,.psr-form-grid,.dp-form-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0}
 body.mkse-admin .mkse-module-mobile :is(.co-form,.ah-form-grid,.pgt-form-grid,.pgw-form-grid,.rc-form-grid,.cc-form-grid,.sgd-doc-form,.synergy-form-grid,.ppr-fields,.support-fields,.psr-form-grid,.dp-form-grid)>*{min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.span-2,.full,.wide,.co-wide,.ca-wide){max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-form.grid4,.ah-form-grid,.pgt-form-grid,.pgw-form-grid,.rc-form-grid,.cc-form-grid,.sgd-doc-form,.synergy-form-grid,.ppr-fields,.dp-form-grid,.inv-form-grid)>:is(.span-2,.span-3,.span-4,.full,.wide,.co-wide,.ca-wide,[style*="grid-column"]){grid-column:1/-1!important}
 body.mkse-admin .mkse-module-mobile :is(.pm-filters,.inv-form-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;min-width:0}
 body.mkse-admin .mkse-module-mobile :is(.pm-hero,.pm-actions,.pm-toolbar){display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile .pm-scroll{height:auto!important;min-height:0!important;max-height:min(65dvh,780px)!important}
 body.mkse-admin .mkse-module-mobile :is(.pgw-grid,.ah-grid,.co-doc-grid,.dp-product-grid,.help-category-grid,.help-article-grid,.kb-grid,.ppr-grid,.rc-profile-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0}
 body.mkse-admin .mkse-module-mobile :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font-size:14px}
 body.mkse-admin .mkse-module-mobile :is(.co-form,.ah-form-grid,.pgt-form-grid,.pgw-form-grid,.rc-form,.cc-form-grid,.sgd-form,.synergy-form-grid,.ppr-fields,.support-fields,.dp-form-grid) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]),select,textarea){width:100%;min-height:40px}
 body.mkse-admin .mkse-module-mobile .select2-container{min-width:0!important;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-toolbar,.pgw-project-filter-actions,.pgt-command-toolbar,.pgt-staff-toolbar,.dp-order-toolbar,.ppr-toolbar,.ah-panel-head,.rc-panel-head,.cc-pane-head,.sgd-hero,.synergy-panel-head){flex-wrap:wrap!important;gap:8px;min-width:0;max-width:100%}
 body.mkse-admin .mkse-module-mobile :is(.co-tabs,.pgw-tabs,.pgt-tabs,.ppr-tabs,.synergy-nav-v151,.dp-tabs,.ah-tabs,.rc-tabs,.kb-tabs){display:flex;flex-wrap:nowrap!important;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 body.mkse-admin .mkse-module-mobile :is(.co-tabs,.pgw-tabs,.pgt-tabs,.ppr-tabs,.dp-tabs,.ah-tabs,.rc-tabs,.kb-tabs)>:is(a,button){flex:0 0 auto;white-space:nowrap}
 body.mkse-admin .mkse-module-mobile :is(.table-responsive,.co-table-wrap,.pgw-table-wrap,.pgt-table-wrap,.ah-table-wrap,.dp-table-wrap,.erp-table-wrap,.pm-scroll){min-width:0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.mkse-admin .mkse-module-mobile :is(.tis-week-grid,.tis-dashboard-days,.pgw-task-board,.pgt-board,.co-kanban){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
 body.mkse-admin .mkse-module-mobile .tis-week-grid{grid-template-columns:repeat(7,minmax(185px,1fr))!important}
 body.mkse-admin .mkse-module-mobile .pgw-task-board{grid-template-columns:repeat(5,minmax(230px,1fr))!important}
 body.mkse-admin .mkse-module-mobile .cc-workspace{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-height:0!important;max-height:none!important}
 body.mkse-admin .mkse-module-mobile .cc-conversations{height:250px;max-height:35dvh;min-width:0;border-inline-end:0;border-bottom:1px solid #dde5ee}
 body.mkse-admin .mkse-module-mobile .cc-thread{height:650px;max-height:75dvh;min-width:0}
 body.mkse-admin .mkse-module-mobile .cc-details{display:none}
 body.mkse-admin .mkse-module-mobile :is(.mkse-task-edit-form,.mkse-task-layout,.sw-letter-grid,.sw-setup-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}
 body.mkse-admin .mkse-module-mobile :is(.mkse-task-register-grid,.mkse-task-register-metrics,.mkse-task-summary,.mkse-td-fields,.att-filters,.att-stats,.cia-connect-fields,.cia-connect-preview,.mv-stats){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;min-width:0}
 body.mkse-admin .mkse-module-mobile :is(.mkse-task-edit-heading,.att-hero,.sw-hero,.ppr-hero){display:flex;flex-wrap:wrap;gap:10px;padding:14px!important;min-width:0;min-height:0}
 body.mkse-admin .mkse-module-mobile :is(.mkse-task-edit-heading,.att-hero,.sw-hero,.ppr-hero) :is(h1,h2){font-size:24px;overflow-wrap:anywhere}
 body.mkse-admin .content-wrapper .panel-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
 body.mkse-admin .content-wrapper .panel-heading>.pull-right{float:none!important;margin-inline-start:auto;max-width:100%}
 body.mkse-admin .content-wrapper :is(.btn-toolbar,.panel-footer,.dataTables_filter,.dataTables_length,.dataTables_paginate){max-width:100%;white-space:normal}
 body.mkse-admin .content-wrapper .btn-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin-inline:0}
 body.mkse-admin .content-wrapper .nav-tabs{max-width:100%;display:flex;flex-wrap:wrap}
 body.mkse-admin .content-wrapper .nav-tabs:not(:has(.dropdown)){flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}
 body.mkse-admin .content-wrapper .nav-tabs>li{flex:0 0 auto;float:none}
 body.mkse-admin .content-wrapper .dataTables_wrapper{min-width:0;max-width:100%}
 body.mkse-admin .content-wrapper .dataTables_filter input{max-width:100%;width:auto;min-width:0}
 body.mkse-admin .modal{z-index:1300!important}
 body.mkse-admin .modal-backdrop{z-index:1290!important}
 body.mkse-admin.modal-open .wrapper{z-index:auto!important}
 body.mkse-admin.modal-open .select2-container--open{z-index:1310!important}
 body.mkse-admin .modal :is(input,select,textarea){max-width:100%;min-width:0}
 body.dp-body :is(.dp-main,.dp-shell),body.bd-app :is(.bd-main,.bd-content),body.psrx-body :is(.psrx-page,.psrx-layout),body[class*="kp-theme-"] .kp-shell{box-sizing:border-box;min-width:0;max-width:100%}
 body.dp-body :is(.dp-two,.dp-shop-hero,.dp-detail-layout),body.bd-app .bd-grid-2,body.psrx-body .psrx-layout{grid-template-columns:minmax(0,1fr)!important}
 body.dp-body :is(.dp-product-grid,.dp-shop-tools,.dp-admin-grid),body.bd-app .bd-grid,body.psrx-body :is(.psrx-form-grid,.psrx-stats){grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0}
 body.dp-body :is(.dp-actions,.dp-order-toolbar,.installer-save-actions),body.psrx-body .psrx-top-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}
 body.dp-body :is(input,select,textarea),body.bd-app :is(input,select,textarea),body.psrx-body :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
 body.dp-body .dp-table-wrap,body.bd-app .bd-table-wrap{max-width:100%;overflow-x:auto}
 body.mkse-plan-editor :is(header,.toolbar,.quicktools){box-sizing:border-box;max-width:100%;min-width:0;flex-wrap:wrap;gap:6px}
 body.mkse-plan-editor header h1{font-size:18px;overflow-wrap:anywhere}
 body.mkse-plan-editor .toolbar :is(button,select,input){min-width:0;max-width:100%;min-height:34px;font-size:13px}
 body.mkse-plan-editor #workspace{min-width:0;max-width:100%;overflow:auto}
 body.mkse-quotation-portal .wrap{box-sizing:border-box;min-width:0;max-width:100%;padding:12px}
 body.mkse-quotation-portal .actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}
 body.mkse-quotation-portal :is(.meta,.terms){grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mkse-quotation-portal .card:has(>table){max-width:100%;overflow-x:auto}
 body.mkse-quotation-portal .card>table{min-width:600px}
}
@media screen and (max-width:599px){
 body.mkse-admin .mkse-module-mobile :is(.co-form.grid4,.ah-filters,.ah-form-grid,.pgt-form-grid,.pgw-form-grid,.rc-filters,.rc-form-grid,.cc-form-grid,.sgd-doc-form,.synergy-form-grid,.ppr-fields,.support-fields,.psr-form-grid,.dp-form-grid){grid-template-columns:minmax(0,1fr)!important}
 body.mkse-admin .mkse-module-mobile :is(.span-2,.co-wide,.ca-wide){grid-column:1/-1!important}
 body.dp-body .dp-product-grid,body.bd-app .bd-grid,body.psrx-body .psrx-form-grid,body.mkse-quotation-portal :is(.meta,.terms){grid-template-columns:minmax(0,1fr)!important}
}
