/* CRM_PRODUCT_WORKSPACE_V1 */
.pw-filter-shell{display:grid;gap:16px;margin-bottom:16px;padding:20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff)}
.pw-filter-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.pw-filter-head h2{margin:3px 0 7px}.pw-filter-head p{margin:0;color:var(--muted)}
.pw-filter-form{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(4,minmax(150px,1fr)) auto;gap:10px;align-items:end}.pw-filter-form label{display:grid;gap:5px;font-size:12px;color:var(--muted)}.pw-filter-form input,.pw-filter-form select{min-width:0}.pw-filter-actions,.pw-head-actions{display:flex;gap:8px;align-items:center}.pw-search{min-width:240px}
.pw-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:14px 0 16px}.pw-metric{display:grid;gap:5px;text-align:left;min-height:94px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit}.pw-metric:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(15,23,42,.08)}.pw-metric small,.pw-metric span{color:var(--muted)}.pw-metric strong{font-size:22px}.pw-metric.GREEN{border-color:#a7e4ca;background:#f3fbf7}.pw-metric.YELLOW{border-color:#f7d78b;background:#fffaf0}.pw-metric.RED{border-color:#f3b4b8;background:#fff7f7}.pw-metric.BLUE{border-color:#b8d7ff;background:#f5f9ff}
.pw-breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.pw-breakdown-grid article{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.pw-breakdown-grid h4{margin:0 0 12px}.pw-breakdown-list{display:grid;gap:10px}.pw-breakdown-list>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(80px,1.4fr) 52px;align-items:center;gap:9px}.pw-breakdown-list span{display:flex;justify-content:space-between;gap:8px}.pw-breakdown-list small{color:var(--muted)}.pw-breakdown-list i{height:7px;border-radius:999px;background:#edf2f7;overflow:hidden}.pw-breakdown-list em{display:block;height:100%;border-radius:inherit;background:#4f7cff}.pw-breakdown-list strong{text-align:right;font-size:12px}
.pw-list-panel{margin-top:16px}.pw-table td{vertical-align:top}.pw-table small{display:block;color:var(--muted);margin-top:4px}.pw-status,.pw-stock,.pw-price-state{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;background:#eef2f7;color:#52606d}.pw-status.ACTIVE,.pw-stock.GREEN,.pw-price-state.HEALTHY{background:#e8f8f1;color:#257a59}.pw-status.PENDING_ACCOUNTING_REVIEW,.pw-status.PENDING_FINAL_APPROVAL,.pw-stock.YELLOW,.pw-price-state.MISSING_FLOOR,.pw-price-state.MISSING_COST{background:#fff3d8;color:#8b5b00}.pw-status.REJECTED,.pw-status.CANCELLED,.pw-stock.RED,.pw-price-state.BELOW_FLOOR,.pw-price-state.NON_POSITIVE_MARGIN{background:#fdebec;color:#b42318}.pw-stock.GRAY{background:#edf0f3;color:#475467}.pw-create-landing{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:180px;padding:26px}.pw-create-landing h2{margin:5px 0 8px}.pw-create-landing p{max-width:720px;color:var(--muted)}
@media(max-width:1180px){.pw-filter-form{grid-template-columns:repeat(3,minmax(150px,1fr))}.pw-search{grid-column:span 2}}
@media(max-width:760px){.pw-filter-head,.pw-create-landing{align-items:stretch;flex-direction:column}.pw-filter-form{grid-template-columns:1fr}.pw-search{grid-column:auto}.pw-filter-actions{justify-content:stretch}.pw-filter-actions button{flex:1}.pw-breakdown-list>div{grid-template-columns:1fr 80px 45px}}
