:root{color:#151817;background:#f3f4f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.app-shell{display:grid;gap:10px;width:100%;max-width:100vw;min-height:100vh;padding:12px;overflow-x:hidden}.app-shell>*{min-width:0;max-width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d8ddd8;background:#fff}.topbar>*{min-width:0}.section-label{margin:0 0 8px;color:#6a6f67;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0;overflow-wrap:anywhere}h1{max-width:880px;margin-bottom:0;font-size:1.35rem;line-height:1.08;letter-spacing:0}h2{margin-bottom:0;font-size:1.2rem;line-height:1.1;letter-spacing:0}h3{margin-bottom:8px;font-size:1.03rem}.status-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.token-field{min-width:min(100%,320px);text-align:left}.token-field input{margin-top:6px;background:#fff}.status{padding:6px 8px;border:1px solid #d7d3c7;color:#635f55;background:#f4f0e7;font-size:.84rem;font-weight:800;white-space:normal}.status.is-ok{color:#143f2a;background:#d9f4e4;border-color:#9bd4b1}.tabbar{display:flex;gap:4px;width:100%;max-width:100%;overflow-x:auto;padding:5px;border:1px solid #d7d3c7;background:#fff}.tabbar button{flex:0 0 auto;padding:7px 9px;color:#39423a;background:#eef1ee;font-size:.82rem;font-weight:800}.tabbar button.active{color:#fff;background:#1d2b22}.two-column{display:grid;grid-template-columns:250px minmax(0,1fr);gap:10px}.three-column{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.filter-rail,.form-panel,section{border:1px solid #d7d3c7;background:#fff}section{padding:12px}.filter-rail,.form-panel{display:flex;flex-direction:column;gap:9px;padding:12px}.filter-rail{position:sticky;top:10px;align-self:start}.form-stack{display:grid;gap:16px}.filter-heading,.section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin-bottom:10px}.section-header>*,.filter-heading>*{min-width:0}.filter-heading h2{font-size:1.2rem}label{display:grid;gap:4px;color:#434a43;font-size:.75rem;font-weight:800;text-transform:capitalize}input,select,textarea{width:100%;min-width:0;padding:7px 8px;border:1px solid #d5d0c3;color:#17201b;background:#fff;font-size:.84rem;font-weight:500}textarea{min-height:140px;resize:vertical}.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle-row{display:flex;align-items:center;gap:9px}.toggle-row input{width:17px;height:17px}.filter-heading button,.form-panel button,.actions button,.actions a{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:6px 8px;color:#fff;background:#284038;font-size:.76rem;font-weight:800;text-decoration:none;white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.freshness-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:6px;margin-bottom:10px}.freshness-panel div{padding:8px;border:1px solid #e2ded3;background:#f4f0e7}.freshness-panel span{display:block;margin-bottom:5px;color:#6a6f67;font-size:.72rem;font-weight:900;text-transform:uppercase}.freshness-panel strong{display:block;color:#17201b;font-size:.98rem}.product-card,.wide-card,.metric-card{border:1px solid #e2ded3;background:#fbfaf6}.product-card img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#e9e3d7}.product-card div,.wide-card,.metric-card{padding:10px}.product-card span,.wide-card span,.metric-card span{display:block;margin-bottom:5px;color:#7f3f2a;font-size:.68rem;font-weight:900;text-transform:uppercase}.product-card p,.wide-card p{color:#5e665f;line-height:1.35;margin-bottom:6px;font-size:.82rem}.product-card strong{display:block;margin-top:6px;font-size:.92rem}.sale-badge{display:inline-block;width:fit-content;margin-top:8px;padding:5px 8px;color:#7f1d1d;background:#fee2e2;border:1px solid #fecaca;font-size:.78rem}.signal-row{display:flex;flex-wrap:wrap;gap:5px;padding:2px 0 0!important}.product-card .signal-row,.wide-card .signal-row{padding:2px 0 4px!important}.product-card span.signal-chip,.wide-card span.signal-chip{display:inline-flex;width:fit-content;max-width:100%;margin:0;padding:4px 6px;border:1px solid #d6e0d1;background:#edf5e9;color:#315336;font-size:.68rem;line-height:1.15;text-transform:none;overflow-wrap:anywhere}.product-card em{margin-left:8px;color:#828176;font-style:normal;text-decoration:line-through}.actions{display:flex;flex-wrap:wrap;gap:4px;max-width:100%;padding:8px 0 0!important}.product-card .actions button,.product-card .actions a{flex:1 1 calc(33.333% - 4px);min-width:52px;padding-inline:4px;overflow:hidden;text-overflow:ellipsis}.stack-list{display:grid;gap:12px}.list-summary{margin:-4px 0 8px;color:#687169;font-size:.78rem;font-weight:800}.compact-list{gap:6px;margin-top:8px}.inline-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid #e2ded3}.inline-row span{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-row button{min-height:28px;padding:5px 8px}.queue-card .actions button{flex:1 1 120px}.review-payload{display:grid;gap:3px;margin-top:8px;padding-top:8px;border-top:1px solid #e2ded3}.review-payload span{margin:0;color:#4f5a52;font-size:.72rem;line-height:1.25;text-transform:none}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.metric-card strong{display:block;font-size:2rem}.error-text{padding:14px;color:#a13624;background:#ffe8df;border:1px solid #f0b59f;font-weight:800}.notice-text{padding:14px;color:#143f2a;background:#d9f4e4;border:1px solid #9bd4b1;font-weight:800}.auth-state{max-width:720px}.auth-state p:last-child{margin:8px 0 0;color:#4f5a52;font-weight:700}.wide-card a{color:#7f3f2a;font-weight:800}.empty-state{padding:28px;border:1px dashed #c8c1b3;color:#5e665f;background:#fbfaf6;font-weight:800}.image-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;color:#6a6f67;background:#e9e3d7;font-weight:800}.import-panel{margin-bottom:18px}.intake-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}@media(max-width:900px){.app-shell{padding:8px}.topbar,.two-column,.three-column,.filter-heading,.section-header{grid-template-columns:1fr;display:grid}.filter-rail{position:static}.status-group{justify-content:flex-start}.tabbar{flex-wrap:wrap;overflow-x:visible}.tabbar button{flex:1 1 108px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}}
