@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--brand-1: #a855f7;--brand-2: #6d28d9;--brand-gradient: linear-gradient(135deg, var(--brand-1), var(--brand-2));--navy: #1b1438;--navy-2: #2a2150;--bg: #f7f6fb;--surface: #ffffff;--surface-2: #f2f0f8;--border: #e4e1ee;--text: #1b1438;--muted: #6b6780;--accent: #6d28d9;--accent-hover: #5b21b6;--accent-soft: #efe7fd;--ok: #2f6b45;--ok-soft: #e5f0e8;--warn: #8a5a00;--warn-soft: #fbf0d9;--err: #a32020;--err-soft: #fbe6e6;--info: #24527a;--info-soft: #e4edf6;--radius: 8px;font-family:Manrope Variable,Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:20px;margin:0;font-weight:600}h2{font-size:15px;margin:0 0 12px;font-weight:600}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.side{background:var(--navy);color:#d9d4ee;padding:18px 12px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 18px;margin-bottom:6px;border-bottom:1px solid var(--navy-2)}.brand img{width:38px;height:38px;flex:none;padding:4px;background:#fff;border-radius:10px}.brand-name{color:#fff;font-weight:800;font-size:18px;letter-spacing:-.3px;line-height:1.1}.brand-name small{display:block;font-weight:500;color:#9d95c0;font-size:11px;letter-spacing:0}.brand-sync{color:#c084fc}.erp-badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;background:var(--brand-gradient);color:#fff;font-size:10px;font-weight:700;letter-spacing:.5px;line-height:1.5;vertical-align:3px}.nav a{display:block;color:#d9d4ee;padding:8px 10px;border-radius:6px;margin-bottom:2px}.nav a:hover{background:var(--navy-2);text-decoration:none}.nav a.active{background:var(--brand-gradient);color:#fff;font-weight:600}.nav .sep{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#8a82ad;padding:14px 10px 6px}.main{padding:24px 28px;min-width:0;display:flex;flex-direction:column}.main-body{flex:1}.footer{margin-top:32px;padding-top:14px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px}.footer .f-brand{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--text)}.footer img{width:16px;height:16px}.head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:16px}.grid{display:grid;gap:16px}.g4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.g2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.stat .label{color:var(--muted);font-size:12px;width:auto;height:auto;border:0;padding:0;background:none}.stat .value{font-size:22px;font-weight:600;margin-top:4px;font-variant-numeric:tabular-nums}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border);vertical-align:middle}th{font-size:12px;color:var(--muted);font-weight:500;background:var(--surface-2);position:sticky;top:0}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}tr:hover td{background:#fbfaf8}.table-wrap{overflow:auto;max-height:70vh;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.table-wrap table th:first-child,.table-wrap table td:first-child{padding-left:14px}input,select,textarea{font:inherit;padding:7px 9px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}input.sm{width:90px}label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:12px}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}button{font:inherit;cursor:pointer;padding:7px 14px;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text)}button:hover:not(:disabled){background:var(--surface-2)}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}button.link{border:0;background:none;color:var(--accent);padding:2px 4px}button.danger{color:var(--err)}button:disabled{opacity:.5;cursor:not-allowed}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:500;background:var(--surface-2);color:var(--muted)}.badge.godown{background:var(--warn-soft);color:var(--warn)}.badge.store{background:var(--info-soft);color:var(--info)}.badge.online{background:var(--ok-soft);color:var(--ok)}.badge.draft{background:var(--surface-2)}.badge.in_transit,.badge.pending{background:var(--warn-soft);color:var(--warn)}.badge.received,.badge.done{background:var(--ok-soft);color:var(--ok)}.badge.cancelled,.badge.failed{background:var(--err-soft);color:var(--err)}.badge.superseded,.badge.skipped{background:var(--surface-2);color:var(--muted)}.alert{padding:10px 12px;border-radius:6px;margin-bottom:12px}.alert.err{background:var(--err-soft);color:var(--err)}.alert.ok{background:var(--ok-soft);color:var(--ok)}.alert.info{background:var(--info-soft);color:var(--info)}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:ui-monospace,Consolas,monospace;font-size:12px}.zero{color:#c3bfb8}.neg{color:var(--err);font-weight:600}.changed td{background:var(--accent-soft)!important}.picker{position:relative}.picker .menu{position:absolute;z-index:10;top:100%;left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:6px;max-height:280px;overflow:auto;box-shadow:0 6px 20px #00000014}.picker .menu div{padding:7px 10px;cursor:pointer;display:flex;justify-content:space-between;gap:10px}.picker .menu div:hover,.picker .menu div.hl{background:var(--surface-2)}@media (max-width: 800px){.shell{grid-template-columns:1fr}.side{position:static;height:auto}.nav{display:flex;flex-wrap:wrap;gap:4px}.nav .sep{display:none}.main{padding:16px}}.sentinel{padding:10px 14px;text-align:center;color:var(--muted);font-size:12px;min-height:1px}.labels{display:grid;grid-template-columns:repeat(auto-fill,var(--lw, 50mm));gap:3mm}.label{width:var(--lw, 50mm);height:var(--lh, 30mm);border:1px dashed var(--border);padding:1.5mm 2mm;background:#fff;color:#000;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;font-size:7pt;line-height:1.15}.label .l-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label .l-row{display:flex;justify-content:space-between;gap:4px}.label .l-mrp{font-weight:700;font-size:9pt}.label svg{width:100%;height:40%;display:block}@media print{.shell{display:block}.side,.footer,.no-print{display:none!important}.main{padding:0}body{background:#fff}.label{border:none;break-inside:avoid}}.login-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:16px;background:radial-gradient(1200px 500px at 50% -10%,var(--accent-soft),transparent 70%),var(--bg)}.login{width:100%;max-width:380px;display:flex;flex-direction:column;gap:12px;padding:28px 24px 24px;border-top:4px solid var(--brand-2);box-shadow:0 12px 40px #1b143814}.login-brand{display:flex;align-items:center;justify-content:center;gap:2px;margin-bottom:4px}.login-logo{display:block;width:100%;max-width:240px;height:auto;min-width:0}.login-brand .erp-badge{font-size:13px;padding:2px 8px;border-radius:7px;vertical-align:0}.login-sub{text-align:center;color:var(--muted);font-size:13px;margin:0 0 4px}.login-foot{color:var(--muted);font-size:12px}.side{display:flex;flex-direction:column}.userbox{margin-top:auto;padding:12px 10px 0;border-top:1px solid #34302c;display:flex;flex-direction:column;gap:2px}.userbox a{color:#fff;font-weight:600}.userbox small{color:#9c978f;text-transform:capitalize}.userbox .link{color:#d8d5cf;text-align:left;padding:4px 0}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:grid;place-items:center;z-index:50;padding:16px}.modal{width:100%;max-width:380px;display:flex;flex-direction:column;gap:8px}.pos{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.pos .scan{width:100%;font-size:16px;padding:12px 14px}.pos .table-wrap{max-height:calc(100vh - 220px)}.qty{display:inline-flex;align-items:center;gap:4px}.qty button{padding:2px 9px}.qty input{width:56px;text-align:center}.totals>div{display:flex;justify-content:space-between;padding:3px 0;font-variant-numeric:tabular-nums}.totals .grand{font-size:20px;font-weight:700;border-top:1px solid var(--border);margin-top:4px;padding-top:8px}button.big{padding:12px;font-size:16px;font-weight:600}@media (max-width: 1000px){.pos{grid-template-columns:1fr}}.invoice{background:#fff;color:#000;max-width:210mm;margin:0 auto;padding:10mm;border:1px solid var(--border);font-size:11px}.invoice header{display:flex;justify-content:space-between;gap:16px;border-bottom:2px solid #000;padding-bottom:8px}.invoice .inv-name{font-size:18px;font-weight:700}.invoice .inv-title{font-size:16px;font-weight:700;text-align:right;margin-bottom:4px;letter-spacing:1px}.invoice .inv-meta table td{padding:1px 6px;border:none}.invoice .pre{white-space:pre-line}.invoice .inv-customer{padding:6px 0;border-bottom:1px solid #000}.invoice table{width:100%;border-collapse:collapse}.invoice th,.invoice td{padding:4px 5px;border:1px solid #999;background:none!important;color:#000;position:static;font-size:11px}.invoice .inv-lines{margin-top:8px}.invoice tfoot td{font-weight:700}.invoice .inv-bottom{display:grid;grid-template-columns:1fr 220px;gap:12px;margin-top:8px}.invoice .inv-sum .grand td{font-size:14px;font-weight:700}.invoice footer{display:flex;justify-content:space-between;gap:16px;margin-top:16px;border-top:1px solid #000;padding-top:8px}.invoice .sign{text-align:right;min-width:180px}.invoice .small{font-size:10px}@media print{.invoice{border:none;padding:0;max-width:none}.invoice tr:hover td{background:none}}table.sub{background:var(--surface);border:1px solid var(--border);border-radius:6px}table.sub th{position:static;background:var(--surface-2)}table.sub td,table.sub th{padding:5px 8px;font-size:13px}.conflict td{background:var(--err-soft)!important}.guide-search{width:280px;max-width:100%}.guide{display:grid;grid-template-columns:220px minmax(0,760px);gap:20px;align-items:start}.guide-toc{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto;padding:12px}.guide-toc a{display:block;padding:4px 6px;border-radius:4px;color:var(--text);font-size:13px}.guide-toc a:hover{background:var(--accent-soft);text-decoration:none}.guide-toc-group{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin:0 6px 4px}.guide-toc>div+div .guide-toc-group{margin-top:14px}.guide-group{margin:8px 0 10px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.6px}.guide-topic{scroll-margin-top:16px;line-height:1.55}.guide-topic-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.guide-topic h3{font-size:16px;margin:0 0 4px;font-weight:600}.guide-topic p{margin:0 0 10px}.guide-topic ol{margin:0 0 10px;padding-left:22px}.guide-topic li{margin-bottom:4px}.guide-tips{list-style:none;margin:0;padding:10px 12px;background:var(--info-soft);border-radius:6px}.guide-tips li{padding-left:18px;position:relative}.guide-tips li:before{content:"ℹ";position:absolute;left:0;color:var(--info)}.guide-qa{margin:0}.guide-qa>div{padding:10px 0;border-top:1px solid var(--border)}.guide-qa>div:first-child{border-top:0;padding-top:0}.guide-qa dt{font-weight:600;margin-bottom:2px}.guide-qa dd{margin:0;color:var(--muted)}@media (max-width: 900px){.guide{grid-template-columns:1fr}.guide-toc{display:none}}.modal.wide{max-width:680px;max-height:calc(100vh - 32px);overflow:auto}.modal .form{margin-bottom:4px}.picker .menu div.create{color:var(--accent);font-weight:500;border-top:1px solid var(--border)}.mrp-note{color:var(--warn);white-space:nowrap;margin-top:2px}.multipick{position:relative;min-width:0}.mp-box{display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-height:36px;padding:3px 6px;border:1px solid var(--border);border-radius:6px;background:#fff;cursor:text}.mp-box:focus-within{outline:2px solid var(--accent-soft);border-color:var(--accent)}.mp-box input{border:0;outline:none;padding:4px 2px;flex:1;min-width:70px;background:transparent}.mp-box input:focus{outline:none}.chip{display:inline-flex;align-items:center;gap:2px;padding:2px 4px 2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--text);font-size:12px;white-space:nowrap}.chip button{border:0;background:none;padding:0 4px;font-size:14px;line-height:1;color:var(--muted);cursor:pointer}.chip button:hover{color:var(--err);background:none}.mp-menu{position:absolute;z-index:20;top:100%;left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:6px;max-height:240px;overflow:auto;box-shadow:0 6px 20px #00000014;color:var(--text);font-size:13px}.mp-menu>div{padding:6px 10px;cursor:pointer}.mp-menu>div:hover{background:var(--surface-2)}.mp-menu .mp-presets{display:flex;flex-wrap:wrap;gap:2px 6px;padding:6px 8px;border-bottom:1px solid var(--border);cursor:default}.mp-menu .mp-presets:hover{background:none}.mp-menu .mp-custom{color:var(--accent);border-top:1px solid var(--border)}.lists-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.lists-grid textarea{font-size:13px;line-height:1.5}input.md{width:120px}:root{--series-1: #2a78d6;--series-2: #eb6834;--series-3: #1baf7a;--series-4: #eda100;--series-5: #e87ba4;--series-6: #008300;--series-other: #a3a19b;--grid: #ecebe6;--axis: #c3c2b7;--tick: #898781}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:16px}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:8px 14px;color:var(--muted)}.tabs button.on{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.tabs button:hover:not(:disabled){background:none;color:var(--text)}.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-bottom:16px}.filters label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted)}.seg{display:inline-flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.seg button{border:0;border-radius:0;padding:4px 10px;font-size:12px;background:var(--surface)}.seg button+button{border-left:1px solid var(--border)}.seg button.on{background:var(--accent-soft);color:var(--accent);font-weight:600}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}.card-head h2{margin:0}.kpi .value{font-size:22px;font-weight:600;margin:4px 0 2px}.kpi .sub{font-size:12px;color:var(--muted)}.delta{font-size:12px;font-weight:500;white-space:nowrap}.delta.good{color:var(--ok)}.delta.bad{color:var(--err)}.chart{position:relative;width:100%}.chart svg{display:block;outline:none;touch-action:pan-y}.chart svg:focus-visible{outline:2px solid var(--accent-soft);border-radius:4px}.chart .grid{stroke:var(--grid);stroke-width:1}.chart .axis{stroke:var(--axis);stroke-width:1}.chart .tick{fill:var(--tick);font-size:11px;font-variant-numeric:tabular-nums}.chart .crosshair{stroke:var(--tick);stroke-width:1}.chart .divider{stroke:var(--axis);stroke-width:1;stroke-dasharray:2 3}.chart .shade{fill:var(--series-4);opacity:.1}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--muted);margin-bottom:6px}.legend span,.tip-r{display:inline-flex;align-items:center;gap:6px}.legend i,.tip-r i{display:inline-block;width:14px;border-top:2px solid}.legend i.dashed,.tip-r i.dashed{border-top-style:dashed}.legend i.area,.tip-r i.area{height:8px;border:0;opacity:.35;border-radius:2px}.tip{position:absolute;top:28px;min-width:170px;pointer-events:none;background:var(--surface);border:1px solid var(--border);border-radius:6px;box-shadow:0 4px 14px #00000014;padding:8px 10px;font-size:12px;z-index:2}.tip-h{color:var(--muted);margin-bottom:4px}.tip-r{display:flex;padding:1px 0}.tip-r b{font-variant-numeric:tabular-nums}.tip-r span{color:var(--muted)}.bars{display:flex;flex-direction:column;gap:6px}.bar-row{display:grid;grid-template-columns:minmax(90px,32%) 1fr auto;align-items:center;gap:10px;font-size:13px}.bar-row.clickable{cursor:pointer;border-radius:4px}.bar-row.clickable:hover{background:var(--surface-2)}.bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:12px}.bar-fill{height:100%;border-radius:0 4px 4px 0}.bar-value{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;min-width:70px}.notes{margin:8px 0 0;padding-left:18px;font-size:12px;color:var(--muted)}.badge.out,.badge.urgent{background:var(--err-soft);color:var(--err)}.badge.reorder{background:var(--warn-soft);color:var(--warn)}.badge.overstock,.badge.no_sales{background:var(--info-soft);color:var(--info)}.badge.ok{background:var(--ok-soft);color:var(--ok)}.dim-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}@media (max-width: 800px){.bar-row{grid-template-columns:90px 1fr auto}}.seg-chip{border:0;background:none;padding:0;opacity:.45;cursor:pointer}.seg-chip.on{opacity:1}.seg-chip:hover:not(:disabled){background:none;opacity:.8}table.grid-edit td{padding:3px 4px;border-bottom:0}table.grid-edit th{padding:6px 8px;white-space:nowrap;z-index:1}table.grid-edit tr.group-start td{border-top:1px solid var(--border)}table.grid-edit input{padding:4px 6px}table.grid-edit input.wide{width:200px}table.grid-edit input.shared:not(.dirty){color:var(--muted)}table.grid-edit input.dirty{background:var(--warn-soft);border-color:var(--warn)}label.check{flex-direction:row;align-items:center;gap:6px;white-space:nowrap}.footer .f-brand .erp-badge{margin-left:0;vertical-align:0}.login pre.codes{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);padding:12px;margin:0;font-size:15px;letter-spacing:.06em;text-align:center;white-space:pre-wrap;-webkit-user-select:all;user-select:all}.login p{margin:0;font-size:13px}.checklist{list-style:none;margin:0;padding:0}.checklist li{display:flex;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--border)}.checklist li small{margin-left:auto;color:var(--muted)}.badge.open,.badge.active,.badge.reserved{background:var(--info-soft);color:var(--info)}.badge.closed,.badge.issued{background:var(--ok-soft);color:var(--ok)}.pre{white-space:pre-line}.co-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}@media (max-width: 1100px){.co-grid{grid-template-columns:minmax(0,1fr)}}.toast{position:sticky;top:8px;z-index:30}.stages{list-style:none;margin:0;padding:0}.stage{border-top:1px solid var(--border)}.stage:first-child{border-top:0}.stage-head{display:flex;width:100%;gap:10px;align-items:center;border:0;background:none;padding:9px 4px;text-align:left}.stage-no{width:22px;color:var(--muted);font-size:12px;text-align:right}.stage-name{flex:1}.stage.active .stage-name{font-weight:700}.stage.skipped .stage-name{text-decoration:line-through;color:var(--muted)}.stage-body{padding:0 4px 12px 36px}.stage-form{display:flex;flex-direction:column;gap:8px;align-items:flex-start;margin-top:8px}.stage-form>label{align-self:stretch}.stage-actions{margin-top:2px}label.assignee{max-width:320px}.measures{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 16px}.measures div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dotted var(--border);padding:3px 0;text-transform:capitalize}.measures b{text-transform:none}.measures+p{margin:6px 0}.co-grid td.num{white-space:nowrap}.photos{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.photos .alert{flex-basis:100%;margin:0}.photos figure{margin:0;position:relative}.photos img{display:block;width:92px;height:92px;object-fit:cover;border-radius:6px;border:1px solid var(--border)}.photos figure button{position:absolute;top:3px;right:3px;width:22px;height:22px;padding:0;border-radius:999px;line-height:1}.photo-add{width:92px;height:92px;border-style:dashed;color:var(--accent);font-size:12px}.review-actions{margin:8px 0}.track{max-width:640px;margin:0 auto;padding:16px}.track .stage-head{display:flex}.track ol.card{margin-bottom:16px;padding:4px 8px}
