/* ux.css - the shared look of the 2026-10-18 cleanup (docs/ux_cleanup_2026-10-18.md, blocks.js "ux" section): one way to show a
   number on every page. The drill (Company -> Stores | Departments -> rows), the section box, the change with an arrow and a word,
   the small grey waiting tag, the (i) link, the header (one-line title + date pill + one ... menu), the name in the top bar, "All
   caught up". Colours: green better, red worse, grey zero / about the same, amber "needs a look" (Q7). Sizes in rem. */

/* ---- a section of a data page -------------------------------------------------------------------------------------------- */
.ux-box { margin: 0 0 20px; scroll-margin-top: 72px; container-type: inline-size; }
.ux-box > h2 { margin: 18px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-xl); }
.ux-box > h2 .h-sub { margin-left: 0; font-size: var(--fs-md); font-weight: 600; color: var(--muted); }
.ux-i { display: inline-grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 50%; border: 1.5px solid var(--line-strong);
  color: var(--muted); font: 700 var(--fs-xs)/1 var(--body); font-style: italic; text-decoration: none; margin-left: 2px; position: relative; }
.ux-i::after { content: ""; position: absolute; inset: -11px; }                                   /* a 44 px target */
.ux-i:hover, .ux-i:focus-visible { color: var(--red); border-color: var(--red); }
.ux-none { font-size: var(--fs-md); color: var(--muted); margin: 6px 0; }

/* ---- the drill: one line = name (one small line under it) | the big number (the change under it) --------------------------- */
.ux-n { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 6px 0; color: inherit; text-decoration: none; }
.ux-n > summary, a.ux-n, .ux-flat { display: grid; column-gap: 12px; align-items: center; padding: 12px 14px; min-height: 56px; }
/* review U1 / U9 (2026-10-19): the name keeps a floor (9rem, or 45% of a narrow line) - a long right-hand text wraps, never squeezes the
   name to a letter a line; a leaf (a link, red ›) keeps the caret's column so its name lines up with the expandable lines beside it */
.ux-n > summary, .ux-flat { grid-template-columns: 1rem minmax(min(9rem, 45%), 1fr) auto; grid-template-areas: "car nm v"; }
a.ux-n { grid-template-columns: 1rem minmax(min(9rem, 45%), 1fr) auto 1rem; grid-template-areas: ". nm v go"; }
details.ux-n > summary { list-style: none; cursor: pointer; color: var(--ink); margin: 0; font-size: var(--fs-md); }
.ux-n > summary::-webkit-details-marker { display: none; }
.ux-n > summary::before { content: ""; grid-area: car; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; justify-self: center; }
details.ux-n[open] > summary::before { transform: rotate(45deg); border-color: var(--red); }
.ux-n > summary:focus-visible, a.ux-n:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: var(--radius); }
@media (hover: hover) { details.ux-n > summary:hover .ux-nm b, a.ux-n:hover .ux-nm b { color: var(--red); } }   /* U9: never sticks red on touch */
a.ux-n:active { background: var(--surface-2); }
.ux-nm { grid-area: nm; min-width: 0; }
.ux-nm b { font-weight: 700; font-size: var(--fs-lg); overflow-wrap: break-word; }
.ux-nm small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.ux-nm small.ux-win { color: var(--good); font-weight: 700; }
.ux-v { grid-area: v; text-align: right; font-family: var(--display); font-weight: 800; font-size: var(--fs-xl); white-space: normal; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }   /* a long value wraps at its spaces; a number has none */
.ux-v small { display: block; font-family: var(--body); font-size: var(--fs-md); font-weight: 700; margin-top: 1px; white-space: normal; overflow-wrap: break-word; }
.ux-v small .ux-d { white-space: normal; }                                     /* a long change wraps at its spaces, never pushes the line wider */
/* the labor lead (SNS.nodes.labor): the number in its colour, its unit small; the other numbers small under it */
.ux-unit { font-family: var(--body); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.ux-lead.bad, .ux-lead.bad .ux-unit { color: var(--bad); }
.ux-lead.warn, .ux-lead.warn .ux-unit { color: var(--warn); }
.ux-lead.zero, .ux-lead.zero .ux-unit { color: var(--muted); }
.ux-chev { grid-area: go; color: var(--red); font-size: var(--fs-xl); line-height: 1; font-weight: 700; justify-self: end; }
details.ux-n.t-warn, .ux-n.t-warn:not(details) { border-left: 4px solid var(--warn); }
.ux-n.d0 { border-color: var(--line-strong); }
.ux-n.d0 .ux-nm b { font-size: var(--fs-lg); }
.ux-n.d0 > summary .ux-v, .ux-n.d0.ux-flat .ux-v { font-size: var(--fs-hero); }
.ux-n.d2, .ux-n.d3 { background: var(--surface-2); }
.ux-n.d2 .ux-v, .ux-n.d3 .ux-v { font-size: var(--fs-lg); }
.ux-kids { padding: 0 8px 10px 1.25rem; container-type: inline-size; }
@media (max-width: 599px) { .ux-kids { padding: 0 6px 8px .75rem; } }   /* U11: a phone's nested rows keep two columns (name | number) */
.ux-n.t-bad:not(details) { border-left: 4px solid var(--bad); }
.ux-n.t-warn:not(details) { border-left: 4px solid var(--warn); }
.ux-n.t-good:not(details) { border-left: 4px solid var(--good); }
details.ux-n.t-bad { border-left: 4px solid var(--bad); }
.ux-n.dim { opacity: .55; }
.ux-open { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--red); text-decoration: none; padding: 0 4px; }
.ux-open:hover { text-decoration: underline; }
/* the Stores | Departments switch (Q4) */
.ux-way { display: inline-flex; margin: 4px 0 2px; border: 1px solid var(--line-strong); border-radius: 99px; overflow: hidden; }
.ux-way button { font: inherit; font-weight: 700; font-size: var(--fs-md); background: var(--surface); color: var(--muted); border: 0; padding: 0 16px; min-height: 44px; cursor: pointer; }
.ux-way button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ux-way button + button { border-left: 1px solid var(--line-strong); }
.ux-way button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
/* a narrow line (big phone text, a nested row): the number goes under the name, never clipped */
@container (max-width: 15em) {
  .ux-n > summary, .ux-flat { grid-template-areas: "car nm" "car v"; grid-template-columns: 1rem minmax(0, 1fr); }
  a.ux-n { grid-template-areas: ". nm go" ". v go"; grid-template-columns: 1rem minmax(0, 1fr) 1rem; }
  .ux-v { text-align: left; white-space: normal; }
  .ux-kids { padding-left: .625rem; padding-right: 4px; }
}

/* ---- the change, the pills, the waiting tag -------------------------------------------------------------------------------- */
.ux-d { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ux-d.good, .ux-good { color: var(--good); }
.ux-d.bad, .ux-bad { color: var(--bad); }
.ux-d.zero, .ux-zero { color: var(--muted); }
.ux-d.warn, .ux-warn { color: var(--warn); }
.ux-lab-l { display: block; }   /* 155 Q18: the Labor line's two messages, one per line */
/* the red pill (No shrink yesterday): a button - its tap says the department and the day (D5) */
.ux-flag { display: inline-block; margin-left: 8px; vertical-align: 2px; font: 800 var(--fs-xs)/1.4 var(--body); padding: 2px 8px; border: 0; border-radius: 99px; background: var(--red-btn); color: var(--red-ink); white-space: nowrap; cursor: pointer; position: relative; }
.ux-flag::after { content: ""; position: absolute; inset: -12px -4px; }
.ux-flag:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ux-nm .ux-flag { display: table; margin: 4px 0 2px; }
/* a line with the flag (No shrink yesterday, Q10): red edge and a red tint, on the Overview and the Shrink page alike (U6) */
.ux-n.ux-flagged { border-color: var(--bad); border-left: 4px solid var(--bad); }
details.ux-n.ux-flagged > summary, .ux-n.ux-flagged.ux-flat, a.ux-n.ux-flagged { background: var(--bad-soft); border-radius: calc(var(--radius) - 1px); }
details.ux-n.ux-flagged[open] > summary { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.ux-wait { display: inline-block; margin-left: 8px; vertical-align: 2px; font: 600 var(--fs-xs)/1.4 var(--body); padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--line); cursor: pointer; white-space: nowrap; position: relative; }
.ux-wait::after { content: ""; position: absolute; inset: -12px -4px; }
.ux-wait:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* 111: the little date beside a section whose data is behind (grey), amber once it is a whole cycle late; a tap says why */
.ux-dd:empty { display: none; }
.ux-ddate { display: inline; margin-left: 8px; padding: 0; border: 0; background: none; font: 600 var(--fs-xs)/1 var(--body); color: var(--muted);
  vertical-align: 2px; cursor: pointer; position: relative; white-space: nowrap; letter-spacing: 0; text-transform: none; }
.ux-ddate::after { content: ""; position: absolute; inset: -12px -6px; }
.ux-ddate.late { color: var(--warn); }
.ux-ddate:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
h1 .ux-ddate { font-size: var(--fs-sm); vertical-align: 4px; }
.ux-done { display: flex; align-items: center; gap: 10px; padding: 18px 16px; border-radius: var(--radius); background: var(--good-soft); color: var(--good); font-size: var(--fs-lg); }
.ux-done span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--good); color: var(--bg); font-weight: 800; }

/* ---- the page header (Q15): one-line title, the date pill, one ... menu ---------------------------------------------------- */
.screen-head.ux-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; }
.screen-head.ux-head h1 { flex: 1 1 auto; min-width: 0; font-size: var(--fs-hero); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-wrap: nowrap; }
@media (min-width: 900px) { .screen-head.ux-head h1 { font-size: var(--fs-big); } }
.screen-head.ux-head .asof { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ux-hd-r { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; }
.ux-pill { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: var(--fs-md); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 99px; padding: 0 14px; min-height: 40px; cursor: pointer; white-space: nowrap; max-width: 62vw; overflow: hidden; text-overflow: ellipsis; }
.ux-pill b { font-weight: 700; }
/* 235: the date pill with an arrow on each side (one day / week / month back or forward) */
.ux-pernav { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.ux-pernav .ux-pill { min-width: 0; max-width: 46vw; }
.ux-pernav .ux-pill.ux-weekpill { max-width: 46vw; overflow: hidden; }
.ux-pernav .ux-weekpill select { max-width: 100%; min-width: 0; }
.ux-perstep { font: inherit; font-size: var(--fs-lg); line-height: 1; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 99px; min-width: 40px; min-height: 40px; padding: 0; cursor: pointer; flex: none; }
.ux-perstep:disabled { opacity: .35; cursor: default; }
.ux-perstep:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ux-pill:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ux-pill select { font: inherit; border: 0; background: none; color: inherit; padding: 0; min-height: 38px; }
.ux-dots { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.ux-dots svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.ux-dots:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.ux-menu { position: relative; }
.ux-menu-l { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: grid; gap: 2px; }
.ux-menu-l[hidden] { display: none; }
/* 2026-10-27: the page's ... menu also carries .actions, whose header rule made it one row - three items ran off a phone (Associates) */
.screen-head .ux-menu-l.actions { display: grid; grid-column: auto; grid-row: auto; max-width: calc(100vw - 32px); }
.screen-head .ux-menu-l.actions[hidden] { display: none; }
.ux-menu-l .btn { justify-content: flex-start; width: 100%; border: 0; min-height: 44px; background: none; }
.ux-menu-l .btn:hover { background: var(--surface-2); }
.stamp { display: none; }

/* ---- the name in the top bar (Q2) ------------------------------------------------------------------------------------------ */
.who .ux-me { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: var(--fs-md); font-weight: 700; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0 2px; min-height: 44px; }
.who .ux-me i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red-btn); color: var(--red-ink); font-style: normal; font-size: var(--fs-sm); font-weight: 800; letter-spacing: .02em; }
.who .ux-me:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 99px; }
@media (max-width: 899px) { .who .ux-me span { display: inline; } }
/* a narrow phone: the first name gives way (ellipsis) rather than push the page sideways; with the demo's View-as pill, the initials alone */
@media (max-width: 599px) { .who .ux-me span { max-width: 6.5em; overflow: hidden; text-overflow: ellipsis; } .who:has(.demo-pill) .ux-me span { display: none; } }
.ux-me-sheet .pick-list .pick { text-align: left; }

/* ---- How it works (Q1; review U17): two or three plain sentences per topic, the detail folded under "More detail" ----------- */
.ux-how { max-width: 720px; }
.ux-how section { margin: 0 0 14px; scroll-margin-top: 72px; }
.ux-how h2 { font-size: var(--fs-xl); margin: 14px 0 4px; }
.ux-how p { margin: 0 0 6px; line-height: 1.45; color: var(--ink); }
.ux-how details.ux-more { margin: 2px 0 0; }
.ux-how details.ux-more > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--red); cursor: pointer; list-style: none; }
.ux-how details.ux-more > summary::-webkit-details-marker { display: none; }
.ux-how details.ux-more > summary::after { content: "›"; margin-left: 6px; transition: transform .15s; }
.ux-how details.ux-more[open] > summary::after { transform: rotate(90deg); }
.ux-how details.ux-more p { font-size: var(--fs-md); color: var(--muted); }
.ux-how section.hit { border-left: 4px solid var(--red); padding-left: 12px; }
/* 155 (Tom 2026-11-02 Q17, A-11 item 8): How it works as one folded line per page; a 44 px line to tap */
.ux-how2 section { margin: 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.ux-how2 section:last-child { border-bottom: 1px solid var(--line); }
.ux-how2 details.ux-topic > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; }
.ux-how2 details.ux-topic > summary::-webkit-details-marker { display: none; }
.ux-how2 details.ux-topic > summary h2 { margin: 0; font-size: var(--fs-lg); }
.ux-how2 details.ux-topic > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); flex: none; margin-right: 6px; transition: transform .15s; }
.ux-how2 details.ux-topic[open] > summary::after { transform: rotate(45deg); border-color: var(--red); }
.ux-how2 .ux-topic-body { padding: 0 0 12px; }
.ux-how2 section.hit { border-left: 4px solid var(--red); padding-left: 12px; }
.ux-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.ux-toc a { font-size: var(--fs-md); font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); color: var(--ink); text-decoration: none; }

@media print { .ux-n { break-inside: avoid; } details.ux-n > .ux-kids { display: block; } .ux-hd-r, .ux-i, .ux-wait { display: none; } }
/* review U20: one width for every data page on a computer (the Overview, Store, Shrink, Labor, Dated orders ... were 550 to 1,300 px);
   the schedule grid and the printouts keep the whole width */
.screen { max-width: 960px; }
body[data-route^="schedule"] .screen, body[data-route^="print"] .screen { max-width: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pick-list a.pick { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.pick-list a.pick small { color: var(--muted); font-weight: 500; }
button.demo-pill { border: 0; cursor: pointer; min-height: 32px; font: inherit; font-size: var(--fs-xs); font-weight: 700; }
/* review 2 C1: one "pick several" chip look (announcement stores / departments, the repeat chooser's days and dates): round, 44 px,
   ink when picked with a tick, greyed while something overrides them (Everyone on the app) */
.ux-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.ux-chips button { min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: var(--fs-md); cursor: pointer; }
.ux-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ux-chips button:disabled, .ux-chips button[aria-disabled="true"], .ux-way button:disabled { opacity: .45; cursor: not-allowed; }
.ux-chips button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* Tom 2026-10-28: a box whose one top line is named for it shows no heading; the heading's date and (i) sit beside the name */
.ux-box.tc > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }
.ux-box.tc .ux-n.d0 > summary .ux-nm > b + .ux-dd, .ux-box.tc .ux-n.d0 .ux-nm > b + .ux-i, .ux-box.tc .ux-n.d0 .ux-nm > .ux-dd + .ux-i { margin-left: 8px; vertical-align: 2px; }
.ux-box.tc .ux-n.d0 .ux-nm > b { font-size: var(--fs-lg); }

/* 167: the customers line under the Sales box's top line */
.ux-nm small.ux-sub2 { margin-top: 2px; }
.ux-nm small .ux-cust { display: inline-block; color: var(--ink); font-weight: 600; }
.ux-nm small .ux-cust .ux-d { font-weight: 700; }
.ux-nm small .ux-cust .ux-cust-d { display: inline; font-weight: 500; color: var(--muted); }

/* 245: a cost's change from the last sheet - up red, down green, the same a black dash, new in grey */
.cost-chg { display: inline-block; margin-left: 4px; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.cost-chg.up { color: var(--red); }
.cost-chg.down { color: var(--good); }
.cost-chg.same { color: var(--ink); }
.cost-chg.new { color: var(--muted); font-weight: 400; }
/* 247: an item's grade and the Cherry picker mark */
.it-grade { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 8px; font-weight: 800; font-size: var(--fs-xl); border: 2px solid currentColor; vertical-align: middle; }
.it-grade.sm { min-width: 24px; height: 24px; border-width: 1px; border-radius: 4px; font-size: var(--fs-sm); margin-right: 4px; }
.it-grade.g-A, .it-grade.g-B { color: var(--good); background: var(--good-soft); }
.it-grade.g-C { color: var(--info); background: var(--info-soft); }
.it-grade.g-D { color: var(--warn); background: var(--warn-soft); }
.it-grade.g-F { color: var(--bad); background: var(--bad-soft); }
.it-score-h { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.it-score-h b { display: block; font-size: var(--fs-lg); }
.it-score-h small { color: var(--muted); font-size: var(--fs-sm); }
.it-cherry-why { margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: var(--red-soft); color: var(--ink); font-size: var(--fs-sm); line-height: 1.4; }
.it-cherry-why b { color: var(--red); }
.it-score-rows { list-style: none; margin: 0; padding: 0; }
.it-score-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--fs-md); }
.it-score-rows > li > span { color: var(--muted); }
.it-score-rows > li > b { text-align: right; }
.it-score-rows > li > small { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-sm); }
/* 250: Giant Eagle's and Walmart's prices beside ours - the small prices on a list row, and the item page's box */
.it-comps { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; font-size: var(--fs-sm); }
.it-comp { padding: 1px 6px; border-radius: 4px; background: var(--surface-2, var(--bg)); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.it-comp.low { color: var(--bad); background: var(--bad-soft); border-color: currentColor; font-weight: 700; }
.it-comp.old { color: var(--muted); font-weight: 400; background: transparent; border-style: dashed; }
.it-compbox > h3 { margin: 0 0 8px; }
.it-ccs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.it-cc { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.it-cc > span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.it-cc > b { display: block; font-size: var(--fs-xl); line-height: 1.2; }
.it-cc.words > b { font-size: var(--fs-md); color: var(--muted); }
.it-cc > small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.it-cc.low > b { color: var(--bad); }
.it-cc.high > b { color: var(--good); }
.it-cc.old > b { color: var(--muted); }
.it-cw { overflow-x: auto; }
.it-cw td.it-low { color: var(--bad); font-weight: 700; }
@media (max-width: 560px) { .it-ccs { grid-template-columns: 1fr; } }
/* 253: a form's "pick" field - a row of buttons, one pressed */
.form-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.form-pick .btn { min-height: 44px; }
.form-pick .btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* 275: an item's ads - one line on the item, a sheet with the ads, an ad's whole group */
.ia-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 56px; margin: 8px 0 0; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ia-line b { display: block; font-weight: 800; }
.ia-line small { display: block; color: var(--muted); font-size: var(--fs-md); }
.ia-line i, .ia-ad i { font-style: normal; color: var(--muted); font-size: var(--fs-xl); }
.itd-ads:empty, .it-ads:empty { display: none; }
.it-ads { margin: 0 0 12px; }
.ia-body h2:focus { outline: none; }
.ia-seg { margin: 8px 0 4px; display: flex; flex-wrap: wrap; }
.ia-seg button { min-height: 44px; flex: 1 1 auto; }
.ia-h { margin: 16px 0 6px; font-size: var(--fs-md); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ia-list { display: grid; gap: 8px; }
.ia-ad { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 64px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ia-ad.ia-live { border-color: var(--red); background: var(--red-soft); }
.ia-what { flex: 1 1 auto; min-width: 0; }
.ia-what b { display: block; font-weight: 800; }
.ia-what small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.ia-num { flex: 0 0 auto; text-align: right; }
.ia-num b { display: block; font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: tabular-nums; }
.ia-num small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.ia-back { margin: 0 0 8px; }
.ia-back .btn { min-height: 44px; }
.ia-sum { margin: 10px 0; font-size: var(--fs-lg); }
.ia-tblw { overflow-x: auto; }
.ia-tbl td small { display: block; color: var(--muted); font-size: var(--fs-sm); font-weight: 400; }
.ia-tbl td.ia-usual b { white-space: nowrap; }
.ia-mine td { background: var(--red-soft); }
.ia-tag { display: inline-block; padding: 0 6px; border-radius: 4px; background: var(--red-btn); color: var(--red-ink); font-size: var(--fs-sm); font-weight: 700; }
.ia-zero td { color: var(--muted); }
.ia-zero td b { font-weight: 400; }
.ia-split td { padding-top: 14px; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom: 1.5px solid var(--line); }
.ia-tbl th, .ia-tbl td { padding-left: 8px; padding-right: 8px; }
.ia-seg button { padding-left: 8px; padding-right: 8px; }
/* 283: the item page's SRP line (screens.js itemSrp) */
.srp-item { margin: 0 0 12px; font-size: var(--fs-md); }
.srp-item.off { color: var(--bad); }
