.dialog-alert{position:sticky;top:0;z-index:8;padding:12px;border:1px solid #9c3342;background:#fff3f3;color:#7b1828;font-size:14px;line-height:1.6;max-height:30vh;overflow:auto;flex-basis:100%}
.dialog-alert.ok{background:#e8f6ee;border-color:#26734b;color:#175331}.reference-identity-warning{font-size:14px}.estimate-warning{display:block;color:#864200;font-size:13px}.site-price.neutral{background:#f1f3f6;border-color:#a8b1be;color:#344054}.site-price.invalid{background:#fff0f0;border-color:#b94343;color:#8a2020}.sync-warning{color:#864200}.source-update-status{position:sticky;top:0;z-index:20;padding:10px;background:#eaf2ff;border:1px solid #667f9c;font-size:14px}[data-zero-sku]{display:block;margin:8px 0}.savebar{visibility:visible!important}.cost-comparison small,.reference-source{font-size:13px}
/* Keep Claude's desktop columns and mobile cards; compact only repeated price details. */
.compact-grade{display:flex;flex-direction:column;gap:3px}.compact-grade>small,.compact-grade .site-price small{font-size:13px}.compact-grade .price{white-space:nowrap;font-size:20px;line-height:1.3}.compact-grade .price>small{font-size:12px;font-weight:400}.compact-grade .site-price{padding:3px 5px;min-height:0}.compact-grade .site-price>small{display:none}.compact-grade .site-price a{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.compact-grade .site-price a span{font-size:12px}.compact-grade .site-price a strong{font-size:15px}.compact-profit{color:#305b47}.compact-profit.loss{color:#9c2430}.compact-cost{color:#526072}.compact-grade.inactive-grade-cell{opacity:1;color:#526072}.compact-grade .site-price:before{content:'الحالي ';font-size:12px}
@media(min-width:761px){.products-panel table{table-layout:fixed;min-width:0!important;width:100%;white-space:normal}.products-panel th,.products-panel td{padding:7px 5px;overflow-wrap:anywhere}.products-panel th:first-child{width:26%}.products-panel th:nth-child(2){width:12%}.products-panel th:nth-last-child(3){width:11%}.products-panel th:nth-last-child(2){width:12%}.products-panel th:last-child{width:8%}.products-panel .price{font-size:18px;white-space:normal}.products-panel .product-cell{min-width:0!important;gap:7px}.products-panel .product-cell>div{min-width:0}.products-panel .product-image{width:38px;height:38px;flex-shrink:0}.products-panel .product-name{font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.products-panel .stock-grades{gap:3px}.products-panel .product-meta{gap:4px;flex-wrap:wrap}.products-panel .stock-badge,.products-panel .meta-brand,.products-panel .audit-pill{font-size:12px;padding:1px 4px}.products-panel .date,.products-panel .subline,.products-panel .match-label{font-size:13px}.products-panel .subline{margin:2px 0}.products-panel .reference-name{max-height:36px;overflow:hidden}.products-panel td .helper{font-size:12px}.products-panel .price-comparison{gap:3px}}
@media(max-width:760px){.sidebar:not(.mobile-menu-open) .sidebar-tools{display:none!important}.compact-grade .site-price{border-radius:6px}.compact-grade .site-price a{justify-content:center}.compact-grade .site-price:before{display:block}.compact-grade .site-price a span{font-size:11px}}

.inspection-quantity-row{padding:16px;border:1px solid #cbd5e1;border-radius:12px;margin:12px 0;background:#fff}.inspection-quantity-row label{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.inspection-quantity-row input[type=number]{min-height:44px;width:130px;font-size:18px}.physical-statuses .audit-pill.pending{background:#fff1f2;color:#9f1239;border-color:#fda4af}.physical-statuses .audit-pill.matched{background:#ecfdf5;color:#166534;border-color:#86efac}
