.job-photo-library{min-width:0;color:var(--rr-text);padding:12px}.job-photo-library header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.job-photo-library button,.photo-delete-confirm button{border:1px solid var(--rr-line);background:var(--rr-panel);min-height:44px;color:var(--rr-text);border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-size:14px;display:inline-flex}.job-photo-library button:disabled{opacity:.5;cursor:not-allowed}.job-photo-library svg{width:18px;height:18px}.job-photo-library p{color:var(--rr-muted);overflow-wrap:anywhere;font-size:14px;line-height:1.5}.job-photo-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.job-photo-cards>div{border:1px solid var(--rr-line);border-radius:10px;min-width:0;padding:6px}.job-photo-cards img{object-fit:cover;border-radius:7px;width:100%;height:120px}.job-photo-cards span{text-overflow:ellipsis;white-space:nowrap;margin:6px 0;font-size:12px;display:block;overflow:hidden}.job-photo-cards button{width:100%}.photo-delete-confirm{max-width:520px;color:var(--rr-text);padding:22px}.photo-delete-confirm p{overflow-wrap:anywhere;line-height:1.5}.photo-delete-confirm button{margin:4px}:is(.job-photo-library button:focus-visible,.job-photo-cards a:focus-visible,.photo-delete-confirm button:focus-visible){outline:2px solid var(--rr-lime);outline-offset:3px}.photo-library-tools,.photo-album-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.photo-album-toolbar{justify-content:space-between;margin-top:12px}.photo-album-toolbar label{align-items:center;gap:8px;font-size:14px;display:flex}.photo-album-toolbar select{border:1px solid var(--rr-line);background:var(--rr-panel);min-height:44px;color:var(--rr-text);border-radius:9px;padding:8px}.job-window-link{border:1px solid var(--rr-line);min-height:44px;color:var(--rr-text);background:var(--rr-panel);border-radius:9px;align-items:center;gap:6px;padding:8px 10px;font-size:14px;text-decoration:none;display:inline-flex}.job-window-link svg{width:18px;height:18px}.job-window-link:focus-visible{outline:2px solid var(--rr-lime);outline-offset:3px}.job-photo-cards .photo-open{cursor:zoom-in;background:0 0;border:0;width:100%;min-height:0;padding:0;display:block}.job-photo-cards .photo-open img{height:180px;display:block}.photo-size-small .photo-open img{height:120px}.photo-size-large .photo-open img{height:280px}.photo-order-controls{flex-wrap:wrap;gap:4px;margin-bottom:6px;display:flex}.job-photo-cards .photo-order-controls button{flex:1;width:auto;padding:6px;font-size:12px}.photo-move-handle{cursor:grab}.photo-move-handle:active{cursor:grabbing}.job-photo-cards>div.photo-drop-target{outline:3px solid var(--rr-lime);outline-offset:2px}html:root .photo-viewer-dialog{padding:16px}.photo-viewer{background:var(--rr-panel);width:min(1500px,100%);color:var(--rr-text);border:1px solid var(--rr-line);border-radius:16px;min-width:0;margin:auto;padding:16px}.photo-viewer header{justify-content:space-between;align-items:center;gap:10px;display:flex}.photo-viewer h2{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:16px;line-height:1.4}.photo-viewer :is(button,a){width:auto;min-height:44px;box-shadow:none;color:var(--rr-text);cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:6px;margin:0;padding:8px 10px;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;display:inline-flex}.photo-viewer :is(button,a):hover:not(:disabled):not([aria-disabled=true]){text-underline-offset:4px;background:0 0;text-decoration:underline}.photo-viewer :is(button:disabled,[aria-disabled=true]){opacity:.45;cursor:not-allowed}.photo-viewer svg{width:16px;height:16px}.photo-viewer footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 16px;padding-top:2px;display:flex}.photo-viewer-browse,.photo-viewer-actions,.photo-viewer-tools{flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;display:flex}.photo-viewer-browse>span{color:var(--rr-muted);padding:0 8px;font-size:12px}.photo-viewer-actions :is(a,button){color:var(--rr-lime-soft)}.photo-viewer-actions .photo-viewer-delete{color:#f6aba0}.photo-viewer-tools :is(a,button){color:var(--rr-muted);font-size:13px}.photo-viewer-stage{background:#050805;border-radius:9px;height:min(68dvh,100dvh - 220px);min-height:180px;margin:10px 0 0;overflow:auto}.photo-viewer-stage img{object-fit:contain;width:100%;height:100%;display:block}.photo-viewer-stage.zoomed img{width:200%;max-width:none;height:200%;max-height:none}.photo-viewer .photo-viewer-notice{color:var(--rr-muted);overflow-wrap:anywhere;margin:8px 0;font-size:13px;line-height:1.5}.photo-viewer .photo-viewer-hint{color:var(--rr-muted);margin:4px 0 0;font-size:12px;line-height:1.4}.photo-viewer :is(button,a):focus-visible{outline:2px solid var(--rr-lime);outline-offset:2px}@media (min-width:900px){.job-photos-grid{grid-template-columns:minmax(240px,320px) minmax(0,1fr)}.job-photo-cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.photo-size-small .job-photo-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.photo-size-large .job-photo-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}}@media (max-width:700px){html:root .photo-viewer-dialog{padding:8px}.photo-viewer{padding:10px}.photo-viewer-stage{height:min(55dvh,100dvh - 270px)}.photo-size-large .job-photo-cards{grid-template-columns:1fr}.photo-viewer footer{flex-direction:column;justify-content:center;gap:0}.photo-viewer-actions{gap:12px;width:100%}.photo-viewer .photo-viewer-hint{text-align:center}}
