.constructor-files{min-width:0}.constructor-files h3{margin:0}.constructor-files-target{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0;padding:15px;border:1px dashed var(--line);border-radius:10px;background:var(--ui-surface-accent-f6f9f0,#f6f9f0)}.constructor-files-target>span{flex:1;min-width:180px;font-size:12px;color:var(--muted);line-height:1.6}.constructor-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:14px}.constructor-file-grid>[data-constructor-saved-files],.constructor-file-grid>.constructor-pending-files{display:contents}.constructor-file-card{position:relative;display:flex;align-items:center;gap:11px;min-width:0;max-width:100%;padding:10px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--ui-surface-ffffff,#fff);color:var(--ink)}button.constructor-file-card:hover{border-color:currentColor}.constructor-file-thumb{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:64px;overflow:hidden;border-radius:6px;background:var(--ui-surface-accent-eef1e9,#eef1e9);color:var(--muted);padding:0}.constructor-file-thumb img{display:block;width:100%;height:100%;object-fit:contain}.constructor-file-thumb img[hidden],.constructor-file-kind[hidden]{display:none}.constructor-file-kind{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.constructor-file-kind .icon{width:25px;height:25px}.constructor-file-kind small{font-size:9px;font-weight:600;letter-spacing:.04em}.constructor-file-info{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.constructor-file-info strong{font-size:11px;font-weight:550;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.constructor-file-info small{font-size:10px;color:var(--muted)}.constructor-file-new{padding-right:32px}.constructor-file-remove{position:absolute;right:5px;top:5px;width:26px;height:26px;border-radius:6px;font-size:19px;background:transparent;color:var(--muted)}.constructor-file-remove:hover{background:var(--ui-surface-accent-eef1e9,#eef1e9);color:var(--ink)}.constructor-files-note{margin:12px 0 0;font-size:11px;color:var(--muted);line-height:1.6}.constructor-drop-overlay{position:fixed;z-index:80;pointer-events:none;border:2px dashed var(--muted);border-radius:14px;background:var(--ui-surface-ffffff,#fff);opacity:.96;display:flex;align-items:center;justify-content:center}.constructor-drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:15px;padding:24px;text-align:center;color:var(--ink)}.constructor-drop-overlay .icon{width:38px;height:38px}.constructor-drop-overlay span{font-size:12px;color:var(--muted)}.constructor-files-target:focus-visible,.constructor-file-card:focus-visible,.constructor-file-thumb:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:520px){.constructor-file-grid{grid-template-columns:minmax(0,1fr)}.constructor-files-target{gap:10px;padding:12px}.constructor-files-target>span{min-width:0;flex-basis:100%}}
