/* v1.8: only top headings and notification placement; work bodies keep their existing styles. */
#erpUnifiedHeader{position:sticky;top:0;z-index:150;display:flex;align-items:center;gap:8px;width:100%;min-height:64px;padding:10px 14px;background:#f5f7faed;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}#erpUnifiedHeader *{box-sizing:border-box}#erpUnifiedTitle{flex:1;min-width:0;white-space:nowrap;margin:0;font-size:23px;font-weight:800;line-height:1.3;color:#191F28}#erpHeaderInfo{border-radius:14px;padding:8px;background:white;color:#6B7684;font-size:11px;white-space:nowrap}#erpHeaderInfo[hidden]{display:none}#erpHeaderBell{position:relative;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:14px;background:white;color:#4E5968;display:grid;place-items:center;cursor:pointer}#erpHeaderBell svg{width:22px;height:22px}#erpHeaderBell #pickNotifBadge{position:absolute;top:-3px;right:-3px;min-width:17px;padding:1px 4px;line-height:15px;border:2px solid white;border-radius:10px;background:#F04452;color:white;font-size:9px;font-weight:800}#erpHeaderBell #pickNotifBadge:empty,#erpHeaderBell #pickNotifBadge[hidden]{display:none!important}
#workerMenu>.hd{display:none!important}#sortingNew>.hd>h2,#sortingNew>.who{display:none!important}#sortingNew>.hd{margin-top:0}#appPage.v9 #tabAction>.top{display:none!important}#appPage.v9 #tabAction>#v9Date,#appPage.v9 #v9Date{display:none!important}#appPage.v9 .erp-outbound-kpis{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:0;padding:6px 14px}#appPage.v9 .erp-outbound-kpis button{white-space:nowrap}
.lg-sheet[data-kind=notifications]{top:70px;bottom:auto!important;max-height:70dvh;max-width:400px;width:calc(100% - 24px);border-radius:18px;overflow:auto;z-index:480}.lg-full-notifications{display:block;width:100%;border:0;background:#F5F7FA;color:#6B7684;padding:13px;border-radius:10px;margin-top:10px;font-size:12px}.work-navigation-active #incomingNew{height:calc(100dvh - 174px)}html.frame-kb-open #incomingNew,html.kb-open #incomingNew{height:calc(100dvh - 64px)}
.embedded-work #incomingA>.iv-head,.embedded-work .fv-header{display:none!important}
#erpHeaderInfo b{color:#2563EB}#erpHeaderInfo b{color:#946200}#erpUnifiedHeader{z-index:452}
#sortingNew>.who{display:block!important}.lg>.who,.erp-work-identity{position:static;color:#5B6576;font-size:12px;font-weight:400;line-height:18px;margin:4px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#appPage.v9 .erp-outbound-kpis{padding:0;flex-shrink:0}
.logistics-active #appPage.v9.erp-shell #tabWorker.on{height:calc(100dvh - 64px)!important}
/* v1.8.1: compact heading, two-line person/date immediately before bell. */
#erpUnifiedHeader{display:grid;grid-template-columns:minmax(0,1fr) auto auto 40px;column-gap:8px;row-gap:4px;padding:10px 14px 8px;margin:0;min-height:64px}#erpUnifiedTitle{grid-column:1;grid-row:1}#erpHeaderInfo{grid-column:2;grid-row:1}#erpHeaderPerson{grid-column:3;grid-row:1;text-align:right;white-space:nowrap;line-height:1.25;min-width:0}#erpHeaderPerson b{display:block;color:#4E5968;font-size:12.5px;font-weight:700}#erpHeaderPerson small{display:block;font-size:11.5px;font-weight:400;color:#8B95A1}#erpHeaderBell{grid-column:4;grid-row:1}#workerMenu>.who,#sortingNew>.who,#erpOutboundIdentity,#erpFrameIdentity{display:none!important}#appPage.v9 #workerMenu,#appPage.v9 #sortingNew{padding-top:0!important}#appPage.v9 #tabAction>.v9-scroll{padding-top:0!important}.logistics-active #appPage.v9.erp-shell #tabWorker.on{height:calc(100dvh - var(--erp-header-height,64px))!important}.work-navigation-active #incomingNew{height:calc(100dvh - 110px - var(--erp-header-height,64px))}html.frame-kb-open #incomingNew,html.kb-open #incomingNew{height:calc(100dvh - var(--erp-header-height,64px))}
@media(max-width:480px){#erpUnifiedHeader{grid-template-columns:minmax(0,1fr) auto 40px}#erpHeaderPerson{grid-column:2}#erpHeaderBell{grid-column:3}#erpHeaderInfo{grid-row:2;grid-column:1 / -1;justify-self:start;padding:5px 9px}}
#erpHeaderPerson{max-width:145px;overflow:hidden}#erpHeaderPerson b,#erpHeaderPerson small,#erpUnifiedTitle{overflow:hidden;text-overflow:ellipsis}

#erpHeaderRefresh{position:relative;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:14px;background:white;color:#4E5968;display:grid;place-items:center;font-size:27px;cursor:pointer;overflow:hidden}#erpHeaderRefresh::before{content:"";position:absolute;inset:0;background:#FFC21A;transform:scaleY(0);transform-origin:bottom;pointer-events:none}#erpHeaderRefresh>span,#erpHeaderRefresh>svg{position:relative;z-index:1}#erpHeaderRefresh.holding::before{animation:erp-hold-fill 1s linear forwards}#erpHeaderRefresh[data-state=busy] span{animation:erp-refresh-turn .6s ease forwards}#erpHeaderRefresh[data-state=success]{color:#12A15E}#erpHeaderRefresh[data-state=error]{color:#D92D20}#erpRefreshProgress{position:fixed;left:0;top:0;height:2px;width:0;background:#FFC21A;z-index:40000;opacity:0}#erpRefreshProgress[data-state=busy]{opacity:1;width:85%;transition:width 10s ease-out}#erpRefreshProgress[data-state=done]{width:100%;opacity:0;transition:width .1s,opacity .3s}#erpRefreshToast{position:fixed;top:calc(var(--erp-header-height,64px) + 4px);left:50%;transform:translateX(-50%);z-index:40001;background:#191F28;color:white;border-radius:9px;padding:8px 12px;font-size:12px;white-space:nowrap}#erpRefreshToast[hidden]{display:none}@keyframes erp-refresh-turn{to{transform:rotate(360deg)}}@keyframes erp-hold-fill{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* v1.9.7 item 44: identity + refresh + bell never wrap. */
#erpUnifiedHeader{display:flex;flex-wrap:nowrap;gap:6px}#erpUnifiedTitle{flex:1 1 auto;min-width:0;white-space:nowrap}#erpHeaderActions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:0 1 230px;min-width:92px;max-width:68%}#erpHeaderActions #erpHeaderPerson{flex:1 1 auto;min-width:0;max-width:145px}#erpHeaderActions #erpHeaderPerson b,#erpHeaderActions #erpHeaderPerson small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#erpHeaderActions #erpHeaderRefresh,#erpHeaderActions #erpHeaderBell{flex:0 0 40px;width:40px;min-width:40px;max-width:40px;height:40px}@media(max-width:480px){#erpUnifiedTitle{font-size:20px}#erpHeaderActions #erpHeaderPerson b,#erpHeaderActions #erpHeaderPerson small{font-size:11px}}

/* 258: refresh feedback only; status colors and header geometry stay unchanged. */
#erpHeaderRefresh.holding{color:#2B1D00}#erpHeaderRefresh[data-state=busy]{color:#FFC21A}
