:root{--nav:#f2f5f9;--rail:#fafbfc;--ink:#25272b;--muted:#777d86;--line:#e5e8ec;--line2:#d9dde2;--selected:#eaf1fb;--blue:#4d78c3;--green:#4e8466;--amber:#aa7735;--red:#aa5a55;--shadow:0 14px 35px rgba(27,39,51,.13)}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;overflow:hidden;background:#fff;color:var(--ink);font:12px/1.45 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}.sprite{position:absolute;width:0;height:0;overflow:hidden}svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}button{cursor:pointer}.shell{height:100%;display:grid;grid-template-columns:218px 356px minmax(480px,1fr)}
.navigation{min-width:0;background:var(--nav);border-right:1px solid #dfe4ea;padding:8px 7px 7px;display:flex;flex-direction:column}.workspace{width:100%;height:42px;border:0;background:transparent;border-radius:7px;padding:4px 6px;display:grid;grid-template-columns:29px minmax(0,1fr) 14px;align-items:center;gap:8px;text-align:left}.workspace:hover,.module:hover,.view:hover,.sync:hover,.account:hover{background:#e8edf3}.brand{width:29px;height:29px;border-radius:8px;background:#25272b;color:#fff;display:grid;place-items:center;font:600 15px Georgia,serif}.workspace-copy,.workspace-copy strong,.workspace-copy small{display:block;min-width:0}.workspace-copy strong{font-size:11px}.workspace-copy small{font-size:8px;color:#8a919a}.workspace>svg{width:11px;transform:rotate(90deg);color:#939aa3}.modules{display:flex;flex-direction:column;gap:2px;margin-top:11px}.module{position:relative;height:31px;border:0;background:transparent;border-radius:6px;display:flex;align-items:center;gap:9px;padding:0 9px;color:#59616a;text-align:left}.module svg{width:14px;color:#747c85}.module.active{background:#e3e9f0;color:#262a2f;font-weight:600}.module.active:before{content:"";position:absolute;left:2px;width:3px;height:14px;border-radius:4px;background:var(--blue)}.module em{margin-left:auto;font-style:normal;font-size:8px;color:#7d858e;background:#dfe5ec;border-radius:8px;padding:1px 6px}.saved-views{margin-top:20px}.section-label{height:26px;padding:0 9px;display:flex;align-items:center;color:#9299a2;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.section-label button{border:0;background:transparent;margin-left:auto;color:#9198a1;padding:2px}.section-label svg{width:11px}.view{width:100%;height:30px;border:0;background:transparent;border-radius:6px;padding:0 9px;display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;color:#626a73}.view.active{background:rgba(255,255,255,.85);box-shadow:0 1px 2px rgba(39,52,67,.06);color:#272a2f;font-weight:600}.view i,.event i{width:6px;height:6px;border-radius:50%;background:#a8afb7}.view i.blue,.event i.blue{background:var(--blue)}.view i.green,.event i.green{background:var(--green)}.view i.amber{background:var(--amber)}.view i.red{background:var(--red)}.view small{font-size:8px;color:#969da5}.navigation-footer{margin-top:auto}.sync,.account{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;border-radius:6px}.sync{height:39px;padding:4px 8px;gap:8px}.sync-dot{width:7px;height:7px;border-radius:50%;background:#66a17d;box-shadow:0 0 0 3px rgba(78,132,102,.12)}.sync span:nth-child(2),.account span:nth-child(2){min-width:0}.sync strong,.sync small,.account strong,.account small{display:block}.sync strong,.account strong{font-size:10px}.sync small,.account small{font-size:8px;color:#9299a2}.sync b{margin-left:auto;font-size:8px;color:#7c848d}.account{height:43px;padding:5px 7px;gap:8px;border-top:1px solid rgba(133,147,164,.17);border-radius:0}.account>span:first-child{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#dae3ee;color:#49617d;font-size:8px;font-weight:700}.account svg{margin-left:auto;color:#8b929b}
.product-rail{min-width:0;min-height:0;background:var(--rail);border-right:1px solid var(--line2);display:flex;flex-direction:column}.rail-header{height:53px;flex:0 0 53px;padding:0 12px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.rail-header strong,.rail-header small{display:block}.rail-header strong{font-size:12px}.rail-header small{font-size:8px;color:#949ba4}.add-compact{margin-left:auto;width:28px;height:28px;border:1px solid var(--line2);background:#fff;border-radius:6px;display:grid;place-items:center}.add-compact svg{width:13px}.menu{display:none;border:0;background:transparent;margin-right:5px}.rail-search{padding:8px 10px;border-bottom:1px solid var(--line)}.rail-search label{height:31px;border:1px solid var(--line2);border-radius:6px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 8px}.rail-search label:focus-within{border-color:#9bb1d6;box-shadow:0 0 0 2px rgba(77,120,195,.1)}.rail-search svg{width:13px;color:#7f8790}.rail-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:10px}.rail-search kbd{font:8px inherit;color:#a0a6ad;border-left:1px solid var(--line);padding-left:7px}.list-head{height:27px;flex:0 0 27px;padding:0 12px 0 15px;display:grid;grid-template-columns:1fr 58px;align-items:center;border-bottom:1px solid var(--line);color:#9aa0a8;font-size:8px;text-transform:uppercase;letter-spacing:.04em}.list-head span:last-child{text-align:right}.product-list{min-height:0;flex:1;overflow-y:auto}.product-row{width:100%;height:53px;border:0;border-bottom:1px solid #eceef1;background:transparent;display:grid;grid-template-columns:28px minmax(0,1fr) 61px;align-items:center;gap:9px;padding:0 11px 0 12px;text-align:left}.product-row:hover{background:#f3f6f8}.product-row.active{background:var(--selected);box-shadow:inset 3px 0 var(--blue)}.row-mark{width:28px;height:28px;border-radius:7px;background:#edf1f5;color:#566270;display:grid;place-items:center;font-size:8px;font-weight:700}.row-mark.drinks{background:#e8f0f7;color:#4e6b87}.row-mark.sweets{background:#f2ebee;color:#755b66}.row-mark.care{background:#ececf8;color:#5e5d7b}.row-copy{min-width:0}.row-copy strong,.row-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-copy strong{font-size:10px;font-weight:600}.row-copy small{font-size:8px;color:#8c939c;margin-top:3px}.row-stock{text-align:right}.row-stock strong,.row-stock small{display:block}.row-stock strong{font-size:10px}.row-stock small{font-size:7px;color:#989fa7}.row-stock.low strong{color:var(--amber)}.row-stock.out strong{color:var(--red)}.empty{min-height:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9299a2;gap:5px}.empty[hidden]{display:none}.empty svg{width:20px}.empty strong{color:#4c5259}.empty span{font-size:9px}.rail-footer{height:31px;flex:0 0 31px;border-top:1px solid var(--line);display:flex;align-items:center;padding:0 10px;color:#999fa7;font-size:8px}.rail-footer button{margin-left:auto;border:0;background:transparent;color:#858c94;font-size:8px}
.workspace-main{min-width:0;min-height:0;background:#fff;display:flex;flex-direction:column}.topbar{height:53px;flex:0 0 53px;border-bottom:1px solid var(--line);padding:0 14px;display:flex;align-items:center}.breadcrumb{min-width:0;display:flex;align-items:center;gap:7px}.breadcrumb span{color:#8e959d}.breadcrumb svg{width:9px;color:#a3a9b0}.breadcrumb strong{font-size:10px;max-width:390px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{margin-left:auto;display:flex;gap:6px}.quiet,.primary,.secondary,.save{height:29px;border-radius:6px;border:1px solid var(--line2);background:#fff;display:flex;align-items:center;justify-content:center;padding:0 9px}.quiet{width:29px;padding:0}.primary,.save{background:#292b2f;color:#fff;border-color:#292b2f;font-weight:600}.primary svg{width:12px;margin-right:6px}.editor{min-height:0;flex:1;display:flex;flex-direction:column}.editor-scroll{min-height:0;flex:1;overflow:auto;padding:20px 22px 28px}.editor-heading{max-width:940px;margin:0 auto;display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:11px}.product-avatar{width:39px;height:39px;border-radius:10px;background:#e7edf5;color:#4f6279;display:grid;place-items:center;font-size:11px;font-weight:700}.heading-copy{min-width:0}.heading-copy>span{display:block;color:#8b929b;font-size:8px}.title-input{width:100%;height:24px;border:0;background:transparent;outline:0;padding:0;font-size:17px;font-weight:650;letter-spacing:-.02em}.title-input:focus{box-shadow:inset 0 -1px #9db0ca}.state{height:23px;display:flex;align-items:center;gap:6px;color:#616970;font-size:9px}.state:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}.state.low:before{background:var(--amber)}.state.out:before{background:var(--red)}.metrics{max-width:940px;margin:19px auto 0;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden}.metrics>div{min-width:0;padding:11px 13px;border-right:1px solid var(--line)}.metrics>div:last-child{border:0}.metrics span,.metrics strong,.metrics small{display:block}.metrics span{font-size:8px;color:#9299a2}.metrics strong{font-size:14px;margin-top:4px}.metrics small{font-size:8px;color:#8c939b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabs{max-width:940px;margin:20px auto 0;border-bottom:1px solid var(--line);display:flex;height:34px;gap:3px}.tabs button{border:0;background:transparent;padding:0 10px;color:#858c94;font-size:10px;position:relative}.tabs button.active{color:#282c31;font-weight:600}.tabs button.active:after{content:"";position:absolute;left:9px;right:9px;bottom:-1px;height:2px;background:var(--blue)}.tabs span{font-size:7px;color:#969da5;background:#eef1f4;padding:1px 5px;border-radius:7px}.content-grid{max-width:940px;margin:13px auto 0;display:grid;grid-template-columns:minmax(420px,1fr) 270px;gap:13px}.details-card,.activity-card{border:1px solid var(--line);border-radius:8px;background:#fff}.details-card>header,.activity-card>header{height:48px;padding:0 13px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.details-card header strong,.details-card header small{display:block}.details-card header strong,.activity-card header strong{font-size:10px}.details-card header small{color:#969ca4;font-size:8px}.details-card header>span{margin-left:auto;color:#8e959e;font-size:8px}.field-grid{padding:13px;display:grid;grid-template-columns:1fr 1fr;gap:11px 13px}.field-grid label>span{display:block;font-size:8px;color:#7f8790;margin-bottom:4px}.field-grid input,.field-grid select{width:100%;height:32px;border:1px solid var(--line2);border-radius:6px;background:#fff;padding:0 8px;outline:0;font-size:10px}.field-grid input:focus,.field-grid select:focus{border-color:#9ab0d3;box-shadow:0 0 0 2px rgba(77,120,195,.1)}.unit{position:relative}.unit input{padding-right:34px}.unit i{position:absolute;right:8px;top:8px;font-style:normal;font-size:9px;color:#989fa7}.activity-card header button{margin-left:auto;border:0;background:transparent;color:#8b929b}.event{position:relative;display:grid;grid-template-columns:8px 1fr;gap:8px;padding:11px 12px 0}.event:not(:last-of-type):after{content:"";position:absolute;left:14.5px;top:20px;bottom:-9px;width:1px;background:#e5e8eb}.event i{margin-top:4px;position:relative;z-index:1}.event strong,.event span,.event small{display:block}.event strong{font-size:9px}.event span{font-size:8px;color:#6e757e}.event small{font-size:7px;color:#a0a6ad}.all-events{width:100%;height:37px;border:0;border-top:1px solid var(--line);background:transparent;margin-top:13px;display:flex;align-items:center;padding:0 13px;color:#737b84;font-size:9px}.all-events svg{width:11px;margin-left:auto}.editor-footer{height:49px;flex:0 0 49px;border-top:1px solid var(--line);background:#fbfcfd;padding:0 14px;display:flex;align-items:center}.editor-footer>span{font-size:8px;color:#999fa7}.editor-footer>div{margin-left:auto;display:flex;gap:6px}.toast{position:fixed;left:50%;bottom:16px;z-index:80;transform:translate(-50%,20px);opacity:0;background:#292b2f;color:#fff;border-radius:7px;padding:8px 12px;font-size:9px;transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}.backdrop{display:none}
@media(max-width:1050px){.shell{grid-template-columns:58px 326px minmax(430px,1fr)}.navigation{align-items:center}.workspace{display:flex;justify-content:center}.workspace-copy,.workspace>svg,.module span,.module em,.saved-views,.sync span:nth-child(2),.sync b,.account span:nth-child(2),.account svg{display:none}.modules{width:100%}.module{justify-content:center;padding:0}.navigation-footer{width:100%}.sync,.account{justify-content:center}.content-grid{grid-template-columns:1fr}.activity-card{display:none}.metrics{grid-template-columns:repeat(2,1fr)}.metrics>div:nth-child(2){border-right:0}.metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.shell{display:block}.navigation{position:fixed;inset:0 auto 0 0;width:218px;z-index:60;align-items:stretch;transform:translateX(-105%);transition:.2s;box-shadow:var(--shadow)}.navigation.open{transform:none}.navigation.open .workspace{display:grid;justify-content:initial}.navigation.open .workspace-copy,.navigation.open .workspace>svg,.navigation.open .module span,.navigation.open .module em,.navigation.open .saved-views,.navigation.open .sync span:nth-child(2),.navigation.open .sync b,.navigation.open .account span:nth-child(2),.navigation.open .account svg{display:block}.navigation.open .module{justify-content:flex-start;padding:0 9px}.navigation.open .sync,.navigation.open .account{justify-content:flex-start}.product-rail{height:100%}.menu{display:block}.workspace-main{position:fixed;inset:0;z-index:40;transform:translateX(105%);transition:.2s}.workspace-main.open{transform:none}.breadcrumb strong{max-width:190px}.editor-scroll{padding:16px 13px 24px}.metrics{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.editor-footer>span{display:none}.backdrop.show{display:block;position:fixed;inset:0;background:rgba(22,29,37,.22);z-index:55}}
@media(max-width:420px){.metrics>div{padding:9px}.metrics strong{font-size:12px}.editor-heading{grid-template-columns:34px minmax(0,1fr)}.product-avatar{width:34px;height:34px}.state{display:none}.title-input{font-size:15px}.top-actions .quiet{display:none}}

/* Horizontal application switcher above the entire workspace. */
.shell{grid-template-columns:356px minmax(480px,1fr);grid-template-rows:50px minmax(0,1fr)}
.app-header{position:relative;z-index:1000;grid-column:1/-1;grid-row:1;min-width:0;background:#f3f5f8;border-bottom:1px solid #e1e5ea;padding:6px 9px;display:flex;align-items:center;overflow:visible}
.icon-rail{position:relative;z-index:1000;isolation:isolate;min-width:0;background:#f3f5f8;border-right:1px solid #e1e5ea;padding:8px 6px 7px;display:flex;flex-direction:column;align-items:center;overflow:visible}
.icon-navigation{display:flex;flex-direction:row;align-items:center;gap:5px}
.icon-nav,.rail-account{position:relative;width:36px;height:36px;border:0;border-radius:9px;background:transparent;color:#737a83;display:grid;place-items:center}
.icon-nav svg{width:17px;height:17px}
.icon-nav:hover,.icon-nav:focus-visible{background:#e5e9ee;color:#34383e;outline:0}
.icon-nav.active{background:#dfe5ec;color:#24282d}
.icon-nav.has-count i{position:absolute;top:1px;right:0;min-width:14px;height:14px;border:2px solid #f3f5f8;border-radius:8px;background:#687585;color:#fff;font:600 7px/10px Inter,sans-serif;font-style:normal;text-align:center;padding:0 2px}
.nav-tooltip{position:fixed;z-index:5000;left:0;top:0;transform:translate(-50%,-4px);opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap;border-radius:6px;background:#292c31;color:#fff;padding:6px 8px;font-size:9px;font-weight:500;box-shadow:0 6px 18px rgba(27,35,45,.18);transition:opacity .12s,transform .12s,visibility .12s}
.nav-tooltip.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.rail-account{margin-left:auto;border-radius:50%;background:#dbe4ee;color:#49617d;font-size:8px;font-weight:700}
.rail-account:hover,.rail-account:focus-visible{background:#ccd8e5;outline:0}
.menu{display:none}
.product-rail{grid-column:1;grid-row:2}.workspace-main{grid-column:2;grid-row:2}
@media(max-width:1050px){.shell{grid-template-columns:326px minmax(430px,1fr)}}
@media(max-width:760px){.shell{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:50px minmax(0,1fr)}.app-header{grid-column:1;grid-row:1}.icon-navigation{gap:2px;overflow-x:auto}.icon-nav,.rail-account{width:34px;height:34px}.product-rail{grid-column:1;grid-row:2;height:100%}.workspace-main{left:0;top:50px}.breadcrumb strong{max-width:150px}}

/* Codex-like surface treatment from the supplied reference. */
:root{--nav:#f7f7f7;--rail:#fbfbfb;--ink:#242424;--muted:#737373;--line:#e9e9e9;--line2:#dedede;--selected:#eeeeee;--blue:#3f83f8}
.shell{grid-template-rows:54px minmax(0,1fr)}
.app-header{height:54px;padding:7px 12px;background:#f7f7f7;border-bottom-color:#e7e7e7}
.icon-navigation{gap:6px}
.icon-nav,.rail-account{width:38px;height:38px;border-radius:10px;color:#75797e}
.icon-nav svg{width:18px;height:18px;stroke-width:1.7}
.icon-nav:hover,.icon-nav:focus-visible{background:#ededed;color:#303236}
.icon-nav.active{background:#e7e8ea;color:#202124}
.icon-nav.has-count i{top:0;right:-2px;border-color:#f7f7f7;background:#eb5d5d}
.rail-account{background:#1eae97;color:#fff}
.rail-account:hover,.rail-account:focus-visible{background:#159884;color:#fff}
.product-rail{background:#fbfbfb;border-right-color:#e7e7e7}
.rail-header,.rail-search,.list-head,.topbar{border-color:#e9e9e9}
.product-row{border-bottom-color:#ececec}
.product-row:hover{background:#f3f3f3}
.product-row.active{background:#ededed;box-shadow:none}
.product-row.active .row-mark{background:#dedfe2}
.add-compact,.rail-search label,.quiet,.secondary{border-color:#dedede;border-radius:9px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.primary,.save{border-radius:9px;background:#242424;border-color:#242424}
.metrics,.details-card,.activity-card{border-color:#e7e7e7;border-radius:12px}
.product-avatar,.row-mark{border-radius:9px}
.field-grid input,.field-grid select{border-color:#dedede;border-radius:8px}
.tabs button.active:after{background:#343434}
@media(max-width:760px){.shell{grid-template-rows:54px minmax(0,1fr)}.app-header{height:54px;padding:7px 8px}.icon-navigation{gap:3px}.icon-nav,.rail-account{width:36px;height:36px}.workspace-main{top:54px}}

/* Catalog tree + product list workspace. */
.shell{grid-template-columns:282px minmax(620px,1fr)}
.catalog-tree{grid-column:1;grid-row:2;min-width:0;min-height:0;background:#f8f8f8;border-right:1px solid #e5e5e5;display:flex;flex-direction:column}
.tree-header{height:57px;flex:0 0 57px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #e8e8e8}
.tree-header strong,.tree-header small{display:block}.tree-header strong{font-size:12px}.tree-header small{font-size:8px;color:#979797;margin-top:1px}
.tree-header button{margin-left:auto;width:29px;height:29px;border:1px solid #dedede;border-radius:8px;background:#fff;display:grid;place-items:center}.tree-header button svg{width:13px}
.tree-search{height:30px;margin:8px 10px;flex:0 0 30px;border:1px solid #dedede;border-radius:8px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 8px}.tree-search:focus-within{border-color:#aaa;box-shadow:0 0 0 2px rgba(0,0,0,.04)}.tree-search svg{width:13px;color:#898d91}.tree-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px}
.tree-nav{min-height:0;flex:1;overflow:auto;padding:2px 7px 12px}.tree-node{width:100%;height:31px;border:0;border-radius:7px;background:transparent;display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 8px;color:#555b62;text-align:left}.tree-node.parent{grid-template-columns:10px 15px minmax(0,1fr) auto}.tree-node:hover,.tree-children button:hover{background:#eeeeee}.tree-node.active,.tree-children button.active{background:#e5e6e8;color:#25282c;font-weight:600}.tree-node svg{width:13px}.tree-node .twisty{width:9px;transition:transform .15s}.tree-branch.open .twisty{transform:rotate(90deg)}.tree-node small,.tree-children small{margin-left:auto;color:#999;font-size:8px;font-weight:400}.tree-children{display:none;padding-left:32px}.tree-branch.open .tree-children{display:block}.tree-children button{width:100%;height:28px;border:0;border-radius:6px;background:transparent;display:flex;align-items:center;padding:0 8px;color:#74787e;text-align:left;font-size:9px}.tree-children button:before{content:"";width:5px;height:5px;border-radius:50%;background:#b7b9bc;margin-right:8px}.tree-children button.active:before{background:#3f83f8}
.tree-footer{flex:0 0 auto;border-top:1px solid #e7e7e7;padding:7px}.tree-footer button{width:100%;height:29px;border:0;border-radius:6px;background:transparent;display:flex;align-items:center;gap:7px;padding:0 8px;color:#767b81;font-size:9px;text-align:left}.tree-footer button:hover{background:#eee}.tree-footer svg{width:13px}.tree-footer small{margin-left:auto;color:#999}
.products-pane{grid-column:2;grid-row:2;min-width:0;min-height:0;background:#fff;display:flex;flex-direction:column}
.products-header{height:57px;flex:0 0 57px;border-bottom:1px solid #e8e8e8;padding:0 13px;display:flex;align-items:center}.products-header>div{display:flex;align-items:center;min-width:0;gap:7px}.products-header span{color:#979797;font-size:9px}.products-header svg{width:9px;color:#aaa}.products-header strong{font-size:11px;white-space:nowrap}.products-header small{color:#999;font-size:8px;margin-left:3px}.products-header .primary{margin-left:auto}.products-header .primary svg{width:12px;color:#fff}
.products-toolbar{height:46px;flex:0 0 46px;padding:0 10px;border-bottom:1px solid #e8e8e8;background:#fcfcfc;display:flex;align-items:center;gap:6px}.products-toolbar label{width:285px;height:30px;border:1px solid #dedede;border-radius:8px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 8px}.products-toolbar label svg{width:13px;color:#858a90}.products-toolbar input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px}.products-toolbar kbd{border-left:1px solid #e5e5e5;padding-left:7px;color:#aaa;font:8px inherit}.products-toolbar>button{height:30px;border:1px solid #dedede;border-radius:8px;background:#fff;display:flex;align-items:center;gap:6px;padding:0 9px;color:#62686e;font-size:9px}.products-toolbar>button:hover{background:#f2f2f2}.products-toolbar>button svg{width:13px}.products-toolbar>span{flex:1}.products-toolbar .icon-only{width:30px;padding:0;justify-content:center}
.products-table-wrap{min-height:0;flex:1;overflow:auto;position:relative}.products-table{width:100%;min-width:850px;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:10px}.products-table thead{position:sticky;top:0;z-index:5}.products-table th{height:31px;background:#f8f8f8;border-bottom:1px solid #dedede;border-right:1px solid #ececec;padding:0 9px;color:#888d92;font-size:8px;font-weight:500;text-align:left;white-space:nowrap}.products-table th.number,.products-table td.number{text-align:right}.products-table th.check,.products-table td.check{width:35px;text-align:center;padding:0}.products-table td{height:42px;border-bottom:1px solid #ebebeb;border-right:1px solid #f0f0f0;padding:0 9px;white-space:nowrap;color:#41464b}.products-table tbody tr{cursor:pointer}.products-table tbody tr:hover td{background:#f5f5f5}.table-product{display:flex;align-items:center;gap:8px;min-width:220px}.table-product .row-mark{width:26px;height:26px;flex:none}.table-product strong{font-size:10px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.table-sku{font:9px "SFMono-Regular",Consolas,monospace;color:#858b91}.table-price,.table-stock{font-variant-numeric:tabular-nums}.table-price{font-weight:600}.table-status{display:inline-flex;align-items:center;gap:6px;font-size:9px}.table-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green)}.table-status.low:before{background:var(--amber)}.table-status.out:before{background:var(--red)}.row-actions{border:0;background:transparent;color:#999}.row-actions svg{width:13px}
.table-empty{position:absolute;inset:31px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#999;background:#fff}.table-empty[hidden]{display:none}.table-empty svg{width:21px}.table-empty strong{color:#555;margin-top:4px}.table-empty span{font-size:9px}
.products-footer{height:34px;flex:0 0 34px;border-top:1px solid #e7e7e7;background:#fafafa;padding:0 10px;display:flex;align-items:center}.products-footer button{border:0;background:transparent;display:flex;align-items:center;gap:5px;color:#666;font-size:9px}.products-footer button svg{width:11px}.products-footer span{margin-left:auto;color:#999;font-size:8px}
@media(max-width:900px){.shell{grid-template-columns:235px minmax(590px,1fr)}.products-toolbar label{width:220px}}
@media(max-width:680px){body{overflow:auto}.shell{min-width:850px}.catalog-tree{position:relative}.products-pane{position:relative}.app-header{position:sticky;top:0}}

/* Header rows removed: actions now live in the search/tool rows. */
.tree-search-row{height:47px;flex:0 0 47px;padding:8px 9px;display:flex;align-items:center;gap:6px;border-bottom:1px solid #e8e8e8}
.tree-search-row .tree-search{height:30px;flex:1;margin:0}
.add-category{width:30px;height:30px;flex:none;border:1px solid #dedede;border-radius:8px;background:#fff;display:grid;place-items:center}.add-category:hover{background:#efefef}.add-category svg{width:13px}
.products-toolbar{height:47px;flex-basis:47px}
.products-toolbar>button.toolbar-create{background:#242424;color:#fff;border-color:#242424;font-weight:600;padding:0 11px}.products-toolbar>button.toolbar-create:hover{background:#111}.toolbar-create svg{color:#fff}
@media(max-width:1050px){.products-toolbar label{width:210px}}

/* Reduced product view: only the fields required for scanning the catalog. */
.products-table{width:max-content;min-width:100%;table-layout:auto}
.products-table th:first-child{min-width:380px}.products-table th:nth-child(2){min-width:100px}.products-table th:nth-child(3){min-width:145px}.products-table th:nth-child(4){min-width:65px}.products-table th:nth-child(5){min-width:180px}.products-table th:nth-child(6){min-width:85px}.products-table th:nth-child(7){min-width:100px}.products-table th:nth-child(8){min-width:90px}
.products-table td{height:48px}.product-thumb{width:34px;height:34px;flex:none;display:block;border-radius:9px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(45,50,55,.06)}.product-thumb svg{display:block;width:34px;height:34px;stroke:none}

/* Recursive catalog tree: selection and disclosure are separate controls. */
.tree-row{height:31px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;padding-left:calc(3px + var(--tree-depth,0)*16px);padding-right:1px}
.tree-toggle,.tree-toggle-spacer{width:18px;height:27px;display:grid;place-items:center}
.tree-toggle{border:0;border-radius:5px;background:transparent;color:#777b80;padding:0}
.tree-toggle:hover,.tree-toggle:focus-visible{background:#e7e7e7;color:#282b2e;outline:0}
.tree-toggle svg{width:9px;height:9px;transition:transform .15s ease}
.tree-entry.open>.tree-row .tree-toggle svg{transform:rotate(90deg)}
.tree-label{min-width:0;height:29px;border:0;border-radius:7px;background:transparent;display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 8px 0 5px;color:#5d6268;text-align:left}
.tree-label:hover{background:#eeeeee}.tree-label.active{background:#e5e6e8;color:#25282c;font-weight:600}
.tree-label .node-icon{width:13px;height:13px}.tree-label>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-label small{color:#999;font-size:8px;font-weight:400}
.tree-leaf-dot{width:5px;height:5px;margin-left:4px;border-radius:50%;background:#b7b9bc}
.tree-label.active .tree-leaf-dot{background:#3f83f8}
.tree-nested{display:none}.tree-entry.open>.tree-nested{display:block}
.tree-root-row{margin-bottom:1px}

/* Clickable, keyboard-accessible table sorting. */
.products-table th{padding:0}
.table-price,.table-stock,.table-reserve{font-variant-numeric:tabular-nums}.table-reserve{color:#676d73}
.sort-button{width:100%;height:31px;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:4px;padding:0 9px;text-align:left;font:inherit}
.sort-button:hover{background:#f0f0f0;color:#50555a}.sort-button:focus-visible{outline:2px solid #9cb4d4;outline-offset:-2px}
.products-table th.number .sort-button{justify-content:flex-end}.sort-button.active{color:#34383d;font-weight:600}
.sort-mark{width:8px;color:#5d6268;font-size:9px;text-align:center}

/* Readability pass: keep the compact workspace while using a legible type scale. */
:root{--ink:#202124;--muted:#5f6368;--line:#dfe2e5;--line2:#d4d7db;--selected:#e8eef8}
body{font-size:13px;color:var(--ink)}
.shell{grid-template-columns:310px minmax(620px,1fr)}
.app-header{background:#f5f6f7;border-bottom-color:#dfe2e5}
.icon-nav{color:#62676d}.icon-nav.active{background:#e1e4e8;color:#1f2328}
.icon-nav.has-count i{font-size:9px;line-height:11px}
.rail-account{font-size:10px}
.nav-tooltip{font-size:12px;padding:7px 9px}
.catalog-tree{background:#f7f8f9;border-right-color:#d9dde1}
.tree-search-row,.products-toolbar{height:54px;flex-basis:54px;border-bottom-color:#dfe2e5}
.tree-search-row{padding:9px 10px}
.tree-search-row .tree-search,.products-toolbar label{height:36px;border-color:#cfd3d8}
.tree-search input,.products-toolbar input{font-size:13px}
.tree-search svg,.products-toolbar label svg{width:15px;color:#666c72}
.add-category{width:36px;height:36px;border-color:#cfd3d8}.add-category svg{width:15px}
.tree-nav{padding:4px 5px 12px}
.tree-row{height:34px;grid-template-columns:16px minmax(0,1fr);padding-left:calc(1px + var(--tree-depth,0)*10px)}
.tree-toggle,.tree-toggle-spacer{width:16px;height:30px}
.tree-toggle svg{width:9px;height:9px}
.tree-label{height:32px;grid-template-columns:14px minmax(0,1fr) auto;gap:5px;padding:0 6px 0 4px;color:#4d5359;font-size:12px}
.tree-label.branch-no-icon{grid-template-columns:minmax(0,1fr) auto}
.tree-label .node-icon{width:13px;height:13px}
.tree-label small{font-size:10px;color:#71767c}
.tree-label.active{background:#e3e9f3;color:#1f2937;box-shadow:inset 3px 0 #5b7fae}
.tree-label.active .tree-leaf-dot{background:#527bb1}
.tree-leaf-dot{width:5px;height:5px}
.tree-footer{border-top-color:#dfe2e5;padding:8px}
.tree-footer button{height:36px;font-size:12px;color:#575d63}.tree-footer small{font-size:11px;color:#71767c}
.products-toolbar{padding:0 12px;background:#fafbfc;gap:8px}
.products-toolbar label{width:340px;padding:0 10px}
.products-toolbar kbd{font-size:10px;color:#70757a}
.products-toolbar>button{height:36px;border-color:#cfd3d8;font-size:12px;padding:0 12px}
.products-toolbar>button.toolbar-create{padding:0 14px}
.products-table{font-size:13px;color:#2d3136}
.products-table th{height:37px;background:#f3f4f5;border-bottom-color:#d6d9dd;border-right-color:#e1e3e6;color:#5f646a;font-size:11px;font-weight:600;letter-spacing:.01em}
.sort-button{height:37px;padding:0 12px}
.sort-mark{font-size:11px;color:#4f555b}
.products-table td{height:58px;border-bottom-color:#e0e3e6;border-right-color:#e7e9eb;padding:0 12px;color:#30353a}
.products-table tbody tr:hover td{background:#f1f4f7}
.table-product{gap:11px}.table-product strong{font-size:13px;font-weight:600;max-width:360px}
.product-thumb,.product-thumb svg{width:38px;height:38px}.product-thumb{border-radius:10px}
.table-sku,.table-code{font-size:12px;color:#5f666d}
.table-price,.table-stock,.table-reserve{font-size:13px}
.table-reserve{color:#4f565d}
.table-unit{color:#555c63}.table-barcode{font:11px "SFMono-Regular",Consolas,monospace;color:#5f666d}.table-barcode small{font:10px Inter,ui-sans-serif,sans-serif;color:#8a9096}
.products-table td{overflow:visible;text-overflow:clip}
.table-empty{inset:37px 0 0;color:#6b7076}.table-empty strong{font-size:14px;color:#34393e}.table-empty span{font-size:12px}
.toast{font-size:12px}
@media(max-width:1050px){.shell{grid-template-columns:280px minmax(620px,1fr)}.products-toolbar label{width:280px}}
@media(max-width:900px){.shell{grid-template-columns:260px minmax(590px,1fr)}.products-toolbar label{width:240px}}
.search-meta{min-width:0;color:#71767c;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Product data stays compact in the table; complete API details open in place. */
.table-product{min-width:0}.product-disclosure{width:22px;height:32px;flex:none;border:0;border-radius:6px;background:transparent;color:#747a80;display:grid;place-items:center;padding:0}.product-disclosure:hover,.product-disclosure:focus-visible{background:#e5e8eb;color:#272b30;outline:0}.product-disclosure svg{width:10px;height:10px;transition:transform .15s ease}.catalog-product-row.expanded .product-disclosure svg{transform:rotate(90deg)}
.product-title{min-width:max-content;display:flex;flex-direction:column;gap:3px}.product-title strong{max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap}.product-title small{max-width:520px;color:#72787e;font-size:11px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-details-row td{height:auto!important;padding:0!important;border-right:0!important;background:#f7f8fa!important}.product-details{padding:14px 18px 16px 54px;border-bottom:1px solid #d8dce0;color:#34393e}.full-name{display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;align-items:baseline;margin-bottom:12px}.full-name span,.product-details dt{color:#777d83;font-size:11px}.full-name strong{font-size:12px;font-weight:600}.product-details dl{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:12px;margin:0 0 14px}.product-details dl>div{min-width:0}.product-details dt{margin:0 0 3px}.product-details dd{margin:0;font-size:12px;overflow-wrap:anywhere}.details-loading{padding:13px 0;color:#757b81;font-size:12px}.details-loading.error{color:#a44747}
.stock-breakdown{border:1px solid #dce0e4;border-radius:8px;background:#fff;overflow:hidden}.stock-breakdown-head{height:34px;padding:0 10px;display:flex;align-items:center;gap:7px;border-bottom:1px solid #e1e4e7}.stock-breakdown-head strong{font-size:11px}.stock-breakdown-head span{color:#7a8086;font-size:10px}.stock-breakdown-table{max-height:240px;overflow:auto}.stock-breakdown-row{min-width:720px;display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(180px,1fr) 90px 75px 85px;border-bottom:1px solid #eceef0}.stock-breakdown-row:last-child{border-bottom:0}.stock-breakdown-row span{min-width:0;padding:7px 9px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stock-breakdown-row span:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.stock-breakdown-row.heading{position:sticky;top:0;background:#f2f4f5;color:#6b7177;font-weight:600;z-index:1}
@media(max-width:1050px){.product-details dl{grid-template-columns:repeat(2,minmax(120px,1fr))}.product-title small{max-width:300px}}
.catalog-loading{height:52px;display:flex;align-items:center;gap:9px;padding:0 13px;color:#6f757b;font-size:12px}.catalog-loading span{width:14px;height:14px;border:2px solid #d5d9dd;border-top-color:#626a72;border-radius:50%;animation:catalog-spin .75s linear infinite}.catalog-loading.error{color:#9b4d4d}.table-empty:not([hidden]) svg{animation:catalog-pulse 1.1s ease-in-out infinite}.table-empty:not([hidden]) strong{margin-top:7px}@keyframes catalog-spin{to{transform:rotate(360deg)}}@keyframes catalog-pulse{50%{opacity:.35}}

/* Neutral Codex workspace: quiet surfaces, compact rows and subtle boundaries. */
:root{--ink:#303030;--muted:#858585;--line:#ededed;--line2:#e5e5e5;--selected:#eaeaea;--blue:#777}
body{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
.shell{grid-template-columns:310px minmax(0,1fr);grid-template-rows:52px minmax(0,1fr)}
.app-header{height:52px;padding:7px 12px;background:#f7f7f7;border-bottom:1px solid #eaeaea}
.icon-navigation{gap:7px}.icon-nav{width:36px;height:36px;border-radius:10px;color:#858585}.icon-nav svg{width:18px;height:18px;stroke-width:1.6}
.icon-nav.active,.icon-nav:hover,.icon-nav:focus-visible{background:#e9e9e9;color:#303030}
.rail-account{width:32px;height:32px;border-radius:50%;background:#e7e7e7;color:#555;font-size:10px;font-weight:600}.rail-account:hover,.rail-account:focus-visible{background:#dedede;color:#303030}
.catalog-tree{background:#fafafa;border-right:1px solid #eaeaea}
.tree-search-row,.products-toolbar{height:50px;flex-basis:50px;border-bottom:1px solid #ededed;background:transparent;padding:8px 10px}
.tree-search-row .tree-search,.products-toolbar label{height:33px;background:#fff;border:1px solid #e5e5e5;border-radius:9px;box-shadow:0 1px 2px #00000003}
.tree-search:focus-within,.products-toolbar label:focus-within{border-color:#a9a9a9;box-shadow:0 0 0 2px #00000004}
.tree-search input,.products-toolbar input{font-size:12px}.tree-search input::placeholder,.products-toolbar input::placeholder{color:#929292}
.tree-search svg,.products-toolbar label svg{color:#929292;stroke-width:1.5}
.add-category{width:32px;height:32px;border-color:#e5e5e5;border-radius:9px;color:#777}.add-category:hover{background:#f1f1f1}
.tree-nav{padding:6px 7px 12px}.tree-row{height:32px}.tree-label{height:30px;color:#626262;border-radius:7px;font-size:12px}.tree-label:hover{background:#f0f0f0}.tree-label.active{background:#eaeaea;color:#303030;box-shadow:none;font-weight:600}.tree-label.active .tree-leaf-dot{background:#777}.tree-label small{color:#999;font-size:10px}.tree-toggle{color:#999}.tree-leaf-dot{background:#c5c5c5}
.tree-footer{border-top-color:#ededed}.tree-footer button{height:32px;color:#858585;font-size:11px}.tree-footer small{color:#999;font-size:10px}
.products-toolbar label{width:350px}.products-toolbar kbd{color:#aaa;border-left-color:#eee}.search-meta{color:#999;font-size:11px}
.products-toolbar>button.toolbar-create{height:32px;background:#303030;border-color:#303030;border-radius:9px;font-size:11px;font-weight:500;padding:0 12px}.products-toolbar>button.toolbar-create:hover{background:#171717}
.products-table th{height:32px;background:#fafafa;border-right:0;border-bottom:1px solid #e8e8e8;color:#929292;font-size:10px;font-weight:500;letter-spacing:0}
.sort-button{height:32px;padding:0 12px}.sort-button:hover{background:#f0f0f0}.sort-button.active{color:#404040;font-weight:500}.sort-mark{color:#777}
.products-table td{height:44px;padding:6px 12px;border-right:0;border-bottom:1px solid #efefef;color:#4d4d4d;font-size:12px}
.products-table tbody tr:hover td{background:#f7f7f7}.table-product{gap:9px}.table-product strong{font-size:12px;font-weight:500;max-width:none}
.product-thumb,.product-thumb svg{width:28px;height:28px}.product-thumb{border-radius:7px;box-shadow:none;opacity:.75}.product-disclosure{width:16px;height:28px;color:#aaa}.product-disclosure:hover{background:#eaeaea;color:#555}
.table-sku,.table-code,.table-barcode{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:11px!important;color:#777!important;line-height:1.45}
.table-price,.table-stock,.table-reserve{font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}.table-unit{color:#777}
.products-table-wrap{scrollbar-color:#cecece transparent;scrollbar-width:thin}.products-table-wrap::-webkit-scrollbar{width:8px;height:8px}.products-table-wrap::-webkit-scrollbar-thumb{background:#cecece;border:2px solid #fff;border-radius:8px}
.product-details-row td{background:#fafafa!important}.product-details{border-bottom-color:#e8e8e8}.stock-breakdown{border-color:#e8e8e8}.stock-breakdown-row.heading{background:#f6f6f6}.table-empty{inset:32px 0 0;color:#999}
@media(max-width:900px){.shell{grid-template-columns:260px minmax(0,1fr)}.products-toolbar label{width:260px}}
.barcode-details summary{display:flex;align-items:center;gap:7px;width:max-content;cursor:pointer;list-style:none}
.barcode-details summary::-webkit-details-marker{display:none}
.barcode-toggle{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;color:#888;font:16px/1 ui-sans-serif,sans-serif}
.barcode-toggle:before{content:"+"}.barcode-details[open] .barcode-toggle:before{content:"−"}
.barcode-details summary:hover .barcode-toggle,.barcode-details summary:focus-visible .barcode-toggle{background:#eaeaea;color:#333}
.barcode-details summary:focus-visible{outline:1px solid #aaa;outline-offset:2px;border-radius:4px}
.barcode-list{padding-top:3px;line-height:1.6}

/* Restore clear hierarchy while retaining the neutral workspace. */
.table-product strong{color:#303030;font-weight:550}
.tree-label{color:#4d4d4d}.tree-label.active{background:#e1e1e1;color:#292929}.tree-label small{color:#777}
.table-sku,.table-code,.table-barcode{color:#555!important}
.products-table td.number{color:#444}.products-table th{color:#646464;font-weight:600}
.sort-button{font-weight:inherit}.products-table th:nth-child(n+7){min-width:95px}
.icon-nav{color:#676767}.icon-nav.active{color:#242424;background:#e1e1e1}.tree-toggle{color:#777}
.tree-search input::placeholder,.products-toolbar input::placeholder{color:#7b7b7b}.search-meta{color:#777}
.products-table td{border-bottom-color:#e9e9e9}
.products-table tbody tr{cursor:default}
.quantity-preview{border:0;background:transparent;padding:3px 0 3px 6px;color:inherit;font:inherit;font-variant-numeric:tabular-nums;border-radius:4px;cursor:help}
.quantity-preview:hover,.quantity-preview:focus-visible{color:#202020;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;outline:none}
.stock-popover{position:fixed;z-index:90;width:max-content;max-width:calc(100vw - 16px);max-height:min(360px,calc(100vh - 16px));overflow:auto;padding:13px 15px;background:#fff;color:#444;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 6px 24px #00000012;font-size:12px}
.stock-popover[hidden]{display:none}.stock-popover>strong{display:block;font-size:12px;font-weight:600;color:#303030;margin-bottom:9px}.stock-popover p{margin:0;color:#777}
.stock-popover table{border-collapse:collapse;min-width:340px}.stock-popover th{font-size:10px;color:#777;font-weight:500;text-align:right;padding:4px 9px 7px;border-bottom:1px solid #eee}.stock-popover td{padding:7px 9px;text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid #f1f1f1}.stock-popover th:first-child,.stock-popover td:first-child{text-align:left;padding-left:0;max-width:260px;overflow-wrap:anywhere}.stock-popover tbody tr:last-child td{border:0}

/* Denser catalog without reducing the text size. */
.shell{grid-template-rows:44px minmax(0,1fr)}
.app-header{height:44px;padding:5px 10px}.icon-nav{width:32px;height:32px;border-radius:8px}.rail-account{width:30px;height:30px}
.tree-search-row,.products-toolbar{height:44px;flex-basis:44px;padding:6px 10px}
.tree-search-row .tree-search,.products-toolbar label{height:31px}.add-category{width:30px;height:30px}.products-toolbar>button.toolbar-create{height:30px}
.tree-nav{padding-top:4px}.tree-row{height:28px}.tree-label{height:27px}.tree-toggle,.tree-toggle-spacer{height:27px}.tree-footer{padding:5px 7px}.tree-footer button{height:28px}
.products-table th,.sort-button{height:29px}.products-table td{height:36px;padding:4px 10px}
.product-thumb,.product-thumb svg{width:24px;height:24px}.product-thumb{border-radius:6px}.table-product{gap:8px}
.table-empty{inset:29px 0 0}
.tree-footer button[aria-pressed="true"]{background:#e1e1e1;color:#292929;font-weight:600}
.all-products-row{flex:none;padding:5px 7px 0}.all-products-row button{width:100%;height:28px;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;gap:7px;padding:0 8px;text-align:left;font-size:12px;color:#4d4d4d}.all-products-row button:hover{background:#f0f0f0}.all-products-row button[aria-pressed="true"]{background:#e1e1e1;color:#292929;font-weight:600}.all-products-row svg{width:13px;height:13px}.all-products-row small{margin-left:auto;font-size:10px;font-weight:400;color:#777}

/* Match header labels to cell content, without reserving trailing arrow space. */
.sort-button{padding-right:10px;padding-left:10px}
.sort-mark:empty{display:none}
.products-table th.number .sort-mark{order:-1}

/* Saved, user-adjustable workspace layout. */
.shell{grid-template-columns:var(--tree-width,310px) minmax(0,1fr)}
.catalog-tree{position:relative}.tree-resize{position:absolute;right:-3px;top:0;bottom:0;width:6px;z-index:25;cursor:col-resize;touch-action:none}
.tree-resize:hover,.tree-resize:focus-visible{background:#aaa6;outline:none}
.resizing-columns,.resizing-columns *{cursor:col-resize!important;user-select:none!important}
.products-table{table-layout:fixed;min-width:0}
.products-table th{position:relative;min-width:0!important}
.products-table td{white-space:normal;overflow-wrap:anywhere}
.products-table td.number{white-space:nowrap}
.products-table th:first-child,.products-table td:first-child{position:sticky;left:0;background:#fff}
.products-table th:first-child{z-index:8;background:#fafafa}.products-table td:first-child{z-index:2}
.products-table.scrolled-horizontally th:first-child,.products-table.scrolled-horizontally td:first-child{box-shadow:3px 0 5px -3px #0004}
.products-table tbody tr:hover td:first-child{background:#f7f7f7}
.product-title{min-width:0}.product-title strong{white-space:normal;overflow-wrap:anywhere}
.column-resize{position:absolute;right:-3px;top:0;bottom:0;width:7px;z-index:10;cursor:col-resize;touch-action:none}
.column-resize:hover,.column-resize:focus-visible{background:#aaa7;outline:none}
.sort-button{padding-right:13px}
.products-table th.number .sort-button{padding-right:10px}
.column-settings{position:relative;flex:none;z-index:35;color:#555}
.column-settings>summary{display:flex;align-items:center;gap:6px;height:30px;padding:0 9px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;font-size:11px;cursor:pointer;list-style:none}
.column-settings>summary::-webkit-details-marker{display:none}.column-settings>summary:hover{background:#f4f4f4}.column-settings svg{width:14px;height:14px}
.column-menu{position:absolute;right:0;top:36px;width:225px;padding:8px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 6px 24px #00000012}
.column-menu label{display:flex;width:100%;height:29px;border:0;background:transparent;box-shadow:none;padding:0 6px;gap:9px;font-size:12px;cursor:pointer}
.column-menu input{flex:none;width:13px;height:13px;accent-color:#555}.column-menu label:hover{background:#f5f5f5;border-radius:5px}
.column-menu>button{width:100%;border:0;border-top:1px solid #eee;background:transparent;padding:9px 5px 3px;margin-top:5px;text-align:left;font-size:11px;color:#777}
.copy-value{border:0;background:transparent;padding:0;color:inherit;font:inherit;text-align:left;cursor:copy;overflow-wrap:anywhere;max-width:100%}
.copy-value:hover,.copy-value:focus-visible{color:#222;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;outline:none}
.barcode-list .copy-value{display:block;line-height:1.6}.barcode-details summary{max-width:100%}.barcode-toggle{flex:none}
.column-settings>summary{width:30px;padding:0;justify-content:center}
.column-settings>summary svg{width:16px;height:16px}
.products-toolbar>.in-stock-toggle{height:30px;border:1px solid #e5e5e5;border-radius:8px;padding:0 9px;background:#fff;font-size:11px;white-space:nowrap;color:#626262}
.in-stock-toggle:before{content:"";width:11px;height:11px;border:1px solid #bbb;border-radius:3px;display:grid;place-items:center;font-size:9px;line-height:1}
.products-toolbar>.in-stock-toggle[aria-pressed="true"]{color:#303030;background:#eaeaea;border-color:#d5d5d5}
.in-stock-toggle[aria-pressed="true"]:before{content:"✓";background:#555;border-color:#555;color:#fff}
.column-choice{position:relative;display:flex;align-items:center;border-radius:5px}
.column-choice label{flex:1;min-width:0;padding-left:3px}.column-grip,.column-grip-placeholder{flex:none;width:22px;height:27px}
.column-grip{display:grid;place-items:center;border:0;background:transparent;color:#aaa;font-size:16px;cursor:grab;padding:0}
.column-grip:hover,.column-grip:focus-visible{color:#444;background:#eee;border-radius:4px;outline:none}.column-grip:active{cursor:grabbing}
.column-choice.dragging{opacity:.4}.column-choice.drop-before:before,.column-choice.drop-after:after{content:"";position:absolute;left:0;right:0;height:2px;background:#777;pointer-events:none}.column-choice.drop-before:before{top:0}.column-choice.drop-after:after{bottom:0}

/* Keep product text quiet and distinguish changes in product size. */
.table-product strong{font-weight:400}
.products-table td .missing-value{color:#aaa;font-weight:400}
.products-table .catalog-product-row td{border-bottom-color:#f0f0f0}
.products-table .size-group-start td{border-top:1px solid #d4d4d4}
.products-table .variant-group-start td{border-top:1px solid #e5e5e5}
