.work-tabs-shell { margin: 0; height: 100dvh; display: flex; flex-direction: column; font: 14px system-ui,sans-serif; background: #f2f6fb; }
#work-views iframe[hidden] { display: none !important; }
.work-view-document .erp-shell { padding-top: var(--mds-header-height, 96px); }
.work-view-document .erp-shell .desktop-chrome,
.work-view-document .erp-shell .desktop-chrome:has(#main-navigation.is-open) { position: fixed !important; top: 0; inset-inline: 0; z-index: 40; }
.work-view-document .erp-shell #main-navigation.is-open { max-height: 65dvh; overflow-y: auto; }
#work-views { position: relative; flex: 1; min-height: 0; }
#work-views iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
#work-tabs-status { padding: 6px 12px; margin: 0; background: #fff4df; color: #633e13; }
#detail.workspace-detail[open] { display: block; position: relative !important; inset: auto !important; width: 100% !important; max-width: none !important; height: auto !important; max-height: none !important; min-height: 0; padding: 0 !important; margin: 0 !important; box-sizing: border-box; border: 0 !important; border-radius: 0 !important; box-shadow: none; overflow: visible; }
body:has(#detail.workspace-detail[open]) #app .workspace { display: none; }
/* The full-screen detail follows the fixed header, outside the application shell. */
.work-view-document body:has(#detail.workspace-detail[open]) #app,
.work-view-document body:has(#detail.workspace-detail[open]) .erp-shell { height: auto; min-height: 0; }
#detail.workspace-detail[open] > .dialog-content { max-height: none; }
@media(min-width:1080px){
  .work-view-document #detail.workspace-detail[open] { margin-inline-start: var(--ui-sidebar) !important; width: calc(100% - var(--ui-sidebar)) !important; }
}
.shipment-tracking:has(> .workspace-shipment[open]) > :not(.workspace-shipment) { display: none; }
.shipment-tracking > .workspace-shipment[open] { position: static; width: 100%; max-width: none; max-height: none; margin: 0; box-sizing: border-box; }
.team-person .team-profile-name { display: flex; align-items: center; gap: 8px; text-align: start; color: #1d507c; background: transparent; border: 0; padding: 3px; min-width: 0; }
.team-person .team-profile-name:hover { background: #e6f2fb; color: #123552; }
.team-user-profile { margin: 10px 0; padding: 12px; border: 1px solid #d4dfe8; border-radius: 8px; }
.team-user-profile:empty { display: none; }
