/* Shared production dashboard navigation and query tokens. Loaded after page styles. */
@media(min-width:768px){
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:1fr!important;width:max-content!important;max-width:100%;flex:none!important;gap:3px!important;align-items:stretch!important;border:0!important;background:transparent!important;padding:0!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button{width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;max-height:36px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:7px 9px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#65758b!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;box-shadow:none!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button.active{background:#2463d3!important;color:white!important}
body.pc-workspace.mes-redesigned #main-content :is(.mes-query-tabs-tools,.mes-equipment-tabs-tools,.mes-planning-tabs-tools){display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:flex-start!important;background:#fff!important;border:1px solid #dfe6ef!important;border-radius:10px!important;padding:10px 12px!important;gap:10px!important;margin:4px 0 12px!important;min-width:0!important}
body.pc-workspace.mes-redesigned #main-content .mes-query-tabs-tools>:is(.status-page-query,.production-header-search,.mes-filter-bar,form){background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;flex:0 1 auto!important}
body.pc-workspace.mes-redesigned #main-content :is(.mes-compact-query,.mes-filter-bar,.status-query-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){height:32px!important;min-height:32px!important;font-size:13px!important;border-radius:5px!important;padding:4px 7px!important}
body.pc-workspace.mes-redesigned #main-content :is(.mes-compact-query,.mes-filter-bar,.status-query-form) label{font-size:12px!important;margin-bottom:2px!important}
body.pc-workspace.mes-redesigned #main-content :is(.mes-compact-query,.mes-filter-bar,.status-query-form) .btn{font-size:13px!important;min-height:32px!important;padding:5px 9px!important;border-radius:5px!important}
}
.context-help-button.context-help-inline{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;margin:0 0 0 6px!important;border-radius:50%!important;vertical-align:middle;font-size:13px!important;flex:none}
@media(max-width:767px){.mes-section-tabs{gap:3px}.mes-section-tabs button{min-height:36px}}
/* Visible tab affordance for inactive, selected, hover and keyboard states. */
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs{gap:5px!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button{border:1px solid #a9bfdc!important;border-top:3px solid #7f9fc7!important;border-radius:7px 7px 3px 3px!important;background:#edf3fb!important;color:#244b78!important;cursor:pointer;box-shadow:0 1px 2px #17355714!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button:hover:not(.active){background:#dce9fa!important;border-color:#527fb8!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button.active{background:#2463d3!important;border-color:#174da8!important;border-top-color:#123e89!important;color:#fff!important;box-shadow:inset 0 -2px 0 #174da8!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button:focus-visible{outline:2px solid #174da8!important;outline-offset:2px!important}
/* Identical tab dimensions across menus, independent of label length. */
@media(min-width:768px){
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs{grid-auto-columns:124px!important;width:max-content!important}
body.pc-workspace.mes-redesigned #main-content .mes-section-tabs button{width:124px!important;min-width:124px!important;max-width:124px!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:5px 7px!important}
}
.lot-labor-overrun{width:min(900px,96vw);max-height:88vh;overflow:auto;border:1px solid #b9cce0;border-radius:10px;padding:16px;color:#172c49;background:white}.lot-labor-overrun::backdrop{background:#172c4966}.lot-labor-overrun td{overflow-wrap:anywhere}
/* One page-heading scale across desktop menus. */
@media(min-width:768px){
body.pc-workspace.mes-redesigned #main-content{padding-top:16px!important}
body.pc-workspace.mes-redesigned #main-content .mes-page-eyebrow{font-size:11px!important;line-height:16px!important;letter-spacing:.6px!important;font-weight:700!important;margin:0 0 4px!important;padding:0!important}
body.pc-workspace.mes-redesigned #main-content h1.mes-page-title{font-size:25px!important;line-height:32px!important;font-weight:700!important;letter-spacing:-.5px!important;margin:0!important;padding:0!important;text-align:left!important}
body.pc-workspace.mes-redesigned #main-content :is(.mes-title-group,.production-header-title){min-height:52px!important;padding:0!important}
body.pc-workspace.mes-redesigned #main-content .status-page-title{padding:0 0 10px!important}
body.pc-workspace.mes-redesigned #main-content .status-page-title>.d-flex{align-items:center!important}
body.pc-workspace.mes-redesigned #main-content .production-header{align-items:center!important}
}
