:root{font-family:var(--p-font-family-sans,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif);color:#303030;background:#f6f6f7;font-synthesis:none;text-rendering:optimizeLegibility;color-scheme:light;--border:#e3e3e3;--muted:#616161;--surface:#fff;--subdued:#f6f6f7;--green:#008060;--red:#d72c0d}
*{box-sizing:border-box}
body{margin:0;min-width:360px;background:#f6f6f7;color:#303030;font-size:13px}
button,input,select{font:inherit}
.app-content{max-width:1440px;margin:0 auto;padding:20px 28px 42px}
.toolbar{display:flex;align-items:center;gap:8px;min-height:43px;padding:5px 7px;border:1px solid #e3e3e3;border-radius:10px;background:#fff;box-shadow:0 1px 1px #00000007}
.search-box,.category-search-box{position:relative;display:flex;align-items:center;gap:9px;min-width:220px;min-height:32px;padding:0 9px;border-radius:6px;background:transparent}
.search-box{flex:1}
.search-icon{color:#616161;font-size:19px;line-height:1}
.search-box input,.category-search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#303030;font-size:13px}
.search-box input::placeholder,.category-search-box input::placeholder{color:#616161}
.status-filter select{height:32px;min-width:72px;padding:0 24px 0 9px;border:0;border-left:1px solid #e3e3e3;background:#fff;color:#303030;font-size:13px}
.toolbar-count{padding:0 9px;color:#616161;font-size:12px;white-space:nowrap}
.selection-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding:10px 12px;border:1px solid #d4e4dc;border-radius:8px;background:#f1f8f5}
.selection-copy{min-width:112px;color:#303030;font-size:13px}
.selection-copy strong{font-weight:650}
.category-picker{position:relative;flex:1;min-width:220px;max-width:480px}
.category-search-box{min-height:36px;border:1px solid #c9cccf;border-radius:6px;background:#fff}
.category-search-box:focus-within{border-color:#008060;box-shadow:0 0 0 1px #008060}
.category-options{position:absolute;top:41px;left:0;right:0;z-index:5;max-height:300px;overflow:auto;border:1px solid #e3e3e3;border-radius:8px;background:#fff;box-shadow:0 6px 18px #0002}
.category-option{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;color:#303030;text-align:left;font-size:12px;cursor:pointer}
.category-option:last-child{border-bottom:0}
.category-option:hover,.category-option:focus{background:#f6f6f7}
.category-option:disabled{cursor:not-allowed;color:#8c9196}
.category-option small{display:block;margin-top:3px;color:#616161;font-size:10px}
.category-selection{display:inline-block;margin-top:5px;color:#006e52;font-size:11px}
.selection-notice{margin:10px 2px 0;color:#616161;font-size:12px}
.selection-notice.error{color:#b42318}
.table-scroll{position:relative;min-height:110px;overflow-x:auto;border-radius:8px;background:#fff}
.product-link{display:flex;align-items:center;gap:12px;min-width:0;color:#202223;text-decoration:none;font-weight:500}
.product-link:hover{text-decoration:underline;color:#005bd3}
.product-image{width:36px;height:36px;flex:none;object-fit:cover;border:1px solid #e3e3e3;border-radius:7px;background:#f6f6f7}
.image-placeholder{display:grid;place-items:center;color:#8c9196;font-size:18px}
.product-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.status-badge{display:inline-flex;align-items:center;min-height:21px;padding:2px 8px;border-radius:99px;background:#f1f2f3;color:#303030;font-size:11px}
.status-badge.active{background:#aee9d1;color:#004c3f}
.status-badge.draft{background:#e4f1ff;color:#005bd3}
.status-badge.archived{background:#f1f2f3;color:#616161}
.inventory-empty{color:#8c9196}
input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#008060;vertical-align:middle;cursor:pointer}
.loading-state,.empty-state{display:flex;min-height:160px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:28px;color:#616161;text-align:center}
.empty-state strong{color:#303030;font-size:14px;font-weight:600}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid #e3e3e3;background:#fff;color:#616161;font-size:12px}
.pagination-buttons{display:flex;gap:8px}
.footer-help{display:flex;align-items:center;gap:9px;color:#616161;font-size:12px}
.help-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e3f1e8;color:#008060;font-size:12px}
.confirm-dialog{width:min(460px,calc(100vw - 32px));padding:0;border:0;border-radius:12px;background:#fff;box-shadow:0 18px 50px #0003}
.confirm-dialog::backdrop{background:#20222366}
.confirm-dialog form{padding:24px}
.dialog-eyebrow{color:#616161;font-size:10px;font-weight:650;letter-spacing:.7px}
.confirm-dialog h2{margin:9px 0;font-size:20px;font-weight:600}
.confirm-dialog p{margin:0;color:#616161;line-height:1.5}
.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
.toast{position:fixed;right:18px;bottom:18px;z-index:10;max-width:min(380px,calc(100vw - 36px));padding:12px 16px;border-radius:8px;background:#202223;color:#fff;box-shadow:0 5px 20px #0003;font-size:13px;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .16s,transform .16s}
.toast.show{opacity:1;transform:translateY(0)}
.toast.error{background:#b42318}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.app-content{padding:12px 14px 28px}.selection-toolbar{align-items:stretch}.selection-copy{align-self:center}.category-picker{min-width:100%;max-width:none}.toolbar-count{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
