/* Κάμερα παραλαβής σε σειρά + λίστα «Φωτογραφίες παραλαβής» + φύλλο σχολίου.
   Tokens: κάρτες #FFF/#E2E8F0 γωνίες 12/10, κείμενο #0F172A, δευτερεύον #64748B, μπλε #1D6FD8, πράσινο #16A34A,
   κάμερα #0B1220. Το φόντο της λίστας είναι το φόντο της επιχείρησης (--cfx-page-bg), ποτέ σταθερό χρώμα. */

/* ── Κάμερα ───────────────────────────────────────────────────────────── */
.pc-overlay { position: fixed; inset: 0; z-index: 10000; background: #0B1220; color: #fff; display: flex; flex-direction: column; font-family: inherit; box-sizing: border-box; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.pc-count { font-weight: 700; font-size: 1rem; white-space: nowrap; text-align: center; flex: 1; }
.pc-link, .pc-torch { min-height: 44px; min-width: 44px; padding: 0 12px; background: transparent; border: 0; color: #fff; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; border-radius: 10px; }
.pc-torch { border: 1px solid #475569; }
.pc-torch.on { background: #1D6FD8; border-color: #1D6FD8; }
.pc-right { min-width: 44px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.pc-x { font-size: 1.8rem; line-height: 1; padding: 0; width: 44px; }
.pc-top .pc-done { width: auto; min-height: 44px; padding: 0 16px; }
.pc-count { overflow: hidden; text-overflow: ellipsis; }
.pc-stage { position: relative; flex: 1; min-height: 0; background: #000; overflow: hidden; }
.pc-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .12s; }
.pc-flash.on { opacity: .75; }
.pc-hint { padding: 10px 16px 6px; text-align: center; color: #CBD5E1; font-size: .88rem; line-height: 1.35; }
.pc-strip { display: flex; gap: 8px; padding: 6px 12px; min-height: 60px; overflow-x: auto; }
.pc-thumb { position: relative; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: #1E293B; border: 2px solid transparent; }
.pc-thumb.last { border-color: #1D6FD8; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-thumb-n { position: absolute; left: 4px; bottom: 2px; font-size: .72rem; font-weight: 700; color: #fff; text-shadow: 0 0 3px #000; }
.pc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.pc-bar-side { width: 96px; }
.pc-shutter { width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 5px solid #CBD5E1; cursor: pointer; padding: 0; flex: 0 0 auto; }
.pc-shutter:active { transform: scale(.94); }
.pc-shutter:disabled { opacity: .4; }
.pc-done { width: 96px; min-height: 48px; border: 0; border-radius: 12px; background: #1D6FD8; color: #fff; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }

/* ── Λίστα ────────────────────────────────────────────────────────────── */
.pl-overlay { position: fixed; inset: 0; z-index: 10000; background: var(--cfx-page-bg, #F5F7FA); color: #0F172A; display: flex; flex-direction: column; font-family: inherit; box-sizing: border-box; }
.pl-head { padding: 8px 16px 10px; }
.pl-back { min-height: 44px; padding: 0; background: none; border: 0; color: #1D6FD8; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.pl-h1 { font-size: 1.25rem; font-weight: 800; }
.pl-sub { color: #64748B; font-size: .9rem; margin-top: 2px; }
.pl-body { flex: 1; overflow-y: auto; padding: 4px 16px; display: flex; flex-direction: column; gap: 10px; }
.pl-empty { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 18px; color: #64748B; text-align: center; }
.pl-row { display: flex; flex-direction: column; gap: 6px; }
.pl-card { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 88px; padding: 8px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; box-sizing: border-box; }
.pl-thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #E2E8F0; display: flex; align-items: center; justify-content: center; }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-thumb-n { color: #64748B; font-weight: 700; }
.pl-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pl-title { font-weight: 700; }
.pl-note { color: #0F172A; font-size: .9rem; overflow-wrap: anywhere; }
.pl-add { color: #1D6FD8; font-size: .9rem; font-weight: 600; }
.pl-cap { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pl-cap.ok { background: #DCFCE7; color: #166534; }
.pl-cap.wait { background: #FFEDD5; color: #9A3412; }
.pl-cap.bad { background: #FEE2E2; color: #991B1B; }
.pl-retry { align-self: flex-start; min-height: 44px; padding: 0 14px; border: 1px solid #FCA5A5; border-radius: 10px; background: #fff; color: #991B1B; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.pl-queue-note { padding: 8px 16px 0; color: #64748B; font-size: .85rem; line-height: 1.35; }
.pl-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.pl-btn { flex: 1 1 140px; min-height: 48px; border-radius: 12px; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.pl-btn.sec { background: #fff; color: #1D6FD8; border: 1px solid #1D6FD8; }
.pl-btn.pri { background: #1D6FD8; color: #fff; border: 1px solid #1D6FD8; }
.pl-btn:disabled { opacity: .5; }

/* ── Φύλλο σχολίου ────────────────────────────────────────────────────── */
.ps-overlay { position: fixed; inset: 0; z-index: 10001; display: flex; flex-direction: column; justify-content: flex-end; font-family: inherit; }
.ps-back { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.ps-panel { position: relative; background: #fff; border-radius: 12px 12px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow-y: auto; color: #0F172A; box-sizing: border-box; }
.ps-head { display: flex; align-items: center; justify-content: space-between; }
.ps-title { font-size: 1.1rem; font-weight: 800; }
.ps-x { min-width: 44px; min-height: 44px; background: none; border: 0; font-size: 1.6rem; color: #64748B; cursor: pointer; }
.ps-img { margin: 6px 0; background: #0B1220; border-radius: 10px; min-height: 120px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ps-img img { max-width: 100%; max-height: 38vh; object-fit: contain; display: block; }
.ps-noimg { color: #CBD5E1; padding: 16px; text-align: center; font-size: .85rem; }
.ps-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0; }
.ps-navb { min-height: 44px; padding: 0 8px; background: none; border: 0; color: #1D6FD8; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.ps-navb:disabled { color: #CBD5E1; }
.ps-pos { color: #64748B; font-size: .9rem; white-space: nowrap; }
.ps-lab { display: block; font-weight: 600; margin: 8px 0 4px; }
.ps-ta { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #E2E8F0; border-radius: 10px; font: inherit; resize: none; color: #0F172A; }
.ps-err { color: #991B1B; font-size: .88rem; margin-top: 6px; }
.ps-btn { width: 100%; min-height: 48px; margin-top: 10px; border-radius: 12px; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.ps-btn.pri { background: #1D6FD8; color: #fff; border: 1px solid #1D6FD8; }
.ps-btn.sec { background: #fff; color: #0F172A; border: 1px solid #E2E8F0; }
.ps-btn.del { background: #fff; color: #991B1B; border: 1px solid #FCA5A5; }
.ps-btn:disabled { opacity: .5; }
.ps-del { display: block; width: 100%; min-height: 48px; margin-top: 6px; background: none; border: 0; color: #B91C1C; font: inherit; font-weight: 600; cursor: pointer; }
.ps-ask { position: absolute; inset: 0; z-index: 2; background: rgba(15, 23, 42, .5); display: flex; align-items: flex-end; justify-content: center; }
.ps-ask-box { width: 100%; background: #fff; border-radius: 12px 12px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; }
.ps-ask-msg { font-weight: 600; }
