/* W1 2026-11-13: parametric selector. Structure follows DigiKey's category page: filter bar, result count, sortable table. */
.erdi-w1-selector{overflow:visible}
.erdi-w1-filters{background:#fff;border:1px solid #dcdfe5;border-radius:14px;padding:16px 18px;margin:16px 0}
.erdi-w1-filterrow{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:flex-end}
.erdi-w1-filters fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.erdi-w1-filters legend{float:left;margin:0 10px 0 0;padding:0;font-size:.78rem;font-weight:600;color:#3a424d;line-height:34px}
.erdi-w1-chip{border:1px solid #b9bfc8;background:#fff;color:#17212b;border-radius:999px;padding:6px 14px;min-height:34px;font:inherit;font-size:.88rem;cursor:pointer}
.erdi-w1-chip[aria-pressed="true"]{background:#17212b;border-color:#17212b;color:#fff}
.erdi-w1-chip:focus-visible,.erdi-w1-field select:focus-visible,.erdi-w1-sort:focus-visible{outline:3px solid #0b4f9c;outline-offset:2px}
.erdi-w1-field{display:flex;flex-direction:column;gap:3px;font-size:.78rem;font-weight:600;color:#3a424d}
.erdi-w1-field select{font:inherit;font-weight:400;font-size:.88rem;min-height:36px;padding:4px 8px;border:1px solid #b9bfc8;border-radius:8px;background:#fff;color:#17212b;max-width:230px}
.erdi-w1-filterbar{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #eceef2}
.erdi-w1-count{margin:0;font-weight:700;color:#17212b}
.erdi-w1-reset,.erdi-w1-comparebtn{font:inherit;font-size:.88rem;border:1px solid #b9bfc8;background:#fff;border-radius:8px;padding:6px 12px;cursor:pointer;color:#17212b}
.erdi-w1-comparebtn:not(:disabled){background:#17212b;color:#fff;border-color:#17212b}
.erdi-w1-comparebtn:disabled{opacity:.55;cursor:not-allowed}
.erdi-w1-csv{margin-left:auto;font-size:.88rem;color:#0b4f9c;text-decoration:underline;text-underline-offset:3px}
.erdi-w1-tabs{display:flex;gap:6px;margin:10px 0 0}
.erdi-w1-tabs button{font:inherit;font-size:.9rem;padding:8px 16px;border:1px solid #cfd3da;border-bottom:0;border-radius:10px 10px 0 0;background:#eef0f3;color:#17212b;cursor:pointer}
.erdi-w1-tabs button[aria-selected="true"]{background:#fff;font-weight:700}
.erdi-w1-tablewrap{overflow:auto;max-width:100%;max-height:78vh;background:#fff;border:1px solid #dcdfe5;border-radius:0 12px 12px 12px;-webkit-overflow-scrolling:touch}
.erdi-w1-sel,.erdi-w1-cmp{width:100%;border-collapse:separate;border-spacing:0;font-size:.88rem;min-width:1180px;background:#fff}
.erdi-w1-sel th,.erdi-w1-sel td,.erdi-w1-cmp th,.erdi-w1-cmp td{padding:9px 11px;text-align:left;vertical-align:top;border-bottom:1px solid #eceef2;color:#17212b}
.erdi-w1-sel thead th,.erdi-w1-cmp thead th{position:sticky;top:0;z-index:2;background:#212a33;color:#fff;white-space:nowrap;font-weight:600}
.erdi-w1-sel thead .erdi-w1-sort{all:unset;cursor:pointer;color:#fff;font-weight:600;font-size:.84rem}
.erdi-w1-sel tbody th{position:sticky;left:0;z-index:1;background:#fff;white-space:nowrap;font-weight:700}
.erdi-w1-sel tbody tr:nth-child(even) td,.erdi-w1-sel tbody tr:nth-child(even) th{background:#f7f8fa}
.erdi-w1-sel tbody tr:hover td,.erdi-w1-sel tbody tr:hover th{background:#eef4fb}
.erdi-w1-sel tbody tr[hidden]{display:none}
.erdi-w1-chk{width:34px;text-align:center}
.erdi-w1-sel a,.erdi-w1-cmp a{color:#0b4f9c;text-decoration:underline;text-underline-offset:3px}
.erdi-w1-na{color:#4b5460}
.erdi-w1-sel a.erdi-w1-buy{display:inline-block;background:#17212b;color:#fff;text-decoration:none;border-radius:8px;padding:5px 14px;font-weight:700}
.erdi-w1-comparepanel{margin:20px 0;background:#fff;border:1px solid #dcdfe5;border-radius:14px;padding:16px}
.erdi-w1-cmp{min-width:640px}
.erdi-w1-cmp tbody th{position:sticky;left:0;background:#f1f2f5;white-space:nowrap;z-index:1}
.erdi-w1-showdiff .erdi-w1-cmp tbody tr[data-diff] td,.erdi-w1-showdiff .erdi-w1-cmp tbody tr[data-diff] th{background:#fff4d6}
.erdi-w1-diff{display:inline-flex;gap:8px;align-items:center;margin:0 0 10px;font-size:.9rem}
.erdi-w1-comparepanel>button{margin-top:10px;font:inherit;border:1px solid #b9bfc8;background:#fff;border-radius:8px;padding:6px 12px;cursor:pointer}
@media(max-width:700px){.erdi-w1-filters{padding:12px}.erdi-w1-csv{margin-left:0}.erdi-w1-field select{max-width:100%}.erdi-w1-field{flex:1 1 140px}}
/* AB-gate round 1 fixes: wider container, readable cells, Buy column pinned right */
body.erdi-b5-selector .erdi-b5-main{max-width:1480px}
.erdi-w1-sel,.erdi-w1-cmp{font-size:.84rem;min-width:1100px}
.erdi-w1-sel th,.erdi-w1-sel td{padding:8px 9px}
.erdi-w1-sel td,.erdi-w1-sel tbody th{white-space:nowrap}
.erdi-w1-sel td:nth-child(n+4):nth-child(-n+9){white-space:normal;min-width:84px}
.erdi-w1-sel thead th:last-child,.erdi-w1-sel tbody td:last-child{position:sticky;right:0;z-index:2;box-shadow:-8px 0 10px -8px rgba(23,33,43,.35)}
.erdi-w1-sel tbody td:last-child{background:#fff}
.erdi-w1-sel thead th:last-child{background:#212a33;z-index:3}
.erdi-w1-field select{max-width:none;width:100%;min-width:150px;padding-right:26px;text-overflow:ellipsis}
.erdi-w1-field{min-width:160px}

/* R5 W1 2026-11-13 zero-result hint */
.erdi-w1r5-hint{margin:.4rem 0 0;padding:.6rem .8rem;border-left:3px solid #1755db;background:#eef3fb;color:#1d2a33;font-size:.95rem}
.erdi-w1r5-hint button{margin-left:.5rem;padding:.35rem .75rem;border:1px solid #1755db;border-radius:6px;background:#fff;color:#0b4f9c;font-weight:600;cursor:pointer}
