*{box-sizing:border-box} :root{--bg:#f7f6f1;--paper:#fffefb;--line:#e8e6de;--text:#282c25;--muted:#8a8d81;--green:#58764d;--yellow:#e8b044;--sidebar:216px}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #bb963e;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #9eae8b;outline-offset:1px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}button{color:inherit}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(155deg,#2b322a,#212820);color:#a9b09f;z-index:30;display:flex;flex-direction:column;padding:30px 16px 20px}.brand{display:flex;align-items:center;gap:12px;color:#f5f4e9;text-decoration:none;padding:0 8px}.brand>svg{color:#d6b266;width:30px;height:35px}.brand strong{display:block;font-size:17px;letter-spacing:-.4px}.brand small{display:block;font-size:10px;color:#929d89;margin-top:5px}.workspace-label{font-size:9px;letter-spacing:1.5px;margin:47px 11px 15px;color:#77816f}.nav-item{width:100%;display:flex;gap:12px;align-items:center;border:0;background:none;border-radius:7px;color:#b4bcab;padding:15px 13px;margin-bottom:7px;text-align:left;font-size:13px}.nav-item:hover{background:#ffffff08}.nav-item.active{background:#b5a26420;color:#e9cf91}.nav-count{margin-left:auto;color:#d0bc85;font-size:11px;padding:2px 6px;background:#d1b87516;border-radius:4px}.sidebar-bottom{margin-top:auto}.connection{font-size:11px;color:#85917b;padding:17px 10px;border-bottom:1px solid #ffffff0b;margin-bottom:20px}.connection i,.live-dot{display:inline-block;width:6px;height:6px;background:#81a568;border-radius:50%;margin-right:6px}.profile{display:flex;gap:10px;align-items:center;padding:0 6px}.avatar,.mini-avatar{display:grid;place-items:center;border-radius:50%;background:#48513f;color:#e7eadf;font-size:12px;width:36px;height:36px}.profile strong{font-size:12px;color:#d3d9cb;font-weight:500}.profile small{font-size:10px;display:block;margin-top:4px;color:#839078}.profile>svg{width:16px;margin-left:auto;color:#819076}.app{margin-left:var(--sidebar)}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#fbfaf6}.breadcrumb{font-size:12px;color:#969a8d;display:flex;gap:14px}.breadcrumb strong{font-weight:500;color:#535b4c}.breadcrumb span{color:#c6c8bc}.topbar-right{font-size:11px;color:#8b9281;display:flex;align-items:center;gap:5px}.mini-avatar{margin-left:22px;width:30px;height:30px;background:#e8ecdf;color:#667557;font-size:10px}.menu-button{display:none!important}.workspace{display:flex;min-height:calc(100dvh - 72px);align-items:stretch}.inventory{flex:1;min-width:0;padding:33px 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.title-line{display:flex;align-items:center;gap:13px}h1{font-size:28px;letter-spacing:-.8px;font-weight:650;margin:0}.integration{font-size:10px;color:#61734f;background:#e7eddc;border:1px solid #dbe4cf;border-radius:4px;padding:4px 7px;font-weight:600}.page-heading p{font-size:12px;color:var(--muted);margin:9px 0 0}.sync{font-size:10px;color:#969b8d;white-space:nowrap}.toolbar{display:flex;gap:9px}.search{display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid #dedfd4;border-radius:6px;padding:0 13px;flex:1;min-width:120px;height:43px;color:#919789}.search input{background:transparent;border:0;outline:0;width:100%;min-width:0;color:#333d2b;font-size:12px}.search input::placeholder{color:#989d90}.search svg{width:17px;height:17px}.search kbd{font-size:11px;border:1px solid var(--line);border-radius:3px;padding:2px 5px;color:#9ea496}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #dddfd2;border-radius:6px;background:#fcfbf7;font-size:12px;font-weight:550;white-space:nowrap}.button:hover{background:#eeefe6}.button svg{width:17px;height:17px}.yellow{background:linear-gradient(#edb94f,#e6ad3f);border-color:#dcaa48;color:#463919;box-shadow:0 2px 3px #9471300a}.yellow:hover{background:#e3aa36}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.chip{border:1px solid transparent;border-radius:6px;background:#eeeee7;padding:8px 10px;color:#777f6b;font-size:10px;display:flex;align-items:center;gap:7px;white-space:nowrap}.chip b{font-size:9px;min-width:17px;text-align:center;background:#e1e3d8;border-radius:3px;padding:2px 4px;font-weight:500}.chip.active{background:#58764d;color:#fff}.chip.active b{background:#ffffff20;color:#fff}.chip:hover{border-color:#a8b59a}.chip[data-filter="low"]:not(.active) b{background:#f0ded2;color:#b87754}.list-toolbar{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9a9e91;padding:0 1px 12px}#results-count{color:#6f7764}.table-wrap{border:1px solid var(--line);border-radius:8px;background:var(--paper);overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#f0f0e8;color:#848a7a;font-size:10px;font-weight:500;height:42px;padding:0 10px;border-bottom:1px solid var(--line)}td{padding:12px 10px;height:79px;border-bottom:1px solid #efeee7;font-size:11px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f6f7ef}tbody tr.selected{background:#edf2e6}tbody tr.selected td:first-child{box-shadow:inset 3px 0 #779069}.select-cell{width:32px;padding-right:0}input[type=checkbox]{appearance:none;width:14px;height:14px;border-radius:4px;border:1px solid #c8cdbc;background:#fff;vertical-align:middle;cursor:pointer;margin:0}input[type=checkbox]:checked{background:var(--green);border-color:var(--green);box-shadow:inset 0 0 0 3px white}input[type=checkbox]:indeterminate{background:#b8c8aa}.product-button{border:0;background:none;display:flex;align-items:center;gap:12px;text-align:left;padding:0;width:100%;color:#363e2f}.product-name{font-size:12px;line-height:18px;font-weight:550;white-space:normal;min-width:110px;max-width:175px}.product-image{width:45px;height:49px;object-fit:contain;border-radius:5px;background:#eeede5}.row-subtitle{display:none}.sku-col,.barcode-col{font-variant-numeric:tabular-nums;color:#858b7c;font-size:10px}.price{font-size:12px;font-weight:600;white-space:nowrap}.stock small{display:block;margin-top:5px;font-size:9px}.low{color:#ba7255}.photo-status{display:flex;gap:5px;align-items:center;color:#6e815e;font-size:10px}.photo-status svg{width:12px;height:12px}.photo-status.missing{color:#bd8269}.toggle{width:32px;height:18px;border:0;border-radius:20px;background:#d3d7cc;padding:3px;display:inline-flex;vertical-align:middle;transition:background .18s}.toggle:after{content:'';height:12px;width:12px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .18s}.toggle.on{background:#638354}.toggle.on:after{transform:translateX(14px)}.publish-col{text-align:center}.list-footer{display:flex;justify-content:space-between;gap:15px;color:#a0a594;font-size:10px;margin-top:20px}.detail{width:340px;flex-shrink:0;background:#fcfbf6;border-left:1px solid var(--line);padding:23px;position:sticky;top:0;align-self:flex-start;min-height:calc(100dvh - 72px)}.detail[hidden]{display:none}.detail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;color:#939986;font-size:10px;letter-spacing:1.3px}.icon-button{border:0;background:transparent;padding:6px;border-radius:5px;display:inline-grid;place-items:center;color:#939c86}.icon-button:hover{background:#e9eddf}.icon-button svg{width:18px;height:18px}.detail-hero{width:100%;height:225px;display:block;object-fit:contain;border:1px solid #e7e6dd;border-radius:8px;background:radial-gradient(#f2f1e8,#e8e7dd)}.detail h2{font-size:19px;line-height:26px;font-weight:600;margin:23px 0 15px;letter-spacing:-.4px}.detail-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#909785;margin-bottom:22px}.detail-meta span:last-child{font-variant-numeric:tabular-nums}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#89917c}.field input,.field select,.field textarea{min-width:0;width:100%;border:1px solid #dedfd3;background:#fffef9;border-radius:5px;padding:10px;color:#394130;font-size:12px}.field textarea{resize:vertical;min-height:75px;line-height:1.6}.field small{font-size:9px}.field input[type=number]{appearance:textfield}.detail-section{border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h3{margin:0;font-size:12px;font-weight:600}.photo-actions{display:flex;gap:7px}.photo-actions .button{flex:1;font-size:10px;padding:9px;min-height:37px}.photo-actions svg{width:14px;height:14px}.checks{display:grid;gap:9px;padding:0;list-style:none;margin:14px 0 0;font-size:10px;color:#818b75}.checks li{display:flex;align-items:center;gap:8px}.checks svg{width:13px;height:13px;padding:2px;border-radius:50%;background:#71915c;color:white}.checks .unready svg{background:#e0cba9;color:#856232}.save-button{width:100%;margin-top:25px;background:#58764d;border-color:#58764d;color:white}.save-button:hover{background:#48653e}.detail-hint{text-align:center;color:#9da390;font-size:9px;margin:12px 0 0}.advanced-filters{display:flex;align-items:end;gap:14px;padding:18px;margin-top:12px;background:#efefe7;border-radius:6px}.advanced-filters[hidden]{display:none}.advanced-filters label{display:grid;gap:6px;font-size:10px;color:#7d8570}.advanced-filters select{border:1px solid #d7dccc;border-radius:4px;background:#fffdf7;padding:8px;font-size:12px;color:#4b5840}.text-button{border:0;background:none;color:#658052;padding:8px;font-size:12px}.empty{text-align:center;padding:60px 20px;color:#89927c}.empty[hidden]{display:none}.empty>svg{width:30px;height:30px}.empty h2{font-size:18px;color:#536147}.empty p{font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);max-width:calc(100vw - 30px);padding:13px 20px;background:#2e3b28;color:white;border-radius:7px;box-shadow:0 8px 30px #0002;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{width:min(440px,calc(100% - 32px));padding:28px;border:1px solid #dedfd2;background:#fcfbf5;border-radius:12px;color:#424e37;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#1d281b77;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:19px;margin:0}dialog p{font-size:13px;line-height:1.7;color:#7d8671}dialog .field{margin:20px 0}dialog .field input{font-size:16px;padding:14px}dialog form>.button{width:100%}.barcode-symbol{text-align:center;padding:25px;background:#eeeee2;border-radius:7px;margin-top:22px}.barcode-symbol svg{width:75px;height:60px}.scan-error{color:#b77457!important}.nav-scrim{display:none}
@media(min-width:1700px){.inventory{padding:40px}.detail{width:380px;padding:28px}.detail-hero{height:265px}td{height:88px}.product-name{max-width:230px}.page-heading{margin-bottom:35px}}
@media(max-width:1450px){:root{--sidebar:192px}.sidebar{padding-left:12px;padding-right:12px}.brand strong{font-size:15px}.inventory{padding:28px 20px}.detail{width:302px;padding:20px}.barcode-col{display:none}.sync{display:none}.detail-hero{height:195px}.chip{font-size:9px;padding:7px}.product-name{font-size:11px;min-width:100px}.product-button{gap:8px}td,th{padding-left:8px;padding-right:8px}.photo-col{display:none}.topbar{padding:0 23px}}
@media(max-width:1150px){.detail{position:fixed;right:0;top:72px;bottom:0;min-height:0;overflow-y:auto;width:350px;box-shadow:-12px 0 40px #27321d15;z-index:20}.inventory{padding:28px}.barcode-col{display:table-cell}.photo-col{display:table-cell}.product-name{font-size:12px;max-width:220px}.detail-hero{height:220px}.detail:not([hidden]){border-left:1px solid #d7ddca}.list-toolbar{margin-top:6px}}
@media(max-width:900px){:root{--sidebar:76px}.sidebar{padding:25px 10px}.brand{padding:0;justify-content:center}.brand span,.workspace-label,.nav-count,.profile>div,.profile>svg,.connection{display:none}.sidebar nav{margin-top:40px}.nav-item{font-size:0;justify-content:center;padding:16px;gap:0}.nav-item svg{width:22px;height:22px}.profile{padding:0;justify-content:center}.barcode-col{display:none}.topbar-right{font-size:10px}.list-footer span:last-child{display:none}}
@media(max-width:640px){:root{--sidebar:0px}.sidebar{width:235px;transform:translateX(-100%);transition:transform .2s;padding:26px 18px}.sidebar.open{transform:translateX(0)}.sidebar .brand span,.sidebar .workspace-label,.sidebar .nav-count,.sidebar .profile>div,.sidebar .connection{display:block}.sidebar .brand{justify-content:flex-start}.sidebar nav{margin-top:0}.sidebar .nav-item{font-size:13px;gap:12px;justify-content:flex-start}.sidebar .profile{justify-content:flex-start}.nav-scrim.visible{display:block;position:fixed;inset:0;background:#18231366;z-index:29}.menu-button{display:inline-grid!important}.topbar{height:59px;padding:0 16px;gap:10px;justify-content:flex-start}.breadcrumb{font-size:11px}.topbar-right{margin-left:auto;font-size:0;gap:0}.topbar-right .live-dot{display:none}.mini-avatar{margin-left:0;width:28px;height:28px}.workspace{min-height:calc(100dvh - 59px)}.inventory{padding:24px 16px}.page-heading{margin-bottom:21px}.page-heading p{font-size:11px;line-height:1.6;max-width:250px}h1{font-size:27px}.toolbar{flex-wrap:wrap;gap:8px}.search{flex-basis:100%;height:45px}.search input{font-size:13px}.search kbd{display:none}.toolbar>.button{flex:1;min-height:42px}.chips{flex-wrap:nowrap;overflow:auto;margin:19px -16px 16px;padding:0 16px 4px;scrollbar-width:none}.chip{font-size:10px;padding:9px;flex-shrink:0}.list-toolbar{font-size:10px;margin:0;padding-bottom:12px}#selection-count{display:none}.table-wrap{border:0;background:none;overflow:visible}table,tbody{display:block;width:100%}thead{display:none}tbody tr{display:grid;grid-template-columns:1fr auto;gap:6px 12px;background:#fffef9;border:1px solid #e5e7dc;border-radius:8px;margin-bottom:10px;padding:14px;position:relative}tbody tr.selected{border-color:#9bad89;background:#f0f4e9}tbody tr.selected td:first-child{box-shadow:none}td{border:0;padding:0;height:auto}td.select-cell,.sku-col,.barcode-col,.pack-col,.photo-col{display:none}.product-cell{grid-column:1;grid-row:1 / 3}.product-button{gap:13px;align-items:flex-start}.product-image{width:60px;height:68px}.product-name{font-size:13px;line-height:19px;min-width:0;max-width:190px}.row-subtitle{display:block;font-size:10px;font-weight:400;color:#98a087;margin-top:7px}.price-cell{grid-column:2;grid-row:1;text-align:right;padding-top:1px}.price{font-size:12px}.stock-cell{grid-column:1;grid-row:3;padding-left:73px;margin-top:-10px;font-size:10px}.stock small{display:inline;margin-left:6px;font-size:9px}.publish-col{grid-column:2;grid-row:2;text-align:right}.list-footer{font-size:10px;margin-top:18px}.detail{top:0;width:100%;bottom:0;padding:22px;z-index:40;border:0;box-shadow:none}.detail-heading{margin-bottom:16px}.detail-hero{height:255px}.detail h2{font-size:22px}.detail-meta{font-size:12px}.field{font-size:12px}.field input,.field textarea{font-size:14px;padding:12px}.section-heading h3{font-size:14px}.photo-actions .button{font-size:12px;min-height:43px}.checks{font-size:12px}.detail-hint{font-size:11px}.detail .save-button{height:46px}.advanced-filters{flex-wrap:wrap;padding:13px;gap:10px}.advanced-filters label{flex:1;min-width:115px}.advanced-filters select{width:100%}.empty{padding:40px 15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media(max-width:640px){.stock:before{content:"Остаток: ";color:#929b85}.detail{overscroll-behavior:contain}}
