.ys-file{position:relative;display:block;margin:0 0 var(--app-space,1rem);text-transform:none;letter-spacing:normal}.ys-file:has(+small){margin-bottom:.3rem}.ys-file+small{display:block;width:100%;margin:0 0 var(--app-space,1rem);color:var(--app-muted,#6b7280)}.ys-file-drop{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.35rem .5rem;min-height:3.5rem;padding:.8rem 1rem;border:1.5px dashed var(--app-border-strong,#b8bcc6);border-radius:var(--app-radius,.5rem);background:var(--app-surface,transparent);color:var(--app-muted,#6b7280);font-size:.95rem;line-height:1.3;text-align:center;cursor:pointer;transition:border-color .15s,background-color .15s}.ys-file-drop svg{flex:none;color:var(--app-accent-tone,currentColor)}.ys-file-choose{color:var(--app-accent-tone,inherit);font-weight:600}.ys-file-drop:hover,.ys-file.is-over .ys-file-drop{border-color:var(--app-accent-tone,currentColor);background:color-mix(in srgb,var(--app-accent-tone,transparent) 10%,var(--app-surface,transparent))}.ys-file.is-over .ys-file-drop{border-style:solid}.ys-file:has(>.ys-file-input:focus-visible) .ys-file-drop{outline:2px solid var(--app-accent-tone,Highlight);outline-offset:2px}.ys-file:has(>.ys-file-input[aria-invalid=true]) .ys-file-drop{border-color:var(--app-danger,#c0392b)}.ys-file>.ys-file-input{position:absolute;bottom:0;left:50%;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none}.ys-file>.ys-error{display:block;margin-top:.3rem}.ys-file-list{list-style:none;display:grid;gap:.35rem;margin:.5rem 0 0;padding:0}.ys-file-list[hidden]{display:none}.ys-file-list li{display:flex;align-items:center;gap:.6rem;margin:0;padding:.35rem .4rem .35rem .35rem;border:1px solid var(--app-border,#e3e5ea);border-radius:var(--app-radius,.5rem);background:var(--app-surface,transparent);font-size:.9rem;line-height:1.25}.ys-file-pic{flex:none;display:flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;overflow:hidden;border-radius:calc(var(--app-radius,.5rem) * .6);background:var(--app-subtle,#f1f2f5);color:var(--app-muted,#6b7280);font-size:.68rem;font-weight:700;letter-spacing:.02em}.ys-file-pic img{width:100%;height:100%;object-fit:contain}.ys-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--app-text,inherit)}.ys-file-list small{flex:none;color:var(--app-muted,#6b7280);font-size:.8rem}.ys-file .ys-file-remove{flex:none;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:0 0;box-shadow:none;color:var(--app-muted,#6b7280);line-height:0;cursor:pointer}.ys-file .ys-file-remove svg{display:block;width:.95rem;height:.95rem}.ys-file .ys-file-remove:hover{background:color-mix(in srgb,var(--app-danger,#c0392b) 12%,var(--app-surface,#fff));color:var(--app-danger,#c0392b)}.ys-file .ys-file-remove:focus-visible{outline:2px solid var(--app-accent-tone,Highlight);outline-offset:0}