/* Laadfoto's: zelfde opzet als de weegbrug (statusbalk als kaart, demo-strook, kolommen). */
.lp { display: flex; flex-direction: column; gap: 16px; }
.lp-bar { display: flex; align-items: center; gap: 28px; padding: 18px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--ink); }
.lp-cam { display: flex; align-items: center; gap: 16px; min-width: 300px; }
.lp-cam-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); color: var(--accent-ink); }
.lp-cam b { display: block; font: 800 26px/1.15 var(--display); }
.lp-cam small { color: var(--muted); font-size: 13px; }
.cam-ok .lp-cam b { color: var(--ink); }
.cam-busy .lp-cam b { color: var(--warn); }
.cam-busy .lp-cam-ic i { animation: lp-pulse 1s ease-in-out infinite; }
.cam-off .lp-cam b { color: var(--alert); }
.cam-off .lp-cam-ic { color: var(--alert); background: var(--alert-soft); }
@keyframes lp-pulse { 50% { opacity: .35; } }
.lp-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.lp-meta i { width: 18px; color: var(--muted); }
.lp-meta .dotc { width: 8px; margin: 0 5px 0 4px; }
.lp-warn { color: var(--warn); margin-left: 6px; }
.lp-q { margin-left: auto; text-align: right; }
.lp-q b { display: block; font: 800 34px/1 var(--display); color: var(--warn); }
.lp-q span { font-size: 12.5px; color: var(--muted); }

.lp-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.lp-grid .card { margin: 0; }
.lp-live { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px var(--font); color: var(--ink); }
.lp-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.lp-pbar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.lp-pbar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

.lp-conts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.lp-cont { border-radius: 14px; padding: 14px; background: var(--surface-2); }
.lp-cont.active { background: var(--accent-soft); }
.lp-cont-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.lp-cont-h b { font-size: 16px; }
.lp-cont-h .muted { font-size: 13px; }
.lp-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font: 800 12.5px var(--font); }
.lp-ok { color: var(--ok); font-weight: 800; font-size: 13px; }
.lp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; border: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: inherit; color: var(--ink); background: var(--surface); text-align: center; }
.lp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-tile.has { cursor: zoom-in; }
.lp-tile.has:hover img { filter: brightness(1.08); }
.lp-tile-l { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(16,43,79,.8)); color: #fff; font-size: 12.5px; font-weight: 700; }
.lp-tile-l b { font-size: 15px; }
.lp-tile.next { background: var(--primary); color: var(--on-primary); cursor: pointer; font-size: 22px; padding: 10px; transition: background .15s, transform .1s; }
.lp-tile.next:not(:disabled):hover { background: var(--primary-h); }
.lp-tile.next:not(:disabled):active { transform: scale(.98); }
.lp-tile.next:disabled { opacity: .5; cursor: wait; }
.lp-tile.next b { font-size: 18px; }
.lp-tile.next span { font-size: 12px; opacity: .8; font-weight: 600; line-height: 1.3; }
.lp-tile.wait { border: 2px dashed var(--line); background: transparent; color: var(--faint); }
.lp-tile.wait b { font-size: 18px; }
.lp-tile.wait span, .lp-tile.queued span { font-size: 12.5px; font-weight: 700; }
.lp-tile.queued { background: var(--warn-soft); color: var(--warn); font-size: 18px; }
.lp-add { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.lp-add-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-add-row .inp { flex: 1 1 220px; letter-spacing: .06em; }
.lp-good { color: var(--ok); font-weight: 700; }
.lp-bad { color: var(--alert); font-weight: 700; }
.lp-alldone { margin: 4px 0 0; color: var(--ok); font-weight: 800; }

.lp-intro { margin: 0; color: var(--muted); font-size: 13.5px; }
.lp-job { margin: 0 0 12px; font-size: 13.5px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-steps li { display: flex; gap: 11px; padding: 7px 0; font-size: 13.5px; color: var(--faint); }
.lp-steps li b { display: block; font-weight: 700; }
.lp-steps li small { display: block; font-size: 11.5px; color: var(--muted); word-break: break-word; margin-top: 1px; }
.ls-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--surface-2); }
.lp-steps .ls-done, .lp-steps .ls-run { color: var(--ink); }
.ls-done .ls-ic { background: var(--ok-soft); color: var(--ok); }
.ls-run .ls-ic { background: var(--accent-soft); color: var(--accent-ink); animation: lp-pulse 1s ease-in-out infinite; }
.lp-steps .ls-err { color: var(--alert); }
.ls-err .ls-ic { background: var(--alert-soft); color: var(--alert); }
.lp-steps .ls-wait { color: var(--warn); }
.ls-wait .ls-ic { background: var(--warn-soft); color: var(--warn); }
.lp-dest { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.lp-dest h3 { font-size: 14px; margin-bottom: 10px; color: var(--ink-2); }
.lp-rec { border-radius: 12px; background: var(--surface-2); padding: 12px 14px; margin-bottom: 10px; }
.lp-rec-h { display: block; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.lp-rec-h i { color: var(--accent-ink); margin-right: 4px; }
.lp-rec dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; font-size: 13px; }
.lp-rec dt { color: var(--muted); }
.lp-rec dd { margin: 0; font-weight: 700; }
.lp-path { margin: 0 0 4px; font-size: 12px; word-break: break-all; }

.lp-big { border-radius: 12px; overflow: hidden; background: #102b4f; aspect-ratio: 4 / 3; max-height: 62vh; margin: 0 auto; }
.lp-big.wide { aspect-ratio: 2 / 1; }
.lp-big img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lp-lb-acts { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.lp-lb-nav { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; }
.lp-gal { margin-bottom: 16px; }
.lp-gal > b { display: block; margin-bottom: 8px; }
.lp-gal-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-gal-t { border: 0; padding: 0; background: none; font: inherit; color: var(--ink-2); cursor: zoom-in; text-align: left; }
.lp-gal-t img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 4px; }
.lp-gal-t span { font-size: 12px; font-weight: 700; }
.lp-gal-t.empty { cursor: default; aspect-ratio: 4 / 3; border-radius: 10px; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--faint); }
.lp-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; margin-left: 6px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 800 12px var(--font); cursor: pointer; vertical-align: middle; }
.lp-chip:hover { box-shadow: inset 0 0 0 1px var(--accent); }

@media (max-width: 1180px) { .lp-grid { grid-template-columns: 300px minmax(0, 1fr); } .lp-zoho { grid-column: 1 / -1; } }
@media (max-width: 1020px) { .lp-bar { flex-wrap: wrap; gap: 14px; } .lp-q { margin-left: 0; text-align: left; } .lp-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lp-tiles, .lp-gal-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-cam { min-width: 0; } .lp-bar { padding: 16px; } }

/* Fase 2: foto's per weging, telefoon als standaard */
.lp-src { display: flex; flex-direction: column; gap: 6px; }
.lp-src-l { font-size: 12.5px; color: var(--muted); }
.lp-q span i { margin-right: 4px; }
.lp-pcts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.lp-pct { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 2px solid transparent; }
.lp-pct.now { border-color: var(--primary); }
.lp-pct .lp-shoot { margin-top: auto; }
.lp-pct-h .lp-done { display: inline-flex; align-items: center; gap: 5px; font: 700 13px var(--font); color: var(--ok); }
.lp-pct-h .lp-nu { font: 700 13px var(--font); color: var(--ink); }
.lp-more { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: #102b4f; font: 800 12.5px var(--font); }
.lp-tile.wait i { font-size: 22px; }
.lp-pct-h { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.lp-pct-h b { font: 800 20px var(--display); }
.lp-pct-h span { font-size: 12.5px; }
.lp-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-strip button { border: 0; padding: 0; border-radius: 7px; overflow: hidden; cursor: zoom-in; background: none; }
.lp-strip img { display: block; width: 56px; height: 42px; object-fit: cover; }
.lp-shoot { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; border: 0; background: var(--primary); color: var(--on-primary); font: 800 15px var(--font); cursor: pointer; text-align: center; padding: 0 10px; }
.lp-shoot:hover { background: var(--primary-h); }
.lp-shoot.alt { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.lp-shoot.alt:hover { background: var(--surface-2); }
.lp-shoot:active { transform: scale(.98); }
.lp-shoot:disabled { opacity: .5; cursor: wait; }
.lp-qnote { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-weight: 700; font-size: 14px; }
@media (max-width: 1180px) { .lp-pcts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-bar { flex-wrap: wrap; gap: 14px; padding: 16px; } .lp-cam { min-width: 0; } .lp-q { margin-left: 0; } .lp-pct { padding: 10px; } }
@media (max-width: 1600px) { .lp-grid { grid-template-columns: 340px minmax(0, 1fr); } .lp-zoho { grid-column: 1 / -1; } }
.lp-pct-h { flex-wrap: wrap; gap: 2px 8px; }
.lp-pct-h span { white-space: nowrap; }
@media (max-width: 1020px) { .lp-grid { grid-template-columns: 1fr; } .lp-main { order: -1; } }
