/* shared/css/orvo-nutrition-label.css -- THE NUTRITION LABEL (7 Oct 2026). The twin sheet of shared/js/orvo-nutrition-label.js.
 *
 * Stephen, 7 Oct 2026: "I want to have it like the way the nutritional data is on the back of boxes, so white
 * background, black lines ... that kind of curve ... like a sticker."
 *
 * A DELIBERATE EXCEPTION TO THE DARK THEME: this is a PICTURE OF A PACK'S LABEL, white with black print, as the sticker
 * previews on the label page are white. Everything AROUND it stays the house's own classes; nothing here restyles a
 * button, a badge, a field or a modal, and there is no button, badge or pill class in this file.
 * SELF-CONTAINED: every rule is under .onl and every value is written out (no token, no my.css), so any page wears it
 * the same: my.'s pages, the till's staff pop-up and ORVO Online's item sheet (which loads it since NUTLABEL).
 *
 * NUTLABEL (15 Oct 2026, Stephen: "The nutrition label should be white everywhere even on black. The label has to look the
 * exact same across the boards."): ONE LABEL, white on every board, the dark till's included. ORVO Online's label
 * (order.css .ol-nutpack, ORDERUX2) was the master and is folded in here value for value: 360 wide at most, centred
 * where it stands, the foot note. The till's own dark table (till-order.css .tn-*) and Online's copy are gone.
 * Every colour is written out (#fff / #000), never a till or page token, which is what keeps it white on a dark till;
 * the font, weight and spacing are set on .onl itself so the card around it (a till pop-up) passes nothing in.
 */
.onl { box-sizing: border-box; width: 100%; max-width: 360px; margin: 0 auto; background: #fff; color: #000; border: 2px solid #000; border-radius: 12px;
       padding: 10px 12px 8px; font-family: Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 400; line-height: 1.25; text-align: left;
       letter-spacing: normal; text-transform: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* NUTRITION 3 (8 Oct 2026; Stephen: "the nutrition tables should be centered"): a label is centred in whatever holds it
   (margin auto above, ORVO Online's rule). Labels side by side (a size each, in the menu item's pop-up) keep the row their
   holder lays out and centres. */
.onl *, .onl *::before, .onl *::after { box-sizing: border-box; }
.onl-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; color: #000; }
.onl-cap { margin-top: 2px; font-size: 12px; font-weight: 700; color: #000; overflow-wrap: anywhere; }
.onl-basis { margin-top: 3px; padding-bottom: 5px; font-size: 11.5px; color: #000; border-bottom: 4px solid #000; }
.onl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #000; color: #000; }
.onl-row:last-of-type { border-bottom: 0; }   /* the last row; a foot note (a <p>) under it carries its own rule */
.onl-k { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.onl-v { flex: none; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.onl-row.is-sub .onl-k { padding-left: 14px; font-weight: 400; }
.onl-row.is-energy .onl-v { font-weight: 700; }
.onl-row.is-none .onl-v { color: #000; }
/* NUTRITION 3 -- TWO FIGURE COLUMNS IN THE ONE LABEL (Stephen, 8 Oct 2026: "should show 100g and then actual in the same card"):
   "Per 100 g" and "Each (90 g)" side by side, as a pack prints per 100 g and per portion. The heads take the heavy rule the
   basis line takes in a single column; the energy of each column is kJ over kcal. The two figure columns are one width on
   every row, so the figures line up down the label. */
.onl.is-two { max-width: 360px; }
.onl.is-two .onl-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px; column-gap: 8px; align-items: baseline; }
.onl.is-two .onl-head { margin-top: 3px; padding: 2px 0 5px; border-bottom: 4px solid #000; font-size: 11.5px; align-items: end; }
.onl.is-two .onl-head .onl-k { font-weight: 400; }
.onl.is-two .onl-head .onl-v { font-weight: 700; white-space: normal; }
.onl.is-two .onl-head + .onl-row { padding-top: 5px; }
.onl.is-two .onl-e { display: block; }
.onl.is-two .onl-row.is-energy .onl-v { font-weight: 700; }
/* NUTLABEL: the one line at the foot, inside the label (ORVO Online's "Approximate: some of these figures are estimates.") */
.onl-note { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid #000; font-size: 11.5px; line-height: 1.35; color: #000; }
/* APPROXSUBTLE (20 Oct 2026, Stephen on the Approximate mark: "keep but subtle"): a quiet foot line -- small, grey, no black rule above it.
   Only where opts.noteQuiet asks (ORVO Online's item sheet, the till's staff pop-up); the plain note above is unchanged for everyone else.
   The label is white on every board, so the grey is written out (#888, ORVO Online's own muted grey), never a page token. */
.onl-note.is-quiet { margin: 3px 0 0; padding-top: 0; border-top: 0; font-size: 10.5px; line-height: 1.3; color: #888; }
