
  /* "I need an invoice" in the quick-buy dialog (QB_INVOICE_ON; the card 22 Nov 2026). Included by _qb_style.html only
     while the switch is on; no template syntax, so it is one hoisted, cached asset. Own class names (.qbi-*) and low-
     specificity selectors: it looks the same under today's dialog and under the v2 skin (_v2_qb_style.html), whose --v-* tokens
     it reads when they are there (html.pv2-js .qb-overlay) and otherwise falls back to the site's own colours. */
  .qbi {
    --qbi-acc: var(--v-acc, var(--primary-deep, #1d4ed8));
    --qbi-soft: var(--v-acc-soft, #eff6ff);
    --qbi-ink: var(--v-ink, var(--text, #102033));
    --qbi-muted: var(--v-muted, var(--muted, #64748b));
    --qbi-line: var(--v-line, #dbe3ee);
    --qbi-line2: var(--v-line2, #cbd5e1);
    --qbi-err: var(--v-err, #b91c1c);
    --qbi-err-soft: var(--v-err-soft, #fef2f2);
    margin-top: 16px; border: 1.5px solid var(--qbi-line); border-radius: var(--v-r-ctl, 14px); background: #fff;
    transition: border-color .18s, box-shadow .18s, background-color .18s;
  }
  .qbi:hover { border-color: var(--qbi-line2); }
  .qbi.is-open { border-color: var(--qbi-acc); box-shadow: 0 0 0 3px var(--qbi-soft); }
  /* the row: the whole of it is the tap target (a <label>) */
  .qbi-head { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; cursor: pointer;
    -webkit-tap-highlight-color: transparent; }
  .qbi-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    background: var(--qbi-soft); color: var(--qbi-acc); transition: background-color .18s, color .18s; }
  .qbi-ico svg { width: 21px; height: 21px; }
  .qbi.is-open .qbi-ico { background: var(--qbi-acc); color: #fff; }
  .qbi-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .qbi-t b { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--qbi-ink); }
  .qbi-t small { font-size: 12.5px; line-height: 1.45; color: var(--qbi-muted); }
  /* the tick: drawn here (same in every browser), the native control underneath for keyboard and screen readers;
     22 px, the v2 skin's consent ticks' size (22 Nov 2026 review); its empty border #64748b (4.8:1 on white, 23 Nov 2026
     review: #94a3b8 was 2.6:1, under the 3:1 a control's edge needs) */
  .qbi-tick { flex: none; appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 22px;
    height: 22px; margin: 0; border: 2px solid #64748b; border-radius: 6px; background: #fff; cursor: pointer;
    transition: background-color .15s, border-color .15s; }
  .qbi-tick::before { content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform .15s;
    background: #fff; clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 69%); }
  .qbi-tick:checked { border-color: var(--qbi-acc); background: var(--qbi-acc); }
  .qbi-tick:checked::before { transform: scale(1); }
  .qbi-tick:focus-visible { outline: 3px solid var(--qbi-acc); outline-offset: 2px; }
  .qbi-head:hover .qbi-tick:not(:checked) { border-color: var(--qbi-acc); }
  /* the fields: a smooth open (grid rows 0fr → 1fr), out of the Tab order while closed (inert + visibility) */
  .qbi-f { display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows .26s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .26s; }
  .qbi.is-open .qbi-f { grid-template-rows: 1fr; visibility: visible;
    transition: grid-template-rows .26s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .qbi-clip { min-height: 0; overflow: hidden; }
  .qbi-body { padding: 2px 14px 14px; border-top: 1px solid var(--qbi-line); }
  .qbi-lead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 12px 0 0;
    font-size: 13px; line-height: 1.45; color: var(--qbi-muted); }
  .qbi-lead b { font-weight: 700; color: var(--qbi-ink); }
  .qbi-req { margin-left: 2px; font-weight: 800; color: var(--qbi-err); }
  .qbi-saved { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--qbi-soft); font-size: 13px;
    line-height: 1.45; color: var(--qbi-ink); }
  .qbi-saved .qb-link { margin-left: 4px; }
  /* one column on phones, two from 600 px; company and street always the full width */
  .qbi-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
  @media (min-width: 600px) { .qbi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qbi-wide { grid-column: 1 / -1; } }
  .qbi-fld { min-width: 0; padding-top: 12px; }
  .qbi-lbl { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--qbi-ink); }
  .qbi-lbl small { font-size: 12.5px; font-weight: 500; color: var(--qbi-muted); }
  .qbi-in { display: block; box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 14px;
    border: 1.5px solid var(--qbi-line2); border-radius: var(--v-r-field, 11px); background: #fff; color: var(--qbi-ink);
    font: inherit; font-size: 16px; line-height: normal;   /* 16 px: no zoom on focus in iOS */
    transition: border-color .15s, box-shadow .15s; }
  .qbi-in::placeholder { color: #94a3b8; }
  .qbi-in:hover { border-color: #94a3b8; }
  .qbi-in:focus { outline: none; border-color: var(--qbi-acc); box-shadow: 0 0 0 3px var(--qbi-soft); }
  /* .qbi first (22 Nov 2026 review): the dialog's own `.qb input[aria-invalid]` (0,2,1) must not paint over the card's
     error colour, which follows the v2 skin's --v-err */
  .qbi .qbi-in[aria-invalid="true"] { border-color: var(--qbi-err); background: var(--qbi-err-soft); }
  .qbi .qbi-in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(185, 28, 28, .14); }
  .qbi-err { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: 12.5px; font-weight: 600;
    line-height: 1.4; color: var(--qbi-err); }
  .qbi-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 15px; height: 15px; margin-top: 1px;
    border-radius: 50%; background: var(--qbi-err); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1; }
  .qbi-err[hidden] { display: none; }
  @media (max-width: 599px) {
    .qbi-head { padding: 12px; gap: 10px; }
    .qbi-ico { width: 36px; height: 36px; }
    .qbi-body { padding: 2px 12px 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .qbi, .qbi-ico, .qbi-tick, .qbi-tick::before, .qbi-in, .qbi-f, .qbi.is-open .qbi-f { transition: none; }
  }
  /* Windows high contrast (23 Nov 2026 review): forced colours paint the white mark and the filled box both as Canvas,
     so a ticked box looked empty — the tick keeps system colours of its own there */
  @media (forced-colors: active) {
    .qbi-tick { forced-color-adjust: none; border-color: CanvasText; background: Canvas; }
    .qbi-tick:checked { border-color: Highlight; background: Highlight; }
    .qbi-tick::before { background: HighlightText; }
    .qbi-head:hover .qbi-tick:not(:checked) { border-color: Highlight; }
    .qbi-tick:focus-visible { outline-color: Highlight; }
  }
