/* LabMaster grouped navigation and embedded Smart Inventory shell. */
body.cc-shell #nav[data-labmaster-nav="v2"]{display:grid;gap:4px;padding:8px 0 18px}
body.cc-shell #nav[data-labmaster-nav="v2"]>button,body.cc-shell .lm-group-toggle{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;min-height:45px;padding:6px 9px;border:1px solid transparent;border-radius:12px;background:transparent;color:#c7d7e2;text-align:right;cursor:pointer}
body.cc-shell #nav[data-labmaster-nav="v2"]>button{grid-template-columns:34px minmax(0,1fr)}
body.cc-shell #nav[data-labmaster-nav="v2"] .ico{width:34px!important;height:34px!important;display:grid;place-items:center;border-radius:10px;background:#0d385a!important;font-size:17px!important}
body.cc-shell #nav[data-labmaster-nav="v2"] .nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850}
body.cc-shell .lm-group-toggle i{font-style:normal;color:#7ca8c2;transition:transform .18s ease}
body.cc-shell .lm-nav-group.open .lm-group-toggle i{transform:rotate(180deg)}
body.cc-shell #nav[data-labmaster-nav="v2"]>button:hover,body.cc-shell .lm-group-toggle:hover,body.cc-shell .lm-nav-group.has-active>.lm-group-toggle{background:#0d3558;border-color:#1b557b}
body.cc-shell #nav[data-labmaster-nav="v2"]>button.active,body.cc-shell .lm-nav-group.has-active>.lm-group-toggle{background:linear-gradient(90deg,#126ed8,#0d58a6)!important;color:#fff!important;border-color:#2d86e2;box-shadow:0 9px 24px rgba(8,98,194,.24)}
body.cc-shell .lm-group-items{display:grid;max-height:0;overflow:hidden;opacity:.3;transition:max-height .24s ease,opacity .2s ease,padding .2s ease;padding:0 6px}
body.cc-shell .lm-nav-group.open .lm-group-items{max-height:1100px;opacity:1;padding-block:5px}
body.cc-shell .lm-subitem{width:100%;min-height:39px!important;display:grid!important;grid-template-columns:27px minmax(0,1fr)!important;align-items:center;gap:8px;padding:5px 9px!important;margin:1px 0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#a9c5d6!important;text-align:right;font-size:11px!important;box-shadow:none!important;cursor:pointer}
body.cc-shell .lm-subitem span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(41,126,187,.14);font-size:14px}.lm-subitem b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.cc-shell .lm-subitem:hover{background:rgba(36,111,165,.2)!important;color:#fff!important}body.cc-shell .lm-subitem.active{background:rgba(32,126,220,.28)!important;color:#fff!important;box-shadow:inset 3px 0 #58d9e5!important}

#stock>.smart-inventory-legacy{display:none!important}.smart-inventory-embed{display:grid;gap:12px}.smart-inventory-embed-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid rgba(91,196,226,.28);border-radius:21px;background:radial-gradient(circle at 10% 0,rgba(62,224,239,.14),transparent 28rem),linear-gradient(125deg,#092b49,#0b3e5f);color:#fff;box-shadow:0 18px 44px rgba(0,10,22,.24)}.smart-inventory-embed-head span{font-size:9px;font-weight:950;letter-spacing:.08em;color:#65e4e8}.smart-inventory-embed-head h2{margin:6px 0 4px;font-size:25px}.smart-inventory-embed-head p{margin:0;color:#b7d3e1;font-size:10px;line-height:1.7}.smart-inventory-embed-status{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 11px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.07);font-size:9px}.smart-inventory-embed-status i{width:8px;height:8px;border-radius:50%;background:#22d495;box-shadow:0 0 0 5px rgba(34,212,149,.1)}
.smart-inventory-frame-wrap{height:auto;min-height:720px;overflow:visible;border:1px solid rgba(91,196,226,.22);border-radius:22px;background:#061b2d;box-shadow:0 20px 54px rgba(0,9,19,.3)}.smart-inventory-frame-wrap iframe{display:block;width:100%;height:900px;min-height:720px;border:0;background:#061b2d;overflow:hidden}
@media(max-width:1000px){body.cc-shell #nav[data-labmaster-nav="v2"]{padding:6px}.smart-inventory-frame-wrap{height:auto;min-height:720px;overflow:visible}.smart-inventory-frame-wrap iframe{min-height:720px}.smart-inventory-embed{padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
@media(max-width:600px){body.cc-shell #nav[data-labmaster-nav="v2"] .nav-label{font-size:13px}.smart-inventory-embed{margin:-2px;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.smart-inventory-embed-head{display:block;padding:15px;border-radius:17px}.smart-inventory-embed-head h2{font-size:20px}.smart-inventory-embed-status{width:max-content;margin-top:10px}.smart-inventory-frame-wrap{height:auto;min-height:720px;overflow:visible;border-radius:17px}.smart-inventory-frame-wrap iframe{height:900px;min-height:720px}}
@media print{.smart-inventory-embed-head{display:none}.smart-inventory-frame-wrap{height:auto;border:0;box-shadow:none}.smart-inventory-frame-wrap iframe{height:100vh}}

/* 2026-09-30 navigation polish: visual-only; routes and capabilities stay unchanged. */
body.cc-shell .sidebar{border-left:1px solid rgba(96,190,224,.2)!important;box-shadow:-14px 0 48px rgba(0,10,24,.22)!important}
body.cc-shell .brand{gap:12px;padding:4px 6px 16px;border-color:rgba(112,191,220,.18)}
body.cc-shell .brandmark{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#087caa,#15bed0)!important;color:#fff;box-shadow:0 10px 24px rgba(8,144,188,.24);font-size:20px}
body.cc-shell .brand h1{font-size:15px;line-height:1.45;color:#fff}body.cc-shell .brand small{display:block;margin-top:2px;color:#7ea6bb;font-size:8.5px;line-height:1.45}
body.cc-shell .conn{margin:10px 6px 5px;padding:8px 9px;border:1px solid rgba(93,190,224,.14);border-radius:11px;background:rgba(17,73,108,.28);color:#91b5c8;font-size:8.5px}
body.cc-shell .conn i{background:#29d69a;box-shadow:0 0 0 4px rgba(41,214,154,.1),0 0 11px rgba(41,214,154,.45)}
body.cc-shell #nav[data-labmaster-nav="v2"]{gap:3px;padding:7px 2px 22px;scrollbar-width:thin;scrollbar-color:#245878 transparent}
body.cc-shell #nav[data-labmaster-nav="v2"]::-webkit-scrollbar,body.cc-shell .lm-group-items::-webkit-scrollbar{width:5px}body.cc-shell #nav[data-labmaster-nav="v2"]::-webkit-scrollbar-thumb,body.cc-shell .lm-group-items::-webkit-scrollbar-thumb{background:#245878;border-radius:9px}
body.cc-shell #nav[data-labmaster-nav="v2"]>button,body.cc-shell .lm-group-toggle{position:relative;grid-template-columns:32px minmax(0,1fr) 16px;gap:9px;min-height:43px;padding:5px 8px;border-radius:11px;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
body.cc-shell #nav[data-labmaster-nav="v2"]>button{grid-template-columns:32px minmax(0,1fr)}
body.cc-shell #nav[data-labmaster-nav="v2"] .ico{width:32px!important;height:32px!important;border:1px solid rgba(92,181,220,.1);border-radius:9px;background:rgba(13,61,94,.82)!important;font-size:15px!important;box-shadow:inset 0 1px rgba(255,255,255,.03)}
body.cc-shell #nav[data-labmaster-nav="v2"] .nav-label{font-size:11.5px;letter-spacing:-.01em}
body.cc-shell #nav[data-labmaster-nav="v2"]>button:hover,body.cc-shell .lm-group-toggle:hover,body.cc-shell .lm-nav-group.has-active>.lm-group-toggle{background:rgba(13,65,103,.78);border-color:rgba(68,158,205,.3);color:#fff}
body.cc-shell #nav[data-labmaster-nav="v2"]>button.active,body.cc-shell .lm-nav-group.has-active>.lm-group-toggle{background:linear-gradient(100deg,#106dc8,#0e89ae)!important;border-color:#36a8d1;box-shadow:0 8px 20px rgba(3,82,151,.28),inset 0 1px rgba(255,255,255,.1)}
body.cc-shell #nav[data-labmaster-nav="v2"]>button.active:after,body.cc-shell .lm-nav-group.has-active>.lm-group-toggle:after{content:"";position:absolute;inset:9px auto 9px -2px;width:3px;border-radius:4px;background:#72edf2;box-shadow:0 0 10px rgba(114,237,242,.7)}
body.cc-shell .lm-group-items{margin:0 5px;border-right:1px solid transparent}
body.cc-shell .lm-nav-group.open .lm-group-items{max-height:min(54vh,560px);overflow-y:auto;overscroll-behavior:contain;padding:5px 6px 7px;border-color:rgba(78,164,202,.18)}
body.cc-shell .lm-subitem{min-height:37px!important;padding:4px 8px!important;border:1px solid transparent!important;border-radius:9px!important;font-size:10.5px!important;transition:background .14s ease,color .14s ease,border-color .14s ease}
body.cc-shell .lm-subitem span{font-size:13px}body.cc-shell .lm-subitem:hover{border-color:rgba(77,164,204,.16)!important}body.cc-shell .lm-subitem.active{border-color:rgba(59,172,224,.26)!important}
body.cc-shell .foot{padding:9px 6px max(4px,env(safe-area-inset-bottom));border-color:rgba(112,191,220,.18);color:#779bae;line-height:1.6}body.cc-shell .foot b{color:#4ed6de;font-size:10px}
body.cc-shell .top{border-color:rgba(85,176,214,.22)!important;box-shadow:0 9px 28px rgba(0,13,28,.13)}body.cc-shell .top .search{border-color:rgba(83,178,216,.22);background:rgba(8,43,69,.7)}body.cc-shell .top .search:focus-within{border-color:#35b9d0;box-shadow:0 0 0 3px rgba(53,185,208,.08)}
@media(max-width:900px){body.cc-shell .sidebar{width:min(88vw,310px);padding:12px 11px max(8px,env(safe-area-inset-bottom));box-shadow:-24px 0 65px rgba(0,8,20,.5)!important}body.cc-shell .brand{padding-top:2px}body.cc-shell .lm-nav-group.open .lm-group-items{max-height:min(52dvh,470px)}body.cc-shell .top .menu{display:grid;place-items:center;font-size:0}body.cc-shell .top .menu:after{content:"☰";font-size:19px}}
@media(max-width:600px){body.cc-shell #nav[data-labmaster-nav="v2"] .nav-label{font-size:12px}body.cc-shell #nav[data-labmaster-nav="v2"]>button,body.cc-shell .lm-group-toggle{min-height:45px}}
