/* Wholesale pages: the open catalog and the order sheet. Loaded after the site stylesheet. It uses the site's
   tokens and adds only what these pages need: no cards, no rounded corners, no shadows, nothing under 14px. */

.ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Parts that only work with JavaScript stay hidden until the script has loaded. */
.ws-js-row, .ws-js-block { display: none; }
.js .ws-js-row { display: grid; }
.js .ws-js-block { display: block; }

/* Header */
.site-header .header-logo { flex: none; }
.ws-header-links { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; }
.ws-header-links .header-link { min-width: 44px; }

/* Top of the page */
.ws-top { display: grid; justify-items: start; padding-block: 12px 28px; }
.ws-top .descriptor { max-width: 36em; }
.ws-plain { margin-top: 12px; }
.ws-draft { margin-top: 16px; border: 1px solid var(--error); color: var(--error); padding: 10px 14px; font-weight: 500; }
.ws-draft a { color: var(--error); display: inline-block; padding-block: 12px; margin-block: -12px; }
.ws-nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 12px; }
.ws-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.ws-back { padding-block: 8px 40px; }
.ws-back a { display: inline-flex; align-items: center; min-height: 44px; }

/* A field group with one cell */
.fields.ws-one { grid-template-columns: minmax(0, 1fr); max-width: 508px; margin-top: 0; }
.request-form .fields.ws-one { margin-top: 16px; }

/* The price list. On the tint band the hairline between rows is green. */
.ws-list { display: grid; min-width: 0; }
.research .row { border-top-color: var(--green); }
.ws-list > .row:first-child { border-top: 1px solid var(--green); padding-top: 24px; }
.ws-list > .row:last-of-type { padding-bottom: 24px; }
.ws-list > .row.ws-colhead { padding-block: 12px; }
.ws-colhead .row-label, .ws-colhead .ws-option { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ws-colhead .row-label { padding-top: 0; }
.ws-colhead .ws-option { min-height: 0; }
.ws-product .row-label { font-size: 16px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.ws-options { margin: 0; padding: 0; list-style: none; display: grid; }
.ws-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, auto) 88px; align-items: center; gap: 16px; min-height: 52px; }
.ws-price { text-align: right; font-variant-numeric: tabular-nums; }
.ws-qty-head { text-align: right; }
.ws-qty-label { display: block; }
.ws-qty {
  display: block; width: 88px; min-height: 44px; border: 1px solid var(--field-border); border-radius: 0;
  background: var(--paper); padding: 0 10px; font: 400 16px/1.5 var(--sans); color: var(--ink);
  text-align: right; font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none;
}
.ws-qty::placeholder { color: var(--ink-2); opacity: 1; }
.ws-qty:hover { background: var(--field); }
.ws-qty:focus { outline: 2px solid var(--green-dark); outline-offset: -2px; background: var(--paper); }
.ws-qty.is-set { border: 2px solid var(--green-dark); padding: 0 9px; }
.ws-qty.is-invalid { outline: 2px solid var(--error); outline-offset: -2px; }
.ws-qty.is-invalid:focus { outline-width: 3px; }
.ws-count { margin-top: 12px; color: var(--ink-2); }
.ws-none { padding-block: 24px; border-top: 1px solid var(--green); }
.ws-muted { color: var(--ink-2); }
.row-body > p + p { margin-top: 8px; }
.row-body > .ws-draft:first-child { margin-top: 0; }
.row-body > .ws-draft + p, .row-body > .ws-action + p, .row-body > p + .ws-action { margin-top: 16px; }

/* Lists that fold. The script adds ws-collapsed and the control that undoes it; without the script the whole
   list shows. A product row past the first few is marked ws-extra by the server. A row with a quantity typed
   in (ws-keep) and a list being searched (ws-searching) are never folded.
   The 503A list folds after its tenth product: the same number as rxShown in wholesale/config.mjs. */
.ws-list.ws-collapsed:not(.ws-searching) > .ws-extra:not(.ws-keep) { display: none; }
.ws-more { margin-top: 16px; margin-bottom: 24px; }
.row .ws-more, .rows > .ws-more:last-child { margin-bottom: 0; }
/* While a search is typed the list shows its matches, folded away or not, so the control has nothing to do. */
.js .ws-list.ws-searching + .ws-more { display: none; }

/* The open catalog: a product and its sizes, no price */
.ws-colhead .ws-sizes-head { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--ink-2); }
.ws-list > .row.ws-open { padding-block: 14px; }
.ws-open .ws-sizes { color: var(--ink-2); }
/* The name and its sizes sit on one line: no extra space above the name. */
.ws-open .row-label { padding-top: 0; }
/* The open catalog's rows: the photo of the size the price list shows first, beside the name (Oct 15, 2026). */
.ws-open .row-label.ws-has-thumb { display: flex; align-items: center; gap: 12px; }
.ws-open-thumb { flex: none; display: block; width: 36px; height: 48px; object-fit: cover; background: var(--shot); }
.ws-list > .row.ws-open { align-items: center; }

/* The request-pricing form: a list to choose from in the joined field group, and a group of two cells */
.field select {
  display: block; width: 100%; min-height: 64px; border: 0; border-radius: 0; background: transparent;
  padding: 30px 44px 8px 14px; font: 400 16px/1.5 var(--sans); color: var(--ink); cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.field select:focus { outline: none; }
.field.ws-select::after {
  content: ""; position: absolute; right: 18px; top: 36px; width: 8px; height: 8px;
  border-right: 2px solid var(--green-dark); border-bottom: 2px solid var(--green-dark);
  transform: rotate(45deg); pointer-events: none;
}
.fields.ws-pair { grid-template-columns: minmax(0, 1fr); }
.request-form .ws-check { margin-top: 12px; }
.request-form .btn-secondary { margin-top: 16px; width: 100%; }
.ws-js-row .form-status:empty { margin-top: 0; min-height: 0; }
/* The requests page: a reference stays on one line; the personal link sits in a box that cannot be edited. */
.ws-ref { white-space: nowrap; }
.ws-linkbox { margin-top: 8px; max-width: none; }
.ws-link { font-weight: 500; text-overflow: ellipsis; }
/* The workspace: copy buttons under a link, a move control in a row, and a sign-in code shown once. */
.ws-copy { display: none; margin-top: 8px; }
.js .ws-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ws-copy .btn { min-width: 0; }
.ws-copied { color: var(--ink-2); }
.ws-move { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
/* The first-order discount on a practice's row: a label over a small select and Save. */
.ws-discount { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 12px; }
.ws-discount .ws-pick { display: flex; flex-direction: column; gap: 4px; }
.ws-discount-label { font-size: 14px; color: var(--ink-2); }
/* The referral code box on the price list (wholesale/referrals.mjs): the box and its button on one line, wrapping on a phone. */
.ws-referral { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; width: 100%; max-width: 560px; }
.ws-referral > p { flex-basis: 100%; margin: 0; }
.ws-referral .ws-referral-field { flex: 1 1 220px; }
.ws-referral .ws-check { flex-basis: 100%; }
.ws-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; }
.ws-discount + .ws-muted { display: block; margin-top: 4px; }
/* A portal invite that carries older prices than a new one would (owners). */
.ws-stale { display: block; margin-top: 8px; font-size: 14px; }
.ws-pick select {
  min-height: 48px; min-width: 150px; max-width: 100%; border: 1px solid var(--field-border); border-radius: 0; background: var(--paper);
  padding: 0 12px; font: 400 16px/1.5 var(--sans); color: var(--ink);
}
.ws-pick select:focus { outline: 2px solid var(--green-dark); outline-offset: -2px; }
.ws-shown { margin-top: 20px; border: 2px solid var(--green-dark); padding: 16px 16px 20px; }
.doc .ws-shown h2 { margin-top: 0; }
.ws-any { overflow-wrap: anywhere; font-weight: 500; }
.ws-find-form { margin-top: 16px; }
.ws-find-form .btn { margin-top: 8px; }

/* Checkboxes, drawn square in the site's colours */
.ws-check { display: flex; align-items: flex-start; gap: 12px; padding-block: 10px; min-height: 44px; max-width: 44em; cursor: pointer; }
.ws-check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0;
  border: 1px solid var(--green); border-radius: 0; background: var(--paper);
  display: grid; place-content: center; cursor: pointer;
}
.ws-check input::before { content: ""; width: 12px; height: 12px; background: var(--green-dark); transform: scale(0); }
.ws-check input:checked { border-color: var(--green-dark); }
.ws-check input:checked::before { transform: scale(1); }
.ws-check input:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.ws-check.is-invalid span { color: var(--error); }
.ws-check.is-invalid input { border-color: var(--error); }
.notice + .ws-check { margin-top: 12px; }
/* The price list as the one page before the pay page: where the order ships, and the confirmation box. */
.ws-confirm + .form-status { margin-top: 12px; }
.ws-next { margin-top: 8px; font-size: 14px; }
/* A full-size tap target for a link on its own line. */
.rs-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
/* The three policies under the confirmation box, side by side, wrapping on a phone. */
.rs-policies { display: flex; flex-wrap: wrap; column-gap: 20px; }
.rs-note { margin-top: 8px; font-size: 14px; }

/* The selected items: name, quantity at price, line total */
.ws-lines { margin: 0; padding: 0; list-style: none; display: grid; }
.ws-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(96px, auto); column-gap: 24px; padding-block: 10px; border-top: 1px solid var(--green); }
.ws-lines li:first-child { border-top: 0; padding-top: 0; }
.ws-lines .ws-total { font-weight: 500; }
/* A starter pack is one row at its one price. Its products sit under it, set in, with no price each. */
.ws-lines .ws-pack-row { font-weight: 500; }
.ws-lines .ws-in-pack { border-top: 0; padding-block: 0 8px; color: var(--ink-2); }
.ws-lines .ws-in-pack .ws-line-name { padding-left: 16px; }
.ws-line-name { overflow-wrap: anywhere; }
.ws-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-after-lines { margin-top: 12px; }

/* The 503A list: name and form, no prices. It sits on white, so its hairlines are the neutral rule. */
.ws-rx { margin: 12px 0 0; padding: 0; list-style: none; display: grid; }
.ws-rx li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding-block: 10px; border-top: 1px solid var(--rule); }
.ws-rx .ws-rx-form { color: var(--ink-2); white-space: nowrap; }

/* Drop-downs (Oct 23, 2026): the categories of the product lists, after Most popular, and the 503A and 503B lists
   by form. The heading names how many products are inside and what they are, so a closed one still says what it
   holds. The script turns the heading into a button and marks the drop-down ready (acc-ready); only then does a
   closed one put its list away. Without the script every list shows. */
.acc { min-width: 0; }
.acc-h { margin: 0; font: inherit; }
.acc-h:focus { outline: none; }
.acc-hd { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 4px; box-sizing: border-box; width: 100%; padding: 14px 16px; text-align: left; }
.acc-top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.acc-name { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.acc-n { font-size: 14px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.acc-peek { font-size: 14px; line-height: 20px; color: var(--ink-2); overflow-wrap: anywhere; }
.acc-btn { grid-template-columns: minmax(0, 1fr) 36px; column-gap: 16px; align-items: center; min-height: 64px; margin: 0; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.acc-btn .acc-top, .acc-btn .acc-peek { grid-column: 1; }
/* A square with a chevron at the right: it points down when closed and up when open. */
.acc-btn::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; box-sizing: border-box; width: 36px; height: 36px;
  border: 1px solid var(--green); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234E6154' stroke-width='2'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.acc.is-open > .acc-h .acc-btn::after { transform: rotate(180deg); }
/* Only a pointer that hovers shades a heading: on a phone the shade would stay after a tap. */
@media (hover: hover) { .acc-btn:hover { background: var(--field); } }
.acc-btn:focus-visible { outline: 2px solid var(--green-dark); outline-offset: -2px; }
.acc.is-open .acc-peek { display: none; }
.acc-ready:not(.is-open) > .acc-body { display: none; }

/* The open catalog in sections: Most popular, then the categories as white blocks on the tint, each with a green edge. */
.ws-sub, .ws-cats { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.ws-sub { padding-block: 20px 4px; border-top: 1px solid var(--green); }
.ws-cats { margin-top: 24px; padding-block: 20px 4px; border-top: 2px solid var(--green); }
.ws-cats-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.ws-sub-h { font-size: 18px; line-height: 24px; font-weight: 500; }
.ws-sub-n { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.ws-acc-all { padding: 12px 0; margin: -12px 0; border: 0; border-radius: 0; background: none; color: var(--green); font: 400 16px/24px var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.ws-acc-all:hover { color: var(--green-dark); }
/* A product's name under Most popular or a category is an h4: no space of its own above or below it. */
.ws-open h4.row-label { margin: 0; }
.ws-sections .acc { margin-top: 8px; border: 1px solid var(--green); background: var(--paper); }
.ws-sections .acc-body { padding-inline: 16px; border-top: 1px solid var(--green); }
.ws-sections .acc-body > .row { border-top-color: var(--rule); padding-block: 14px; align-items: center; }
.ws-sections .acc-body > .row:first-child { border-top: 0; }
.ws-sections .acc-body > .row:last-child { padding-bottom: 14px; }
.ws-list.ws-sections > .row.ws-open { padding-block: 14px; }
.ws-elsewhere { margin: 0; padding: 12px 0 14px; list-style: none; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.ws-elsewhere a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.ws-searching .ws-elsewhere { display: none; }

/* The 503A and 503B lists by form: blocks with a neutral edge on the white section. */
.ws-rx-acc { margin-top: 8px; border: 1px solid var(--green); background: var(--paper); }
.ws-rx-acc .acc-body { padding-inline: 16px; border-top: 1px solid var(--green); }
.ws-rx-acc .ws-rx { margin: 0; }
.ws-rx-acc .ws-rx li:first-child { border-top: 0; }

/* Small forms: the preview tester button, a new link on the requests page, the print control */
.ws-preview-form { display: grid; justify-items: start; gap: 8px; }
.ws-row-links { white-space: nowrap; }
.ws-row-links a + a { margin-left: 16px; }
.ws-inline-form { margin-top: 8px; }
.ws-inline-form .btn { white-space: nowrap; }
.ws-email-go { margin-top: 16px; }
/* "Find a practice", and the line that says what it found */
.ws-search { margin-top: 32px; }
.ws-found { margin-top: 16px; }
/* The rep report: its quick spans, its figures */
.ws-report-form { margin-bottom: 8px; }
.ws-report-spans a { margin-right: 24px; }
.ws-report td.ws-num, .ws-report th.ws-num { text-align: right; white-space: nowrap; }
.ws-report tfoot th, .ws-report tfoot td { font-weight: 500; border-top: 1px solid var(--ink); }
.ws-print { margin-top: 16px; }
/* Customers (Nov 10, 2026): a status to pick, with its count, and each row's status in a word */
/* Shown on paper only: the notice repeated after the items, so it is on the sheet that carries them. */
.ws-print-only { display: none; }

/* Document-style pages: requests, messages */
.ws-scroll { overflow-x: auto; }
.ws-scroll:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.doc thead th { font-size: 14px; font-weight: 500; color: var(--ink-2); border-top: 0; white-space: nowrap; }
.doc .ws-num { text-align: right; padding-right: 0; padding-left: 16px; }
.doc .ws-num + :not(.ws-num) { padding-left: 24px; }
.ws-action { margin-top: 20px; }
.ws-settings th { width: 150px; font-weight: 500; }
/* The cell that holds a personal link is given room, so the link takes few lines and is easy to copy. */
.doc .ws-access { min-width: 320px; }

.ws-notice-row .notice { margin-top: 0; }

/* The search box over a product list: bigger, with a magnifier (Sol, Oct 14, 2026). Needs the script. */
.ws-find { display: none; flex-direction: column; gap: 6px; min-width: 0; max-width: 720px; cursor: text; }
.js .ws-find { display: flex; }
.ws-find-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-2); }
.ws-find-box { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; border: 2px solid var(--green); background: var(--paper); }
.ws-find-box:focus-within { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.ws-find-icon { flex: none; width: 22px; height: 22px; color: var(--green); }
.ws-find input { flex: 1; min-width: 0; height: 56px; border: 0; border-radius: 0; padding: 0; margin: 0; background: transparent; font: 400 18px/24px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.ws-find input::-webkit-search-decoration { -webkit-appearance: none; }
.ws-find input:focus { outline: none; }
.ws-find input::placeholder { color: var(--ink-2); opacity: 1; }
.ws-find-row .form-status:empty { margin-top: 0; min-height: 0; }

/* The 503A list's pop-up on the open catalog (popover). Full screen on a phone, a box in the middle from 600px.
   A browser without popovers gets .is-open from wholesale.js. */
.ws-pop { display: none; box-sizing: border-box; position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0 20px 20px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); overflow-y: auto; z-index: 10; }
.ws-pop.is-open { display: block; }
.ws-pop:popover-open { display: block; }
.ws-pop::backdrop { background: rgba(24, 33, 28, 0.5); }
.ws-pop-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; margin-inline: -20px; padding-inline: 20px; border-bottom: 1px solid var(--green); background: var(--paper); }
.ws-pop-title { font-size: 20px; line-height: 28px; font-weight: 500; }
/* The open catalog has no listing.css, so the close button carries its own link look. */
.ws-pop-close { min-height: 44px; padding: 0 4px; margin-right: -4px; border: 0; border-radius: 0; background: none; color: var(--green); font: 500 16px/24px var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.ws-pop-close:hover { color: var(--green-dark); }
.ws-pop-lead { margin-top: 16px; }
.ws-pop-go { margin-top: 20px; }
.ws-pop-go .btn { width: 100%; }

/* The request form's one choice: RUO, 503A/B or both. A square like the checkboxes, with a dot where they have a
   square, so it reads as one choice and not three boxes. */
.ws-choices { margin: 16px 0 0; padding: 12px 14px 4px; border: 1px solid var(--green); background: var(--paper); min-width: 0; }
.ws-choices legend.field-label { position: static; padding: 0 4px; margin-left: -4px; }
.ws-choice-row { display: flex; flex-wrap: wrap; gap: 0 28px; }
.ws-choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 500; }
.ws-choice input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--green); border-radius: 0; background: var(--paper); display: grid; place-content: center; cursor: pointer; }
.ws-choice input::before { content: ""; width: 12px; height: 12px; clip-path: circle(50%); background: var(--green-dark); transform: scale(0); }
.ws-choice input:checked::before { transform: scale(1); }
.ws-choice input:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.ws-opens-hint { margin: 4px 0 10px; }
.ws-reg-first .ws-reg-row { border-top: 0; }
.ws-choices.is-invalid { border-color: var(--error); outline: 1px solid var(--error); }
.ws-after-button { margin-top: 12px; }

/* The price list's 503A and 503B section, under the order form (Oct 15, 2026). */
.ws-reg-form .btn { width: 100%; }
.ws-reg-words { margin-top: 10px; max-width: 44em; }
/* The Register for 503A/B window (views.mjs, registerWindow): what to have ready, then the form or the one button. */
.ws-reg-needs { margin: 10px 0 0; padding-left: 20px; }
.ws-reg-needs li { padding-block: 4px; }
.ws-reg-needs + .ws-muted { margin-top: 12px; }
#reg-pop .ws-muted + form, .ws-reg-open .ws-muted + form { margin-top: 20px; }
#reg-pop .ws-reg-form .btn, .ws-reg-request .btn { width: 100%; }
.ws-reg-open { padding: 16px 0 4px; border-top: 1px solid var(--green); }
.ws-reg-title { font-size: 20px; line-height: 28px; font-weight: 500; }
.ws-reg-row p + p { margin-top: 10px; }
.ws-reg-sent { margin-top: 10px; font-weight: 500; }
.ws-reg-sent[hidden] { display: none; }
/* The Register form's optional sign-up details (Oct 30, 2026), folded under one line, and the NPI Registry button. */
.ws-reg-more { margin-top: 16px; }
.ws-reg-more > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 500; color: var(--green-dark); }
.ws-reg-more > .ws-muted { margin-top: 8px; }
.ws-reg-fill { margin-top: 16px; }
.ws-reg-fill [hidden] { display: none; }
.ws-reg-more .form-status:empty { min-height: 0; }
/* Make a link starts with an NPI (Oct 30, 2026): the hint under the two NPI boxes, and the NPI Registry's answer. */
#make-form .ws-make-hint { margin-top: 8px; }
#make-form .ws-reg-fill { margin-top: 12px; }
.ws-make-said:empty { margin-top: 0; min-height: 0; }
/* The one search box for the NPI Registry (Oct 30, 2026): matches drop down under it as you type. */
.ws-npi-find { position: relative; }
/* .doc ul indents lists and gives each item a top margin; this one sits flush under its box. */
.ws-npi-find .ws-npi-list { margin: 0; padding: 0; list-style: none; }
.ws-npi-find .ws-npi-opt { margin: 0; }
.request-form .fields.ws-npi-box { max-width: none; margin-top: 0; }
.ws-npi-list { position: absolute; z-index: 30; left: 0; right: 0; margin: 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid var(--green); border-top: 0; max-height: 420px; overflow-y: auto; border-bottom-width: 2px; }
.ws-npi-list[hidden] { display: none; }
.ws-npi-opt { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 16px; cursor: pointer; border-top: 1px solid var(--rule); }
.ws-npi-opt:first-child { border-top: 0; }
.ws-npi-opt[aria-selected="true"], .ws-npi-opt:hover { background: var(--tint); }
.ws-npi-opt[aria-selected="true"] { outline: 2px solid var(--green-dark); outline-offset: -2px; }
.ws-npi-name { font-weight: 500; color: var(--ink); }
.ws-npi-meta { font-size: 14px; color: var(--ink-2); }
.ws-npi-find .ws-muted { margin-top: 8px; }
.ws-npi-picks { margin: 12px 0 0; padding: 0; border: 0; }
.ws-npi-picks legend { font-weight: 500; padding: 0; margin-bottom: 4px; }
.ws-npi-picks .ws-check { align-items: flex-start; }
.ws-npi-picks .ws-npi-meta { display: block; }
#make-form .ws-npi-find + .fields { margin-top: 24px; }
#edit-form .ws-npi-find + .fields { margin-top: 24px; }
@media (forced-colors: active) {
  .ws-npi-opt[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .ws-npi-opt[aria-selected="true"] .ws-npi-name, .ws-npi-opt[aria-selected="true"] .ws-npi-meta { color: HighlightText; }
}
.ws-doc #reg-title { margin-top: 32px; }
.ws-new-tab { margin-top: 8px; font-size: 14px; }
/* Words for a screen reader only. */
.ws-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* An order's free-shipping credit, a row of its own under the lines. */
.ws-lines .ws-ship-row { color: var(--green-dark); }

@media (forced-colors: active) {
  .ws-check input:checked::before { background: CanvasText; }
  /* The lines between joined boxes are the group's background showing through the gaps. */
  .fields { forced-color-adjust: none; background: CanvasText; border-color: CanvasText; }
  .fields .field { forced-color-adjust: auto; }
}

@media (min-width: 600px) {
  /* The address group: the street is two cells wide, so the joined grid has no empty cell at two columns or four. */
  .ws-address .ws-wide { grid-column: span 2; }
  .fields.ws-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* "Add a person": name and email side by side, the role under both, so no cell is left empty. */
  .fields.ws-pair .ws-wide { grid-column: span 2; }
  .request-form .btn-secondary { width: auto; min-width: 254px; }
  .ws-reg-form .btn { width: auto; min-width: 254px; }
  .ws-pop-go .btn { width: auto; min-width: 254px; }
  #reg-pop .ws-reg-form .btn, .ws-reg-request .btn { width: auto; min-width: 254px; }
  /* The Register window's four boxes, two by two. */
  .ws-reg-request .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* As tall as what it holds (the Register window), centred, and scrolling inside when taller than the window. */
  .ws-pop { inset: 0; width: min(720px, calc(100vw - 48px)); height: fit-content; max-height: calc(100vh - 48px); margin: auto; padding: 0 32px 28px; border: 1px solid var(--green-dark); }
  .ws-pop-head { margin-inline: -32px; padding-inline: 32px; }
}

@media (max-width: 599px) {
  .ws-option { gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(64px, auto) 80px; }
  .ws-qty { width: 80px; }
  .ws-colhead .row-label { display: none; }
  .ws-more .btn { width: 100%; }
  .ws-lines li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; }
  .ws-lines .ws-line-name { grid-column: 1 / -1; }
  .ws-lines .ws-num:nth-child(2) { text-align: left; }
  .ws-rx li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .ws-preview-form .btn { width: 100%; }
  .ws-action .btn { width: 100%; }
  .ws-two { width: 100%; justify-content: flex-start; }
  .ws-head-two .wrap { flex-wrap: wrap; row-gap: 0; }
  .ws-head-two .wrap .spacer { display: none; }
}

@media (max-width: 959px) {
  /* Below the two-column layout the open catalog stacks each name over its sizes, so the column heads say nothing. */
  .ws-list > .row.ws-open-head { display: none; }
}

@media (max-width: 1099px) {
  /* The requests tables as short lists: each request is a block, each cell is named by its column. */
  .ws-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ws-stack, .ws-stack tbody, .ws-stack tr, .ws-stack td { display: block; }
  .ws-stack tr { border-top: 1px solid var(--rule); padding-block: 12px; }
  .doc .ws-stack td { border-top: 0; padding: 6px 0; text-align: left; }
  .doc .ws-stack .ws-num + :not(.ws-num) { padding-left: 0; }
  .ws-stack td:empty { display: none; }
  .ws-stack td::before { content: attr(data-label); display: block; font-size: 14px; color: var(--ink-2); }
  .doc .ws-stack .ws-access { min-width: 0; }
}

@media (max-width: 359px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; }
  .site-header .wrap .spacer { display: none; }
  .ws-header-links { width: 100%; justify-content: flex-start; }
}

@media (min-width: 960px) {
  .ws-top { padding-block: 24px 36px; }
  .ws-product .row-label { padding-right: 24px; }
  .row.ws-js-row .row-label { padding-top: 20px; }
  .ws-text-row .row-body { padding-top: 14px; }
}

@media print {
  .ws-nav, .ws-js-row, .js .ws-js-row, .rs-note, .ws-check, .ws-ack-row, .ws-reg-row, #your-details, .consent, #order-status, .ws-action, .ws-back, .variant-banner, .ws-print, .js .ws-print, .ws-more, .js .ws-more { display: none; }
  /* A folded list prints whole. */
  .ws-list.ws-collapsed:not(.ws-searching) > .ws-extra:not(.ws-keep) { display: grid; }
  /* Every drop-down prints open, without its chevron or the names its heading lists. */
  .acc-ready:not(.is-open) > .acc-body { display: block; }
  .acc-btn::after, .acc-peek, .ws-acc-all, .ls-acc-all { display: none; }
  .acc .acc-btn { min-height: 0; }
  .ws-rx li { break-inside: avoid; }
  .ws-screen { display: none; }
  .ws-print-only { display: block; margin-top: 16px; }
  /* Browsers drop backgrounds on paper by default. The tint is what marks research-use territory, so it is kept. */
  .research { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .notice-tag { background: none; color: var(--ink); border-right: 1px solid var(--green); }
  .ws-product { break-inside: avoid; }
  /* The open catalog on paper is the two lists. Its forms stay on the screen. */
  #request-pricing, #access, .ws-list > .row.ws-open-head { display: none; }
  /* An empty quantity box prints empty. */
  .ws-qty::placeholder { color: transparent; }
}

/* A link to the help center under a workspace section (views-workspace.mjs). */
.ws-help { margin: -8px 0 8px; font-size: 15px; }
.ws-help a { display: inline-flex; align-items: center; min-height: 44px; }

/* The full-page cover while an order is set up or a card is processed (wholesale.js, pay.js; Oct 21, 2026).
   Site colours only, square corners, no shadow, as the rest of this stylesheet. The spinner is a ring cut with a
   clip and a mask rather than a rounded border. */
.cp-wait { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--field); background: color-mix(in srgb, var(--field) 94%, transparent); }
.cp-wait[hidden] { display: none; }
.cp-wait:focus { outline: none; }
.cp-wait-box { max-width: 380px; width: 100%; padding: 32px 28px; text-align: center; background: var(--paper); border: 1px solid var(--rule); }
.cp-spinner { display: inline-block; width: 48px; height: 48px; background: conic-gradient(var(--green) 0 25%, var(--tint) 25% 100%); clip-path: circle(50%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), black calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), black calc(100% - 4px)); animation: cp-spin 0.9s linear infinite; }
.cp-wait-title { margin: 20px 0 8px; font-size: 20px; font-weight: 600; color: var(--ink); }
.cp-wait-words { margin: 0; font-size: 16px; color: var(--ink-2); }
html.cp-waiting, html.cp-waiting body { overflow: hidden; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cp-spinner { animation-duration: 2.4s; } }

/* The cards this site takes, above the card fields (research-store/views.mjs, ACCEPTED_CARDS). */
.rs-cards { margin: 0 0 16px; }
.rs-cards-words { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.rs-card-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rs-card-logo { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 56px; padding: 0 10px; background: var(--paper); border: 1px solid var(--rule); }
.rs-card-logo img { display: block; object-fit: contain; }
.cp-wait-way { margin-top: 20px; }

/* Address entry (wholesale/assets/address.js; Phase 3, Oct 21, 2026): the ZIP hint, suggestions under the street
   field, and the pay page's same-as-shipping box. Site colours, square corners, no shadow. */
.ws-zip-hint { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; }
/* Empty until a ZIP and a city or state disagree. It stays in the page (not hidden) so what it says is read out. */
.ws-zip-hint:empty { margin: 0; }
.addr-list { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--field-border); }
.addr-list[hidden] { display: none; }
.addr-option { display: block; padding: 12px 14px; font-size: 16px; line-height: 1.4; color: var(--ink); cursor: pointer; border-top: 1px solid var(--rule); }
.addr-option:first-child { border-top: 0; }
.addr-option[aria-selected="true"], .addr-option:hover { background: var(--tint); }
.addr-credit { display: block; padding: 6px 14px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--rule); text-align: right; }
.field { position: relative; }
.rs-same { margin: 12px 0 4px; }
.rs-bill-line { margin: 0 0 12px; }
/* Notifications and a practice's timeline (Phase 4a, Oct 21, 2026). */
.ws-inline { display: inline-block; margin: 0 8px 8px 0; }
.ws-notify .btn, .ws-inline .btn { width: auto; min-width: 0; }
.ws-email { margin: 0 0 16px; padding: 16px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 400 15px/1.5 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
/* "See the words": an email drawn as practices get it (wholesale/email-layout.mjs renderEmail's page version), Oct 27,
   2026. The same look as the email: a white card on a pale ground, the email's own system fonts and sizes, in the site's
   colours and square corners (the email itself rounds its card and button a little). */
.em-preview { margin: 0 0 24px; padding: 24px 12px; background: var(--field); border: 1px solid var(--rule); }
.em-card { max-width: 560px; margin: 0 auto; padding: 22px 28px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; overflow-wrap: break-word; }
.em-card p { margin: 0 0 10px; max-width: none; }
.em-card table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
.em-card th, .em-card td { padding: 8px 0; text-align: left; vertical-align: top; border: 0; background: none; font-weight: 400; }
.em-mark { font-size: 13px; letter-spacing: 3px; font-weight: 600; color: var(--green); }
.em-banner { background: var(--tint); border: 1px solid var(--rule); padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.em-eyebrow { font-size: 13px; color: var(--ink-2); margin-bottom: 4px !important; }
.em-title { font-size: 22px; line-height: 1.3; font-weight: 600; margin-bottom: 6px !important; }
.em-facts th { width: 36%; padding-right: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.em-facts tr + tr th, .em-facts tr + tr td { border-top: 1px solid var(--rule); }
.em-link { color: var(--green); text-decoration: underline; }
.em-items td { border-top: 1px solid var(--rule); padding: 9px 12px 9px 0; }
.em-items td.em-amt { text-align: right; white-space: nowrap; padding-right: 0; }
.em-item { display: block; font-weight: 600; line-height: 1.35; }
.em-detail { display: block; font-size: 13px; color: var(--ink-2); }
.em-items .em-sum td { border-top: 0; padding: 6px 12px 2px 0; text-align: right; font-size: 14px; color: var(--ink-2); }
.em-items .em-sum td.em-amt { padding-right: 0; color: var(--ink); }
.em-items .em-sum-first td { border-top: 2px solid var(--green); }
.em-items .em-strong td { font-weight: 700; color: var(--ink); }
.em-items .em-strong td.em-amt { font-size: 16px; }
.em-h { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--green); margin-top: 16px !important; }
.em-btn-row { margin: 8px 0 14px !important; }
.em-btn { display: inline-block; padding: 12px 22px; background: var(--green); color: var(--paper); font-weight: 600; }
.em-quote { background: var(--tint); border-left: 3px solid var(--green); padding: 12px 14px; margin: 0 0 12px; font-size: 14px; }
.em-quote p { margin: 0; }
.em-quote-title { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--green); margin-bottom: 6px !important; }
.em-code { display: inline-block; background: var(--tint); border: 1px solid var(--rule); padding: 12px 18px; font-family: Menlo, Consolas, 'Courier New', monospace; font-size: 26px; letter-spacing: 6px; font-weight: 700; }
.em-foot { margin: 14px -28px -22px; padding: 14px 28px 22px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-2); }
.em-foot p { margin: 0 0 6px; }
@media (max-width: 480px) { .em-card { padding: 18px 16px; } .em-foot { margin: 14px -16px -18px; padding: 14px 16px 18px; } }

/* A practice's account (Phase 4b): each section's content is one block beside its title. */
.ws-account-part { min-width: 0; display: grid; gap: 16px; align-content: start; }
.ws-account-part > * { margin: 0; }
@media (min-width: 1100px) {
  /* A practice's orders, as a table: room between the columns, so "Order again" stands apart from where it stands. */
  .ws-account-orders { border-collapse: collapse; }
  .ws-account-orders th, .ws-account-orders td { padding: 8px 32px 8px 0; text-align: left; vertical-align: baseline; }
  .ws-account-orders th:last-child, .ws-account-orders td:last-child { padding-right: 0; }
}

/* The Sign in page's two doors (Phase 2 of the navigation plan, Oct 21, 2026). */
.ws-door-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.ws-door-go { margin-top: 16px; }
/* After Sign out, on the catalog. */
.ws-signed-out { margin-top: 12px; font-weight: 500; }

/* The signed-in practice's menu (Phase 3 of the navigation plan, Oct 21, 2026): its name, then its links. */
.ws-header-links .ws-practice-name { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink-2); }
.ws-practice-nav { display: inline-flex; flex-wrap: wrap; gap: 0 24px; }
.ws-two-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
@media (max-width: 599px) {
  .ws-two-actions .btn { width: 100%; }
  .ws-header-links .ws-practice-name { width: 100%; min-height: 0; padding-top: 4px; }
}

/* The team's left menu (Phase 4 of the navigation plan, Oct 21, 2026, as in the approved mockups): beside the page on a
   wide screen; above it on a narrow one, where its links wrap. It never sticks to the screen. */
.ws-team { display: flex; align-items: stretch; }
.ws-team-nav { flex: 1 1 232px; max-width: 100%; background: var(--field); border-right: 1px solid var(--rule); padding: 16px 0 40px; }
.ws-team > main { flex: 999 1 560px; min-width: 0; container-type: inline-size; }
.ws-team-group { margin: 20px 24px 4px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-2); }
.ws-team-group:first-child { margin-top: 16px; }
.ws-team-nav ul { list-style: none; margin: 0; padding: 0; }
.ws-team-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 24px 0 21px; border-left: 3px solid transparent; color: var(--ink); text-decoration: none; }
.ws-team-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-team-nav a[aria-current="page"] { border-left-color: var(--green); background: var(--paper); font-weight: 600; }
.ws-team-nav a:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.ws-header-links .ws-team-who { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink-2); }
/* Staff on the price list: the way back. */
.ws-staff-bar { background: var(--tint); border-bottom: 1px solid var(--rule); }
.ws-staff-bar p { margin: 0; padding-block: 4px; }
@media (max-width: 791px) {
  .ws-team { display: block; }
  .ws-team-nav { border-right: 0; border-bottom: 1px solid var(--rule); padding: 4px 0 12px; }
  .ws-team-group { margin: 12px var(--gutter) 0; }
  .ws-team-group:first-child { margin-top: 8px; }
  .ws-team-nav ul { display: flex; flex-wrap: wrap; column-gap: 8px; padding-inline: calc(var(--gutter) - 12px); }
  .ws-team-nav a { padding: 0 12px 0 9px; }
}
@media (max-width: 599px) {
  .ws-header-links .ws-team-who { width: 100%; min-height: 0; padding-top: 4px; }
}
/* Beside the menu, the page's own column is narrower than the window: its tables stack by that column's width. */
@container (max-width: 1099px) {
  .ws-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ws-stack, .ws-stack tbody, .ws-stack tr, .ws-stack td { display: block; }
  .ws-stack tr { border-top: 1px solid var(--rule); padding-block: 12px; }
  .doc .ws-stack td { border-top: 0; padding: 6px 0; text-align: left; }
  .doc .ws-stack .ws-num + :not(.ws-num) { padding-left: 0; }
  .ws-stack td:empty { display: none; }
  .ws-stack td::before { content: attr(data-label); display: block; font-size: 14px; color: var(--ink-2); }
  .doc .ws-stack .ws-access { min-width: 0; }
}
@media print {
  .ws-team { display: block; }
  .ws-team-nav, .ws-staff-bar { display: none; }
}
@media (forced-colors: active) {
  .ws-team-nav a[aria-current="page"] { border-left-color: Highlight; }
}
/* DTC store (owners): each product is a heading row over its sizes; a size taken off the store is greyed. */
.dtc-products .dtc-product th { padding-top: 20px; font-weight: 500; text-align: left; }
.dtc-products .dtc-show { padding-block: 4px; min-height: 44px; }
.dtc-products .dtc-off td { color: var(--ink-2); }
.dtc-products .dtc-price { margin: 0; display: inline-block; border: 1px solid var(--green); }
.dtc-products .dtc-price input { width: 7.5em; min-height: 44px; padding: 8px 12px; text-align: right; font-variant-numeric: tabular-nums; }
.dtc-products td { vertical-align: middle; }
.dtc-flag { display: inline-block; margin-left: 8px; border: 1px solid var(--error); color: var(--error); padding: 0 6px; font-size: 14px; font-weight: 500; }
@media (max-width: 1099px) {
  .dtc-products .dtc-product, .dtc-products .dtc-product th { display: block; }
}
.dtc-products .dtc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.dtc-products .dtc-name { padding-bottom: 10px; }
.dtc-products .dtc-group { margin: 0; min-width: 12em; max-width: 18em; font-weight: 400; }

/* Workspace usability pass (Nov 12, 2026, after the workspace review panel). */
/* Buttons that end or take something away: red, so they never look like Copy. They ask first (wholesale.js). */
.btn.ws-danger { color: var(--error); border-color: var(--error); }
.btn.ws-danger:hover { background: var(--field); color: var(--error); }
.ws-confirm { margin: 8px 0 0; padding: 6px 0 6px 12px; border-left: 3px solid var(--error); font-weight: 500; max-width: 34em; }
.ws-confirm-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ws-confirm-acts .btn { min-height: 44px; padding: 0 16px; }
form.is-asking .btn[data-armed] { background: var(--error); border-color: var(--error); color: var(--paper); }
/* A practice's row: its everyday buttons side by side, smaller, and Archive set apart at the end. */
.ws-row-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ws-row-acts .ws-inline-form { margin-top: 0; }
.ws-practices .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
.ws-practices .ws-copy { gap: 8px; }
.ws-practices .ws-copy .btn, .ws-practices .ws-row-acts .btn { padding: 0 12px; }
.ws-row-end { margin-top: 16px; padding-top: 4px; }
.ws-practices th[scope="row"] { font-weight: 400; color: var(--ink); white-space: normal; }
.ws-name { font-weight: 600; font-size: 17px; }
.ws-contact { overflow-wrap: anywhere; }
/* A row's own links (email, phone, Change details, Timeline) keep a 44px tap area, as links in a table cell do. */
.doc th[scope="row"] a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.doc .ws-access { min-width: 248px; max-width: 300px; }
.ws-practices .ws-linkbox { max-width: 300px; }
/* One status in one word, the same five as Customers. */
.ws-badge { display: inline-block; margin: 0 4px 4px 0; padding: 1px 8px; border: 1px solid var(--rule); font-size: 14px; line-height: 22px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.ws-badge-active { border-color: var(--green-dark); background: var(--green-dark); color: var(--paper); }
.ws-badge-registered, .ws-badge-invited, .ws-badge-opened, .ws-badge-approved { border-color: var(--green); color: var(--green-dark); }
.ws-badge-notapproved, .ws-badge-warn { border-color: var(--error); color: var(--error); }
/* The row an answer is about: marked, and the answer repeated in it (wholesale.js). */
.ws-practices tr:target, .ws-practices tr.ws-hit { background: var(--tint); }
.ws-practices tr:target > *, .ws-practices tr.ws-hit > * { background: var(--tint); }
.ws-row-note { margin: 0 0 8px; padding: 6px 10px; border-left: 3px solid var(--green-dark); background: var(--paper); font-weight: 500; }
.ws-row-note.is-bad { border-left-color: var(--error); color: var(--error); }
.ws-quiet { margin-top: 16px; border: 1px solid var(--rule); padding: 10px 14px; }
/* Needs you: the counts at the top of Practices. */
.ws-top-acts { margin-top: 16px; }
.ws-needs { margin-top: 24px; border: 1px solid var(--rule); padding: 12px 16px 14px; }
.doc .ws-needs .ws-needs-title { margin: 0; font-size: 18px; }
.ws-needs ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc .ws-needs li { margin: 0; display: flex; }
.doc .ws-needs a, .ws-needs a { margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--green); color: var(--green-dark); text-decoration: none; }
.ws-needs a[aria-current] { background: var(--green-dark); color: var(--paper); }
@media (hover: hover) { .ws-needs a:hover { background: var(--tint); } }
.ws-needs-n { font-weight: 600; }
.ws-make { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--rule); }
/* Text it, Email it: the message in the phone's own apps. */
.ws-send { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.ws-send-link { display: inline-flex; align-items: center; min-height: 44px; }
/* The link opens on: one choice, drawn as two joined buttons with the picked one filled, so it never reads as two
   checkboxes (Nov 12, 2026). The radio buttons stay underneath for the keyboard and screen readers. */
.ws-opens .ws-choice-row { gap: 0; margin-top: 4px; }
.ws-opens .ws-choice { position: relative; min-height: 44px; padding: 0 16px; border: 1px solid var(--green); background: var(--paper); color: var(--green-dark); }
.ws-opens .ws-choice + .ws-choice { border-left: 0; }
.ws-opens .ws-choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; border: 0; }
.ws-opens .ws-choice:has(input:checked) { background: var(--green-dark); color: var(--paper); }
.ws-opens .ws-choice:has(input:focus-visible) { outline: 2px solid var(--green-dark); outline-offset: 2px; }
/* Stacked tables: a practice's own cell is its row's header. */
@container (max-width: 1099px) {
  .ws-stack th[scope="row"] { display: block; border-top: 0; padding: 6px 0; text-align: left; }
  .ws-stack th[scope="row"]::before { content: attr(data-label); display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; }
}
@media (max-width: 1099px) {
  .ws-stack th[scope="row"] { display: block; border-top: 0; padding: 6px 0; text-align: left; }
  .ws-stack th[scope="row"]::before { content: attr(data-label); display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; }
}
/* The team menu: beside the page it stays in view as the page scrolls; on a phone it folds to one bar (wholesale.js). */
.ws-team-toggle { display: none; }
@media (min-width: 792px) {
  .ws-team-inner { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
}
@media (max-width: 791px) {
  .js .ws-team-nav { position: sticky; top: 0; z-index: 5; }
  .js .ws-team-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 var(--gutter); border: 0; background: none; font: 500 16px/1.2 var(--sans); color: var(--ink); cursor: pointer; }
  .js .ws-team-toggle .ws-team-act { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
  .js .ws-team-nav.is-folded .ws-team-inner { display: none; }
  .js .ws-team-nav { padding-top: 0; }
  /* Open, the menu scrolls inside itself rather than covering the page (Nov 12, 2026, round-two panel). */
  .js .ws-team-nav:not(.is-folded) .ws-team-inner { max-height: calc(100vh - 52px); overflow-y: auto; }
  /* A row the page opens at (#r-...) and its note land below the sticky bar, not under it. */
  html.js { scroll-padding-top: 68px; }
}
@media (forced-colors: active) {
  .ws-opens .ws-choice:has(input:checked) { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .btn.ws-danger { border-color: CanvasText; }
  .ws-practices tr:target > *, .ws-practices tr.ws-hit > * { outline: 2px solid Highlight; }
}
@media print {
  .ws-team-toggle { display: none; }
}
/* The practices table fits beside the menu at 1366 and 1440 wide (Nov 12, 2026: its last column was cut off): the
   boxes in its cells take the room the cell has, and wrap under each other when it has less. */
.ws-practices .ws-pick select { min-width: 124px; }
.ws-practices .ws-discount .ws-pick { flex: 1 1 124px; min-width: 124px; }
.ws-practices .ws-move .ws-pick { flex: 1 1 140px; min-width: 0; }
.ws-practices .ws-move .ws-pick select { width: 100%; }
.doc .ws-practices .ws-access { min-width: 220px; max-width: 280px; }
.ws-practices td, .ws-practices th[scope="row"] { padding-right: 16px; }
.doc .ws-report thead th { white-space: normal; vertical-align: bottom; }
.doc .ws-report thead th.ws-num { max-width: 96px; }
.ws-report tbody th, .ws-report tbody td:first-child { min-width: 140px; }
.ws-exact-lines { margin-top: 8px; }
.ws-exact-lines > summary, .ws-reg-more > summary { cursor: pointer; }
.ws-exact-lines > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
/* The portal price check's answer, first (Nov 12, 2026). */
.ws-verdict { margin-top: 16px; padding: 10px 14px; border: 1px solid var(--rule); border-left-width: 4px; }
.ws-verdict-good { border-left-color: var(--green-dark); }
.ws-verdict-bad { border-color: var(--error); color: var(--error); }
.ws-key-fold { margin-block: 24px 0; }
.ws-key-fold > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--ink-2); }
