.work-photos{box-sizing:border-box;width:min(760px,calc(100vw - 20px));max-height:90dvh;overflow:auto}.work-photos header{display:flex;justify-content:space-between;gap:10px;align-items:center}.work-photos h2{font-size:20px}.photo-actions{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px}.photo-grid figure{margin:0;min-width:0}.photo-grid img{width:100%;height:120px;object-fit:cover;border-radius:8px}.photo-grid figcaption{font-size:12px;overflow-wrap:anywhere;margin:5px 0 12px}.photo-preview{padding:0;border:0;background:transparent;width:100%;cursor:pointer}.work-photo-full{width:min(1100px,94vw);max-height:94dvh;box-sizing:border-box;overflow:auto;background:#10221e;color:white}.work-photo-full img{display:block;max-width:100%;max-height:80dvh;object-fit:contain;margin:auto}.work-photo-full button{display:block;margin:0 0 10px auto;min-height:42px}.work-photos button,.work-photos select{min-height:42px}.work-photos::backdrop,.work-photo-full::backdrop{background:#000a}
