.jobPhotosPanel{border:1px solid #cddae3;border-radius:14px;background:#f7fafc;padding:18px;margin:20px 0;color:#173448;text-align:left}
.photoPanelHead,.jobPhotosPanel .photoActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.photoPanelHead{justify-content:space-between}.photoPanelHead span{font-size:11px;letter-spacing:.1em;font-weight:800;color:#42677d}.photoPanelHead h3{margin:5px 0;font-size:22px}.jobPhotosPanel p{font-size:14px;line-height:1.5}.photoJobLabel{font-weight:750;overflow-wrap:anywhere}.photoCaptionLabel{display:block;font-size:14px;font-weight:650;margin:14px 0}.photoCaptionLabel input{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #b9cbd6;border-radius:8px;margin-top:6px;font:inherit;background:white}.jobPhotosPanel .photoActions label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 16px;border-radius:9px;background:#126d80;color:white;font-size:14px;font-weight:700;cursor:pointer;overflow:hidden}.jobPhotosPanel .photoActions .photoCamera{background:#e2edf2;color:#173448}.jobPhotosPanel .photoActions input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.jobPhotosPanel .photoActions label:focus-within{outline:3px solid #279fba;outline-offset:3px}.jobPhotosPanel button,.jobPhotosDialog>header button,.photoFullDialog button{font:inherit;font-size:14px;min-height:44px;padding:9px 14px;border:1px solid #b7cbd7;border-radius:8px;background:white;color:#173448;cursor:pointer}.jobPhotosPanel button:disabled{opacity:.5}.jobPhotosPanel .photoOfflineNote{font-size:12px;color:#4b6577}.photoQueueSummary{font-weight:700;color:#126679}.photoError{color:#a23326;font-weight:650}.photoQueue{display:grid;gap:9px}.photoQueueItem{display:flex;align-items:center;gap:12px;background:white;border:1px solid #d5e2e9;border-radius:10px;padding:10px}.photoQueueItem img{width:62px;height:62px;object-fit:cover;border-radius:6px}.photoQueueItem>div{flex:1;min-width:0}.photoQueueItem b,.photoQueueItem strong,.photoQueueItem small{display:block;overflow-wrap:anywhere}.photoQueueItem b{font-size:13px}.photoQueueItem strong{font-size:12px;color:#996015;margin:4px 0}.photoQueueItem small{font-size:12px;color:#536c7b}.jobPhotoGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.savedJobPhoto{margin:0;min-width:0}.savedJobPhoto button{display:block;width:100%;height:150px;overflow:hidden;padding:0;background:#e3ebef}.savedJobPhoto img{width:100%;height:100%;object-fit:cover}.savedJobPhoto figcaption{padding:8px 0}.savedJobPhoto figcaption b,.savedJobPhoto figcaption small{display:block;font-size:12px;overflow-wrap:anywhere}.savedJobPhoto figcaption small{color:#587080;margin-top:4px}.jobPhotosDialog{width:min(800px,calc(100% - 24px));max-height:90dvh;border:0;border-radius:16px;padding:0;background:white;color:#173448}.jobPhotosDialog::backdrop,.photoFullDialog::backdrop{background:#071a2cbb}.jobPhotosDialog>header{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #d7e3eb;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px}.jobPhotosDialog>header b{font-size:15px;overflow-wrap:anywhere}.jobPhotosDialog>.jobPhotosPanel{border:0;margin:0;border-radius:0}.photoFullDialog{width:min(1000px,calc(100% - 20px));height:90dvh;border:0;border-radius:12px;padding:10px;background:#112433}.photoFullDialog img{display:block;width:100%;height:calc(100% - 52px);object-fit:contain}.photoFullDialog button{display:block;margin-left:auto}.photoOutboxSummary{font-size:12px;color:#456575;margin:10px 0}.recordActions [data-job-photo-open]{background:#126d80;color:white;font-weight:700}
@media(max-width:520px){.jobPhotosPanel{padding:14px}.jobPhotosPanel .photoActions{align-items:stretch}.jobPhotosPanel .photoActions label{flex:1 1 100%}.jobPhotosPanel .photoActions button{width:100%}.photoQueueItem{flex-wrap:wrap}.photoQueueItem>button{margin-left:auto}.jobPhotosDialog{max-height:94dvh;width:calc(100% - 12px)}.jobPhotoGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.savedJobPhoto button{height:130px}}

.jobPhotosPanel .photoCaptionLabel select{display:block;width:100%;padding:12px;border:1px solid #b9cbd6;border-radius:8px;margin-top:6px;font:inherit;background:white;color:#173448}.workOrderPhotosEntry{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;margin:12px 0;border:1px solid #b9d6df;border-radius:12px;background:#eef7fa}.workOrderPhotosEntry p{margin:4px 0 0}.jobActions .jobPhotosButton,.workOrderPhotosEntry .jobPhotosButton{background:#126d80;color:white;min-height:44px}.jobPhotosDialog{box-sizing:border-box}.jobPhotosDialog [hidden]{display:none!important}
