.pm-manager{margin-top:16px}.pm-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.pm-heading h1{margin:0;font-size:26px}.pm-heading p{margin:6px 0 0;color:#887769;font-size:13px}.pm-tools{display:flex;gap:8px;flex-wrap:wrap}.pm-filters{display:flex;gap:12px;align-items:end;background:white;border:1px solid #eadfd5;border-radius:12px;padding:14px;margin-bottom:14px}.pm-filters label{display:grid;gap:6px;font-size:12px;color:#786759}.pm-filters label:first-child{flex:1}.pm-filters input,.pm-filters select{width:100%;margin:0;min-height:40px;box-sizing:border-box}.pm-filters [data-pm-count]{font-size:12px;white-space:nowrap;padding-bottom:12px;color:#887769}.pm-scroll{overflow-x:auto;border:1px solid #eadfd5;border-radius:12px;background:white}.pm-table{width:100%;border-collapse:collapse;min-width:850px;text-align:left}.pm-table th{background:#faf6f1;color:#887769;font-size:12px;font-weight:500;padding:12px 16px}.pm-table td{padding:14px 16px;border-top:1px solid #f0e8e1;vertical-align:middle;font-size:14px}.pm-table tr:hover{background:#fffcf9}.pm-table tr[hidden]{display:none}.pm-product{display:flex;align-items:center;gap:12px;min-width:190px}.pm-product img,.pm-placeholder{width:58px;height:58px;object-fit:contain;border-radius:8px;background:#fff8ef;flex-shrink:0}.pm-product strong{display:block;max-width:230px;overflow-wrap:anywhere}.pm-product small{display:block;margin-top:7px;font-size:11px;color:#a27450}.pm-price{font-weight:700;color:#fa653c;white-space:nowrap}.pm-status{display:block;margin-top:6px;color:#a37b53;font-size:12px}.pm-status.pm-on{color:#27835c}.pm-values span{display:block;font-size:12px;line-height:1.8;color:#8a7b70;white-space:nowrap}.pm-values b{font-weight:500;color:#49382b;margin-left:8px}.pm-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:265px}.pm-actions button{font-size:12px;padding:8px 10px;min-height:34px;border-radius:7px;margin:0}.pm-actions details{width:100%;font-size:12px;color:#8a6243}.pm-actions summary{cursor:pointer;padding:5px 0}.pm-actions details>div{display:flex;flex-wrap:wrap;gap:6px;padding:5px 0}.pm-actions button[data-action^="delete-product:"]{color:#bf4238;border-color:#efc8c2;background:#fff6f4}.pm-empty{text-align:center;padding:32px;color:#8a7b70}.pm-empty[hidden]{display:none}@media(min-width:1400px){body:has(.pm-manager) main{max-width:1440px}}@media(max-width:650px){.pm-heading{align-items:flex-start;flex-direction:column}.pm-filters{flex-wrap:wrap}.pm-filters label:first-child{flex:1 1 100%}.pm-filters label{flex:1}.pm-filters [data-pm-count]{padding-bottom:12px}.pm-heading h1{font-size:22px}}
@media(max-width:700px){.pm-scroll{overflow:visible;border:0;background:transparent}.pm-table,.pm-table tbody{display:block;min-width:0;width:100%}.pm-table thead{display:none}.pm-table tr{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #eadfd5;border-radius:12px;margin-bottom:12px;padding:12px;gap:8px}.pm-table td{border:0;padding:0;min-width:0}.pm-table td:first-child{grid-column:1/-1}.pm-product{min-width:0}.pm-product img,.pm-placeholder{width:52px;height:52px}.pm-product strong{max-width:none}.pm-table td:nth-child(2){font-size:20px;align-self:center}.pm-table td:nth-child(3){text-align:right}.pm-table td:nth-child(3)>strong:before{content:"库存 ";font-size:12px;font-weight:400}.pm-table td:nth-child(4){grid-column:1/-1;background:#faf7f3;border-radius:7px;padding:8px;display:flex;flex-wrap:wrap;gap:4px 12px}.pm-table td:last-child{grid-column:1/-1}.pm-actions{max-width:none;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pm-actions button{min-height:44px;padding:8px 4px;font-size:12px}.pm-actions details{grid-column:1/-1}.pm-actions summary{min-height:32px;display:flex;align-items:center}.pm-actions details>div{display:grid;grid-template-columns:repeat(3,1fr)}body:has(.pm-manager) main{padding:12px;width:100%;box-sizing:border-box}.pm-tools{width:100%}.pm-tools button{min-height:44px}.pm-filters input,.pm-filters select{font-size:16px;min-height:44px}}

.pm-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0 24px}.pm-pagination button{min-height:44px;padding:10px 14px}.pm-pagination span{font-size:12px;color:#786759;text-align:center}.pm-pagination button:disabled{opacity:.4;cursor:default}
