/* CRM_PRODUCT_MASTER_GOVERNANCE_UI_V1 */
.product-dialog{width:min(980px,calc(100vw - 24px));max-width:none}.product-dialog.product-wide{width:min(1260px,calc(100vw - 24px));max-width:none}.product-dialog .modal-card{width:100%;max-height:calc(100vh - 24px);overflow:auto}.product-head,.product-detail-head{display:flex;justify-content:space-between;gap:18px;padding-right:30px}.product-form{display:grid;gap:14px}.product-footer,.product-detail-actions{position:sticky;bottom:0;z-index:8;display:flex;justify-content:flex-end;gap:8px;margin:0 -23px -23px;padding:14px 23px;border-top:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.product-filter{display:grid;grid-template-columns:1fr 260px auto auto;gap:10px;margin:14px 0}.product-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#eef2f7;color:#52606d;white-space:nowrap}.product-status.ACTIVE{background:#e8f8f1;color:#257a59}.product-status.PENDING_ACCOUNTING_REVIEW,.product-status.PENDING_FINAL_APPROVAL{background:#fff3d8;color:#8b5b00}.product-status.REJECTED,.product-status.CANCELLED{background:#fdebec;color:#b42318}.product-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;margin:16px 0}.product-summary-grid>div{border:1px solid var(--line);border-radius:12px;padding:12px}.product-summary-grid small{display:block;color:var(--muted);margin-bottom:5px}.product-inline-panel{padding:14px;margin:12px 0}.product-spec{white-space:pre-wrap;font:inherit;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:14px}.product-timeline{display:grid;gap:10px}.product-timeline article{border-left:3px solid #cbd5e1;padding:8px 12px}.product-timeline article span,.product-list small{display:block;color:var(--muted);margin-top:4px}.product-list td{vertical-align:top}.product-metrics{grid-template-columns:repeat(5,minmax(150px,1fr))}
@media(max-width:900px){.product-filter{grid-template-columns:1fr}.product-summary-grid{grid-template-columns:repeat(2,1fr)}.product-metrics{grid-template-columns:repeat(2,1fr)}}

.product-inventory-help{padding:10px 12px;border-radius:10px;background:#f8fafc;color:var(--muted);font-size:12px}
.product-media-summary{display:flex;align-items:center;gap:16px;margin:12px 0 18px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.product-media-summary img{width:100px;height:100px;object-fit:contain;border-radius:10px;background:#fff}
