/* One icon set and one scale across filters and stock rows. */
.rating-glyph{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.stock-rating{gap:4px}
.stock-rating button{width:32px;height:32px;min-width:32px;min-height:32px;padding:7px;background:transparent;border-color:transparent}
.stock-rating button:hover{border-color:transparent;background:#edf1e3}
.stock-rating button[aria-pressed=true][data-stock-rating=heart]{border-color:transparent;background:#f5e9e5}
.stock-rating button[aria-pressed=true][data-stock-rating=trash]{border-color:transparent;background:#e8ece2}
.stock-rating-filter{position:relative;flex:none;width:96px;color:#607150;font-size:12px}
.stock-rating-filter summary{display:flex;align-items:center;justify-content:space-between;gap:10px;height:34px;padding:0 9px;border:1px solid #d9e0cf;border-radius:6px;background:#f8f9f1;cursor:pointer;list-style:none}
.stock-rating-filter summary::-webkit-details-marker{display:none}
#stockRatingFilterValue{display:flex;flex:1;align-items:center;justify-content:center;white-space:nowrap}
.rating-chevron{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#939e87}
.stock-rating-filter[open] summary{border-color:#a9b69a}
.rating-filter-options{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:100%;padding:4px;background:#fafaf4;border:1px solid #d9e0cf;border-radius:7px;box-shadow:0 6px 18px #435b4010}
.rating-filter-options button{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:34px;padding:0 18px;border:0;border-radius:4px;background:transparent;color:#7e8d72;font:inherit;font-size:11px;cursor:pointer}
.rating-filter-options button:hover,.rating-filter-options button:focus-visible{background:#eff2e7;color:#536c49}
.rating-filter-options button[aria-pressed=true]{background:#edf1e4;color:#536c49}
.rating-filter-options button[aria-pressed=true]::before{content:'';position:absolute;left:8px;top:calc(50% - 5px);width:4px;height:7px;border:solid currentColor;border-width:0 1.3px 1.3px 0;transform:rotate(45deg)}
.stock-rating-filter summary:focus-visible,.rating-filter-options button:focus-visible{outline:2px solid #a1b68e;outline-offset:2px}
@media(max-width:700px){.stock-rating button{width:36px;height:36px;min-width:36px;min-height:36px}.rating-filter-options button{height:38px}}

.batch-rating-views{display:inline-flex;align-items:center;gap:4px;margin-left:8px}.batch-rating-views button{display:grid;place-items:center;width:28px;height:28px;padding:5px;border:0;border-radius:5px;background:transparent;color:var(--muted,#91a184);cursor:pointer}.batch-rating-views button:hover{background:#879a7112}.batch-rating-views button[aria-pressed=true]{color:var(--text,#536c49);background:#879a7120}.batch-rating-views button[aria-pressed=true] .rating-glyph{fill:currentColor;fill-opacity:.16}.batch-rating-views button:focus-visible{outline:2px solid #a1b68e;outline-offset:2px}
