/* Photo batch intake, owner workspace v0.5. */
#panel-batches{min-width:0}.batch-new,.batch-saved,.batch-review{min-width:0}.batch-saved,.batch-review{border-top:1px solid var(--line);margin-top:2rem;padding-top:1.5rem}.batch-defaults{margin:1rem 0}.batch-field{min-width:0}.batch-field input,.batch-side select{width:100%;min-width:0}.batch-count{align-self:end}.batch-upload{margin:1rem 0}.batch-help,.batch-file-details{border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem;margin:1rem 0}.batch-help summary,.batch-file-details summary{cursor:pointer;font-weight:600}.batch-help p{margin:.7rem 0 0}.batch-progress{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;padding:1rem 0}.batch-progress progress{accent-color:var(--accent);width:min(220px,100%);height:12px}.batch-file-list,.batch-history{list-style:none;padding:0;margin:.7rem 0}.batch-file-list li,.batch-history li{display:flex;align-items:center;gap:1rem;border-top:1px solid var(--line);padding:.8rem 0;min-width:0}.batch-file-list li>div:first-of-type,.batch-history li>div{flex:1;min-width:0;overflow-wrap:anywhere}.batch-file-list strong,.batch-file-list small,.batch-history strong,.batch-history small{display:block}.batch-file-list .batch-thumb,.batch-file-list .batch-photo-empty{width:50px;height:65px;flex:none}.batch-file-list .button{font-size:.76rem;padding:.55rem .7rem}.batch-pairs{display:grid;gap:1rem;margin-bottom:1rem}.batch-pair{border:1px solid var(--line);border-radius:10px;padding:1rem;background:var(--white);min-width:0}.batch-pair-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.batch-pair-heading h4{margin:0;overflow-wrap:anywhere}.batch-pair-heading .button{padding:.4rem .6rem;font-size:.75rem;flex:none}.batch-pair-sides{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.batch-side{display:grid;grid-template-columns:minmax(0,1fr) 80px;align-items:end;gap:.75rem;min-width:0}.batch-side label{min-width:0}.batch-thumb{display:block;object-fit:contain;background:var(--paper);border:1px solid var(--line);border-radius:4px;width:80px;height:105px}.batch-photo-empty{display:flex;align-items:center;justify-content:center;font-size:.7rem;text-align:center;overflow-wrap:anywhere;color:var(--muted);width:80px;min-height:60px;padding:.3rem;border:1px dashed var(--line);border-radius:4px}.batch-row-fields{margin:1rem 0 .8rem}.batch-confirm{display:flex;align-items:flex-start;gap:.65rem;font-size:.83rem;line-height:1.5}.batch-confirm input,.batch-review-table input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--accent);margin-top:2px}.batch-warning{color:#885115}.batch-error{color:#a3392c}.batch-message{margin:1rem 0}.batch-review-actions{margin:1rem 0}.batch-review-actions>span{align-self:center;margin-right:.3rem}.batch-saved-photos{min-width:150px}.batch-saved-photos a{display:inline-block;margin-right:.3rem}.batch-saved-photos .batch-thumb{width:60px;height:80px}.batch-saved-photos .batch-photo-empty{display:inline-flex;width:60px;min-height:80px;margin-right:.3rem;vertical-align:top}.batch-review-table{min-width:850px}.batch-review-table small{display:block;max-width:250px}.batch-review-table td{vertical-align:top}.batch-review-table td:nth-child(2){min-width:190px}.batch-review .data-scroll{margin-top:.7rem}.admin-tabs{overflow-x:auto}.admin-tabs [role=tab]{flex-shrink:0}
@media(max-width:760px){.batch-pair-sides{grid-template-columns:1fr}.batch-side{grid-template-columns:minmax(0,1fr) 70px}.batch-thumb{width:70px;height:92px}.batch-history li,.batch-file-list li{align-items:flex-start;flex-wrap:wrap}.batch-file-list li>.button-group{width:100%;margin-left:66px}.batch-history .button{font-size:.8rem}.batch-review-actions .button{flex:1 1 45%;font-size:.8rem}.batch-review-actions>span{flex-basis:100%}.batch-pair-heading{align-items:flex-start}.batch-defaults{grid-template-columns:1fr 1fr}.batch-defaults .batch-count{margin:0}.batch-pair .form-grid{grid-template-columns:1fr 1fr}}@media(max-width:420px){.batch-defaults,.batch-pair .form-grid{grid-template-columns:1fr}.batch-pair-heading .button{max-width:110px}.batch-side{grid-template-columns:minmax(0,1fr) 60px}.batch-side .batch-thumb{width:60px;height:80px}.batch-file-list li>.button-group{margin-left:0}.batch-progress .button-group{width:100%}}
