*{box-sizing:border-box;letter-spacing:0}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#242424;background:#f7f8f7;font-family:-apple-system,BlinkMacSystemFont,Microsoft YaHei UI,PingFang SC,sans-serif}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit;-webkit-tap-highlight-color:transparent}:is(button:focus-visible,input:focus-visible,select:focus-visible){outline-offset:3px;outline:2px solid #333}button:disabled{cursor:wait;opacity:.55}.app-shell{max-width:760px;padding:26px 18px calc(20px + env(safe-area-inset-bottom));margin:0 auto}.page-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{color:#777;font-size:10px}h1{margin:6px 0 8px;font-size:27px;font-weight:750;line-height:1.2}.page-subtitle{color:#606060;align-items:center;gap:10px;margin:0;font-size:13px;display:flex}.readonly{color:#777;border-left:1px solid #ddd;align-items:center;gap:4px;padding-left:10px;font-size:11px;display:inline-flex}.icon-button{background:#fff;border:1px solid #dedede;border-radius:6px;place-items:center;width:42px;height:42px;display:grid}.icon-button:hover{background:#efefef}.sync-line{color:#666;flex-wrap:wrap;align-items:center;gap:6px;margin:22px 0 12px;font-size:11px;display:flex}.sync-line time{margin-left:auto}.message{color:#8c5826;background:#fff4e8;border-radius:5px;align-items:center;gap:8px;margin:10px 0;padding:10px 12px;font-size:12px;line-height:1.6;display:flex}.message svg{flex:none}.message button{color:inherit;white-space:nowrap;background:0 0;border:none;text-decoration:underline}.message.stale{background:#f0eee8}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 0 20px;display:grid}.metric{text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;min-height:86px;padding:12px 10px}.metric.active{background:#fff;border-color:#b9b9b9}.metric-title{font-size:12px;line-height:1.5;display:block}.metric-number{align-items:baseline;gap:7px;margin-top:7px;font-family:Arial,sans-serif;font-size:29px;line-height:1;display:flex}.metric-number small{color:#777;font-family:inherit;font-size:10px}.filters{padding-bottom:12px}.search-box{color:#777;background:#fff;border:1px solid #ddd;border-radius:6px;align-items:center;gap:8px;height:44px;padding:0 12px;display:flex}.search-box input{color:#222;background:0 0;border:none;outline:none;width:100%;min-width:0;height:100%;font-size:16px}.search-box input::placeholder{color:#777;font-size:13px}.clear-search{background:0 0;border:none;flex:none;place-items:center;width:28px;height:32px;display:grid}.categories{scrollbar-width:thin;gap:6px;margin-top:12px;padding-bottom:4px;display:flex;overflow-x:auto}.categories button{background:0 0;border:1px solid #0000;border-radius:5px;flex:none;min-height:38px;padding:9px 13px;font-size:13px}.categories button.selected{color:#fff;background:#242424}.inventory{background:#fff;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}.list-heading{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:10px;padding:16px 14px 13px;display:flex}h2{margin:0;font-size:14px;font-weight:650}.list-heading>div{align-items:center;gap:12px;display:flex}.list-heading span{color:#777;font-size:11px}.list-heading select{color:#444;background:#fff;border:1px solid #ddd;border-radius:4px;max-width:118px;padding:6px 4px;font-size:12px}.product{border-bottom:1px solid #eee}.product:last-child{border-bottom:none}.product-summary{text-align:left;background:#fff;border:none;align-items:center;gap:7px;width:100%;min-height:82px;padding:17px 12px;display:flex}.product-summary:hover,.product.open>.product-summary{background:#fafafa}.chevron{color:#888;flex:none;width:18px}.product-name{flex:1;min-width:0}.product-name strong{overflow-wrap:anywhere;font-size:15px;font-weight:650;line-height:1.5;display:block}.product-name small{color:#747474;margin-top:5px;font-size:11px;line-height:1.4;display:block}.product-state{text-align:right;flex:none}.product-state small{color:#777;margin-top:7px;font-size:11px;display:block}.badge{white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:11px;line-height:1.4;display:inline-block}.expired{color:#ad4031}.badge.expired{background:#fff0ed}.soon{color:#906310}.badge.soon{background:#fff5e3}.normal{color:#427053}.badge.normal{background:#edf5ef}.pending,.archived{color:#666}.badge.pending,.badge.archived{background:#f0f0f0}.batch-list{background:#fafafa;padding:0 14px 2px 30px}.batch{border-top:1px solid #e8e8e8;padding:14px 0 16px}.batch-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.batch-title strong{font-size:12px;font-weight:550}dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:13px 0 10px;display:grid}dt{color:#777;margin-bottom:4px;font-size:11px}dd{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.expired-text{color:#ad4031}.batch-note{color:#555;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 8px;font-size:12px;line-height:1.6}.updated{color:#777;font-size:10px}.empty{text-align:center;color:#777;padding:50px 20px;font-size:13px}.empty svg{margin:0 auto}.empty button{background:#fff;border:1px solid #ddd;border-radius:5px;padding:8px 12px}.page-footer{color:#777;align-items:center;gap:6px;padding-top:18px;font-size:10px;display:flex}.page-footer span:last-child{margin-left:auto}.spinning{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:480px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding-bottom:16px}.metric{min-height:78px;padding:10px 12px}.list-heading{align-items:flex-start}.list-heading>div{flex-direction:column-reverse;align-items:flex-end;gap:6px}.product-summary{padding:16px 10px}}@media (prefers-reduced-motion:reduce){.spinning{animation:none}}
