/* Shared navigation contract. Every product uses the same blue-violet gradient shell. */
[data-nav-product]{--nav-width:220px;--nav-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--header-height:58px;--nav-bg:linear-gradient(158deg,#4d63f2 0%,#6577f8 58%,#7b8cfb 100%);--nav-hover:rgba(255,255,255,.12);--nav-active:rgba(255,255,255,.26);--nav-text:#f5f7ff;--nav-muted:#e8ecff;--nav-line:rgba(255,255,255,.16);--nav-tab-soft:#f1f6ff;--nav-icon:#f2f4ff}
[data-nav-product] :is(.tab-shell-sidebar,.filter-rail.app-navigation,.sidebar){box-sizing:border-box;width:var(--nav-width)!important;min-width:var(--nav-width)!important;height:100dvh;padding:0!important;background:var(--nav-bg)!important;border-left:0!important;border-right:1px solid var(--nav-line);border-radius:0;color:var(--nav-text)!important;font-family:var(--nav-font-family)!important;display:flex;flex-direction:column;overflow:hidden;flex:none}
[data-nav-product] :is(.tab-shell-brand,.navigation-brand,.sidebar .brand){box-sizing:border-box;height:var(--header-height)!important;min-height:var(--header-height)!important;padding:0 16px!important;gap:10px!important;display:flex;align-items:center;border-bottom:1px solid var(--nav-line)!important;flex:none;white-space:nowrap;color:#f5f8ff!important;font-family:var(--nav-font-family)!important;font-size:15px!important;font-weight:600!important}
[data-nav-product] :is(.tab-shell-brand-mark,.navigation-brand-mark,.sidebar .brand-mark){width:28px!important;height:34px!important;object-fit:contain;flex:none;background:none!important;box-shadow:none!important}
[data-nav-product] :is(.tab-shell-brand>span,.navigation-brand-name,.sidebar .brand strong){font-size:15px!important;font-weight:600!important;color:#f5f8ff!important}
[data-nav-product] .sidebar .brand span{display:none}
[data-nav-product] :is(.tab-shell-nav,.app-navigation nav,.sidebar nav){box-sizing:border-box;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 10px!important;scrollbar-width:thin;scrollbar-color:var(--nav-hover) transparent;display:block;width:auto}
[data-nav-product] :is(.navigation-head,.nav-group-label){display:none!important}
[data-nav-product] :is(.tab-shell-nav-item,nav>.nav-page-tab,.nav-menu-toggle,.sidebar nav>.nav-btn,.nav-group>summary){box-sizing:border-box;width:100%;height:auto!important;min-height:40px!important;margin:2px 0!important;padding:10px 12px!important;display:flex;align-items:center;gap:10px!important;border:0;border-radius:10px!important;background:transparent!important;color:var(--nav-text)!important;font-family:var(--nav-font-family)!important;font-size:13px!important;font-weight:600!important;line-height:20px!important;text-align:left;cursor:pointer;box-shadow:none!important}
[data-nav-product] :is(.tab-shell-nav-item,nav>.nav-page-tab,.nav-menu-toggle,.sidebar nav>.nav-btn,.nav-group>summary):hover,[data-nav-product] :is(.has-active-child,.nav-menu-toggle[aria-expanded="true"]){background:var(--nav-hover)!important;color:#fff!important}
[data-nav-product] .nav-group>summary.has-active-child{background:var(--nav-hover)!important;color:#fff!important}
[data-nav-product] :is(.tab-shell-nav-item.is-active,.nav-page-tab.is-active,.sidebar nav>.nav-btn.active){background:var(--nav-active)!important;color:#fff!important}
[data-nav-product] :is(.nav-icon,.tab-shell-nav-item>span:first-child){display:flex;width:18px!important;height:18px!important;align-items:center;justify-content:center;flex:none;color:var(--nav-icon)!important}
[data-nav-product] :is(.nav-icon svg,.tab-shell-nav-item svg){width:17px!important;height:17px!important;display:block;fill:currentColor!important;stroke:none!important}
[data-nav-product] :is(.tab-shell-nav-item.is-active,.nav-page-tab.is-active,.sidebar nav>.nav-btn.active) :is(.nav-icon,span:first-child){color:#fff!important}
[data-nav-product] .nav-group>summary{list-style:none}
[data-nav-product] .nav-group>summary::-webkit-details-marker{display:none}
[data-nav-product] .nav-group>summary::after,[data-nav-product] .nav-menu-chevron{content:'';border:0!important;width:0!important;height:0!important;border-top:4px solid transparent!important;border-bottom:4px solid transparent!important;border-left:5px solid var(--nav-muted)!important;transform:none!important;margin-left:auto;flex:none;opacity:.8}
[data-nav-product] .nav-group[open]>summary::after,[data-nav-product] .nav-menu-toggle[aria-expanded="true"] .nav-menu-chevron{transform:rotate(90deg)!important}
[data-nav-product] .tab-shell-nav-parent>span:last-child{margin-left:auto;color:var(--nav-muted);font-size:10px}
[data-nav-product] :is(.tab-shell-nav-children,.nav-submenu,.nav-children){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px!important;margin:0!important;padding:4px 0 6px!important;border:0}
[data-nav-product] .nav-submenu[hidden]{display:none!important}
[data-nav-product] :is(.tab-shell-nav-child,.master-nav-item,.nav-children .nav-btn,.nav-submenu .page-tab){box-sizing:border-box;min-width:0;width:100%;height:auto!important;min-height:36px!important;margin:0!important;padding:8px!important;display:flex;align-items:center;justify-content:center!important;position:relative;border:0;border-radius:7px!important;font-family:var(--nav-font-family)!important;font-size:12px!important;font-weight:500!important;line-height:18px!important;text-align:center!important;overflow-wrap:anywhere;background:transparent!important;color:var(--nav-muted)!important;box-shadow:none!important;cursor:pointer}
[data-nav-product] :is(.nav-children,.nav-submenu) .nav-icon{display:none!important}
[data-nav-product] :is(.tab-shell-nav-child,.master-nav-item,.nav-children .nav-btn,.nav-submenu .page-tab):hover{background:var(--nav-hover)!important;color:#fff!important}
[data-nav-product] :is(.tab-shell-nav-child.is-active,.master-nav-item.is-active,.nav-children .nav-btn.active,.nav-submenu .page-tab.is-active,.nav-submenu .page-tab.active){background:var(--nav-active)!important;color:#fff!important;font-weight:600!important}
[data-nav-product] .nav-group{margin:4px 0!important}
[data-nav-product] :is(.tab-shell-header,.topbar){box-sizing:border-box;height:var(--header-height)!important;min-height:var(--header-height)!important;font-family:var(--nav-font-family)!important;padding:0 12px!important;display:flex;align-items:center;gap:8px;background:#fff!important;border-bottom:1px solid #e7ebf2;box-shadow:none;flex-wrap:nowrap;min-width:0}
[data-nav-product] :is(.tab-shell-tabs,.shell-page-tabs){flex:1;min-width:0;display:flex;align-items:stretch;gap:2px!important;height:100%;min-height:0!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:0!important;margin:0!important;border:0;background:transparent!important}
[data-nav-product] :is(.tab-shell-tab,.shell-page-tab){display:flex;align-items:center;flex:none;gap:7px!important;box-sizing:border-box;max-width:170px;min-height:0;height:100%;padding:0 13px!important;border:0;border-bottom:2px solid transparent;border-radius:0!important;background:transparent!important;color:#697990;font-family:var(--nav-font-family)!important;font-size:12px!important;font-weight:500;white-space:nowrap;box-shadow:none!important;cursor:pointer}
[data-nav-product] :is(.tab-shell-tab.is-active,.shell-page-tab.is-active,.shell-page-tab.active){background:var(--nav-tab-soft)!important;border-bottom-color:var(--nav-tab-active,#2563eb)!important;color:var(--nav-tab-active,#2563eb)!important;font-weight:650}
[data-nav-product] .shell-page-tab button{font-family:var(--nav-font-family)!important;height:100%;padding:0!important;border:0;background:transparent;color:inherit!important;font-size:12px;font-weight:inherit;cursor:pointer;white-space:nowrap}
[data-nav-product] :is(.tab-shell-tab-close,.shell-page-tab .shell-tab-close){display:grid;place-items:center;flex:none;width:19px!important;height:19px!important;padding:0!important;border:0;border-radius:5px!important;background:transparent;color:#9caabd!important;font-size:17px!important;line-height:1;cursor:pointer}
[data-nav-product] :is(.tab-shell-tab-close,.shell-tab-close):hover{background:#e8edf5!important;color:#475569!important}
[data-nav-product] :is(.shell-menu-button,.tab-shell-header-left>button){display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0!important;border:0!important;border-radius:6px;background:transparent!important;color:#657994!important;cursor:pointer;font-size:18px}
[data-nav-product] .shell-menu-button svg{width:18px;height:18px;fill:currentColor}
[data-nav-product] :is(.topbar-meta,.topbar-actions,.tab-shell-header-actions){display:flex;align-items:center;gap:6px!important;margin-left:12px;flex:none;min-width:0}
[data-nav-product] :is(:is(.workbench-link,.return-to-workbench),.shell-manual,.shell-logout,.shell-announcements){min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;white-space:nowrap;border-radius:6px;font-family:var(--nav-font-family)!important;font-size:12px;line-height:20px;text-decoration:none;background:transparent;cursor:pointer}
[data-nav-product] :is(.workbench-link,.return-to-workbench){color:#2563eb;border:1px solid #bcd2f6;background:#fff}
[data-nav-product] :is(.shell-manual,.shell-logout,.shell-announcements){border:0;color:#5b687b}
[data-nav-product] .shell-announcements svg{width:17px;height:17px;fill:currentColor}
[data-nav-product] .shell-user{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#5b687b}
[data-nav-product] :is(.tab-shell-sidebar-footer,.navigation-footer,.sidebar-foot){box-sizing:border-box;flex:none;min-height:60px;margin:0!important;padding:12px 16px!important;border-top:1px solid var(--nav-line)!important;color:var(--nav-muted)!important;font-size:12px}
[data-nav-product] :is(.navigation-footer strong,.sidebar-foot strong,.tab-shell-sidebar-footer div){display:block;font-size:12px!important;font-weight:500;color:var(--nav-text)!important;margin:0}
[data-nav-product] :is(.navigation-footer small,.sidebar-foot small,.tab-shell-sidebar-footer small){display:block;font-size:12px;margin-top:4px;color:var(--nav-muted)}
[data-nav-product] :is(.nav-btn,.nav-page-tab,.master-nav-item,.nav-group>summary,.tab-shell-nav-item,.tab-shell-nav-child):focus-visible{outline:2px solid #d7e7ff;outline-offset:-2px}
body[data-nav-product] .app-shell{grid-template-columns:220px minmax(0,1fr)!important}
body[data-nav-product="stock"] .app-shell{grid-template-rows:58px minmax(0,1fr)!important}
body[data-nav-product].sidebar-collapsed .app-shell{grid-template-columns:0 minmax(0,1fr)!important}
body[data-nav-product].sidebar-collapsed :is(.sidebar,.filter-rail.app-navigation){display:none!important}
.shell-page-context{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 22px 0;padding:12px 16px;border:1px solid #e1e7f0;border-radius:8px;background:white;font-size:12px;color:#64748b}
.shell-page-context .store-filter{display:flex;align-items:center;gap:8px}.shell-page-context select{height:32px;border:1px solid #d3dfef;border-radius:6px;background:white;color:#334155;padding:0 10px}.shell-page-context .update-time{border:0;padding:0;display:flex;align-items:center;gap:8px}
.shell-backdrop{display:none}.shell-notice-dialog{width:min(520px,calc(100vw - 32px));max-height:75dvh;border:1px solid #d6dfeb;border-radius:12px;padding:20px;color:#243247;background:#fff}.shell-notice-dialog::backdrop{background:rgba(15,23,42,.35)}.shell-notice-dialog header{display:flex;align-items:center;justify-content:space-between}.shell-notice-dialog article{padding:12px 0;border-bottom:1px solid #e7ebf2}.shell-notice-dialog p{white-space:pre-wrap;font-size:13px;line-height:1.7}.shell-notice-dialog button{padding:6px 10px;border:1px solid #d3dfef;border-radius:6px;background:#fff;cursor:pointer}
@media(max-width:768px){[data-nav-product]{--header-height:52px}[data-nav-product] :is(.tab-shell-sidebar,.filter-rail.app-navigation,.sidebar){position:fixed;inset:0 auto 0 0;z-index:1001;width:min(220px,82vw)!important;min-width:0!important;height:100dvh!important}[data-nav-product] .app-shell{display:block!important}[data-nav-product="stock"] .app-shell>main{padding-top:68px}[data-nav-product="stock"] .topbar{position:fixed;top:0;left:0;right:0;z-index:20}[data-nav-product] .sidebar nav{flex-direction:column!important}[data-nav-product] .nav-group,[data-nav-product] .nav-children{display:block}[data-nav-product] .nav-group>summary{display:flex!important}[data-nav-product] .nav-group::details-content{content-visibility:visible;display:block}[data-nav-product] .nav-children{display:grid}[data-nav-product] .nav-group:not([open])::details-content{display:none}[data-nav-product] :is(.shell-user,.shell-manual,.shell-logout){display:none}[data-nav-product] :is(.shell-page-tab,.tab-shell-tab){max-width:110px;padding:0 8px!important}[data-nav-product] :is(.topbar-meta,.topbar-actions,.tab-shell-header-actions){margin-left:4px}[data-nav-product] .navigation-brand{display:flex!important}[data-nav-product] .shell-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.35);border:0}[data-nav-product="stock"].mobile-nav-open .filter-rail.app-navigation{display:flex!important}.shell-page-context{margin:12px}.sidebar .brand{display:flex!important}}

[data-nav-product] .tab-shell-header-left{display:contents!important}

[data-nav-product] .nav-submenu .page-tab>span{font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
[data-nav-product] .shell-manual :is(.nav-icon,svg){color:#5b687b!important}

[data-nav-product] .nav-pending-badge{position:absolute;top:1px;right:3px;border-radius:5px;padding:0 3px;background:var(--nav-hover);color:#fff;font-size:9px;line-height:12px;pointer-events:none}

/* React adapters use the same full-hide collapse contract as native applications. */
[data-nav-product] .tab-shell-sidebar.is-collapsed{display:none!important}
.workbench-page[data-nav-product] .workbench-layout{display:grid!important;grid-template-columns:var(--nav-width) minmax(0,1fr)!important}
.workbench-page[data-nav-product].is-collapsed .workbench-layout{grid-template-columns:0 minmax(0,1fr)!important}
.workbench-page[data-nav-product].is-collapsed .workbench-sidebar{display:none!important}
@media(max-width:768px){.workbench-page[data-nav-product] .workbench-layout{display:block!important}.workbench-page[data-nav-product] .workbench-sidebar{position:fixed!important;inset:0 auto 0 0;z-index:1001!important}.workbench-page[data-nav-product] .workbench-main{width:100%}}

.workbench-page[data-nav-product] .workbench-mobile-brand{display:none!important}

.workbench-page[data-nav-product] .workbench-menu-toggle{display:grid!important}

[data-nav-product] :is(.sidebar,.app-navigation,.tab-shell-sidebar) nav a{text-decoration:none!important}

/* Management shell keeps full page names readable in a single column. */
[data-nav-layout="management-list"] .nav-children{grid-template-columns:minmax(0,1fr)}
[data-nav-layout="management-list"] .nav-children .nav-btn{justify-content:flex-start!important;text-align:left!important;padding:10px 12px 10px 16px!important;min-height:40px!important;font-size:13px!important;line-height:20px!important;white-space:normal}

[data-nav-layout="management-list"] .nav-children .nav-btn{gap:10px}
[data-nav-layout="management-list"] .nav-children .nav-btn>span:last-child{font-size:13px;line-height:20px}
[data-nav-layout="management-list"][data-nav-product] .nav-children .nav-icon{display:inline-flex!important;flex:0 0 18px}

/* Tabs keep actions outside their scroll viewport. Arrows appear only on overflow. */
[data-nav-product] .shell-tabs-navigation{display:flex;align-items:center;flex:1;min-width:0;height:100%;overflow:hidden}
[data-nav-product] .shell-tabs-scroll{flex:none;width:28px;height:32px;padding:0;border:1px solid #e7ebf2;border-radius:6px;background:#fff;color:#657994;font-size:22px;cursor:pointer}
[data-nav-product] .shell-tabs-scroll[hidden]{display:none!important}
[data-nav-product] .shell-tabs-scroll:disabled{opacity:.35;cursor:default}
[data-nav-product] .shell-tabs-scroll:focus-visible,[data-nav-product] .shell-page-tab button:focus-visible{outline:2px solid var(--nav-active);outline-offset:-3px}
[data-nav-product] .shell-page-tab [data-shell-open]{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:768px){[data-nav-product] .shell-tabs-scroll{width:28px;height:44px}}

/* Scheduling product shell: the shared visual contract for every application. */
[data-nav-product]{--nav-bg:linear-gradient(158deg,#4d63f2 0%,#6577f8 58%,#7b8cfb 100%);--nav-hover:rgba(255,255,255,.12);--nav-active:rgba(255,255,255,.26);--nav-tab-active:#2563eb;--nav-text:#f5f7ff;--nav-muted:#e8ecff;--nav-line:rgba(255,255,255,.16);--nav-icon:#f2f4ff}
[data-nav-product] :is(.tab-shell-sidebar,.filter-rail.app-navigation,.sidebar){position:sticky;top:0;align-self:start;isolation:isolate;box-shadow:3px 0 18px rgba(53,72,181,.08);overflow:hidden}
[data-nav-product] :is(.tab-shell-sidebar,.filter-rail.app-navigation,.sidebar)::after{content:"";position:absolute;z-index:-1;width:350px;height:350px;left:-120px;bottom:-180px;transform:rotate(-28deg);border:1px solid rgba(255,255,255,.19);border-radius:43% 57% 35% 65%;background:linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.02));box-shadow:100px -15px 0 8px rgba(255,255,255,.07);pointer-events:none}
[data-nav-product] :is(.tab-shell-brand,.navigation-brand,.sidebar .brand){color:#fff!important}
[data-nav-product] :is(.tab-shell-nav,.navigation-menu,.sidebar nav){scrollbar-color:rgba(255,255,255,.32) transparent}
[data-nav-product] :is(.nav-btn,.nav-page-tab,.nav-menu-toggle,.nav-group>summary,.tab-shell-nav-item){color:var(--nav-text)!important}
[data-nav-product] :is(.nav-btn,.nav-page-tab,.nav-menu-toggle,.nav-group>summary,.tab-shell-nav-item):hover,[data-nav-product] :is(.nav-menu-toggle.has-active-child,.nav-group>summary.has-active-child,.tab-shell-nav-parent.has-active-child){background:var(--nav-hover)!important;color:#fff!important}
[data-nav-product] :is(.tab-shell-nav-item.is-active,.nav-page-tab.is-active,.sidebar nav>.nav-btn.active){background:var(--nav-active)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 4px 12px rgba(52,72,187,.08);backdrop-filter:blur(14px)}
[data-nav-product] :is(.tab-shell-nav-children,.nav-submenu,.nav-children){grid-template-columns:minmax(0,1fr);padding:4px 0 8px 16px!important}
[data-nav-product] :is(.tab-shell-nav-child,.master-nav-item,.nav-children .nav-btn,.nav-submenu .page-tab){min-height:38px!important;padding:9px 12px 9px 30px!important;justify-content:flex-start!important;text-align:left!important;border-radius:8px!important;font-size:13px!important;color:var(--nav-muted)!important}
[data-nav-product] :is(.tab-shell-nav-child.is-active,.master-nav-item.is-active,.nav-children .nav-btn.active,.nav-submenu .page-tab.is-active,.nav-submenu .page-tab.active){background:var(--nav-active)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2);backdrop-filter:blur(14px)}
[data-nav-product] :is(.tab-shell-sidebar-footer,.navigation-footer,.sidebar-foot){color:var(--nav-muted)!important}
[data-nav-product] :is(.navigation-footer strong,.sidebar-foot strong,.tab-shell-sidebar-footer div){color:#fff!important}
[data-nav-product] :is(.nav-btn,.nav-page-tab,.master-nav-item,.nav-group>summary,.tab-shell-nav-item,.tab-shell-nav-child):focus-visible{outline-color:#fff}
[data-nav-product] :is(.tab-shell-tab.is-active,.shell-page-tab.is-active,.shell-page-tab.active){border-bottom-color:var(--nav-tab-active)!important;color:var(--nav-tab-active)!important}
@media(min-width:769px){body[data-nav-product="operation"] .sidebar{position:fixed!important;inset:0 auto 0 0!important;height:auto!important;min-height:100vh!important;max-height:none!important;overscroll-behavior:contain}body[data-nav-product="operation"] .sidebar nav{overscroll-behavior:contain}body[data-nav-product="operation"] .main{grid-column:2;min-height:100vh}}

[data-nav-product] :is(.tab-shell-tabs,.shell-page-tabs){scrollbar-width:none!important}[data-nav-product] :is(.tab-shell-tabs,.shell-page-tabs)::-webkit-scrollbar{display:none!important}
