.photo-upload{border:1px solid var(--line);padding:20px;margin:20px 0;min-width:0;background:#ffffff50}.photo-upload[hidden]{display:none}.photo-upload legend{font-size:15px;font-weight:bold;padding:0 6px}.photo-upload legend span{font-size:12px;font-weight:normal}.photo-help{font-size:13px;line-height:1.65;margin-bottom:15px}.photo-controls{display:flex;gap:12px;flex-wrap:wrap}.photo-pick{position:relative!important;border:1px solid var(--red);color:var(--red);font-size:13px!important;font-weight:bold;cursor:pointer;padding:11px 14px;display:inline-flex!important;align-items:center;background:var(--paper);margin:0!important}.photo-pick input{position:absolute!important;opacity:0;width:100%!important;height:100%!important;inset:0;cursor:pointer;margin:0!important;padding:0!important}.photo-pick:focus-within{outline:3px solid var(--red);outline-offset:3px}.photo-formats,.photo-privacy{font-size:11px;line-height:1.6;color:var(--muted);margin:12px 0 0}.photo-status{font-size:12px;line-height:1.6;margin:12px 0 0}.photo-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:15px 0 0;padding:0}.photo-preview:empty{display:none}.photo-preview li{min-width:0;border:1px solid var(--line);background:var(--paper);padding:5px}.photo-preview img{width:100%;aspect-ratio:1;object-fit:cover}.photo-preview button{font-size:11px;width:100%;padding:8px 3px;border:0;background:transparent;text-decoration:underline;cursor:pointer;color:var(--red)}.photo-preview small{display:block;font-size:10px;padding:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:400px){.photo-upload{padding:15px}.photo-controls{gap:8px}.photo-pick{font-size:12px!important;padding:10px}.photo-preview{gap:6px}}
