/* Library › Products, shared by the team app (/org) and the grower app's
   Setup › Products (static/product-library.js; product-library.html). The
   products page's own rules, moved from org.css as they were; both pages
   load org.css first (the table, chip, button and tile looks) and then this.
   The grower page (html.pl-grower) points org.css's tokens at the grower
   app's light colours; the team page keeps its own, light or dark. */

.pr-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.pr-bar .btn-p { margin-left: auto; }
.pr-q { flex: 1 1 220px; max-width: 420px; font: inherit; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: var(--r-ctl); background: var(--surface); color: var(--ink); }
.pr-tbl th { white-space: nowrap; }
/* long chemical names break anywhere, so the table fits a laptop without a sideways scroll */
.pr-tbl td[data-label="Active ingredient"], .pr-tbl td[data-label="Formulation"] { overflow-wrap: anywhere; min-width: 120px; }
.pr-tbl td.c-first { min-width: 230px; }
/* panel open: Formulation, Default rate, EPA reg and Label step aside (the
   panel shows them for the open product), so no column is ever cut; the
   table still scrolls in its own box if a narrow window needs it */
.view.pr-open .pr-tbl :is(.col-formulation, .col-rate, .col-epa_reg, .col-label) { display: none; }
.pr-panel { position: fixed; right: 0; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); bottom: 0; z-index: 14;
  width: min(460px, 100vw); background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--pop-shadow);
  padding: 12px 20px 24px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 6px; }
/* the form in the panel scrolls inside its own frame (products.html panel mode) */
.pr-panel.is-form { overflow: hidden; }
.pr-ph { margin: 4px 0 0; font-size: max(21px, var(--th-fs-h2, 0px)); }
.pr-panel .sub { color: var(--ink2); font-size: max(13px, var(--th-fs-secondary, 0px)); }
.pr-kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 12px; margin: 14px 0; font-size: max(14px, var(--th-fs-body, 0px)); }
.pr-k { color: var(--ink2); }
.pr-pacts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* the full label: a section of the products panel */
.pr-label { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.pr-label .sc-cap { padding: 0 0 6px; }
/* The panel is a column that scrolls. Nothing in it is ever squeezed to fit: a browser that shrinks a column's
   items when they don't fit (Safari does) cut the product's name off under the head (Casey 2026-11-13). */
.pr-panel > * { flex: 0 0 auto; }
.pr-pframe { flex: 1; width: 100%; min-height: 560px; border: 0; }
.pr-panel:has(.pr-pframe) { padding: 12px 0 0; }
.pr-panel:has(.pr-pframe) .pr-phead { padding: 0 12px 0 20px; }
@media (min-width: 1100px) { .view.pr-open { padding-right: calc(460px + 24px); } }
@media (max-width: 760px) {
  .pr-bar .btn-p { margin-left: 0; }
}
@media (max-width: 899px) {
  .pr-panel { bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* ── the grower's page (product-library.html) ─────────────────────────────
   org.css's token names, the grower app's light values (products.html and
   app.css): cream page, white-ish cards, the grower green. No top bar and no
   bottom bar inside the frame: the grower app has its own. */
/* html.pl-grower's colours (org.css's token names at the grower's palette, light and dark) are in
   static/theme.css, which product-library.html and mix-library.html load */
html.pl-grower { --top-h: 0px; --bar-h: 0px; }
/* the grower's filled buttons are the app's own (--th-btn, white text). org.css fills them with --accent,
   which the grower's dark keeps light, for its link text */
html.pl-grower .btn-p, html.pl-grower .pr-pill.on { background: var(--th-btn); border-color: var(--th-btn); color: var(--on-acc); }
html.pl-grower .btn-p:hover { background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: var(--on-acc); }
html.pl-grower body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
html.pl-grower .view { max-width: none; padding: 4px 4px 40px; }
html.pl-grower .stats { margin: 0 0 16px; }
html.pl-grower .stat { border: 1px solid var(--line); box-shadow: none; }
html.pl-grower .stat.w { background: var(--warn-bg); border-color: var(--warn-line); }
html.pl-grower .stat.w span, html.pl-grower .stat.w small { color: var(--warn-tx); }
html.pl-grower .stat[role="button"].on { border-color: var(--accent); }
html.pl-grower .stat.w[role="button"].on { border-color: var(--warn-tx); }
.pr-filter { display: flex; align-items: center; gap: 8px; background: var(--warn-bg); color: var(--warn-tx); border: 1px solid var(--warn-line);
  border-radius: var(--r-ctl); padding: 6px 6px 6px 12px; margin: 0 0 10px; font-size: max(14px, var(--th-fs-body, 0px)); }
.pr-filter[hidden] { display: none; }
.pr-filter span { flex: 1; }
.pr-filter .btn-link { color: var(--warn-tx); min-height: 32px; }
.pr-filter { flex-wrap: wrap; }
/* the "need confirming" tile's Confirm all (the run), inside the tile's sub-line */
/* the grower's tiles never cut a word off: they wrap; a narrow frame (the panel
   open on a laptop) puts them two across, narrower still drops the sub-line */
html.pl-grower .view { container-type: inline-size; }
html.pl-grower .stat b, html.pl-grower .stat span, html.pl-grower .stat small { white-space: normal; overflow: visible; text-overflow: clip;
  overflow-wrap: normal; word-break: normal; }
/* five (Round C: "can be filled in from the Pomona library"): three across, then two */
@container (max-width: 1000px) { html.pl-grower .stats.t5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@container (max-width: 760px) { html.pl-grower .stats.t4, html.pl-grower .stats.t5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@container (max-width: 420px) { html.pl-grower .stats small { display: none; } }
html.pl-grower .stat .pl-run { color: var(--warn-tx); font: inherit; font-weight: 650; min-height: 0; padding: 0; }
.pr-tbl tr.sel td { background: var(--hl-bg); }
/* Your crops: one short status; amber when something is to confirm */
.pl-st { color: var(--ink2); font-size: max(14px, var(--th-fs-body, 0px)); }
.pl-am { color: var(--warn-tx); font-weight: 650; }
.pl-grey { color: var(--ink3); }
.pl-flag { color: var(--warn-tx); }
/* the drawer's header: the name once, its type · AI · EPA, the signal word a small tag, two short lines of facts */
.pl-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-head .pr-ph { margin-right: 2px; }
.pl-tag { font-size: max(11.5px, var(--th-fs-small, 0px)); padding: 1px 7px; }
.pl-facts { margin: 8px 0 12px; font-size: max(14px, var(--th-fs-body, 0px)); color: var(--ink); line-height: 1.55; }
.pl-facts .btn-link { min-height: 0; padding: 0; font: inherit; }
/* Your crops: one line per crop, tap to open; most acres first, off-label crops last */
.pl-crops { margin-top: 12px; }
.pl-crops .sc-cap { padding: 0 0 4px; }
.pl-cc { border-top: 1px solid var(--line2); }
.pl-cc:last-child { border-bottom: 1px solid var(--line2); }
.pl-cl { display: flex; align-items: center; gap: 8px; }
.pl-cl-t { flex: 1; display: flex; align-items: baseline; gap: 4px; min-height: 44px; padding: 8px 2px; background: none; border: 0;
  color: var(--ink); font: inherit; font-size: max(14.5px, var(--th-fs-body, 0px)); text-align: left; cursor: pointer; min-width: 0; }
.pl-cl-t b { font-size: max(15px, var(--th-fs-body, 0px)); }
.pl-cl-s { color: var(--ink2); }
.pl-ok { color: var(--accent); font-weight: 700; }
.pl-cl-x { margin-left: auto; color: var(--ink3); font-size: max(18px, var(--th-fs-h3, 0px)); line-height: 1; transition: transform .15s; }
.pl-cc.open .pl-cl-x { transform: rotate(90deg); }
.pl-cc.am .pl-cl-s { color: var(--warn-tx); font-weight: 650; }
.pl-cc.off .pl-cl-t b, .pl-cc.off .pl-cl-s { color: var(--ink3); font-weight: 400; }
.pl-cc.off .pl-cl-t b { font-weight: 600; }
.pl-cx { padding: 0 2px 12px; }
.pl-cc-offl { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); margin-top: 4px; }
.pl-cc-info { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink3); margin-top: 2px; }
.pl-cc-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-cc-src { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); }
/* a crop opened: who confirmed it, then the label's own rows for it */
.pl-who { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink3); }
.pl-who .btn-link { min-height: 0; padding: 0; font: inherit; font-weight: 650; }
.pl-lsub { font-size: max(12px, var(--th-fs-label, 0px)); font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; margin: 12px 0 0; }
.pl-lsub span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.pl-lim { display: flex; justify-content: space-between; gap: 12px; font-size: max(13px, var(--th-fs-secondary, 0px)); padding: 3px 0; border-bottom: 1px dotted var(--line2); }
.pl-lim span { color: var(--ink2); white-space: nowrap; }
.pl-lim b { font-weight: 600; text-align: right; }
.pl-rei { color: var(--ink2); font-size: max(13.5px, var(--th-fs-secondary, 0px)); margin-top: 2px; }
/* values in bold, labels in normal weight, as the team drawer does */
.pl-facts b, .pl-cl-s b, .pl-lr b, .pl-cc-src b { color: var(--ink); font-weight: 700; }
.pl-lrow { border-left: 3px solid var(--accent-line, var(--line)); background: var(--head, var(--mute-bg)); border-radius: 0 8px 8px 0;
  padding: 7px 10px; margin-top: 6px; font-size: max(13px, var(--th-fs-secondary, 0px)); }
.pl-lrow-h { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.pl-lrow-p { color: var(--ink2); margin-top: 3px; font-size: max(13px, var(--th-fs-secondary, 0px)); }
/* Label: the PDF and SDS, the pest search, the label's other crops, the disclaimer */
.pl-docs { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 8px; }
.pl-lq { width: 100%; min-height: 40px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; font: inherit;
  font-size: max(16px, var(--th-fs-lead, 0px)); background: var(--surface); color: var(--ink); }
.pl-lhits:empty { display: none; }
.pl-more, .pl-oth { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 8px 0;
  background: none; border: 0; border-top: 1px dashed var(--line2); color: var(--accent); font: inherit; font-size: max(14px, var(--th-fs-body, 0px));
  font-weight: 650; text-align: left; cursor: pointer; margin-top: 8px; }
.pl-oth { color: var(--ink); font-weight: 500; margin-top: 0; min-height: 40px; }
.pl-oth-b { padding-bottom: 8px; }
/* safety rows: always visible under the PDF / SDS, one tap to open; pollinators amber */
.pl-safe { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 42px; margin: 6px 0 0;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: max(13.5px, var(--th-fs-secondary, 0px)); font-weight: 600; text-align: left; cursor: pointer; }
.pl-safe.bee { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-tx); }
.pl-safe-b { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); padding: 6px 4px 2px; }
.pl-safe-b p { margin: 0 0 6px; }
.pl-safe-b ul { margin: 0 0 6px 18px; padding: 0; }
.pl-safe-b h5 { margin: 6px 0 2px; font-size: max(12px, var(--th-fs-label, 0px)); color: var(--ink); }
.pl-esa { color: var(--warn-tx); font-weight: 650; }
.pl-lhits, .pl-safe + .pl-lq, .pl-safe-b + .pl-lq { margin-top: 8px; }
.pl-corr { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--warn-tx); margin-top: 4px; }
.pl-corr q { color: var(--ink2); }
.pl-disc { font-size: max(11.5px, var(--th-fs-small, 0px)); line-height: 1.45; color: var(--ink3); margin: 12px 0 0; }
/* the crop's default rate: not a compliance value, saved on its own */
.pl-cc-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: max(13.5px, var(--th-fs-secondary, 0px)); margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--line2); }
.pl-cc-rate .pr-k { flex-basis: 100%; }
.pl-rate-in { width: 84px; min-height: 36px; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit;
  font-size: max(16px, var(--th-fs-lead, 0px)); background: var(--surface); color: var(--ink); }
.pl-rate-u { min-height: 36px; padding: 4px 6px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: max(14px, var(--th-fs-body, 0px));
  background: var(--surface); color: var(--ink); max-width: 130px; }
.pl-rate-in:focus, .pl-rate-u:focus { outline: 2px solid var(--focus-ring); border-color: var(--accent); }
.pl-lr { color: var(--ink2); }
.pl-anyc, .pl-warn { flex-basis: 100%; font-size: max(13px, var(--th-fs-secondary, 0px)); }
.pl-anyc .btn-link { min-height: 0; padding: 2px 0; text-align: left; }
.pl-cc-rate [data-action="pr-rate"]:disabled { opacity: .45; cursor: default; }
.pl-warn { color: var(--warn-tx); font-weight: 600; }
.pl-warn[hidden] { display: none; }
.pl-cc-rate .pl-uses { flex-basis: 100%; }
.pl-cc-rate .pl-uses:empty { display: none; }
.pl-pop .pl-pop-w { margin-top: 6px; }
/* the rate popover: wider than the price one, for the label's uses under the rate (it grows left, over the table);
   its height is capped to the window (capPop): the uses box scrolls inside, the rate, the warning and Save stay */
.pl-pop.pl-pop-rate { width: 400px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; }
.pl-pop.pl-pop-rate > * { flex: none; }
.pl-pop.pl-pop-rate > .pl-uses { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* a confirmed crop's old records with no REI/PHI */
.pl-blank { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: max(13.5px, var(--th-fs-secondary, 0px)); color: var(--warn-tx); }
.pl-blank .btn-link { color: var(--warn-tx); font-weight: 650; }
.pl-cc-f { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
/* the grower's frame is narrower than the team's page (the grower app's menu
   and Setup's own list beside it), so its columns step aside to fit, one by
   one, widest first (product-library.js fitColumns): never Product or Active
   ingredient. With the panel open the table narrows beside it, as the team
   page does on a wide window; a phone's panel covers the page. */
.pr-tbl.pl-fit-label .col-label { display: none; }
.pr-tbl.pl-fit-labelled .col-labelled { display: none; }
.pr-tbl.pl-fit-group .col-group { display: none; }
.pr-tbl.pl-fit-price .col-price { display: none; }
.pr-tbl.pl-fit-crops .col-crops { display: none; }
.pr-tbl.pl-fit-rate_c .col-rate_c { display: none; }
.pr-tbl.pl-fit-reiphi_c .col-reiphi_c { display: none; }
html.pl-grower .pr-panel { width: min(460px, 46vw); }
html.pl-grower .view.pr-open { padding-right: calc(min(460px, 46vw) + 16px); }
html.pl-grower .pr-tbl td.c-first { min-width: 160px; }
@media (min-width: 601px) { html.pl-grower .pr-tbl :is(th, td) { padding-left: 10px; padding-right: 10px; } }
html.pl-grower .pr-tbl td.col-epa_reg .nw { white-space: normal; }   /* "34704-50035 (CA)" wraps at its space */
/* a long chemical name breaks at a space or hyphen, never inside a word: the column takes the width it needs */
html.pl-grower .pr-tbl td[data-label="Active ingredient"], html.pl-grower .pr-tbl td[data-label="Formulation"] { overflow-wrap: normal; word-break: normal; }
/* a laptop: the pane about 40% of the page, 480–600px (the table gives up the room), a clear edge, its head
   sticky with the name and EPA number once the big name scrolls away (Casey 2026-11-08); the phone as it was */
.pl-stick { display: none; }
@media (min-width: 900px) {
  html.pl-grower .pr-panel { width: clamp(480px, 40vw, 600px); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0, 0, 0, .08); }
  html.pl-grower .view.pr-open { padding-right: calc(clamp(480px, 40vw, 600px) + 16px); }
  /* the head sits at the very top of the pane (the pane's own top padding moves into it): no negative offsets,
     so it can't ride up over the name when the sheet opens, and what scrolls under it is fully covered */
  html.pl-grower .pr-panel:not(.is-form) { padding-top: 0; }
  html.pl-grower .pr-panel:not(.is-form) > .pr-phead { position: sticky; top: 0; z-index: 3; margin: 0 -20px; padding: 12px 20px 8px;
    background: var(--surface); border-bottom: 1px solid transparent; }
  html.pl-grower .pr-panel.pl-stuck > .pr-phead { border-bottom-color: var(--line); }
  html.pl-grower .pr-panel.pl-stuck .pl-stick { display: block; font-size: max(15px, var(--th-fs-body, 0px)); color: var(--ink); }
  html.pl-grower .pl-stick-l { display: flex; flex-direction: column; min-width: 0; }
  .pl-stick b { font-weight: 700; }
}
@media (max-width: 700px) {
  html.pl-grower .pr-panel { width: 100vw; }
  html.pl-grower .view.pr-open { padding-right: 4px; }
}
/* a phone's cards: a gap between a label and its value */
@media (max-width: 600px) {
  html.pl-grower table.stack td[data-label]:not(:empty)::before { min-width: 112px; margin-right: 8px; }
}
/* the phone's one line of tiles (tiles.css), drawn when the grower app's window is a phone's */
html.pl-grower .pl-ktline { margin: 0 0 12px; }

/* ── Products page v2 (Casey 2026-10-23, mock-products-page-v2.html) ── */
/* the crop chips and the pest box */
.pl-cropbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 10px; margin: 0 0 10px; }
.pl-cb-l { font-size: max(12px, var(--th-fs-label, 0px)); font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.pl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 12px;
  min-height: 34px; font: inherit; font-size: max(14px, var(--th-fs-body, 0px)); white-space: nowrap; cursor: pointer; }
.pl-chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-acc); font-weight: 600; }
.pl-pest { flex: 1 1 220px; min-width: 190px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 6px 2px 12px; background: var(--surface); color: var(--ink3); }
.pl-pest input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: max(16px, var(--th-fs-lead, 0px)); min-height: 34px; }
.pl-pest:focus-within { outline: 2px solid var(--focus-ring, var(--accent)); }
.pl-pest-x { border: 0; background: none; color: var(--ink3); font-size: max(15px, var(--th-fs-body, 0px)); min-width: 32px; min-height: 32px; cursor: pointer; }
.pl-pest-x[hidden] { display: none; }
.pl-pest input::-webkit-search-cancel-button { display: none; }   /* its own ✕ */
.pl-phone .pl-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.pl-phone .pl-cropbar { flex-wrap: wrap; }
.pl-phone .pl-pest { flex-basis: 100%; }
/* the line above the list, the footer, an empty list */
.pl-foot[hidden] { display: none; }
.pl-foot { font-size: max(12px, var(--th-fs-label, 0px)); color: var(--ink3); margin: 10px 2px 0; }
.pl-empty { color: var(--ink2); text-align: center; padding: 16px; }
.pl-empty .btn-link { font: inherit; font-weight: 650; min-height: 0; }
/* the row's tags: DANGER red, WARNING amber (CAUTION is the drawer's); a library product in a mixed list */
.pl-sig, .pl-libtag { display: inline-block; font-size: max(11px, var(--th-fs-small, 0px)); font-weight: 700; border-radius: 999px; padding: 0 7px; margin-left: 6px;
  vertical-align: 1px; white-space: nowrap; }
.pl-sig-d { background: var(--th-bad-bg); color: var(--th-bad); }
.pl-sig-w { background: var(--warn-bg); color: var(--warn-tx); }
.pl-libtag { background: var(--th-info-bg); color: var(--th-info); }
.pl-lbrand { font-size: max(12px, var(--th-fs-label, 0px)); color: var(--ink3); margin-top: 1px; }
/* the group, by kind: FRAC blue, IRAC orange, HRAC purple (this page only) */
/* ── the grower's calm page (Casey 2026-10-31, ~/pomona-notes/mock-products-calm.html) ── */
html.pl-grower .pl-top { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
html.pl-grower .pl-sum { margin: 0; flex: 1; min-width: 0; color: var(--ink2); font-size: max(14px, var(--th-fs-body, 0px)); }
html.pl-grower .pl-att { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0 0 12px; padding: 8px 12px;
  background: var(--warn-bg); border-radius: 10px; font-size: max(14px, var(--th-fs-body, 0px)); }
.pl-att-i { font: inherit; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; min-height: 32px; }
.pl-att-i b { color: var(--warn-strong); }
.pl-att-i.on { text-decoration: underline; text-underline-offset: 3px; }
.pl-att-go { color: var(--accent); font-weight: 600; white-space: nowrap; }
.pl-att-dot { color: var(--ink3); }
html.pl-grower .pl-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.pl-sel { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 0 0 11px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--ink2); font-size: max(14px, var(--th-fs-body, 0px)); }
.pl-sel select { font: inherit; color: var(--ink); background: transparent; border: 0; min-height: 38px; padding: 0 8px 0 2px; cursor: pointer; }
.pl-sel:focus-within, .pl-search:focus-within { box-shadow: 0 0 0 3px var(--focus-ring); border-color: var(--accent); }
.pl-search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink3); }
.pl-search .pl-mag { width: 16px; height: 16px; flex: 0 0 auto; }
.pl-search input { flex: 1; min-width: 0; font: inherit; font-size: max(14px, var(--th-fs-body, 0px)); color: var(--ink); background: transparent; border: 0; outline: none; padding: 8px 0; }
@media (max-width: 560px) {
  html.pl-grower .pl-att { flex-direction: column; align-items: flex-start; gap: 0; }
  .pl-att-dot { display: none; }
  html.pl-grower .pl-seg { flex: 1 1 100%; }
  html.pl-grower .pl-seg .pr-pill { flex: 1 1 0; }
  html.pl-grower .pl-sel { flex: 1 1 0; }
  html.pl-grower .pl-sel select { flex: 1; min-width: 0; }
  html.pl-grower .pl-search { flex-basis: 100%; }
}
/* the group chip: FRAC in the Resistance panel's colour, M dashed, IRAC / HRAC plain */
.pl-g { display: inline-block; font-size: max(12px, var(--th-fs-label, 0px)); font-weight: 700; line-height: 1.5; border-radius: 7px; padding: 0 7px; color: var(--on-acc); white-space: nowrap; }
.pl-g.m { background: var(--mute-bg); color: var(--ink2); border: 1.5px dashed var(--ink3); padding: 0 6px; }
.pl-g.n { background: var(--mute-bg); color: var(--ink); border: 1px solid var(--line); padding: 0 6px; }
.pl-facts .pl-g { vertical-align: 1px; }
/* Your crops: a crop the label doesn't name, struck; a missing price, quiet */
.pl-c-off { color: var(--ink3); text-decoration: line-through; }
.pl-c-sep { color: var(--ink3); }
.pl-c-add { color: var(--ink3); font-size: max(13px, var(--th-fs-secondary, 0px)); }
/* a phone's card: the chip and price on the right */
.pl-card .pl-pr-r { flex: 0 0 auto; max-width: 42%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.pl-card .pl-pr-r .pl-g { margin-left: 2px; }
.pl-card .pl-pr-p { font-size: max(13px, var(--th-fs-secondary, 0px)); white-space: nowrap; }
.pl-card .pl-pr-2 { white-space: normal; font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink2); line-height: 1.35; }
.pl-card .pl-pr-c { display: block; font-size: max(12.5px, var(--th-fs-label, 0px)); line-height: 1.35; }
/* the EPA numbers sheet: a choice per product that fits, "Use your …" */
.pl-mt-ch { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; }
.pl-mt-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; width: 100%; text-align: left;
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.pl-mt-c:hover, .pl-mt-c:focus-visible { border-color: var(--accent); }
.pl-mt-c b { font-size: max(14.5px, var(--th-fs-body, 0px)); }
.pl-mt-c span { grid-column: 1; font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink2); }
.pl-mt-src { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: max(11.5px, var(--th-fs-small, 0px)); font-weight: 700; color: var(--accent); white-space: nowrap; }
.pl-mt-use { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ok-bg); }
.pl-mt-use span { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink2); }
.pl-mt-note { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); margin: 8px 0 0; }
.pl-gp { display: inline-block; font-size: max(12px, var(--th-fs-label, 0px)); font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.pl-gp-f { background: var(--th-info-bg); color: var(--th-info); }
.pl-gp-i { background: var(--th-bad-bg); color: var(--warn); }
.pl-gp-h { background: var(--th-var-bg); color: var(--th-var); }
/* Your crops: the names; ✓ confirmed, amber to confirm */
.pl-crops1 { font-size: max(13.5px, var(--th-fs-secondary, 0px)); }
.pl-c-ok { color: var(--ink); white-space: nowrap; }
.pl-c-ok::after { content: " ✓"; color: var(--accent); font-weight: 700; }
.pl-c-cf { color: var(--warn-tx); font-weight: 600; white-space: nowrap; }
.pl-c-mute { color: var(--ink3); }
/* Round C: the sheets (Match to / Fill from the Pomona library): a bottom sheet on a phone, a dialog wider */
.pl-sh-ov { position: fixed; inset: 0; background: var(--th-scrim); z-index: 60; display: flex; align-items: center; justify-content: center; }
.pl-sh-ov[hidden] { display: none; }
.pl-sh { background: var(--card, #fff); color: var(--ink); width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 14px;
  display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.pl-sh-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line, #e2dbcb); }
.pl-sh-h h3 { margin: 0; font-size: max(16px, var(--th-fs-lead, 0px)); flex: 1; }
.pl-sh-b { padding: 14px 18px; overflow-y: auto; flex: 1; }
.pl-sh-f { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line, #e2dbcb); }
.pl-sh-f .btn-link { margin-left: auto; }
@media (max-width: 600px) {
  .pl-sh-ov { align-items: flex-end; }
  .pl-sh { width: 100vw; max-height: 88vh; border-radius: 14px 14px 0 0; }
}
.pl-mt-name { display: flex; flex-direction: column; margin-bottom: 10px; }
.pl-mt-name b { font-size: max(16px, var(--th-fs-lead, 0px)); } .pl-mt-name span { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); }
.pl-mt { width: 100%; border-collapse: collapse; font-size: max(13.5px, var(--th-fs-secondary, 0px)); }
.pl-mt th, .pl-mt td { text-align: left; padding: 7px 8px; border-top: 1px solid var(--line2, #efe9dc); vertical-align: top; }
.pl-mt thead th { font-size: max(11px, var(--th-fs-small, 0px)); text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); border-top: 0; }
.pl-mt tbody th { font-weight: 600; color: var(--ink2); width: 30%; }
.pl-mt-why { font-size: max(14px, var(--th-fs-body, 0px)); color: var(--ink2); margin: 0 0 10px; }
.pl-mt-in { display: block; margin: 8px 0; font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink2); }
.pl-mt-in input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; font: inherit; font-size: max(15px, var(--th-fs-body, 0px)); padding: 9px 11px;
  border: 1px solid var(--line, #e2dbcb); border-radius: 8px; }
.pl-mt-regs { margin-top: 8px; } .pl-mt-k { font-size: max(11px, var(--th-fs-small, 0px)); text-transform: uppercase; letter-spacing: .05em; color: var(--ink3); margin-bottom: 4px; }
.pl-mt-reg { display: flex; flex-direction: column; padding: 6px 0; border-top: 1px solid var(--line2, #efe9dc); font-size: max(13.5px, var(--th-fs-secondary, 0px)); }
.pl-mt-reg span { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink2); }
.pl-mt-msg { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: var(--th-bad-bg); border: 1px solid var(--th-bad-line); font-size: max(13px, var(--th-fs-secondary, 0px)); }
.pl-mt-msg[hidden] { display: none; }
.pl-mt-np { margin-top: 12px; font-size: max(13px, var(--th-fs-secondary, 0px)); } .pl-mt-np summary { cursor: pointer; color: var(--ink2); }
.pl-mt-np div { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pl-mt-np select { font: inherit; padding: 6px 8px; border: 1px solid var(--line, #e2dbcb); border-radius: 8px; }
.pl-mt-end { font-size: max(15px, var(--th-fs-body, 0px)); }
.pl-fl-lead { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); margin: 0 0 10px; }
.pl-fl { padding: 10px 0; border-top: 1px solid var(--line2, #efe9dc); }
.pl-fl-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .pl-fl-h span { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--ink3); }
.pl-fl-a { display: grid; grid-template-columns: auto 9em 1fr; gap: 4px 8px; align-items: baseline; padding: 4px 0; font-size: max(13.5px, var(--th-fs-secondary, 0px)); cursor: pointer; }
.pl-fl-v { overflow-wrap: anywhere; } .pl-fl-src { grid-column: 3; font-size: max(11.5px, var(--th-fs-small, 0px)); color: var(--accent, #2f5d3a); }
.pl-fl-note { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--warn-tx, #b4552f); margin-top: 3px; }
.pl-fl.skip .pl-fl-h b { color: var(--ink3); } .pl-fl-skip { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--warn-tx, #b4552f); margin-top: 3px; }
.pl-fillbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: max(13.5px, var(--th-fs-secondary, 0px)); margin: 0 2px 10px; color: var(--ink2); }
/* Round B: REI · PHI on one line with "· confirm"; the fold under a crop's list; the EPA-number flag's line */
.pl-rp { white-space: nowrap; }
.pl-fold td { padding: 0 !important; background: transparent; }
.pl-fold-b { display: block; width: 100%; text-align: left; font: inherit; font-size: max(13.5px, var(--th-fs-secondary, 0px)); color: var(--ink2); background: var(--head, #faf7f0);
  border: 1px dashed var(--line, #e2dbcb); border-radius: 10px; padding: 10px 14px; margin: 6px 0; cursor: pointer; }
.pl-fold-x { color: var(--accent); font-weight: 650; }
.pl-eflag { font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--warn-tx); margin-top: 2px; line-height: 1.35; white-space: normal; }
.pl-pr-3 { display: block; font-size: max(12.5px, var(--th-fs-label, 0px)); color: var(--warn-tx); line-height: 1.35; margin-top: 2px; }
.pr-tbl td.col-rate_c, .pr-tbl td.col-price { white-space: nowrap; }
/* a crop's headers wrap before the crop: "REI · PHI" / "(Apple)" */
.pr-tbl th.col-reiphi_c, .pr-tbl th.col-rate_c { white-space: normal; min-width: 96px; }
.pl-pest .pl-mag { width: 16px; height: 16px; flex: none; }
/* edit in place: the value, and its editor below it */
.pl-edw { position: relative; display: inline-block; }
.pl-ed { cursor: pointer; border-bottom: 1px dashed var(--line-strong, var(--line)); padding-bottom: 1px; }
.pl-ed:hover, .pl-ed:focus-visible { background: var(--hl-bg, var(--mute-bg)); outline: none; }
.pl-pen { font-size: max(11px, var(--th-fs-small, 0px)); color: var(--ink3); margin-left: 4px; opacity: 0; }
tr:hover .pl-pen, .pl-ed:focus-visible .pl-pen { opacity: 1; }
.pl-saved { color: var(--accent); font-size: max(12px, var(--th-fs-label, 0px)); font-weight: 700; margin-left: 6px; }
.tbl-wrap.pl-editing { overflow: visible; }
.pl-pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; width: 280px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--pop-shadow, 0 8px 24px rgba(0,0,0,.16)); padding: 10px 12px;
  font-size: max(13.5px, var(--th-fs-secondary, 0px)); white-space: normal; text-align: left; cursor: default; }
.pl-pop-t { font-weight: 700; margin-bottom: 6px; }
.pl-pop-r { display: flex; gap: 6px; align-items: center; }
.pl-pop-i { width: 96px; min-height: 36px; border: 1px solid var(--line-strong, var(--line)); border-radius: 8px; padding: 6px 8px;
  font: inherit; font-size: max(16px, var(--th-fs-lead, 0px)); background: var(--surface); color: var(--ink); }
.pl-pop-s { min-height: 36px; border: 1px solid var(--line-strong, var(--line)); border-radius: 8px; background: var(--surface); color: var(--ink); }
.pl-pop-u { color: var(--ink2); }
/* the price popover (dated prices): from when, where from, the product's prices */
.pl-pop.pl-pop-price { width: 340px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; }
.pl-pop.pl-pop-price > * { flex: none; }
/* capPop sets the box's height to the window below it: the prices list is the part that scrolls, Save stays */
.pl-pop.pl-pop-price > .pl-pop-prices { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pl-pop.pl-pop-price > .pl-pop-prices:not(:empty) { min-height: 88px; }      /* the heading and a row at least */
.pl-pop-price .pl-pop-l { margin-top: 8px; }
.pl-pop-price .pl-pop-d { width: 160px; }
.pl-pop-price .pl-pop-src { margin-top: 4px; }
.pl-pop-price .pl-pop-pt { margin: 10px 0 2px; }
.pl-pop-pl { list-style: none; margin: 0; padding: 0; }
.pl-pop-pe { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 4px 0;
             border-top: 1px solid var(--line2); color: var(--ink2); font-size: max(13px, var(--th-fs-label, 0px)); }
.pl-pop-pe:first-child { border-top: 0; }
.pl-pop-pe b { color: var(--ink); }
.pl-pop-pn { display: block; color: var(--ink3); font-size: max(12px, var(--th-fs-label, 0px)); }
.pl-pop-rm, .pl-pop-ask { flex: none; white-space: nowrap; }
.pl-pop-h { color: var(--ink3); font-size: max(12.5px, var(--th-fs-label, 0px)); margin: 6px 0 0; }
.pl-pop-b { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
/* the invoice price box (prices R3): "$ price for size unit", the per-unit result, common sizes, the far-above card.
   A phone: popmenu.js's bottom sheet (.pm-sheet). Theme tokens only. */
.pl-pop.pl-ib { width: 380px; gap: 2px; }
.pl-ib-step { display: block; font-weight: 700; color: var(--ink); margin: 10px 0 6px; }
.pl-ib-you { margin: 0 0 4px; }
.pl-ib-you b { color: var(--ink); }
.pl-pop .pl-ib-i { width: 96px; }
.pl-pop .pl-ib-n { width: 64px; }
.pl-pop .pl-ib-pay select.pl-ib-su { min-height: 40px; width: auto; min-width: 72px; flex: none; }
.pl-ib-pay { flex-wrap: nowrap; }
.pl-ib-units, .pl-ib-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-ib-chip { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-strong, var(--line)); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; white-space: nowrap; }
.pl-ib-chip.on { background: var(--th-sel); border: 2px solid var(--gm); color: var(--gm); font-weight: 700; }
.pl-ib-more { min-height: 40px; }
.pl-ib-dyn:empty { display: none; }
.pl-ib-dyn { margin-top: 10px; }
.pl-ib-res { background: var(--th-sel); border: 1px solid var(--th-ok-line); border-radius: 12px; padding: 10px 12px; }
.pl-ib-big { font-size: max(22px, var(--th-fs-h2, 0px)); font-weight: 800; color: var(--gm); line-height: 1.2; }
.pl-ib-sub { color: var(--ink2); font-size: max(13px, var(--th-fs-secondary, 0px)); margin-top: 2px; }
.pl-ib-err { display: block; }
.pl-ib-check { background: var(--th-amber-bg); border: 1px solid var(--th-amber-line); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px; }
.pl-ib-ct { font-weight: 800; color: var(--th-amber-strong); font-size: max(16px, var(--th-fs-lead, 0px)); }
.pl-ib-cx { color: var(--ink); line-height: 1.4; }
.pl-ib-yes { min-height: 44px; text-align: left; white-space: normal; }
.pl-ib-row { display: flex; gap: 8px; }
.pl-ib-row .btn { flex: 1 1 0; min-height: 44px; white-space: normal; }
.pl-ib-sizes:empty { display: none; }
.pl-ib-save:disabled { opacity: .55; cursor: default; }
/* wider than a phone: fixed beside what was clicked, off <body> (popmenu.js fixedPlace), the window's height at most;
   a tall box (the far-above card) scrolls inside with Cancel / Save pinned to its foot */
.pl-pop.pl-ib.pl-ib-fix { position: fixed; right: auto; z-index: 40; overflow-y: auto; overscroll-behavior: contain; }
.pl-ib-fix .pl-pop-b { position: sticky; bottom: -10px; background: var(--surface); margin: 10px -12px -10px; padding: 8px 12px 10px; }
.pm-sheet.pl-ib { padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
.pm-sheet.pl-ib .pl-pop-b .btn { min-height: 46px; padding: 0 18px; }
/* a phone: two-line rows, no cards; nothing wraps */
.pl-rows { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pl-rows[hidden], .tbl-wrap[hidden] { display: none; }
.pl-pr { display: flex; gap: 8px; align-items: center; width: 100%; min-height: 56px; padding: 8px 12px; border: 0;
  border-top: 1px solid var(--line2); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pl-pr:first-child { border-top: 0; }
/* Add from the library (Casey 2026-11-06, ~/pomona-notes/mocks/libadd_*): the tick boxes, the "Add N products"
   bar, the "Added …" note, "N of M to confirm", the library product's crops, "Add a product by hand" */
.col-pick { width: 44px; }
.pl-tick { width: 26px; height: 26px; min-height: 0; padding: 0; border: 2px solid var(--ink3); border-radius: 6px; background: var(--surface);
  color: var(--accent-ink); font: inherit; font-weight: 800; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; vertical-align: middle; flex: none; }
.pl-tick.on { background: var(--accent); border-color: var(--accent); }
.pl-tick.mine { border-color: transparent; background: transparent; color: var(--ok-tx); font-size: max(16px, var(--th-fs-lead, 0px)); cursor: default; }
.pl-pickrow { display: flex; align-items: center; border-top: 1px solid var(--line2); }
.pl-pickrow .pl-tick { width: 30px; height: 30px; margin-left: 12px; }
.pl-pickrow .pl-pr, .pl-newrow .pl-pr { border-top: 0; flex: 1; min-width: 0; }
.pl-newrow { border-top: 1px solid var(--line2); }
.pl-pickrow:first-child, .pl-newrow:first-child { border-top: 0; }
.pl-newline { padding: 0 12px 10px; }
.pl-tocf { font: inherit; font-weight: 650; color: var(--warn-tx); min-height: 0; padding: 0; text-align: left; }
.pl-new { margin-left: 4px; }
.pl-pickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 10px; align-items: center; justify-content: flex-end;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
.pl-pickbar[hidden], .pl-note[hidden] { display: none; }
.pl-pb-n { margin-right: auto; color: var(--ink2); }
.pl-note { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 26; width: min(560px, calc(100% - 24px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--ink); color: var(--surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.pl-note-t { overflow-wrap: anywhere; }
.pl-note .btn-link { color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; padding: 0 4px; white-space: nowrap; }
.pl-note .pl-note-x { margin-left: auto; color: inherit; flex: none; }
.pl-byhand { margin: 12px 0 76px; color: var(--ink2); }
.pl-top .btn[hidden] { display: none; }
.pl-byhand .btn-link { font: inherit; font-weight: 650; min-height: 0; padding: 0; }
.pl-addlib { min-height: 44px; }
.pl-lc { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 2px; border-top: 1px solid var(--line2); }
.pl-lc-v { color: var(--ink2); white-space: nowrap; }
.pl-lc-v b { color: var(--ink); }
/* the drawer's price: its editor under the whole facts line, from its left edge (the panel's width, never past it) */
.pl-facts { position: relative; }
.pl-facts .pl-edw { position: static; }
.pl-facts .pl-pop { left: 0; right: auto; max-width: 100%; }
.pl-pr.sel { background: var(--hl-bg, var(--mute-bg)); }
.pl-pr-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-pr-1 { display: flex; gap: 6px; align-items: baseline; min-width: 0; white-space: nowrap; }
.pl-pr-1 b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: max(14.5px, var(--th-fs-body, 0px)); min-width: 0; }
.pl-pr-1 .pl-sig, .pl-pr-1 .pl-libtag { margin-left: 0; flex: none; }
.pl-pr-g { margin-left: auto; flex: none; }
.pl-pr-2 { font-size: max(13px, var(--th-fs-secondary, 0px)); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pl-pr-2 b { color: var(--ink); }
.pl-pr-x { color: var(--ink3); flex: none; }
/* the drawer's quick fields (a phone) */
.pl-quick { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.pl-qf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: max(14px, var(--th-fs-body, 0px)); }
.pl-qf .pr-k { flex-basis: 100%; }
.pl-qf-price .pl-qv { margin-right: auto; }
.pl-qi { width: 96px; min-height: 38px; border: 1px solid var(--line-strong, var(--line)); border-radius: 8px; padding: 6px 8px; font: inherit;
  font-size: max(16px, var(--th-fs-lead, 0px)); background: var(--surface); color: var(--ink); }

/* One product's panel alone (product-library.html #open=…): the Spray Guide's By group overlay. The panel fills
   the frame; the list, tiles and bars behind it aren't drawn. */
html.pl-single .view > :not(#pr-panel) { display: none !important; }
html.pl-single .view.pr-open { padding: 0; }
html.pl-single .pr-panel { top: 0; bottom: 0; left: 0; right: 0; width: 100vw !important; border-left: 0; box-shadow: none; }
