@font-face{font-family:Onest;src:url("./assets/onest.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{--ink:#242228;--muted:#655f6c;--quiet:#79717e;--purple:#733397;--deep:#552174;--pale:#f4eef8;--green:#275e42;--green-bg:#eaf4ed;--line:#e5e1e7;--soft:#f8f7f9;--surface:#fff;--rad:14px;--side:276px;color-scheme:light;font-family:Onest,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;color:var(--ink);background:#faf9fb}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}img{display:block;max-width:100%}input,button,select,a{outline-offset:3px}input:focus-visible,button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--purple)}h1,h2,h3,p{margin:0}svg.ic{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}h1{font-size:clamp(30px,3.05vw,44px);line-height:1.09;font-weight:650;letter-spacing:-.059em}h2{font-size:23px;line-height:1.2;letter-spacing:-.045em;font-weight:640}h3{font-size:17px;line-height:1.3;letter-spacing:-.024em;font-weight:610}.sr-only,.skip:not(:focus){position:absolute;overflow:hidden;height:1px;width:1px;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;left:10px;top:10px;z-index:20;background:white;padding:8px}.top{background:white;border-bottom:1px solid var(--line)}.topin,.wrap{width:min(1376px,100%);margin:auto;padding-inline:clamp(22px,4.8vw,72px)}.topin{min-height:76px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:17px;text-align:left;padding:0;flex:none}.brand img{width:111px;max-height:46px}.brand-label{font-size:12px;line-height:1.22;padding-left:16px;border-left:1px solid #ddd7e0;font-weight:530;color:#534a59}.topnav{display:flex;align-self:stretch;align-items:stretch;gap:23px;margin:0 auto}.navlink{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:13px;padding:0 2px;color:var(--muted);font-weight:500}.navlink.active{color:var(--ink);font-weight:650}.topnav .navlink.active:after{content:"";position:absolute;bottom:0;height:3px;left:2px;right:2px;background:var(--purple);border-radius:3px 3px 0 0}.navlink .ic{width:16px;height:16px}.role{display:flex;align-items:center;gap:8px;padding:7px 10px 7px 7px;border:1px solid var(--line);border-radius:30px;background:white}.role .avatar{width:27px;height:27px;border-radius:50%;background:#f0e9f4;color:var(--deep);display:grid;place-items:center}.role .avatar .ic{width:15px;height:15px}.role .role-name{font-size:12px;font-weight:590}.role>.ic{width:13px;height:13px}.bottomnav{display:none}.wrap{padding-top:31px;padding-bottom:55px}.page-title,.section-head,.inline,.aside-title,.product,.split,.tags,.actionbar,.roundmeta,.roletag{display:flex;align-items:center}.page-title,.section-head,.split,.aside-title{justify-content:space-between;gap:12px}.page-title{margin-bottom:22px;min-height:48px;align-items:center}.title-left{display:flex;align-items:center;gap:12px}.demo-tag{font-size:11px;line-height:18px;display:inline-flex;align-items:center;padding:1px 7px;border:1px solid #dcd6df;border-radius:6px;color:var(--muted);font-weight:550}.date{color:var(--muted);gap:7px;font-size:13px}.date .ic{width:16px}.muted{color:var(--muted)}.small{font-size:13px;line-height:1.45}.tiny{font-size:12px;line-height:1.4}.primary,.secondary,.light-btn,.linkbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;line-height:1.2;letter-spacing:-.012em;font-weight:560;border-radius:9px;min-height:42px;padding:10px 15px}.primary{background:var(--ink);color:white}.primary:disabled{background:#e8e5eb;color:#75707b}.secondary{color:var(--ink);background:white;border:1px solid #dcd6df}.light-btn{background:#f3f1f4;color:var(--ink)}.linkbtn{padding:4px 3px;min-height:32px;color:var(--deep);background:transparent;font-size:13px}.primary .ic,.secondary .ic,.light-btn .ic,.linkbtn .ic{width:16px;height:16px}.full{width:100%}.icon-btn{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:9px;flex:none}.icon-btn .ic{width:17px}.rounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}.producer{position:relative;isolation:isolate;overflow:hidden;text-align:left;border-radius:16px;border:1px solid #dbd9df;background:#eeedf0;min-width:0;height:167px;padding:20px 24px;color:#27232b}.producer.bc{background:#f0ebf4}.producer.pl{background:#eaf0f1}.producer.chosen{box-shadow:inset 0 0 0 1.25px #855294;border-color:#855294}.producer .over{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:575;letter-spacing:.008em;color:#55495d;position:relative;z-index:1}.over i,.pill i{width:6px;height:6px;border-radius:100%;background:currentColor}.producer .over i{color:#5c855b}.producer h2{position:relative;z-index:1;font-size:32px;letter-spacing:-.055em;line-height:1.14;margin:5px 0 3px;font-weight:640}.producer .hint{position:relative;z-index:1;font-size:13px;color:#5c5261}.producer .card-progress{position:absolute;bottom:17px;left:24px;width:min(44%,200px);z-index:1}.segments{display:flex;gap:3px;margin-bottom:5px}.segments i{height:4px;flex:1;min-width:2px;border-radius:4px;background:rgba(72,55,78,.13)}.segments i.on{background:#86519b}.pl .segments i.on{background:#668386}.card-progress span{font-size:11px;color:#5c545e}.selectmark{position:absolute;inset:12px 12px auto auto;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;border:1px solid #968d9c;background:#ffffff91;color:#514a56;z-index:2}.chosen .selectmark{color:white;background:var(--purple);border-color:var(--purple)}.selectmark .ic{width:13px;height:13px;stroke-width:2}.packart{position:absolute;right:5.4%;top:9%;width:42%;height:88%;z-index:0;pointer-events:none;mix-blend-mode:multiply}.packart img{mix-blend-mode:multiply;position:absolute;bottom:0;object-fit:contain;height:90%;width:56%}.packart .back{left:2%;height:72%;bottom:7%;transform:rotate(-9deg)}.packart .front{right:0;transform:rotate(6deg)}.pl .packart .front{width:82%;height:97%;right:-1%;transform:rotate(-5deg)}.pl .packart .back{left:-3%;height:65%;width:46%;bottom:4%;transform:rotate(6deg)}.rounds.many{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:2px}.rounds.many .producer{flex:0 0 min(440px,80%);scroll-snap-align:start}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) var(--side);gap:18px;align-items:start}.panel,.aside-card,.inventory-card,.order-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--rad)}.panel{min-width:0;overflow:hidden}.panel-head{padding:20px 20px 0}.section-head{align-items:center}.section-head h2{font-size:22px}.subline{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.45}.search-toggle{display:flex;align-items:center;gap:8px;border:1px solid var(--line);color:var(--muted);border-radius:8px;min-height:34px;padding:5px 10px;font-size:12px}.search-toggle .ic{width:15px;height:15px}.searchline{display:flex;align-items:center;gap:9px;width:100%;margin-top:12px}.searchline .ic{width:17px}.searchline input,.form-input,select.form-input{border:1px solid #d9d4dd;border-radius:8px;min-height:40px;padding:7px 11px;background:#fff;font-size:15px}.searchline input{width:100%}.filterrow{display:flex;gap:4px;align-items:center;margin:16px 0 11px;flex-wrap:wrap}.chip{font-size:12px;min-height:30px;padding:5px 10px;border-radius:7px;color:#635b69;display:inline-flex;gap:6px;align-items:center;font-weight:520}.chip.active{color:#312936;background:#eeebf0}.chip em,.tab-num{font-style:normal;font-size:10px;color:var(--muted)}.prodrow,.listhead{display:grid;grid-template-columns:minmax(144px,1.55fr) minmax(100px,1fr) minmax(66px,.62fr) 106px;gap:12px;align-items:center;padding:10px 20px}.listhead{padding-block:9px;min-height:31px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);background:#fbfafc}.listhead span:nth-child(n+3){text-align:right}.prodrow{min-height:78px;border-top:1px solid #eeebef}.prodrow:first-child{border-top:0}.product{gap:10px;min-width:0}.thumb{background:#f6f5f7;width:44px;height:48px;border-radius:8px;display:grid;place-items:center;flex:none;overflow:hidden}.thumb img{max-height:42px;width:92%;object-fit:contain;mix-blend-mode:multiply}.product-title{font-size:14px;line-height:1.23;font-weight:600;letter-spacing:-.022em;overflow-wrap:anywhere}.product-sub{margin-top:4px;font-size:11px;line-height:1.35;color:var(--muted)}.qtydata{font-size:12px;line-height:1.3;white-space:nowrap}.qtydata b{font-size:14px;font-weight:600}.qtydata small{font-size:11px;color:var(--muted)}.linebar{height:4px;max-width:116px;width:100%;background:#eeeaf1;overflow:hidden;border-radius:5px;margin:6px 0 0}.linebar i{display:block;height:100%;background:#9161a9;border-radius:5px}.linebar.ready i{background:#628c71}.price{text-align:right;font-size:14px;font-weight:550;white-space:nowrap}.price small{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--muted)}.step{justify-self:end;display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ddd8e0;border-radius:8px;background:white;min-width:99px;height:34px;overflow:hidden}.step button{display:grid;place-items:center;width:31px;height:100%;padding:0;font-size:18px;line-height:1}.step button:disabled{color:#aea8b2}.step button .ic{width:13px;height:13px}.step input{outline-offset:-2px;font-size:13px;font-weight:570;min-width:0;width:33px;text-align:center;appearance:textfield;-moz-appearance:textfield;padding:0;border:0;background:transparent}.step input::-webkit-inner-spin-button,.step input::-webkit-outer-spin-button{display:none}.step.has{border-color:#af91bf;background:#fcf9fd}.line-end{display:flex;flex-direction:column;align-items:end;gap:3px}.line-end small{font-size:10px;color:var(--muted)}.label-mobile{display:none}.side{position:sticky;top:14px;display:grid;gap:12px}.aside-card{padding:19px}.aside-title .ic{width:20px;height:20px;color:var(--purple)}.aside-card .producer-name{font-size:13px;color:var(--muted);margin:4px 0 15px}.summary-lines{display:grid;gap:8px;padding:12px 0;border-block:1px solid var(--line);max-height:250px;overflow:auto}.summary-line{display:flex;justify-content:space-between;gap:6px;font-size:12px;line-height:1.35}.summary-line span:last-child{white-space:nowrap;font-weight:550}.dim-note{color:var(--muted);font-size:13px;line-height:1.45}.summary-total{display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin:14px 0}.summary-total small{font-size:12px;color:var(--muted)}.summary-total b{font-size:24px;letter-spacing:-.045em;font-weight:600}.aside-card .primary{font-size:13px}.quickstock{display:block;width:100%;text-align:left}.quickstock .small{margin-top:9px}.quickline{display:flex;gap:8px;align-items:center;margin-top:10px}.quickline .thumb{width:33px;height:38px}.quickline .thumb img{max-height:34px}.quickline .txt{font-size:12px;line-height:1.35;flex:1}.quickline .ic{width:15px}.pill{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;font-size:11px;line-height:1.3;background:#f0edf1;color:#615968;font-weight:540}.pill.green{background:#e9f3ec;color:#346548}.pill.purple{background:#f3edf7;color:#6c4182}.pill i{width:5px;height:5px}.compact-meta{font-size:11px;color:var(--muted)}.footer-note{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px;gap:10px;margin-top:24px}.footer-note img{width:57px;opacity:.58}.empty{padding:24px;color:var(--muted);font-size:14px;line-height:1.5}.empty h3{color:var(--ink);margin-bottom:6px}.empty .secondary{margin-top:12px}.inventory-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.inventory-top .filterrow{margin:0}.inventory-top .searchline{margin:0;width:min(260px,40%)}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.inventory-card{padding:17px;display:flex;flex-direction:column;gap:13px}.stock-visual{height:115px;background:#f7f5f9;display:grid;place-items:center;border-radius:10px}.stock-visual img{object-fit:contain;width:82%;height:95px;mix-blend-mode:multiply}.inventory-card h3{margin-bottom:3px}.inventory-card .split{align-items:flex-start}.inventory-card .data-big{font-size:22px;font-weight:610;letter-spacing:-.04em}.inventory-card .avail{border-block:1px solid var(--line);padding:11px 0}.inventory-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.ord-list,.supply-list{display:grid;gap:12px}.order-card{padding:18px 20px}.order-card .split{align-items:flex-start}.order-card .tagline{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.order-card .order-ref{color:var(--muted);font-size:12px;margin-bottom:4px}.orderitems{display:grid;margin-top:13px;border-top:1px solid var(--line)}.orderitem{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;padding:10px 0;border-bottom:1px solid #f0edf1}.orderitem span:last-child{text-align:right}.twoval{font-size:13px}.twoval small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.order-total{font-size:20px;font-weight:600;white-space:nowrap}.controls-at-end{display:flex;align-items:center;justify-content:flex-end;gap:8px}.summstats{display:flex;flex-direction:column;gap:9px;padding:13px 0;border-block:1px solid var(--line);margin-bottom:14px}.summstats div{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}.summstats b{color:var(--ink);font-weight:600}.mbar{display:none}.headeractions{display:flex;align-items:center;gap:14px}.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}.matrix{border-collapse:separate;border-spacing:0;min-width:100%;font-size:12px}.matrix th,.matrix td{padding:8px 9px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line)}.matrix th{font-weight:570}.matrix th:first-child,.matrix td:first-child{text-align:left;position:sticky;left:0;background:white;z-index:1;max-width:145px;white-space:normal}.matrix th:not(:first-child){min-width:60px}.matrix tfoot td{background:var(--soft);font-weight:600}.rows-list{display:grid;gap:0}.plainrow{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:13px;text-align:left}.plainrow .product{flex:1}.plainrow .right{text-align:right}.plainrow .right b{display:block;font-size:14px}.panel-foot{padding:13px 20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
dialog{border:1px solid var(--line);padding:0;max-width:min(600px,calc(100vw - 32px));width:100%;max-height:min(84dvh,860px);border-radius:18px;background:white;color:var(--ink);box-shadow:0 20px 72px #20172c29}dialog.wide{max-width:min(930px,calc(100vw - 40px))}dialog::backdrop{background:#201b2b60}dialog[open]{display:flex;flex-direction:column}body.modal-open{overflow:hidden}.dlg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 15px;border-bottom:1px solid var(--line);flex:none}.dlg-head .pre{display:block;margin-bottom:4px;color:var(--muted);font-size:12px}.dlg-head h2{font-size:23px}.dlg-body{padding:20px 24px;overflow:auto;min-height:0;overscroll-behavior:contain}.dlg-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:14px 24px;border-top:1px solid var(--line)}.dlg-foot b{display:block;font-size:19px}.dlg-foot small{font-size:12px;color:var(--muted)}.choice{display:flex;align-items:center;width:100%;gap:12px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:8px}.choice strong{display:block;font-size:15px;margin-bottom:2px}.choice .ic:last-child{margin-left:auto}.choice.active{border-color:#a784b8;background:var(--pale)}.demo-caption{font-size:12px;color:var(--muted);line-height:1.5}.dlg-body .block-title{font-size:14px;margin:16px 0 7px}.dlg-body .block-title:first-child{margin-top:0}.divider{height:1px;background:var(--line);margin:16px 0}.buyhero{display:flex;align-items:center;gap:14px}.buyhero .thumb{height:78px;width:74px}.buyhero .thumb img{max-height:68px}.buyhero h3{font-size:20px}.buyhero .small{margin:4px 0}.buybox{background:var(--soft);border:1px solid var(--line);padding:13px 15px;border-radius:10px;margin:16px 0 10px}.buybox .split{min-height:38px}.checkline{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer;min-height:40px}.checkline input{width:18px;height:18px;accent-color:var(--purple);flex:none}.checkline small{font-size:12px;color:var(--muted)}.formgrid{display:grid;gap:10px;grid-template-columns:1fr 1fr}.formlabel{display:grid;gap:5px;font-size:12px;color:var(--muted)}.formlabel .form-input{width:100%;min-width:0;color:var(--ink)}.create-row{display:grid;grid-template-columns:1fr 88px;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:4px 0}.create-row input[type=number]{width:100%;text-align:right}.error{color:#8d3146;background:#fdf0f2;padding:9px 12px;border-radius:7px;font-size:13px;line-height:1.4;margin-bottom:10px}.session-note{margin-bottom:12px}.group-note{background:var(--soft);border-radius:9px;padding:12px;font-size:13px;line-height:1.5}.mini-links{display:flex;flex-wrap:wrap;gap:10px}.matrix-select{width:100%;margin:8px 0 12px}.pillrow{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,8px);background:#28232d;color:white;padding:11px 17px;border-radius:10px;max-width:calc(100% - 28px);font-size:13px;box-shadow:0 4px 18px #0002;z-index:30;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-only{display:none}
@media(hover:hover){.navlink:hover,.linkbtn:hover{color:var(--purple)}.secondary:hover,.light-btn:hover,.icon-btn:hover,.step button:not(:disabled):hover,.chip:not(.active):hover,.search-toggle:hover{background:#f1edf4}.primary:not(:disabled):hover{background:#423448}.producer:hover{border-color:#ab92b6}.quickstock:hover,.choice:hover{background:#faf8fc}.role:hover{border-color:#bbaac3}}
@media(max-width:1110px){.topin,.wrap{padding-inline:26px}.topin{gap:16px;min-height:67px}.topnav{gap:15px}.work-grid{--side:248px;gap:12px}.prodrow,.listhead{padding-inline:14px;gap:9px;grid-template-columns:minmax(130px,1.4fr) minmax(86px,.9fr) minmax(53px,.52fr) 86px}.step{min-width:83px}.step button{width:25px}.step input{width:30px}.thumb{width:37px;height:43px}.brand-label{display:none}.aside-card{padding:15px}}
@media(max-width:880px){.work-grid{grid-template-columns:minmax(0,1fr)}.side{display:none}.wrap{padding-top:22px}.producer{height:150px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mbar{max-width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;bottom:8px;z-index:4;margin-top:10px;background:#fff;border:1px solid #d8d1dc;box-shadow:0 3px 12px #2318290d;padding:8px 12px;border-radius:11px}.mbar .primary{min-height:38px}.mbar b{font-size:15px}.mbar small{font-size:11px;color:var(--muted)}.mobile-only{display:inline-flex}.producer .card-progress{width:44%}.navlink{font-size:12px}.packart{right:3%}}
@media(max-width:690px){body{background:#faf9fb}.topin,.wrap{padding-inline:16px}.topin{min-height:58px;justify-content:space-between}.brand img{width:89px}.brand-label{display:block;font-size:10px;padding-left:11px}.brand{gap:11px}.topnav{display:none}.role{min-height:40px;padding:4px 9px 4px 5px}.role .avatar{width:25px;height:25px}.role .role-name{font-size:12px}.bottomnav{position:fixed;z-index:6;left:0;right:0;bottom:0;display:flex;align-items:stretch;justify-content:space-evenly;min-height:calc(57px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:white}.bottomnav .navlink{flex:1;flex-direction:column;gap:3px;padding:5px 0 4px;font-size:10.5px;min-height:54px}.bottomnav .navlink.active{color:var(--purple)}.bottomnav .ic{width:20px;height:20px}.wrap{padding-top:19px;padding-bottom:calc(75px + env(safe-area-inset-bottom))}.page-title{min-height:35px;margin-bottom:14px}.page-title h1{font-size:32px}.title-left{gap:8px}.date{font-size:11px;gap:4px}.date .ic{width:13px}.demo-tag{font-size:10px;line-height:16px}.rounds{gap:8px;margin-bottom:16px}.producer{padding:11px 12px;height:132px;border-radius:11px}.producer .over{font-size:10px;gap:4px}.producer .over i{width:4px;height:4px}.producer h2{font-size:23px;line-height:1.1;margin-top:7px;margin-bottom:2px}.producer .hint{font-size:10.5px}.producer .card-progress{left:12px;bottom:10px;width:60%}.card-progress span{font-size:9px}.segments{gap:2px}.segments i{height:3px}.packart{right:-3%;width:37%;height:54%;top:31%;opacity:.79}.packart .back{display:none}.packart .front,.pl .packart .front{width:96%;right:0;height:90%}.selectmark{width:15px;height:15px;inset:8px 8px auto auto}.selectmark .ic{width:10px;height:10px}.rounds.many .producer{flex-basis:46%}.panel{border-radius:11px}.panel-head{padding:14px 12px 0}.section-head h2{font-size:19px}.subline{font-size:11px}.search-toggle{width:36px;height:37px;min-height:36px;justify-content:center;padding:0}.search-toggle span{display:none}.filterrow{margin:10px 0 8px;gap:1px}.chip{min-height:37px;font-size:12px;padding:5px 8px}.listhead{display:none}.prodrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:11px 12px;min-height:108px}.product{grid-column:1;grid-row:1;gap:8px}.prodrow .product{min-height:37px}.prodrow .thumb{width:31px;height:37px}.prodrow .thumb img{max-height:33px}.product-title{font-size:14px}.product-sub{font-size:10.5px;line-height:1.25;margin-top:3px}.prodrow .price{grid-column:2;grid-row:1;font-size:13px}.prodrow .progresscell{grid-column:1;grid-row:2}.prodrow .line-end{grid-column:2;grid-row:2}.qtydata{font-size:11px}.qtydata b{font-size:13px}.linebar{margin-top:4px;max-width:126px}.step{height:38px;min-width:98px}.step button{width:32px}.step input{width:32px;font-size:16px}.line-end small{font-size:10px}.mbar{bottom:calc(62px + env(safe-area-inset-bottom));min-height:54px;padding:6px 9px}.mbar .primary{font-size:12px;padding:9px 11px}.footer-note{margin-top:16px;font-size:10px}.headeractions{gap:4px}.headeractions .secondary{min-height:37px;padding:8px 10px;font-size:12px}.headeractions .date{display:none}.inventory-top{display:grid;grid-template-columns:1fr;gap:4px;margin-bottom:12px}.inventory-top .searchline{width:100%;margin-top:2px}.searchline input,.form-input,select.form-input{font-size:16px}.inventory-grid{grid-template-columns:1fr;gap:10px}.inventory-card{display:grid;grid-template-columns:56px 1fr;padding:13px;gap:8px 12px}.stock-visual{width:56px;height:72px;grid-column:1;grid-row:1 / span 2}.stock-visual img{height:60px;max-width:50px}.inventory-card .stock-info{grid-column:2;grid-row:1}.inventory-card .stock-info h3{font-size:16px}.inventory-card .topstatus{grid-column:2;grid-row:2}.inventory-card .avail{grid-column:1/-1;border:0;border-top:1px solid var(--line);padding:9px 0 0;margin-top:4px}.inventory-card footer{grid-column:1/-1}.inventory-card .data-big{font-size:19px}.inventory-card footer .secondary{min-height:39px}.panel-foot{padding:10px 12px}.order-card{padding:14px}.order-card h3{font-size:15px}.order-total{font-size:16px}.orderitem{flex-wrap:wrap}.orderitem .pill{margin-left:auto}.orderitem span:last-child{text-align:left}.order-card .split{gap:7px}.dlg-head{padding:15px 16px 12px}.dlg-head h2{font-size:21px}.dlg-body{padding:14px 16px}.dlg-foot{padding:10px 16px calc(11px + env(safe-area-inset-bottom))}.dlg-foot .primary{font-size:13px}.icon-btn{width:40px;height:40px}dialog,dialog.wide{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:90dvh;border-radius:17px 17px 0 0;border-bottom:0}.checkline{min-height:44px}.formgrid{gap:8px}.orderitems .small{font-size:12px}#toast{bottom:calc(72px + env(safe-area-inset-bottom));width:max-content}.mobile-none{display:none}.empty{padding:16px}.panel-head .mini-links{gap:5px}}
@media(max-width:359px){.topin,.wrap{padding-inline:11px}.brand-label{display:none}.date{display:none}.producer{padding:10px;height:124px}.producer h2{font-size:21px}.producer .card-progress{left:10px}.chip{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.producer{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.producer .hint{line-height:1.25}
@media(max-width:690px){.step{height:42px;min-width:106px}.step button{width:35px}.chip{min-height:40px}.producer{padding-top:12px}.producer .hint{font-size:11px}.producer .card-progress span{font-size:10px}.role{min-height:42px}.checkline{min-height:44px}}
.linehint,.topup-link{display:block;margin-top:4px;font-size:11px;line-height:1.25;color:var(--muted)}.topup-link{padding:3px 0;color:var(--deep);font-weight:600;text-align:left;text-decoration:underline;text-decoration-color:#cbb6d5;text-underline-offset:3px}
@media(max-width:690px){.topup-link{min-height:32px}.linehint{font-size:10px}}

.terms-toolbar,.cat-tools,.add-lines-intro{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.terms-toolbar{margin-top:15px}
.terms-toolbar .secondary,.add-lines-intro .secondary,.lot-terms{color:var(--deep);background:var(--pale);border-color:#e2d4e8}
.terms-note{color:var(--muted);line-height:1.5;font-size:13px;margin:0 0 16px}
.terms-note.last{margin:12px 0 0}
.term-dates,.add-lines-intro{margin:14px 0}
.terms-list{border-block:1px solid var(--line)}
.term-row{padding:12px 0 15px;min-width:0}
.term-row+.term-row{border-top:1px solid var(--line)}
.term-title{font-size:14px;margin-bottom:8px;line-height:1.35;overflow-wrap:anywhere}
.term-title .checkline{min-height:32px}
.term-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(96px,.8fr);gap:10px;align-items:end}
.term-fields.with-min{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(88px,.9fr)}
.term-field{min-width:0}
.term-field label,.term-result span,.cat-stat small{display:block;font-size:12px;line-height:1.3;color:var(--muted);margin-bottom:5px}
.term-field .form-input{width:100%;min-width:0;font-variant-numeric:tabular-nums}
.term-field input[aria-invalid=true]{border-color:#a62738}
.term-message{color:#922437;font-size:13px;margin:7px 0 0}
.term-result output{display:flex;align-items:center;min-height:40px;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.excluded .term-fields{opacity:.47}
.product-form{display:grid;gap:12px;margin-bottom:6px}
.product-form .formlabel{font-size:13px}
.lot-terms{margin:5px 0 8px}
.cat-tools{margin:0 0 17px}
.cat-tools .searchline{width:min(320px,100%);margin:0}
.cat-tools .form-input{max-width:100%}
.cat-row{display:grid;grid-template-columns:minmax(180px,2.1fr) repeat(3,minmax(76px,.75fr)) auto;align-items:center;gap:16px;padding:14px 20px}
.cat-row+.cat-row{border-top:1px solid var(--line)}
.cat-row .product,.cat-stat{min-width:0}
.cat-row .product-sub,.cat-stat b{overflow-wrap:anywhere}
.cat-stat b{font-size:14px;font-weight:580}
.cat-row .secondary{min-height:36px;padding:7px 12px}
.thumb>.ic,.stock-visual>.ic{color:#866e90;width:55%;height:55%;max-width:42px;max-height:42px}
.packart>.ic{position:absolute;bottom:8%;right:8%;width:52%;height:72%;color:#a798b4;opacity:.55}
.producer h2{max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){
  .cat-row{gap:9px;padding:12px}
}
@media(max-width:690px){
  .cat-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .cat-tools .searchline{width:100%}
  .cat-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 7px}
  .cat-row .product{grid-column:1/3;grid-row:1}
  .cat-row .secondary{grid-column:3;grid-row:1;justify-self:end;font-size:12px;min-height:42px}
  .cat-stat{grid-row:2}
  .cat-stat small{font-size:11px}
  .terms-toolbar{gap:7px;margin-top:10px}
  .terms-toolbar .secondary,.add-lines-intro .secondary{padding:8px 11px;font-size:13px;min-height:42px}
  .term-fields,.term-fields.with-min{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
  .term-fields:not(.with-min) .term-result{grid-column:1/-1;display:flex;align-items:center;gap:7px}
  .term-fields:not(.with-min) .term-result span{margin:0}
  .term-fields:not(.with-min) .term-result output{min-height:24px}
  .term-field .form-input{min-height:44px}
  .term-row{padding:12px 0}
  .term-row .checkline{min-height:40px}
  .product-form{gap:10px}
  .term-dates{grid-template-columns:repeat(2,minmax(0,1fr))}
  .four-tabs .navlink{min-width:0;font-size:10px;white-space:normal;line-height:1.1}
}
.photo-editor{display:flex;align-items:center;gap:15px;margin-bottom:17px}
.photo-tile{flex:none;width:79px;height:86px;border:1px solid var(--line);background:var(--soft);border-radius:11px;display:grid;place-items:center;overflow:hidden}
.photo-tile img{max-width:90%;max-height:78px;object-fit:contain}
.photo-tile .ic{width:30px;height:30px;color:var(--quiet)}
.photo-options{min-width:0}
.photo-options strong{display:block;font-size:14px;margin-bottom:5px}
.photo-actions,.lot-actions,.source-pick{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.photo-actions .secondary,.photo-actions .linkbtn,.lot-actions .secondary{padding:7px 11px;min-height:38px}
.photo-picker{position:relative;overflow:hidden;cursor:pointer}
.photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.photo-picker:focus-within{outline:2px solid var(--purple);outline-offset:2px}
.photo-error{display:block;color:#922437;margin-top:6px;font-size:12px}
.photo-tile img[hidden],.stock-visual img[hidden],.thumb img[hidden],.packart img[hidden]{display:none}
.batch-label{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.empty-lots{width:fit-content;margin:-5px 0 11px;color:var(--muted);font-size:12px}
.empty-lots input{width:15px;height:15px}
.lot-form{display:grid;gap:12px;min-width:0}
.lot-form .formlabel{font-size:13px;min-width:0}
.lot-form .source-pick{align-items:center;padding-bottom:2px}
.source-pick .chip{display:inline-flex;gap:7px;align-items:center}
.source-pick .ic{width:16px;height:16px}
.stock-help,.lot-preview,.lot-form .formlabel small{color:var(--muted);font-size:12px;line-height:1.45}
.stock-help{margin:-7px 0 0}
.lot-form .term-row{padding:0}
.lot-eta{margin-top:12px}
.lot-preview:not(:empty){padding:8px 11px;background:var(--pale);color:var(--deep);border-radius:7px;font-weight:560}
.lot-preview:empty{display:none}
.lot-history{border-top:1px solid var(--line);margin-top:15px;padding-top:8px}
.lot-history summary{cursor:pointer;padding:9px 0;font-size:14px;font-weight:560}
.lot-history summary small{margin-left:4px;color:var(--muted)}
.lot-history ol{list-style:none;margin:0;padding:0}
.lot-history li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding:9px 0}
.lot-history b,.lot-history small{display:block;font-size:13px;overflow-wrap:anywhere}
.lot-history small{font-size:11px;color:var(--muted);margin-top:3px}
@media(max-width:690px){
  .page-title:has(.add-stock){flex-wrap:wrap;gap:8px}
  .page-title .add-stock{min-height:42px;font-size:13px;padding:9px 12px}
  .photo-picker,.photo-actions .linkbtn,.lot-actions .secondary{min-height:42px}
  .lot-form .form-input{min-height:44px}
  .lot-form select.form-input{text-overflow:ellipsis}
}
