.camera-card { padding: .8rem .85rem; border: 1px solid #dce3ec; border-radius: 9px; background: #f8fafc; height: 100%; }
.camera-card.is-reupload-required { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .14); }
.camera-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.camera-heading strong { display: block; color: #0f172a; font-size: .86rem; }
.camera-heading span:not(.camera-status) { display: block; margin-top: .15rem; color: #64748b; font-size: .74rem; line-height: 1.35; }
.camera-status { flex: 0 0 auto; padding: .22rem .5rem; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: .68rem; font-weight: 750; }
.camera-status[data-state="active"] { color: #1d4ed8; background: #dbeafe; }.camera-status[data-state="saved"] { color: #15803d; background: #dcfce7; }.camera-status[data-state="error"] { color: #b91c1c; background: #fee2e2; }
.camera-stage { overflow: hidden; margin: .7rem 0; border-radius: 8px; background: #0f172a; max-width: 100%; }.camera-stage video { display: block; width: 100%; max-height: 15rem; object-fit: contain; }
.camera-preview { display: block; max-width: 100%; max-height: 12rem; margin: .7rem 0 .5rem; border: 1px solid #dce3ec; border-radius: 8px; background: #fff; object-fit: contain; }
.camera-preview[hidden], .camera-stage[hidden], [hidden] { display: none !important; }
.file-summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: .6rem 0; padding: .45rem .6rem; border: 1px solid #bbf7d0; border-radius: 7px; background: #f0fdf4; color: #166534; font-size: .76rem; }.file-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.file-summary button { border: 0; background: transparent; color: #b91c1c; font: 700 .74rem inherit; cursor: pointer; }
.camera-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }.camera-btn { min-height: 34px; border-radius: 7px; padding: 0 .7rem; font: 700 .77rem Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }.camera-btn-primary { border: 1px solid #2563eb; background: #2563eb; color: #fff; }.camera-btn-secondary { border: 1px solid #cbd5e1; background: #fff; color: #334155; }.camera-btn:disabled { opacity: .5; cursor: not-allowed; }
.file-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; color: #64748b; font-size: .72rem; }.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.checkin-field .file-picker label, .file-picker label { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin: 0; padding: 0 .7rem; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #334155; font-size: .77rem; font-weight: 700; cursor: pointer; }.file-picker label:hover { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.camera-help { margin: .8rem 0 0; color: #64748b; font-size: .75rem; line-height: 1.45; }
@media (max-width: 640px) { .camera-heading { display: block; }.camera-status { display: inline-block; margin-top: .65rem; }.camera-actions .camera-btn { flex: 1; }.camera-stage video, .camera-preview { max-height: 16rem; } }
