/* p-vocab.css — the quiet parts of "your parts" on every page (docs/local-first.md "Words"): the search menu's scope row
   (static/shell.js) and the Yours filters' zero rows and hint (static/scope.js). Calm: a scope you have nothing in is
   shown, dimmed, never hidden; one line says what to do when you have nothing yet. Site tokens only, so light and dark
   both follow site.css. */

/* ---- the filter column's Yours fieldset (a list that is not on data-ui: brand pages and the like) ---------------- */
.facet.yours:not([hidden]) + .facet { border-top: 1px solid var(--rule2); }
.facet.yours .yv-zero { color: var(--ink3); }
.facet.yours .yv-zero:hover span:first-of-type { color: var(--ink2); }
.yv-hint { margin: 4px 0 0; font-size: 12px; line-height: 1.35; color: var(--ink2); }

/* ---- the data-ui rail's Yours group: the hint under its rows (the kit draws the zero rows as its own .df-zero) ---- */
data-facets .yv-hint { margin: 2px 8px 6px; }

/* ---- the search menu: Search in  All parts · Saved parts 2 · Local parts 0 · Bench 2 ------------------------------ */
.sm-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 8px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--rule2); }
.sm-scope .sm-scope-h { font-size: 11.5px; font-weight: 650; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; margin-right: 2px; }
.sm-scope button { display: inline-flex; gap: 5px; align-items: baseline; height: auto; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 14px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; line-height: 1.35; cursor: pointer; max-width: 100%; }
.sm-scope button .sl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sm-scope button .n { font-size: 12px; }
.sm-scope button:hover, .sm-scope button:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.sm-scope button[aria-pressed="true"] { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.sm-scope button[aria-disabled="true"] { color: var(--ink3); border-style: dashed; cursor: default; }
.sm-scope button[aria-disabled="true"]:hover { border-color: var(--rule); color: var(--ink3); }
.sm-scope .yv-hint { flex-basis: 100%; margin: 2px 2px 0; }
.sm-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 2px 10px 8px; font-size: 13px; color: var(--ink2); }
.sm-in .sm-link { height: auto; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.sm-in .sm-link:hover, .sm-in .sm-link:focus-visible { text-decoration: underline; outline: none; }

/* ---- the home page's Choose a category: Yours at its top (static/scope.js job 4) --------------------------------
   The filter column's own group, its boxes and counts; a picked scope dims the categories it has nothing in (never
   hides them) and the column's rule turns the accent colour, so a scoped rail never reads as the catalog's. */
.home .choose .facet.yours { padding: 2px 14px 10px 0; }
.home .choose .facet.yours .vals { gap: 0; }
.home .choose .yv-clear { align-self: flex-start; height: auto; margin: 4px 0 0; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.home .choose .yv-clear:hover, .home .choose .yv-clear:focus-visible { text-decoration: underline; outline: none; }
.home .choose .yv-zero > a, .home .choose li.yv-zero .n { color: var(--ink3); }
:root:root .home .choose-in.yours-on > ul { border-top-color: var(--accent); }
