.used-catalog-filter{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:24px 0}.used-catalog-filter label{display:grid;gap:8px;font-weight:600}.used-catalog-filter input,.used-catalog-filter select{width:100%;min-width:0}.used-catalog-row{gap:20px}.used-catalog-row h2{font-size:1.1rem;margin:8px 0}.used-catalog-row small{display:block;margin-top:6px}.used-list-photo{width:100px;height:100px;flex:0 0 100px;overflow:hidden;border:0;border-radius:12px;background:var(--surface-muted,#f5f5f7);padding:0;cursor:pointer}.used-list-photo img{width:100%;height:100%;object-fit:contain}.used-catalog-empty{padding:20px 0}.used-machine-editor{width:min(800px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}.used-machine-editor details>label{margin-top:12px}.used-machine-photos{min-width:0}.used-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.used-photo-heading h3{margin:0}.used-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:16px 0}.used-photo-tile{min-width:0;overflow:hidden;border:1px solid var(--line,#e2e4e8);border-radius:12px}.used-photo-open{display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:var(--surface-muted,#f5f5f7);cursor:zoom-in}.used-photo-open img{width:100%;height:100%;object-fit:contain}.used-photo-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px;font-size:.8rem}.used-photo-tools button{font-size:.8rem}.used-photo-empty{grid-column:1/-1;border:1px dashed var(--line,#cbd0d8);border-radius:12px;padding:24px;text-align:center}.used-photo-actions{display:flex;flex-wrap:wrap;gap:12px}.used-photo-actions label{position:relative;cursor:pointer;overflow:hidden}.used-photo-actions input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.used-photo-actions label:focus-within{outline:3px solid #dd6d36;outline-offset:3px}.used-photo-dialog{width:min(1000px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;border:0;border-radius:18px;padding:20px;color:inherit;background:var(--surface,#fff)}.used-photo-dialog::backdrop{background:#141922bc}.used-photo-dialog>img{display:block;object-fit:contain;width:100%;height:min(65dvh,640px);margin:16px 0;background:var(--surface-muted,#f5f5f7)}.used-photo-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px}.used-photo-navigation span{white-space:nowrap}.used-machine-editor .management-grid>*{min-width:0}
@media(max-width:600px){.used-catalog-filter{grid-template-columns:1fr}.used-catalog-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:14px}.used-list-photo{width:76px;height:90px}.used-catalog-row>.button{grid-column:2;justify-self:start}.used-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.used-photo-actions{display:grid;grid-template-columns:1fr}.used-machine-editor{padding:18px}.used-machine-editor .management-grid{grid-template-columns:1fr}.used-photo-dialog{padding:14px}.used-photo-navigation .button{padding:8px;font-size:.85rem}}
