/* Singles > Settings > Inventory check (migration 383, docs/singles/ssimport/SPEC.md section 6).
   Phone first: one column, nothing slides sideways, 44 px targets, a sticky bar above the phone's bottom bar. */
#v-singles .ivc{max-width:none;min-width:0}
#v-singles .ivc-intro,#v-singles .ivc-msg,#v-singles .ivc-line{margin:0;font-size:13.5px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
#v-singles .ivc-small{margin:0;font-size:12.5px;line-height:1.45;color:var(--ink3);overflow-wrap:anywhere}
#v-singles .ivc-mono{font-family:var(--mono,monospace);font-variant-numeric:tabular-nums}
#v-singles .ivc-bad,#v-singles .ivc-crit{color:var(--crit)}
#v-singles .ivc-good{color:var(--good)}
#v-singles .ivc-warn{color:var(--warn)}
#v-singles .ivc-sky{color:var(--sky,var(--accent))}
#v-singles .ivc-ink3{color:var(--ink3)}
#v-singles .ivc-msg:focus,#v-singles .ivc-h:focus,#v-singles [id^="ivc-p-"]:focus{outline:none}
#v-singles .ivc-msg:focus-visible,#v-singles .ivc-h:focus-visible,#v-singles [id^="ivc-p-"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#v-singles .ivc-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#v-singles .ivc-field{display:flex;flex-direction:column;gap:4px;min-width:0}
#v-singles .ivc-field label{font:500 11px/1.3 var(--mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)}
#v-singles .ivc-field input{min-width:0;width:100%;box-sizing:border-box;min-height:40px}
#v-singles .ivc-frow{display:flex;gap:8px;min-width:0}
#v-singles .ivc-frow input{flex:1 1 auto}
#v-singles .ivc-note{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--r,6px);background:var(--surface)}
#v-singles .ivc-pill{display:inline-flex;align-items:center;padding:1px 6px;font:500 10.5px/1.4 var(--mono,monospace);letter-spacing:.06em;color:var(--warn);
  border:1px solid color-mix(in srgb,var(--warn) 45%,var(--line));background:color-mix(in srgb,var(--warn) 12%,var(--surface));border-radius:4px;white-space:nowrap}
/* The bins */
#v-singles .ivc-bins,#v-singles .ivc-cards,#v-singles .ivc-dl,#v-singles .ivc-hits{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
#v-singles .ivc-bin{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:8px 0;border-top:1px solid var(--line);min-width:0}
#v-singles .ivc-bw{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:2px}
#v-singles .ivc-bt,#v-singles .ivc-bs,#v-singles .ivc-bl{margin:0;overflow-wrap:anywhere}
#v-singles .ivc-bn{font:600 14px/1.3 var(--mono,monospace);color:var(--ink)}
#v-singles .ivc-bs{font:12.5px/1.4 var(--mono,monospace);color:var(--ink2)}
#v-singles .ivc-bl{font-size:12.5px;line-height:1.4;color:var(--ink3)}
#v-singles .ivc-go{flex:0 0 auto;max-width:100%;white-space:normal;text-align:center}
/* Counting */
#v-singles .ivc-h{margin:4px 0 0;font:600 15px/1.3 var(--display,inherit);color:var(--ink);overflow-wrap:anywhere}
#v-singles .ivc-chips{display:flex;gap:6px}
#v-singles .ivc-card,#v-singles .ivc-done{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-top:1px solid var(--line);min-width:0}
#v-singles .ivc-card .cp,#v-singles .ivc-done .cp{flex:none}
#v-singles .ivc-cw{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
#v-singles .ivc-cn{margin:0;font-weight:600;font-size:13.5px;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
#v-singles .ivc-cs{margin:0;font-size:12.5px;line-height:1.4;color:var(--ink2);overflow-wrap:anywhere}
#v-singles .ivc-word{margin:2px 0 0;font:500 12.5px/1.4 var(--mono,monospace)}
#v-singles .ivc-count{display:flex;align-items:center;gap:6px;margin-top:4px}
#v-singles .ivc-fl{font:500 11px/1.3 var(--mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:var(--ink2);margin-right:2px}
#v-singles .ivc-step{min-width:40px;padding:0 8px;font:600 16px/1 var(--mono,monospace)}
#v-singles .ivc-num{width:52px;min-height:40px;box-sizing:border-box;text-align:center;font:600 14px/1 var(--mono,monospace);font-variant-numeric:tabular-nums}
#v-singles .ivc-tick{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:2px solid var(--line);border-radius:8px;
  background:var(--surface);color:transparent;font-weight:700;font-size:20px;line-height:1;cursor:pointer}
#v-singles .ivc-tick[aria-pressed="true"]{border-color:var(--good);background:color-mix(in srgb,var(--good) 18%,var(--surface));color:var(--good)}
#v-singles .ivc-tick:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#v-singles .ivc-find{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:var(--r,6px)}
#v-singles .ivc-hit{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 0;border-top:1px solid var(--line);min-width:0}
#v-singles .ivc-ht{flex:1 1 200px;min-width:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
/* The bar: sticky at the foot of the screen, above the phone's bottom bar. */
#v-singles .ivc-bar{position:sticky;bottom:var(--bbar-h,0px);z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;
  padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r,6px)}
/* Finished */
#v-singles .ivc-sec{display:flex;flex-direction:column;gap:4px;margin-top:6px}
#v-singles .ivc-sh{margin:0;font-weight:600;font-size:13.5px;line-height:1.3;color:var(--ink)}
@media (max-width:759px),(pointer:coarse){
  #v-singles .ivc .btn,#v-singles .ivc .fchip,#v-singles .ivc-step{min-height:44px}
  #v-singles .ivc-step{min-width:44px}
  #v-singles .ivc-num,#v-singles .ivc-field input{min-height:44px}
  #v-singles .ivc-go{flex:1 1 100%}
}
