/* Redundancy sweep Oct 30 · sell */
/* Close out: they owe you = green (Kris, Oct 30) */
.pe-big.grn{color:#0F6B53}
/* the one red line when an open sale's saved total doesn't match its phones (owner only) */
.sv-recon{margin:8px 16px 0;color:#A12B21;font-size:13px;line-height:18px}
/* New sale: "N not ready" row and the read-only rows under it */
.ns-offtog{min-height:50px}
.ns-offtog .cr-mut{color:#6D6A60}
.ns-ro{cursor:default}
.ns-ro .ns-ck{visibility:hidden}
/* Payments sheet (approved mockup, Oct 30) */
#svPaySheet{display:none;position:fixed;inset:0;z-index:140;flex-direction:column;justify-content:flex-end;overflow-x:clip}
#svPaySheet .nq-sheet{height:auto;max-height:90vh}
#svPaySheet .nq-hd{grid-template-columns:80px 1fr 80px}
#svPaySheet .nq-hd b{text-align:center;line-height:22px}
#svPaySheet .nq-hd b small{display:block;font-size:13px;font-weight:400;color:#6D6A60;line-height:18px}
#svPaySheet .nq-body{padding:0 0 16px}
#svPaySheet .pe-hero{text-align:center;padding:4px 16px 4px}
#svPaySheet .calm-list{margin-left:16px;margin-right:16px}
#svPaySheet .ov-sec{padding:18px 32px 6px}
#svPaySheet .pe-note{text-align:center;margin:8px 16px 0}
#svPaySheet button{font-family:inherit}
.sv-paybar{flex:none;padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #EFEBE2;background:#F7F5EF}
.sv-paybar .act.pc-big{width:100%;min-height:52px;font-size:17px;font-weight:600;border-radius:14px}
.sv-paybar .pe-note{margin:8px 0 0}
/* Record a payment: the amount looks editable (Oct 30, Kris couldn't tell it could change) */
#spSheet .sp-amt input{border:0;border-bottom:2px dashed #D9D3C6 !important;border-radius:0;background:transparent;padding-bottom:4px;max-width:100%}
#spSheet .sp-amt input:focus{border-bottom-color:#0F6B53 !important;outline:none}
#spSheet .sp-tap{text-align:center;font-size:13px;color:#6D6A60;margin-top:6px}
/* ---- Sell stress test fixes (Oct 30, build Nov 1v) ---- */
/* #18 pack screen: model may wrap, IMEI always whole on its own line */
.pc4 .pl-r .l{white-space:normal}
.pc4 .pl-r small.pl-imei{white-space:nowrap;overflow:visible;text-overflow:clip;font-size:13px}
/* #19 no words cut with "…": second lines wrap instead (list rows, sale phone rows, close-out notes) */
#salesView .pl-r .l small,#salesView .calm-row .cr-s,#phoneModal .pl-r .l small{white-space:normal !important;overflow:visible !important;text-overflow:clip !important}
/* #20 nothing under 13px; the not-ready rows readable (no fade, read-only = no circle) */
.sl-v small,.ns-r small,#salesView small,.sv-co small{font-size:13px !important}
.ns-off,.ns-ro{opacity:1 !important}
.ns-ro .cr-t{color:#16202B}.ns-ro .cr-s{color:#6D6A60}
/* small: tap targets ≥44px */
.pc4-undo{min-height:44px;min-width:64px}
#spSheet #spNote{min-height:44px}
#salesView .sv-inl,.sp-sheet .sv-inl,.nq-sheet .inv-link.sv-inl{min-height:44px;display:inline-flex;align-items:center}
.pc-links .inv-link{min-height:44px}
.pc4 .pc-back{font-size:17px}
/* running-tab buyer line above Shipped (Kris, Oct 30: open orders on the 95%) */
#salesBody .sl-tab{font-size:17px;color:var(--ink);padding:14px 16px 0}
#salesBody .sl-tab b{font-weight:600}
.nq-hd .pp-done{justify-self:end;font-weight:600}
/* New sale phone sheet (Kris, Nov 3, build Nov 4d) */
.ns-row{cursor:pointer}
button.ns-ck{background:none;padding:0;cursor:pointer;position:relative;-webkit-appearance:none;appearance:none;font:inherit;font-size:13px;color:#fff}
button.ns-ck::before{content:"";position:absolute;inset:-11px}   /* 44px tap area around the 22px circle */
button.ns-ck.on{background:#0F6B53}
.ns-row .chev{color:#C4BEB1;font-size:20px;margin-left:2px}
#ppSheet .ns-imei{font-family:ui-monospace,Menlo,monospace;font-size:14px;letter-spacing:.3px}
#ppSheet .ns-ink{color:var(--ink)}
#ppSheet .ns-grn{color:#0F6B53}
#ppSheet .ns-mine{background:#FAF8F3}
#ppSheet .ns-who{min-height:56px}
#ppSheet .ns-rm{width:100%;color:#A12B21;border-color:#E6C3BE}
/* New sale: Buyer picker row (Kris, Nov 3, build Nov 4e) */
#salesView .ns-card{background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:14px}
#salesView .ns-pick{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 16px;cursor:pointer}
#salesView .ns-pl{font-size:16px;color:var(--ink)}
#salesView .ns-pv{display:flex;align-items:center;gap:6px;font-size:16px;color:var(--muted)}
#salesView .ns-pv.ns-none{color:var(--accent)}
#salesView .ns-pick select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;-webkit-appearance:none;appearance:none}
/* Shipping label sheet (build Nov 4h): same sheet as Payments */
#svLabelSheet{display:none;position:fixed;inset:0;z-index:140;flex-direction:column;justify-content:flex-end;overflow-x:clip}
#svLabelSheet .nq-sheet{height:auto;max-height:90vh}
#svLabelSheet .nq-hd{grid-template-columns:80px 1fr 80px}
#svLabelSheet .nq-hd b{text-align:center;line-height:22px}
#svLabelSheet .nq-hd b small{display:block;font-size:13px;font-weight:400;color:#6D6A60;line-height:18px}
#svLabelSheet .nq-body{padding:0 0 16px}
#svLabelSheet .pe-hero{text-align:center;padding:4px 16px 4px}
#svLabelSheet .calm-list{margin-left:16px;margin-right:16px}
#svLabelSheet .ov-sec{padding:18px 32px 6px}
#svLabelSheet .pe-note{text-align:center;margin:8px 16px 0}
#svLabelSheet button{font-family:inherit}
#svLabelSheet .lb-view{margin:4px 16px 8px}
.lb-view{background:#fff;border-radius:12px;overflow:hidden;margin:4px 0 8px;min-height:220px;display:flex;align-items:center;justify-content:center}
.lb-view iframe{width:100%;height:50vh;border:0;display:block}
.lb-view img{width:100%;height:auto;max-height:50vh;object-fit:contain;display:block}
.sv-rmgo{background:#A12B21 !important;color:#fff !important;border-color:#A12B21 !important}

/* Buy label + address sheets (build Nov 4i) */
#shipAddrSheet{display:none;position:fixed;inset:0;z-index:140;flex-direction:column;justify-content:flex-end;overflow-x:clip}
#shipAddrSheet .nq-sheet{height:auto;max-height:90vh}
#shipAddrSheet .nq-hd{grid-template-columns:80px 1fr 80px}
#shipAddrSheet .nq-hd b{text-align:center;line-height:22px}
#shipAddrSheet .nq-hd b small{display:block;font-size:13px;font-weight:400;color:#6D6A60;line-height:18px}
#shipAddrSheet .nq-body{padding:0 0 16px}
#shipAddrSheet .pe-hero{text-align:center;padding:4px 16px 4px}
#shipAddrSheet .calm-list{margin-left:16px;margin-right:16px}
#shipAddrSheet .ov-sec{padding:18px 32px 6px}
#shipAddrSheet .pe-note{text-align:center;margin:8px 16px 0}
#shipAddrSheet button{font-family:inherit}
.sb-in{cursor:text}
.sb-in input{width:110px;text-align:right;font-size:16px;border:0;background:transparent;color:var(--ink);padding:6px 0;font-family:inherit}
.sb-f input{width:180px}
.sb-in input:focus{outline:none}
.sb-u{color:var(--muted);font-size:16px;margin:0 2px}
.sb-chips{margin-top:10px}
.sb-rate .sb-ck{width:20px;margin-left:8px;color:#0F6B53;font-weight:700;text-align:center}
.sb-rate.on{box-shadow:inset 0 0 0 2px #0F6B53}
#shipAddrSheet #trNum{width:230px;font-variant-numeric:tabular-nums}
/* Boxes (build Nov 4m) */
.sb-step{display:flex;align-items:center;gap:10px}
.sb-step b{min-width:22px;text-align:center;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.sb-step .nq-chip{min-width:44px;justify-content:center;font-size:18px}
.sb-step .nq-chip:disabled{opacity:.35}
#svLabelSheet .sb-box{margin-top:10px}
/* Design review fixes (build Nov 4t) */
.cr-v.cr-ink{color:#16202B}
.cr-v.iv-acc{color:var(--accent)}
.cr-t.cr-ink{color:#16202B}
/* text links under a button: a 44px tap area without moving anything */
.pe-note .inv-link{display:inline-block;padding:12px 6px;margin:-12px -6px}
/* Drop off · Checking now (Nov 6f): a tall sheet with the phones and the pay button */
.nq-sheet.ho-full{height:calc(100vh - 40px);max-height:calc(100vh - 40px);display:flex;flex-direction:column}
.nq-sheet.ho-full .nq-body{flex:1;min-height:0}
.ho-amt .cr-r{display:flex;align-items:center;gap:0}
.ho-amt input{border:0;background:transparent;font:inherit;font-weight:600;color:var(--ink,#16202B);text-align:left;width:7ch;padding:0;outline:none}
/* Shipping update, like UPS (build Nov 8f) */
.su-card{background:#fff;border:1px solid var(--line,#E4E0D6);border-radius:12px;margin:0 0 10px;padding:14px 16px 12px}
.su-card.bad{border-color:#E8C4BF}
.su-box{font-size:13px;color:var(--muted,#6D6A60);margin-bottom:4px}
.su-big{font-size:22px;font-weight:700;color:var(--ink,#16202B);line-height:1.2}
.su-card.bad .su-big{color:#A12B21}
.su-sub{font-size:15px;color:var(--ink,#16202B);margin-top:2px}
.su-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:14px 0 4px}
.su-st i{display:block;height:4px;border-radius:2px;background:var(--line,#E4E0D6)}
.su-st.on i{background:var(--accent,#11694F)}
.su-st span{display:block;font-size:11px;color:var(--muted,#6D6A60);margin-top:5px;line-height:1.25}
.su-st.on span{color:var(--ink,#16202B)}
.su-last{border-top:1px solid var(--line,#E4E0D6);margin-top:12px;padding-top:10px;font-size:15px}
.su-last b{display:block;font-weight:600}
.su-last span{display:block;font-size:13px;color:var(--muted,#6D6A60);margin-top:2px}
.su-all{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;margin:4px 0 -6px;padding:0;border:0;background:none;font-size:15px;color:var(--accent,#11694F);font-weight:600}
.su-card{cursor:pointer}
.su-box{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.su-box .chev{color:var(--muted,#6D6A60)}
.calm-list + .su-card{margin-top:10px}
/* Label sheet v2 (build Nov 8g) */
.lb-view.lb-sm{position:relative;min-height:0;border:1px solid var(--line,#E4E0D6)}
.lb-view.lb-sm iframe{height:34vh;pointer-events:none}
.lb-view.lb-sm img{max-height:34vh}
.lb-tap{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;padding:0;cursor:zoom-in}
#svLabelSheet .lb-num{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;letter-spacing:.02em}
.pe-note.lb-links{display:flex;justify-content:center;align-items:center;gap:6px}
