.products-view.empty-view { --pd-green:#117865; --pd-dark:#163d38; --pd-muted:#72817f; --pd-border:#e4eae7; color:#243d39; padding:6px 0 0; background:transparent; border:0; box-shadow:none; }
.pd-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:8px 0 28px; }
.pd-eyebrow { display:flex; align-items:center; gap:8px; font-size:10px; letter-spacing:.16em; font-weight:800; color:#69827a; }
.pd-eyebrow > span { width:7px; height:7px; border-radius:50%; background:#21a884; box-shadow:0 0 0 4px #e2f2eb; }
.pd-heading h2 { margin:10px 0 9px; color:#173e37; font-size:34px; letter-spacing:-.045em; line-height:1.15; font-weight:750; }
.pd-heading h2 > span { color:#25a380; }
.pd-heading p { color:#75817e; font-size:13px; line-height:1.6; }
.pd-actions { display:flex; gap:9px; flex-shrink:0; }
.pd-button { min-height:41px; padding:10px 16px; display:inline-flex; align-items:center; justify-content:center; gap:9px; border:1px solid #dce5e0; border-radius:9px; background:white; color:#3c5550; font-size:12px; font-weight:700; }
.pd-button:hover { background:#f2f7f4; border-color:#b6cec1; }
.pd-button > span { font-size:19px; font-weight:400; line-height:16px; }
.pd-button.pd-primary { background:#147b64; color:white; border-color:#147b64; box-shadow:0 3px 5px #147b6410; }
.pd-button.pd-primary:hover { background:#0d6652; }
.pd-button:disabled { opacity:.5; cursor:wait; }
.pd-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:24px; }
.pd-metric { border:1px solid var(--pd-border); border-radius:13px; padding:19px 20px 17px; background:#fff; position:relative; min-height:132px; }
.pd-metric-label { color:#6c7c76; font-size:12px; font-weight:600; display:flex; align-items:center; gap:9px; }
.pd-metric-icon { position:absolute; right:16px; top:15px; width:29px; height:29px; border-radius:8px; display:grid; place-items:center; background:#f0f6f2; color:#7a9b89; font-size:15px; }
.pd-metric strong { display:block; color:#24463c; font-size:29px; font-weight:720; letter-spacing:-.035em; margin:12px 0 7px; line-height:1; font-variant-numeric:tabular-nums; }
.pd-metric small { font-size:11px; color:#8b9690; }
.pd-metric.featured { background:#183f35; border-color:#183f35; }
.pd-metric.featured .pd-metric-label,.pd-metric.featured small { color:#abc7b8; }
.pd-metric.featured strong { color:#fff; }
.pd-metric.featured .pd-metric-icon { background:#ffffff0f; color:#9bceb3; }
.pd-metric.warning strong { color:#c08435; }
.pd-metric .pd-metric-link { border:0; background:transparent; padding:0; color:#8a6b3b; font-size:11px; text-align:left; text-decoration:underline; text-underline-offset:3px; }
.pd-reference-bar { display:flex; justify-content:space-between; align-items:center; gap:18px; background:#f7f5ec; border:1px solid #eae5d0; border-radius:10px; padding:13px 17px; margin:-7px 0 20px; }
.pd-reference-bar strong { display:block; color:#8b7952; font-size:11px; }
.pd-reference-bar span { display:block; font-size:10px; color:#a1957b; line-height:1.6; margin-top:4px; }
.pd-reference-bar > div:last-child { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; flex-shrink:0; }
.pd-reference-bar button { border:1px solid #e7e0ca; border-radius:5px; padding:6px 8px; background:#fffcf6; color:#95825d; font-size:10px; white-space:nowrap; }
.pd-product-review { margin-top:4px; font-size:9px; color:#b69a68; }
.pd-product-review .verified { color:#72a078; }
.pd-source-card { padding:15px; margin-top:22px; background:#faf8f0; border:1px solid #ece7d4; border-radius:9px; }
.pd-source-card strong { font-size:11px; color:#8b7a51; }
.pd-source-card p,.pd-source-card li { font-size:10px; color:#a1967a; line-height:1.8; margin-top:5px; }
.pd-source-card ul { padding-left:17px; margin:10px 0; }
.pd-review-check { display:flex; align-items:flex-start; gap:8px; margin-top:16px; color:#7e8f72; font-size:11px; line-height:1.7; }
.pd-review-check input { margin-top:4px; accent-color:#198462; }
.pd-catalog { background:#fff; border:1px solid var(--pd-border); border-radius:15px; box-shadow:0 5px 22px #193b2c03; overflow:hidden; }
.pd-catalog-head { display:flex; align-items:center; justify-content:space-between; padding:22px 24px 18px; }
.pd-catalog h3 { font-size:16px; font-weight:750; color:#233e34; letter-spacing:-.02em; }
.pd-catalog-head p { color:#8a9690; font-size:11px; margin-top:5px; }
.pd-text-button { border:0; background:transparent; color:#6a8377; font-size:12px; padding:8px; border-radius:7px; }
.pd-text-button:hover { background:#f0f6f2; }
.pd-category-tabs { display:flex; gap:24px; padding:0 24px; border-bottom:1px solid var(--pd-border); overflow:auto; }
.pd-category-tabs button { display:flex; align-items:center; gap:7px; background:transparent; border:0; border-bottom:2px solid transparent; padding:13px 0; color:#88938d; font-size:12px; white-space:nowrap; font-weight:650; }
.pd-category-tabs button.active { border-bottom-color:#158469; color:#13735c; }
.pd-category-tabs b { background:#f2f5f3; color:#82948a; font-size:10px; padding:3px 7px; border-radius:5px; font-weight:700; }
.pd-category-tabs .active b { color:#198463; background:#e9f4ed; }
.pd-toolbar { display:flex; gap:9px; padding:20px 24px 12px; }
.pd-search { display:flex; align-items:center; gap:9px; flex:1; min-width:150px; border:1px solid #e2e8e3; border-radius:8px; padding:0 12px; background:#fff; }
.pd-search > span { font-size:23px; color:#8b9d91; line-height:1; }
.pd-search input { border:0; background:transparent; width:100%; min-width:0; outline:none; padding:11px 0; font-size:12px; color:#3f584b; }
.pd-search input::placeholder { color:#a2aaa5; }
.pd-missing { color:#ad3535!important; }
.pd-search { box-sizing:border-box; }
.pd-search:focus-within { border-color:#8ac7a6; box-shadow:0 0 0 2px rgba(138,199,166,.2); }
.pd-search input { flex:1 1 0%; width:auto; box-sizing:border-box; }
.pd-toolbar select,.pd-pagination select { border:1px solid #e3e8e3; border-radius:8px; background:#fff; color:#6d7b72; padding:9px 28px 9px 10px; font-size:11px; }
.pd-viewbar { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:0 24px 17px; }
.pd-viewbar > span { color:#99a29b; font-size:10px; }
.pd-view-switch { display:flex; padding:3px; border-radius:7px; background:#f3f6f3; gap:3px; }
.pd-view-switch button { border:0; border-radius:5px; background:transparent; color:#89958b; padding:6px 10px; font-size:10px; font-weight:600; }
.pd-view-switch button.active { background:#fff; color:#446350; box-shadow:0 1px 4px #274d2f10; }
.pd-table-scroll { overflow:auto; max-height:70vh; min-height:170px; scrollbar-width:thin; scrollbar-color:#d4dfd4 transparent; }
.pd-table { width:100%; border-collapse:separate; border-spacing:0; font-size:12px; font-variant-numeric:tabular-nums; }
.pd-table th { position:sticky; top:0; background:#f7f9f7; border-top:1px solid #eaf0e9; border-bottom:1px solid #e5ece4; color:#859382; font-size:10px; font-weight:650; text-align:right; white-space:nowrap; padding:12px 13px; z-index:2; }
.pd-table th:first-child { text-align:left; padding-left:24px; min-width:260px; width:31%; left:0; z-index:3; }
.pd-table td { border-bottom:1px solid #edf1eb; padding:17px 13px; vertical-align:middle; text-align:right; background:#fff; white-space:nowrap; color:#48614c; }
.pd-table td:first-child { text-align:left; padding-left:24px; position:sticky; left:0; z-index:1; white-space:normal; }
.pd-table tr:hover td { background:#fbfcfa; }
.pd-table tr:last-child td { border-bottom:0; }
.pd-product { display:flex; align-items:center; gap:12px; min-width:200px; }
.pd-product-visual { width:46px; height:46px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:#f4f6f1; border:1px solid #eaf0e5; color:#97a38f; flex:0 0 46px; }
.pd-product-visual svg { width:25px; height:25px; stroke:currentColor; fill:none; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.pd-product-visual img { width:100%; height:100%; object-fit:contain; border-radius:9px; }
.pd-product-info { min-width:0; }
.pd-product-name { border:0; background:transparent; padding:0; display:block; max-width:270px; text-align:left; color:#324e37; font-size:12px; font-weight:700; line-height:1.5; }
.pd-product-name:hover { color:#098464; text-decoration:underline; text-underline-offset:3px; }
.pd-product-meta { display:flex; flex-wrap:wrap; gap:5px; align-items:center; color:#9ba592; font-size:10px; margin-top:4px; }
.pd-product-meta code { font-family:inherit; color:#8a9b80; letter-spacing:.015em; }
.pd-product-meta .pd-kind { padding:1px 5px; background:#edf4eb; color:#708d65; border-radius:3px; font-size:9px; }
.pd-product-meta .pd-kind.finished { color:#6d83b4; background:#eef1f8; }
.pd-edit-link { border:0; background:transparent; color:#228668; font-size:10px; padding:0; margin-top:5px; }
.pd-table td > strong { font-size:12px; color:#354e38; font-weight:700; }
.pd-table td > small { display:block; font-size:9px; color:#a3aa9c; margin-top:5px; }
.pd-table td.pd-cost-cell { background:#f8fbf5; }
.pd-table tr:hover td.pd-cost-cell { background:#f1f7ed; }
.pd-table td.pd-cost-cell strong { color:#508043; }
.pd-muted { color:#b7bfb0; }
.pd-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 6px; border-radius:4px; font-size:9px; font-weight:600; color:#5c9265; background:#edf7ee; }
.pd-badge::before { content:''; width:4px; height:4px; background:currentColor; border-radius:50%; }
.pd-badge.low { color:#bf8d3d; background:#fff7e9; }
.pd-badge.out,.pd-badge.loss { color:#bd6c62; background:#fcefeb; }
.pd-badge.unlinked { color:#8e9a8d; background:#f0f3ef; }
.pd-margin { color:#588c52; font-weight:650; font-size:11px; }
.pd-margin.loss { color:#c27763; }
.pd-sales { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.pd-spark { display:flex; gap:3px; height:25px; align-items:flex-end; }
.pd-spark i { width:5px; min-height:3px; background:#cfe2c5; border-radius:2px 2px 0 0; }
.pd-spark i:last-child { background:#719d5d; }
.pd-empty { padding:50px 24px; text-align:center; }
.pd-empty > span { display:grid; place-items:center; width:58px; height:58px; border-radius:18px; background:#f0f5ec; margin:0 auto 18px; color:#91a47b; font-size:28px; }
.pd-empty h3 { font-size:17px; margin-bottom:9px; }
.pd-empty p { font-size:12px; color:#96a08e; line-height:1.7; max-width:430px; margin:0 auto 15px; }
.pd-pagination { display:flex; justify-content:space-between; align-items:center; padding:16px 24px; border-top:1px solid #e9eee5; color:#94a08d; font-size:10px; gap:10px; }
.pd-pagination > div { display:flex; align-items:center; gap:10px; }
.pd-pagination label { display:flex; align-items:center; gap:8px; margin-right:10px; }
.pd-pagination select { padding:5px 8px; font-size:10px; }
.pd-pagination button { width:28px; height:28px; border:1px solid #e6ecdf; border-radius:6px; color:#6c8860; background:#fff; }
.pd-pagination button:disabled { opacity:.3; cursor:default; }
.pd-footnote { display:flex; align-items:flex-start; gap:9px; color:#94a18d; margin:18px 5px; }
.pd-footnote > span { color:#9fb390; margin-top:1px; }
.pd-footnote p { font-size:10px; line-height:1.7; }
.pd-message { border:1px solid #edc8b7; border-radius:8px; margin:12px 24px; padding:13px; color:#a65838; background:#fff7ef; font-size:12px; }
.pd-drawer { --pd-border:#e4eae7; position:fixed; inset:0 0 0 auto; margin:0; height:100dvh; max-height:100dvh; width:min(610px,100%); max-width:100%; border:0; padding:0; border-radius:16px 0 0 16px; background:#fff; color:#2e493c; box-shadow:-20px 0 100px #102f3429; }
.pd-drawer::backdrop { background:#0b252559; backdrop-filter:blur(2px); }
.pd-drawer form { height:100%; display:flex; flex-direction:column; }
.pd-drawer-head { padding:28px 28px 20px; display:flex; justify-content:space-between; gap:15px; }
.pd-drawer-head h2 { font-size:23px; line-height:1.3; letter-spacing:-.035em; margin-top:10px; }
.pd-drawer-head p { font-size:11px; color:#92a28e; margin-top:6px; }
.pd-close { background:#f3f6f0; border:0; border-radius:8px; color:#7b9075; width:32px; height:32px; font-size:23px; flex-shrink:0; }
.pd-drawer-tabs { display:flex; gap:22px; border-bottom:1px solid #e6ece1; padding:0 28px; }
.pd-drawer-tabs button { padding:13px 0; border:0; border-bottom:2px solid transparent; background:transparent; color:#93a08b; font-size:12px; font-weight:650; }
.pd-drawer-tabs .active { border-bottom-color:#168766; color:#188064; }
.pd-drawer-content { overflow:auto; flex:1; padding:3px 28px 24px; }
.pd-section-label { display:flex; justify-content:space-between; gap:10px; font-size:10px; color:#7c9275; font-weight:750; letter-spacing:.09em; margin:25px 0 14px; }
.pd-section-label > span { font-size:9px; letter-spacing:0; color:#a3b09a; font-weight:500; }
.pd-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px 15px; }
.pd-form-grid .pd-full { grid-column:1/-1; }
.pd-form-grid label > span { display:block; margin-bottom:7px; font-size:11px; color:#6e8367; font-weight:650; }
.pd-form-grid label em { font-style:normal; color:#45a783; }
.pd-form-grid input,.pd-form-grid select,.pd-form-grid textarea { width:100%; border:1px solid #e1e9db; padding:11px 12px; border-radius:8px; color:#42603a; background:#fff; font-size:12px; outline:none; }
.pd-form-grid input:read-only { background:#f7f9f4; color:#94a386; }
.pd-form-grid input::placeholder,.pd-form-grid textarea::placeholder { color:#b0b9a6; font-size:11px; }
.pd-form-grid :is(input,textarea,select):focus { border-color:#70b08b; box-shadow:0 0 0 3px #e9f5eb; }
.pd-help { margin-top:18px; border-left:2px solid #dceacb; padding:0 0 0 12px; color:#95a08b; font-size:10px; line-height:1.8; }
.pd-cost-preview { border:1px solid #dfebd3; background:#f6faef; border-radius:11px; padding:18px; margin-top:22px; }
.pd-cost-preview > div { display:flex; justify-content:space-between; gap:15px; font-size:11px; color:#839673; padding:5px 0; }
.pd-cost-preview > div:last-child { margin-top:9px; padding-top:12px; border-top:1px solid #e0ebd2; color:#4b7440; font-size:14px; }
.pd-cost-preview p { font-size:10px; color:#97a286; line-height:1.6; }
.pd-drawer-footer { padding:18px 28px 22px; border-top:1px solid #e5ecde; background:#fff; }
.pd-drawer-footer > span { color:#9caa90; font-size:10px; display:block; margin-bottom:10px; }
.pd-drawer-footer > div { display:flex; justify-content:flex-end; gap:8px; }
.pd-inventory-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:24px 0; }
.pd-inventory-grid > div { background:#f6f9f1; border:1px solid #e6eddd; border-radius:10px; padding:19px; }
.pd-inventory-grid span,.pd-inventory-grid small { display:block; color:#96a48a; font-size:10px; }
.pd-inventory-grid strong { display:block; font-size:26px; color:#547947; margin:10px 0; }
.pd-year-sales { display:flex; justify-content:space-between; border-bottom:1px solid #e9eedf; padding:12px 0; font-size:12px; color:#91a181; }
.pd-year-sales b { color:#56794a; }
.products-view :is(button,select,input):focus-visible,.pd-drawer button:focus-visible { outline:3px solid #8ac7a6; outline-offset:3px; }
.pd-search input:focus,.pd-search input:focus-visible,.products-view .pd-search input:focus-visible { outline:none; outline-offset:0; box-shadow:none; }
.pd-skeleton { height:11px; width:70%; border-radius:5px; background:#edf2e9; animation:pd-pulse 1.3s ease-in-out infinite alternate; }
@keyframes pd-pulse { to { opacity:.35; } }
@media(min-width:1450px) { .pd-table th,.pd-table td { padding-left:21px; padding-right:21px; } .pd-product-name { max-width:350px; } }
@media(max-width:1150px) { .pd-heading { align-items:flex-start; } .pd-metric { padding:17px 14px; } .pd-metric-icon { display:none; } .pd-metric strong { font-size:25px; } .pd-category-tabs { gap:18px; } .pd-table { min-width:870px; } .pd-heading h2 { font-size:30px; } }
@media(max-width:700px) { .products-view { padding:0; } .pd-heading { flex-wrap:wrap; gap:16px; margin-bottom:22px; } .pd-heading p { font-size:12px; } .pd-heading h2 { font-size:30px; } .pd-actions { width:100%; } .pd-actions .pd-button { flex:1; } .pd-metrics { grid-template-columns:1fr 1fr; gap:9px; margin-bottom:17px; } .pd-metric { padding:15px; min-height:117px; border-radius:11px; } .pd-metric strong { font-size:25px; } .pd-metric-label { font-size:10px; } .pd-metric small { font-size:9px; } .pd-catalog-head { padding:20px 16px 14px; } .pd-category-tabs { padding:0 16px; gap:20px; } .pd-category-tabs button { font-size:11px; } .pd-toolbar { flex-wrap:wrap; padding:16px 16px 12px; } .pd-search { flex-basis:100%; } .pd-toolbar select { flex:1; min-width:0; } .pd-viewbar { align-items:flex-start; flex-direction:column; padding:0 16px 14px; gap:10px; } .pd-view-switch { width:100%; } .pd-view-switch button { flex:1; padding:8px; } .pd-viewbar > span { align-self:flex-end; } .pd-table-scroll { max-height:none; overflow:visible; } .pd-table { min-width:0; display:block; } .pd-table thead { display:none; } .pd-table tbody { display:grid; } .pd-table tr { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #e4ecda; padding:16px; gap:12px; } .pd-table td { border:0; padding:0; text-align:left; background:transparent!important; display:block; font-size:12px; white-space:normal; } .pd-table td:first-child { padding:0 0 12px; position:static; grid-column:1/-1; } .pd-table td:not(:first-child)::before { content:attr(data-label); display:block; color:#94a088; font-size:10px; margin-bottom:5px; } .pd-table td > small { display:inline; margin-left:6px; } .pd-product-name { max-width:none; font-size:13px; } .pd-table .pd-sales { justify-content:flex-start; } .pd-pagination { padding:14px 16px; flex-wrap:wrap; gap:15px; } .pd-pagination > div { margin-left:auto; } .pd-pagination label { margin-right:0; } .pd-footnote p { font-size:9px; } .pd-drawer { border-radius:0; } .pd-drawer-head { padding:24px 20px 18px; } .pd-drawer-tabs { padding:0 20px; gap:18px; } .pd-drawer-tabs button { font-size:11px; } .pd-drawer-content { padding:0 20px 20px; } .pd-drawer-footer { padding:16px 20px; } }
@media(prefers-reduced-motion:reduce) { .pd-skeleton { animation:none; } }
@media(max-width:1200px) { .pd-reference-bar { align-items:flex-start; flex-direction:column; gap:9px; } .pd-reference-bar > div:last-child { flex-shrink:1; justify-content:flex-start; } }
.pd-heading { margin-bottom:22px; }
.pd-heading p { font-size:14px; color:#677870; }
.pd-metrics { margin-bottom:20px; }
.pd-metric { min-height:121px; padding-top:17px; padding-bottom:15px; }
.pd-metric-label { font-size:13px; }
.pd-metric small,.pd-metric .pd-metric-link { font-size:11px; color:#6e826e; }
.pd-metric.featured small { color:#b7cbbd; }
.pd-reference-bar span,.pd-reference-bar button { font-size:11px; }
.pd-reference-bar span { color:#8d8064; }
.pd-reference-bar { margin-bottom:17px; }
.pd-reference-bar { flex-wrap:wrap; }
.pd-reference-bar > div:first-child { flex:1; min-width:240px; }
.pd-reference-bar > div:last-of-type { flex-shrink:1; }
.pd-skipped-reference { width:100%; font-size:11px; line-height:1.5; color:#a18a60; padding-top:8px; border-top:1px solid #e9e2ce; }
.pd-reference-bar strong { font-size:12px; }
.pd-catalog-head { padding:19px 24px 14px; }
.pd-catalog-head p { font-size:12px; color:#748574; }
.pd-category-tabs button { font-size:13px; padding-top:11px; padding-bottom:11px; }
.pd-toolbar { padding-top:16px; }
.pd-search input { font-size:13px; }
.pd-toolbar select { font-size:12px; }
.pd-view-switch button { font-size:11px; }
.pd-viewbar { padding-bottom:14px; }
.pd-viewbar > span { font-size:11px; color:#84917d; }
.pd-table th { font-size:11px; color:#75856d; }
.pd-table td { padding-top:14px; padding-bottom:14px; font-size:13px; }
.pd-table td > strong { font-size:13px; }
.pd-table td > small { font-size:10px; color:#849177; }
.pd-product-name { font-size:13px; }
.pd-product-meta { font-size:11px; }
.pd-product-meta code { color:#7e9171; }
.pd-product-meta .pd-kind { font-size:10px; }
.pd-product-review,.pd-edit-link { font-size:10px; }
.pd-product-review { color:#a38b58; }
.pd-badge { font-size:10px; }
.pd-margin { font-size:12px; }
.pd-form-grid label > span { font-size:12px; }
.pd-form-grid input,.pd-form-grid select,.pd-form-grid textarea { font-size:14px; }
.pd-form-grid input::placeholder,.pd-form-grid textarea::placeholder { font-size:12px; }
.pd-help,.pd-source-card p,.pd-source-card li { font-size:11px; }
.pd-source-card strong,.pd-review-check { font-size:12px; }
.pd-reference-bar span,.pd-reference-bar button,.pd-skipped-reference { color:#7c6d4d; }
.pd-product-meta,.pd-product-meta code { color:#64785d; }
.pd-product-review { color:#8b6d33; }
.pd-table td > small,.pd-viewbar > span,.pd-pagination,.pd-footnote,.pd-help { color:#6e7e65; }
.pd-badge { color:#3d7950; }.pd-badge.low { color:#926720; }.pd-badge.out,.pd-badge.loss { color:#a04e43; }
.pd-source-card p,.pd-source-card li { color:#7c735b; }
.pd-form-grid label > span { color:#5d7255; }
.pd-actions { flex-wrap:wrap; }
.pd-heading > .pd-actions { max-width:440px; justify-content:flex-end; }
.pd-valuation-button { border:0; padding:0; background:none; color:inherit; text-align:left; width:100%; }
.pd-valuation-button:hover strong { text-decoration:underline; text-underline-offset:5px; }
.pd-audit-links { display:flex; flex-wrap:wrap; gap:7px; width:100%; border-top:1px solid #e9e2ce; padding-top:10px; }
.pd-audit-links button { color:#7c6d4d; }
.pd-manage-dialog { border:0; border-radius:16px; padding:26px; width:min(820px,94vw); max-height:90dvh; overflow:auto; color:#2d493f; box-shadow:0 24px 100px #152c3940; }
.pd-manage-dialog::backdrop { background:#102b3659; }
.pd-manage-dialog header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }
.pd-manage-dialog header h2 { font-size:22px; margin-bottom:7px; }
.pd-manage-dialog header p { color:#6c7e74; font-size:12px; line-height:1.7; }
.pd-evidence-scroll { overflow:auto; margin-top:14px; }
.pd-evidence-table { width:100%; border-collapse:collapse; font-size:12px; }
.pd-evidence-table th { color:#5c7864; background:#f4f8f2; font-size:11px; font-weight:700; text-align:left; padding:12px 9px; }
.pd-evidence-table td { padding:13px 9px; border-bottom:1px solid #e7eee3; vertical-align:top; line-height:1.6; }
.pd-evidence-table small { display:block; color:#748269; font-size:10px; line-height:1.6; margin-top:4px; }
.pd-evidence-table tfoot th { font-size:13px; }
.pd-evidence-table select { padding:8px; border:1px solid #dfe7d8; background:white; border-radius:7px; color:#4b6748; font-size:12px; }
.pd-evidence-table input[type=checkbox] { width:18px; height:18px; accent-color:#137d63; }
.pd-price-evidence { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:15px 0; }
.pd-price-evidence > div { padding:16px; border:1px solid #dfe9d5; background:#f5f9ef; border-radius:10px; }
.pd-price-evidence span,.pd-price-evidence small { display:block; color:#718365; font-size:11px; }
.pd-price-evidence strong { display:block; font-size:23px; margin:10px 0; }
.pd-price-change { color:#aa6d25!important; font-weight:650; }
.pd-difference td { background:#fffcf1; }
.pd-toolbar { flex-wrap:wrap; }.pd-search { flex-basis:270px; }
.pd-drawer-tabs { overflow:auto; white-space:nowrap; gap:18px; flex-shrink:0; }
.pd-drawer-tabs button { flex-shrink:0; }
@media(max-width:700px) { #productsCategory { flex-basis:100%; } }
@media(max-width:700px) { .pd-heading > .pd-actions { max-width:none; justify-content:stretch; } .pd-heading > .pd-actions #productsSyncNow { flex-basis:100%; } .pd-manage-dialog { padding:18px; } .pd-manage-dialog header h2 { font-size:19px; } .pd-evidence-table { font-size:11px; } .pd-evidence-table td,.pd-evidence-table th { padding:10px 6px; } .pd-price-evidence strong { font-size:20px; } }
@media(max-width:700px) { .pd-metric-label { font-size:12px; } .pd-metric small,.pd-metric .pd-metric-link { font-size:10px; } .pd-category-tabs button { font-size:12px; } .pd-reference-bar > div:last-child { gap:5px; } .pd-reference-bar button { font-size:10px; } .pd-table td:first-child { padding-top:0; padding-bottom:12px; } .pd-table td { padding:0; } .pd-table td:not(:first-child)::before { font-size:11px; } .pd-table td > small { font-size:10px; } }
.pd-tax-table .pd-table{min-width:1180px}.pd-tax-table .pd-table th:first-child{width:25%;min-width:250px}.pd-tax-table .pd-table td:nth-child(3),.pd-tax-table .pd-table td:nth-child(4),.pd-tax-table .pd-table td:nth-child(5){background:#f7faf2;min-width:92px}.pd-tax-table .pd-table td .pd-edit-link{font-size:10px;white-space:nowrap}.pd-tax-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;background:#f3f8ed;border:1px solid #dce9d2;border-radius:12px;padding:17px;margin:12px 0 20px}.pd-tax-form-grid label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#6c8061}.pd-tax-form-grid input{width:100%;padding:11px 10px;border:1px solid #d8e4ce;border-radius:7px;font-size:14px;background:white;color:#46643a;outline:none}.pd-tax-form-grid input:focus{border-color:#5f9d69;box-shadow:0 0 0 3px #dfeedd}.pd-tax-form-grid small{font-size:10px;line-height:1.8;color:#849174}.pd-tax-form-grid .pd-full{grid-column:1/-1}.pd-vat-entry .pd-text-button{align-self:flex-start}.pd-tax-help strong{color:#52744a}.pd-tax-help p{margin:10px 0;line-height:1.9}@media(max-width:700px){.pd-tax-table .pd-table{min-width:0}.pd-tax-table .pd-table th:first-child{min-width:0}.pd-tax-form-grid{grid-template-columns:1fr}.pd-tax-table .pd-table td:nth-child(3),.pd-tax-table .pd-table td:nth-child(4),.pd-tax-table .pd-table td:nth-child(5){min-width:0}}
.pd-fob-preview{padding:15px!important;background:#e9f4e2;border:1px solid #cfe2c0;border-radius:9px;margin-bottom:15px}.pd-fob-preview span{font-weight:700;color:#718964}.pd-fob-preview b{font-size:22px;color:#2e6a44}

/* Product overview refinements, scoped to this screen; business values unchanged. */
.products-view .pd-heading > div:first-child,.products-view .pd-catalog-head > div:first-child { min-width:0; }
.products-view .pd-catalog-head { gap:18px; flex-wrap:wrap; }
.products-view .pd-catalog-head > .pd-actions { min-width:0; max-width:100%; justify-content:flex-end; gap:8px; }
.products-view .pd-catalog-head h3 { white-space:nowrap; }
.products-view .pd-toolbar[data-renderer=react] { display:grid; grid-template-columns:minmax(220px,1fr) minmax(145px,.42fr) minmax(185px,.55fr) minmax(145px,.42fr); align-items:end; gap:12px; }
.products-view .pd-search-field,.products-view .pd-filter { min-width:0; }
.products-view .pd-search-field > label,.products-view .pd-filter > span { display:block; margin-bottom:7px; color:#60756c; font-size:11px; font-weight:650; }
.products-view .pd-filter select { width:100%; height:42px; text-overflow:ellipsis; }
.products-view .pd-search { min-width:0; min-height:42px; }
.products-view .pd-search input { min-height:40px; }
.products-view .pd-tax-table .pd-table td:nth-child(n+3):nth-child(-n+5) > strong { display:block; line-height:1.5; }
.products-view .pd-tax-table .pd-table td:nth-child(n+3):nth-child(-n+5) > .pd-edit-link { display:block; width:max-content; max-width:100%; margin-top:5px; line-height:1.5; }
.products-view .pd-table .pd-product-info { min-width:0; }
.products-view .pd-table .pd-product-name { overflow-wrap:anywhere; }
.products-view .pd-view-switch button { min-height:36px; }
.products-view .pd-pagination > div { flex-wrap:wrap; }
.products-view .pd-pagination button { min-width:34px; min-height:34px; }
.products-view .pd-category-tabs { scroll-padding-inline:20px; }
.products-view .pd-category-tabs button { flex-shrink:0; }
@media(max-width:1200px) {
  .products-view .pd-toolbar[data-renderer=react] { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .products-view .pd-search-field { grid-column:1/-1; }
}
@media(max-width:700px) {
  .products-view .pd-catalog-head { align-items:flex-start; gap:12px; padding:18px 16px 14px; }
  .products-view .pd-catalog-head > div:first-child { flex:1 1 100%; }
  .products-view .pd-catalog-head > .pd-actions { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .products-view .pd-catalog-head > .pd-actions .pd-button { grid-column:1/-1; }
  .products-view .pd-catalog-head .pd-text-button { padding:10px 8px; min-height:40px; }
  .products-view .pd-toolbar[data-renderer=react] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; }
  .products-view .pd-filter-category { grid-column:1/-1; }
  .products-view .pd-search-field > label,.products-view .pd-filter > span { margin-bottom:6px; }
  .products-view .pd-view-switch { min-width:0; }
  .products-view .pd-view-switch button { min-width:0; padding:9px 5px; }
  .products-view .pd-product { gap:11px; }
  .products-view .pd-product-visual { flex-shrink:0; }
  .products-view .pd-table tr { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .products-view .pd-table td { min-width:0; overflow-wrap:anywhere; }
  .products-view .pd-table td > small { display:block; margin:5px 0 0; line-height:1.55; }
  .products-view .pd-table td .pd-edit-link { white-space:normal; }
  .products-view .pd-pagination { gap:12px; }
  .products-view .pd-pagination > div { margin-left:0; gap:8px; }
  .products-view .pd-reference-bar > div:first-child { min-width:0; }
  .products-view .pd-metric strong { font-size:clamp(20px,6.4vw,25px); }
}
