/* singles-pick.css - Singles > Pick list (app/singles-pick.js, migration 375,
   docs/singles/picklist/SPEC.md sections 3 and 8). Only what the shop panel's
   styles (app/singles-shop.css: the panel, the pills, the rows, the picture)
   and To pull's (app/singles-tcg.css: the last press) lack: the heading, the
   bin line first and mono, the two groups, the bar, and the paper. Every
   colour is a token on screen; the paper is black on white in either theme,
   like the pay stub's and the shows receipt's. Buttons 44 px on a phone,
   where a row's buttons run across its width under its words.
   1.9.291 (docs/singles/pickticks/SPEC.md section 3): each row is the label
   of its tick box (44 px box, the whole row presses it), a ticked row is
   tinted with a 3 px accent bar and says "Ticked, not saved", and the bar
   under the list ("3 of 9 ticked", Save picked, Clear, the last press's
   words) stays at the foot of the screen, above the phone's bottom bar. */

#v-singles .pk-h{margin:0;font:600 17px/1.25 var(--display,inherit);color:var(--ink)}
#v-singles .pk-intro{margin:0}
#v-singles .pk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#v-singles .pk-state{margin-top:0}
#v-singles .pk-warn{color:var(--warn)}
#v-singles .pk-gh{margin:6px 0 0;font:500 12px/1.3 var(--mono,monospace);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3)}
#v-singles .pk-gnote{margin:2px 0 4px}
#v-singles .pk-bin{margin:0;font:700 14px/1.3 var(--mono,monospace);letter-spacing:.02em;color:var(--ink);overflow-wrap:anywhere}
#v-singles .pk-bin.pk-nobin{font-weight:500;font-size:12.5px;color:var(--ink3)}
/* 1.9.297 (migration 386): Check bin and SortSwift's note under the bin. */
#v-singles .pk-check{color:var(--ink2);overflow-wrap:anywhere}
#v-singles .pk-check .sh-pill{margin-right:4px;vertical-align:1px}
#v-singles .pk-copies b{font-weight:700;color:var(--ink)}
#v-singles .pk-copies .sh-pill{margin-left:4px;vertical-align:1px}
#v-singles .pk-empty{display:flex;flex-direction:column;gap:4px}
#v-singles .pk-foot{gap:4px}
#v-singles .pk-footline{color:var(--ink2)}

/* The row and its tick box (1.9.291). */
#v-singles .pk-item{flex-wrap:wrap;gap:0 12px;padding:0;align-items:stretch}
/* The row is a label: the console's own label rule (11px bold capitals, letter-spaced, with a field's margins) is undone here. */
#v-singles .pk-tick{display:flex;gap:10px;align-items:flex-start;flex:1 1 100%;min-width:0;margin:0;padding:10px 6px 10px 0;font:inherit;letter-spacing:normal;text-transform:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
#v-singles .pk-cbwrap{flex:none;align-self:center;display:flex;align-items:center;justify-content:center;width:44px;height:44px}
#v-singles .pk-cb{width:24px;height:24px;margin:0;padding:0;accent-color:var(--accent);cursor:pointer}
#v-singles .pk-cb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#v-singles .pk-cb:disabled{cursor:default}
#v-singles .pk-item.pk-on{background:color-mix(in srgb,var(--accent) 9%,var(--surface));box-shadow:inset 3px 0 0 var(--accent)}
#v-singles .pk-pills{display:flex;flex-wrap:wrap;gap:4px 6px}
#v-singles .pk-pills .sh-pill[hidden]{display:none}
/* 1.9.300 (migration 388): a TCGplayer row's Shopify order, after its pill. */
#v-singles .pk-pills .pk-shop{font-size:12px;color:var(--ink2);align-self:center}
#v-singles .pk-item .pk-acts{flex:1 1 100%;margin:0 0 10px;padding-left:54px;box-sizing:border-box}
#v-singles .pk-paper{margin:0;color:var(--ink);font-weight:600}
@media (hover:hover){
  #v-singles .pk-item:not(.pk-on) .pk-tick:hover{background:color-mix(in srgb,var(--accent) 4%,var(--surface))}
}
/* The bar under the list: sticky at the foot of the screen, above the phone's bottom bar. */
#v-singles .pk-tickbar{position:sticky;bottom:var(--bbar-h,0px);z-index:2;display:flex;flex-direction:column;gap:6px;margin-top:8px;padding:10px 12px;
  border:1px solid var(--line2,var(--line));border-radius:var(--r,6px);background:var(--surface);min-width:0}
#v-singles .pk-tickbar.pk-live{border-color:var(--accent)}
#v-singles .pk-trow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
#v-singles .pk-tcount{margin:0;font:500 13px/1.3 var(--mono,monospace);color:var(--ink)}
#v-singles .pk-tbtns{display:flex;flex-wrap:wrap;gap:8px}
#v-singles .pk-note{display:flex;flex-direction:column;gap:2px;max-height:30vh;overflow-y:auto}
#v-singles .pk-note .sh-msg.sh-bad{color:var(--crit)}
/* Ticks kept while their source could not be read (review should 3): said in the bar, plain ink. */
#v-singles .pk-held{margin:0;color:var(--ink2,var(--ink))}

@media (max-width:760px){
  #v-singles #sg-pick .btn{min-height:44px}
  #v-singles .pk-item .sh-acts{width:100%}
  #v-singles .pk-item .sh-acts .btn{flex:1 1 auto}
  #v-singles .pk-tbtns{flex:1 1 auto}
  #v-singles .pk-tbtns .btn{flex:1 1 auto}
}

/* The paper (section 8), in the shows receipt's overlay (#stubwrap,
   body.stubmode; staff.html's print rules hide the rest of the page). */
#stubwrap.pk-printwrap .stubdoc.pickdoc{max-width:760px}
#stubwrap.pk-printwrap .stubbar{max-width:760px}
.stubdoc.pickdoc{font-family:"Instrument Sans",var(--sans,system-ui),sans-serif;color:#000}
.stubdoc.pickdoc .pk-phead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;margin:0 0 6px}
.stubdoc.pickdoc .pk-phead h2{color:#000}
.stubdoc.pickdoc .pk-pmeta{margin:0;font:500 12px/1.4 "JetBrains Mono",var(--mono,monospace);color:#000}
.stubdoc.pickdoc .sec{color:#000}
.stubdoc.pickdoc table.pk-ptable{font-size:12.5px}
.stubdoc.pickdoc .pk-ptable th{color:#000;border-bottom:1px solid #000}
.stubdoc.pickdoc .pk-ptable td{border-bottom:1px solid #bbb;vertical-align:top}
.stubdoc.pickdoc .pk-ptable tr{break-inside:avoid}
.stubdoc.pickdoc .pk-ptable thead{display:table-header-group}
.stubdoc.pickdoc .pk-pbin{font:700 12.5px/1.3 "JetBrains Mono",var(--mono,monospace);white-space:nowrap}
.stubdoc.pickdoc .n{font-family:"JetBrains Mono",var(--mono,monospace)}
.stubdoc.pickdoc .pk-pbox{width:22px}
.stubdoc.pickdoc .pk-box{display:inline-block;width:13px;height:13px;border:1.5px solid #000;border-radius:0;vertical-align:-2px;margin-right:6px;flex:none}
.stubdoc.pickdoc .pk-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.stubdoc.pickdoc .pk-pnote{color:#333;font-size:11.5px}
.stubdoc.pickdoc .pk-porder{break-inside:avoid;margin:0 0 10px;padding:6px 0 0;border-top:1px solid #bbb}
.stubdoc.pickdoc .pk-potitle{margin:0 0 4px;font-weight:700}
.stubdoc.pickdoc .pk-pline{margin:0 0 3px;display:flex;align-items:flex-start;gap:0}
.stubdoc.pickdoc .pk-pother{margin:2px 0 0;color:#333;font-style:italic}
.stubdoc.pickdoc .pk-pfoot{margin:14px 0 0;padding-top:8px;border-top:1px solid #000;font-size:12px}
@media screen and (max-width:560px){
  .stubdoc.pickdoc table.pk-ptable{font-size:12px}
  .stubdoc.pickdoc .pk-pbin{white-space:normal}
}
@media (max-width:760px){
  #stubwrap.pk-printwrap .stubbar{background:rgba(0,0,0,.72);border-radius:var(--r);padding:6px 6px 6px 10px}
  #stubwrap.pk-printwrap .stubbar .btn{min-height:44px}
  #stubwrap.pk-printwrap .stubpages{overflow-x:auto}
}

/* Picked, not shipped yet (review should 5): a fold under the foot, closed
   until opened, for a Picked pressed by mistake. */
#v-singles .pk-donefold{margin-top:6px;padding-top:4px;border-top:1px solid var(--line)}
#v-singles .pk-by{color:var(--ink3)}
/* On paper: what the screen's foot warns of, in bold (review must 1). */
.stubdoc.pickdoc .pk-pwarn{margin:0 0 6px;color:#000;font-size:12.5px}
.stubdoc.pickdoc .pk-porder .pk-pwarn{margin:4px 0 0}
/* 1.9.298 (migration 387, docs/singles/guards/SPEC.md section 2): the cards
   to put back, first on the list, each said in words with a warn pill (never
   colour alone) and a ghost Put back; a 3 px warn bar marks the list. */
#v-singles .pk-back{margin:4px 0 2px;padding-left:10px;box-shadow:inset 3px 0 0 var(--warn)}
#v-singles .pk-backsay{color:var(--ink);font-weight:600}
#v-singles .pk-backsay .sh-pill{margin-right:4px;vertical-align:1px}
#v-singles .pk-backitem .sh-acts{margin-top:4px}
