/* shows.css - the Shows room (app/shows.js, migrations 301 and 302,
   docs/shows/PLAN.md, docs/shows/BUILD.md 4.3).

   Part 1 is the approved mock-up's proposed shows.css (mockups/shows/mock.css,
   its lines 12 to 274), copied as it stands: every class is .shw- prefixed and
   every colour is a token, so light, dark and every skin work without a rule
   here. The one exception is the paid receipt, the pay-stub paper, which is
   deliberately white in either theme (staff.html's .stubdoc), so its few greys
   are the stub's own. The kit it sits on is the console's: staff.html's base
   (.btn, .fchip, .pill, .tag, label, input, .sheet, .scrim, the pay-stub
   paper), board.css (.lfd-page, .lfb-panel, .lfb-foot, .lfd-lines, .lfd-table,
   .lfd-seg) and system.css (tokens, skins, dark). Breakpoints are the
   console's own: 560, 760, 1080. Part 2 is what the real console needed that
   the mock-up did not; each rule says why. */

/* ================================================================ 1. proposed shows.css */
.shw-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* the kit inside this room: paragraphs sit on the panel's own gap; every
   control is a 34px target on a desktop, 44px on a phone (below) */
#v-shows .lfb-panel p{margin:0}
#v-shows .btn,#v-shows .fchip{min-height:34px}
#v-shows .fchip{display:inline-flex;align-items:center;justify-content:center}
#v-shows input,#v-shows select{min-height:36px;padding:7px 10px;border-radius:var(--r)}
#v-shows select{width:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;font-size:16px}
#v-shows select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent}
#v-shows textarea{border-radius:var(--r)}
#v-shows label{margin:12px 0 5px}
#v-shows .lfb-panel > label:first-of-type,#v-shows .shw-field > label{margin-top:0}

/* the room header: a real title (the show's name reads at a glance at a hall
   table), the dash kit's stamp under it for the date and context */
.shw-titles{display:grid;gap:3px;min-width:0}
.shw-title{margin:0;font:600 20px/1.25 var(--display);letter-spacing:-.01em;color:var(--ink);overflow-wrap:anywhere;text-wrap:balance}
.shw-title:focus{outline:none}
.shw-title:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.shw-stamp{margin:0;overflow-wrap:anywhere}
.shw-meta{margin:-6px 0 0;font-size:13.5px;line-height:1.45;color:var(--ink2);overflow-wrap:anywhere}
.shw-meta b{color:var(--ink);font-weight:600}
.shw-kh{margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.shw-kh:focus{outline:none}
.shw-kh:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shw-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.btn.ghost.shw-danger,.sheet .btn.ghost.shw-danger{color:var(--crit)}
.shw-empty{font-size:13.5px;line-height:1.5;color:var(--ink2)}
.shw-hint{margin:5px 0 0 !important;font-size:12.5px;line-height:1.45;color:var(--ink2)}
.shw-opt{text-transform:none;letter-spacing:0;font-weight:500;color:var(--ink3)}
.shw-err{margin:0 !important;font-size:13px;line-height:1.45;color:var(--crit);font-weight:600}
.shw-err:empty{display:none}
.sheet .shw-err{color:var(--crit)}

/* ---- shows list ---- */
.shw-group{margin:4px 0 -4px;font:500 11px/1.3 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
.shw-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.shw-card{appearance:none;display:grid;gap:6px;width:100%;min-height:44px;padding:14px 16px;text-align:left;cursor:pointer;
  font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.shw-card:hover{border-color:var(--ink3)}
.shw-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shw-card.on{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, var(--surface))}
.shw-cardtop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.shw-cardtop b{font-size:15px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.shw-cardtop .pill{flex:0 0 auto}
.shw-where{font-size:13px;color:var(--ink2)}
.shw-cardfig{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12.5px;color:var(--ink2)}
.shw-cardfig b{font:500 14px/1.2 var(--mono);font-variant-numeric:tabular-nums;color:var(--ink)}
/* Add show: a panel beside the list on a monitor, the whole screen on a phone */
.shw-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,460px);gap:14px;align-items:start}
.shw-split .shw-cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.shw-listcol{display:flex;flex-direction:column;gap:14px}
/* the form: labels and inputs keep the console's own margins, not the panel's gap */
#v-shows .shw-showform{gap:0}
#v-shows .shw-showform .lfb-kicker{margin-bottom:12px}
#v-shows .shw-showform .shw-acts{margin-top:16px}
#v-shows .shw-showform .shw-err{margin-top:10px !important}
.shw-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}
.shw-pair.shw-city{grid-template-columns:minmax(0,1fr) 92px}
.shw-pair > div > label{margin-top:12px}

/* ---- the show ---- */
.shw-two{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:14px;align-items:start}
.shw-col{display:flex;flex-direction:column;gap:14px}
/* the three figures: the kit's foot row, here the whole panel */
.shw-tile .lfb-foot{margin-top:0;border-top:0;padding-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.shw-tile .lfb-foot > div{min-width:0}
/* PLAN.md 3e: three MONO figures (DESIGN.md: every figure is mono and tabular) */
.shw-tile .lfb-foot .lfb-v{font-family:var(--mono);font-weight:600;letter-spacing:-.02em}
.shw-tile .lfb-v,.shw-tile .lfb-muted{overflow-wrap:anywhere}
.shw-tile .lfb-muted{color:var(--ink2)}
/* waiting lines (wave 3 preview) */
.shw-pendbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 12px;border-radius:var(--r);
  border:1px solid color-mix(in srgb, var(--warn) 55%, var(--line));background:color-mix(in srgb, var(--warn) 10%, var(--surface))}
.shw-pendbar > div{flex:1 1 16em;display:grid;gap:2px;font-size:13px;line-height:1.4;color:var(--ink2)}
.shw-pendbar b{font-size:14px;color:var(--ink)}
.shw-pend{background:var(--surface2);color:var(--ink2);margin-left:6px;vertical-align:1px}
.shw-refused{color:var(--crit)}

/* the entry card */
.shw-entry{gap:12px}
.shw-entry .lfb-kicker{margin-bottom:-2px;flex-wrap:wrap;row-gap:2px}
#v-shows .lfd-seg.shw-switch{display:flex;width:100%;border-radius:var(--r);border-color:var(--line)}
#v-shows .lfd-seg.shw-switch button{flex:1 1 0;min-height:44px;padding:0 12px;font:600 14px/1.2 var(--ui);letter-spacing:0;color:var(--ink2)}
#v-shows .lfd-seg.shw-switch button + button{border-left:1px solid var(--line)}
/* the chosen side is the kit's solid fill (board.css .lfd-seg button.on), so
   the mode cannot be missed in a bright hall; a selected segment is a state,
   not a call to action, so Add stays the screen's one filled BUTTON */
#v-shows .lfd-seg.shw-switch button.on{background:var(--accent);color:var(--accent-ink)}
#v-shows .lfd-seg.shw-switch button:not(.on):hover{color:var(--ink);background:var(--surface2)}
#v-shows .lfd-seg.shw-switch button.on:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-5px}
/* the Bought side: the card takes the Bought tag's hue (sky), its kicker reads
   BOUGHT FOR THE STORE and the sticky button reads Add buy */
#v-shows .shw-entry.shw-buymode{--shw-card:color-mix(in srgb, var(--sky) 7%, var(--surface));border-color:var(--sky);background:var(--shw-card)}
#v-shows .shw-entry.shw-buymode .lfb-kicker .shw-kh{color:var(--sky);font-weight:600}
#v-shows .shw-entry.shw-buymode .shw-linetotal{border-top-color:color-mix(in srgb, var(--sky) 35%, var(--line2))}
.shw-field{position:relative}
.shw-hits{display:flex;flex-direction:column;margin-top:4px;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.shw-hits[hidden]{display:none}
.shw-hits > span{padding:6px 12px 2px;font:500 10.5px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink3)}
.shw-hit{appearance:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:0 12px;
  border:0;border-top:1px solid var(--line2);background:transparent;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.shw-hit:hover{background:var(--surface2)}
.shw-hit:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.shw-hit i,.shw-qbtn i{font:500 12.5px var(--mono);font-style:normal;font-variant-numeric:tabular-nums;color:var(--ink2)}
.shw-quick{display:flex;flex-wrap:wrap;gap:6px}
/* name over its usual price, so two sit side by side on a phone */
.shw-qbtn{appearance:none;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:44px;
  padding:5px 12px;cursor:pointer;text-align:left;font:500 14px/1.2 var(--ui);color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.shw-qbtn i{font-size:12px;line-height:1.2}
.shw-qbtn:hover{border-color:var(--ink3)}
.shw-qbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.shw-qbtn[aria-pressed="true"]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, var(--surface))}
.shw-entry .shw-pair > div > label{margin-top:0}
.shw-linetotal{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0 0;border-top:1px solid var(--line2);
  font-size:13.5px;color:var(--ink2)}
.shw-linetotal b{font:600 17px/1.2 var(--mono);font-variant-numeric:tabular-nums;color:var(--ink)}
.shw-linetotal .shw-q{margin-right:10px;font-size:12.5px;color:var(--ink2)}
/* a tick box and its words: the console's label is an upper-case field
   heading and its inputs are full width, so both are undone */
#v-shows label.shw-tick,.sheet label.shw-tick{display:inline-flex;align-items:center;gap:10px;min-height:34px;margin:0;cursor:pointer;
  font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ink)}
#v-shows label.shw-tick[hidden]{display:none}
.shw-tick input[type="checkbox"]{width:20px;height:20px;min-height:0 !important;margin:0;padding:0;flex:0 0 auto;accent-color:var(--accent)}
.shw-addbar{display:flex;gap:10px;align-items:center}
.shw-addbar .btn{flex:1 1 auto;min-height:44px;font-size:15px}
.shw-fixnote{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:8px 10px;border-radius:var(--r);
  border:1px solid var(--line);background:var(--surface2);font-size:13px;color:var(--ink2)}
.shw-fixnote b{color:var(--ink);font-weight:600}
/* settled and paid: the card says so instead */
.shw-state{gap:8px}
.shw-state .shw-big{font:600 18px/1.35 var(--display);color:var(--ink);overflow-wrap:anywhere}
.shw-state .shw-big b{font-family:var(--mono);font-weight:600;font-variant-numeric:tabular-nums}
.shw-state .shw-big.shw-neg b{color:var(--crit)}
.shw-state p{font-size:13.5px;color:var(--ink2)}

/* the lines */
.shw-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.shw-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--line2)}
.shw-line:last-child{border-bottom:0}
.shw-li{font-size:14px;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.shw-lt{font:500 14px/1.35 var(--mono);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;color:var(--ink)}
.shw-lsub{font-size:12.5px;line-height:1.4;color:var(--ink2);align-self:center}
.shw-q{font-family:var(--mono);font-variant-numeric:tabular-nums}
/* qty × price is what he checks when a buyer disputes a line: full ink, a size up */
.shw-lsub .shw-q{font-size:13.5px;font-weight:500;color:var(--ink)}
.shw-lacts{display:flex;gap:6px;justify-content:flex-end;align-self:center}
.shw-why{grid-column:1 / -1;margin:0;font-size:12.5px;line-height:1.4;color:var(--ink2);overflow-wrap:anywhere}
.tag.shw-bought{background:var(--skybg);color:var(--sky);margin-right:7px}
.tag.shw-voided{background:var(--surface2);color:var(--ink2);margin-left:6px;margin-right:0}
.shw-line.shw-void .shw-tx,.shw-line.shw-void .shw-lt,.shw-line.shw-void .shw-q{color:var(--ink3);text-decoration:line-through}
.shw-line.shw-refd .shw-tx,.shw-line.shw-refd .shw-lt{color:var(--ink3)}
@media (prefers-reduced-motion:no-preference){
  .shw-line.shw-new{animation:shw-in 1.6s ease-out}
  @keyframes shw-in{from{background:color-mix(in srgb, var(--accent) 16%, transparent)}to{background:transparent}}
}

/* the summary and the books */
.shw-sum .lfd-lv.shw-negv,.shw-sum .lfd-lk.shw-negv{color:var(--crit)}
#v-shows .lfd-line.lfd-total .lfd-ln{font-weight:400;color:var(--ink2)}
.shw-sum .lfd-table td:first-child{color:var(--ink);letter-spacing:0;font-family:var(--ui);font-size:13px;white-space:normal}
.shw-sum .lfd-table th{position:static}
.shw-book{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;padding:8px 0;border-bottom:1px solid var(--line2);font-size:13.5px}
.shw-book:last-child{border-bottom:0}
.shw-book b{font-weight:600;color:var(--ink)}
.shw-book .lfd-lv{align-self:baseline}
.shw-book small{grid-column:1 / -1;font-size:12.5px;line-height:1.4;color:var(--ink2)}
.shw-sched{color:var(--ink);font-weight:600}
.shw-rcpts{display:flex;flex-direction:column;gap:6px}
.shw-rcptrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;font-size:13.5px}
.shw-rcptrow b{font-family:var(--mono);font-weight:600}
.shw-fold > summary{list-style:none;cursor:pointer;min-height:34px;align-items:center}
.shw-fold > summary::-webkit-details-marker{display:none}
.shw-fold > summary::after{content:"▾";margin-left:8px;color:var(--ink3)}
.shw-fold[open] > summary::after{content:"▴"}
.shw-fold:not([open]){gap:0}

/* quick items */
.shw-qrow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 14px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line2)}
.shw-qa{display:flex;gap:6px}
.shw-qrow:last-child{border-bottom:0}
.shw-qrow b{font-weight:600;font-size:14px;overflow-wrap:anywhere}
.shw-qrow small{display:block;font-size:12.5px;color:var(--ink2);margin-top:2px}
.shw-qrow .shw-q{font-size:13.5px;color:var(--ink);text-align:right;white-space:nowrap}
.shw-qrow.shw-off b,.shw-qrow.shw-off .shw-q{color:var(--ink3)}
.shw-onoff[aria-checked="true"]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, var(--surface));color:var(--ink)}
.shw-home{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.shw-door{appearance:none;display:grid;gap:4px;min-height:88px;padding:16px;text-align:left;cursor:pointer;font:inherit;color:var(--ink);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.shw-door b{font:600 17px/1.2 var(--display)}
.shw-door span{font-size:13px;color:var(--ink2)}
.shw-door:hover{border-color:var(--ink3)}
.shw-door:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* dialogs: the console's centred sheet, a little wider for a form */
.scrim.shw-scrim{z-index:80;display:flex;align-items:center;justify-content:center;padding:20px}
.sheet.shw-sheet{border-radius:14px;max-width:520px;width:100%;margin:0;padding:18px}
.sheet .shw-st{margin:0 0 2px;font:600 18px/1.3 var(--display)}
.sheet .shw-ss{margin:0 0 10px;font-size:13px;color:var(--ink2)}
.sheet .shw-math{margin:4px 0 10px}
.sheet .shw-math .lfd-lk span{color:var(--ink2);font-size:12.5px}
.sheet .shw-math .lfd-line.shw-neg .lfd-lk,.sheet .shw-math .lfd-line.shw-neg .lfd-lv{color:var(--crit)}
.sheet .shw-line1{margin:0 0 6px;font-size:13px;line-height:1.45;color:var(--ink2)}
.sheet .shw-line1 b{color:var(--ink)}
.sheet .shw-tickrow{margin:8px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper)}
.sheet .acts{margin-top:14px}
.sheet label .shw-opt{color:var(--ink3)}
.sheet .askreq{margin:-8px 0 12px;font-size:12.5px;color:var(--crit);font-weight:600}
.sheet .askreq:empty{display:none}

/* the paid receipt: the pay-stub paper (deliberately white in either theme,
   so its few greys are the stub's own, not tokens) */
.stubdoc.shw-rcpt .shw-rhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:4px 0 12px}
.stubdoc.shw-rcpt .shw-rhead h2{font-size:19px}
.stubdoc.shw-rcpt .shw-rno{font:600 15px/1.2 var(--mono);color:#16211f}
.stubdoc.shw-rcpt .shw-rgrey{color:#67706e;font-size:12px}
.stubdoc.shw-rcpt td.n,.stubdoc.shw-rcpt th.n{font-family:var(--mono)}
.stubdoc.shw-rcpt tr.shw-rv td{color:#8a918f}
.stubdoc.shw-rcpt tr.shw-rv .shw-rs,.stubdoc.shw-rcpt tr.shw-rv td.n{text-decoration:line-through}
.stubdoc.shw-rcpt tr.shw-rtot td{font-weight:700;border-bottom:0;border-top:1.5px solid #16211f}
.stubdoc.shw-rcpt .shw-rtag{display:inline-block;font:600 9.5px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase;
  border:1px solid #67706e;color:#4a5451;border-radius:3px;padding:0 4px;margin-right:6px;vertical-align:1px}
.stubdoc.shw-rcpt .shw-rwhy{display:block;font-size:11px;color:#67706e;text-decoration:none}
.stubdoc.shw-rcpt .shw-rfoot{margin:12px 0 0;font-size:12px;color:#4a5451;line-height:1.5}
.stubdoc.shw-rcpt .draft{margin:0 0 12px}
.stubdoc.shw-rcpt:focus{outline:none}

@media (max-width:1080px){
  .shw-two{grid-template-columns:minmax(0,1.1fr) minmax(300px,1fr)}
  .shw-split{grid-template-columns:minmax(0,1fr) minmax(320px,400px)}
}
@media (max-width:760px){
  #v-shows .btn,#v-shows .fchip,#v-shows input,#v-shows select{min-height:44px}
  #v-shows label.shw-tick{min-height:44px}
  .shw-two{grid-template-columns:minmax(0,1fr)}
  .shw-split{grid-template-columns:minmax(0,1fr)}
  .shw-split > .shw-listcol{display:none}
  .shw-cards{grid-template-columns:minmax(0,1fr)}
  /* Add sits at the bottom of the screen while the card is in view */
  .shw-addbar{position:sticky;bottom:0;z-index:5;margin:0 -18px -16px;padding:10px 18px calc(10px + env(safe-area-inset-bottom));
    background:var(--shw-card, var(--surface));border-top:1px solid var(--line);border-radius:0 0 var(--r) var(--r)}
  /* a focused box always lands above the sticky bar (about 65px tall) */
  #shw-entry input,#shw-entry .shw-qbtn,#shw-entry .shw-hit,#shw-entry .lfd-seg button,#shw-entry label.shw-tick{
    scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom))}
  .shw-lacts .fchip{min-width:52px}
  .shw-qrow{grid-template-columns:minmax(0,1fr) auto}
  .shw-qrow .shw-q{text-align:left;grid-column:1}
  .shw-qrow .shw-qa{grid-column:2;grid-row:1 / span 2;display:flex;gap:6px}
  .sheet.shw-sheet{padding:16px 14px calc(16px + env(safe-area-inset-bottom))}
  .scrim.shw-scrim{padding:10px}
}
@media (max-width:560px){
  /* two across, the cash figure on its own row: the type keeps the kit's
     sizes (kicker 10.5px, figures 20px, line counts 12px) instead of shrinking */
  .shw-tile .lfb-foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .shw-tile .lfb-foot > div:last-child{grid-column:1 / -1;padding-top:10px;border-top:1px solid var(--line2)}
  .shw-tile .lfb-foot .lfb-v{font-size:20px}
  .shw-tile .lfb-foot > div:last-child .lfb-v{font-size:24px}
  .shw-title{font-size:19px}
}


/* ================================================================ 2. the console's additions */
/* The room's own error line under the show's meta (a void, a reopen or a
   payment void that did not take): the mock-up only flashed. */
.shw-perr{margin:-4px 0 0 !important}
/* A line the server turned away stays on the phone, struck through, with the
   database's words under it and a small Remove (asked first). */
.shw-line.shw-refd .shw-q{color:var(--ink3);text-decoration:line-through}
/* A read that did not answer: the words and Try again, in the panel's place. */
.shw-fail{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.shw-fail p{flex:1 1 16em;margin:0;font-size:13.5px;line-height:1.5;color:var(--ink2)}
/* While a sheet or the receipt is open the page behind it is inert; the
   disabled Add keeps its place and reads as waiting, not gone. */
#v-shows .shw-addbar .btn:disabled{opacity:.7;cursor:progress}
/* The receipt's print title and the overlay's own focus: the paper takes the
   keyboard without a ring (it is the dialog's body, not a control). */
#stubwrap .stubdoc.shw-rcpt{scroll-margin-top:60px}
/* The show screen's parts (the top, the lines, the side) are wrappers a
   partial repaint fills, so a line landing never redraws the box he is typing
   in; they take no box of their own, so the page's gap still falls between
   the head, the meta line, the bar and the tile. */
.shw-part{display:contents}
/* The seller's folded summary opens with a thumb: 44px on a phone, like
   every other target in the room (the mock-up left it at 34). */
@media (max-width:760px){ .shw-fold > summary{min-height:44px} }
/* 36px boxes on a desktop exactly (DESIGN.md, PLAN 4a item 4): the mock-up's
   min-height let the console's 16px type and padding make them 38. The 760px
   block's min-height of 44 still wins on a phone. */
#v-shows input:not([type="checkbox"]),#v-shows select{height:36px}
/* A sheet taller than the screen (Mark paid on a phone with the keyboard up)
   scrolls inside its scrim instead of losing its top: the console's .scrim
   has no overflow of its own. Centred while it fits (the auto margins), from
   the top once it does not; the page behind never scrolls with it. */
.scrim.shw-scrim{overflow-y:auto;overscroll-behavior:contain;align-items:flex-start}
.sheet.shw-sheet{margin:auto 0}
/* Quick taps at a hall table: no double-tap zoom delay on the room's controls. */
#v-shows button,#v-shows input,#v-shows select,#v-shows label.shw-tick,.sheet.shw-sheet button{touch-action:manipulation}
/* The receipt's figure columns keep a gap and stay on one line: on a 375px
   phone the stub paper's 1px cells ran "$90.00-$90.00" together and broke
   "Paid each" over two lines (the integrator's look at the paper). */
.stubdoc.shw-rcpt td.n,.stubdoc.shw-rcpt th.n{padding-left:10px;white-space:nowrap}
/* The receipt's bar on a phone: the overlay is the room's own (#stubwrap with
   .shw-rcptwrap, app/shows.js openReceipt), and on a 375px screen its white
   "Paid receipt R-..." note sat over the dimmed console header behind it.
   The bar gets a dark backing of its own there; pay stubs (payroll.js builds
   its own overlay, without the class) keep theirs as they are. */
@media (max-width:760px){
  #stubwrap.shw-rcptwrap .stubbar{background:rgba(0,0,0,.72);border-radius:var(--r);padding:6px 6px 6px 10px}
}
/* The list card's count of lines still on this phone (not in the Sold figure). */
.shw-cardpend{color:var(--ink2);font-size:12.5px}
/* The stale line (docs/shows/OFFLINE.md 5.2): the screen draws this phone's
   last copy because a read had no signal; it says when that copy was read.
   --ink2, not the kicker's --ink3: it is a sentence he has to be able to read
   at a bright hall table. */
#v-shows .shw-stale{margin:0;font-size:12.5px;line-height:1.4;color:var(--ink2)}
/* Fix and Void while the show draws a copy: greyed, with the words in the
   Lines kicker ("Fix and Void need signal"). */
#v-shows .fchip:disabled{opacity:.45;cursor:not-allowed}
