/* Shared drag-and-drop upload UI (dashboard + public forms) */
.file-dropzone { display: grid; gap: 10px; }
.file-dropzone-target {
    display: grid;
    gap: 6px;
    justify-items: center;
    width: 100%;
    padding: 28px 20px;
    border: 1.5px dashed var(--panel-border, rgba(16, 23, 24, 0.14));
    border-radius: var(--radius, 12px);
    background: var(--pipeline-bg, #f8fbf8);
    color: var(--text-muted, rgba(16, 25, 20, 0.72));
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    font: inherit;
    text-align: center;
}
.file-dropzone--compact .file-dropzone-target {
    padding: 18px 16px;
}
.file-dropzone--compact .file-dropzone-target.has-files {
    padding: 14px 16px;
}
.file-dropzone--compact .file-dropzone-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}
.file-dropzone--compact .file-dropzone-icon svg { width: 18px; height: 18px; }
.file-dropzone-target:hover,
.file-dropzone-target.is-dragover {
    border-color: rgba(139, 195, 74, 0.45);
    background: var(--lime-soft, rgba(139, 195, 74, 0.12));
    color: var(--text, #101718);
}
.file-dropzone-target.has-files {
    padding: 18px 20px;
}
.file-dropzone-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--panel-bg, #fff);
    border: 1px solid var(--panel-border, rgba(16, 23, 24, 0.14));
    display: grid;
    place-items: center;
    color: var(--lime-dim, #5d7a42);
}
.file-dropzone-icon svg { width: 20px; height: 20px; }
.file-dropzone-target strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #101718);
}
.file-dropzone-hint {
    font-size: 0.78rem;
    color: var(--text-dim, rgba(16, 25, 20, 0.55));
}
.file-dropzone-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.file-dropzone-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm, 8px);
    border: 1px solid var(--panel-border, rgba(16, 23, 24, 0.14));
    background: var(--panel-bg, #fff);
    font-size: 0.84rem;
}
.file-dropzone-item-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.file-dropzone-item-meta {
    font-size: 0.76rem;
    color: var(--text-dim, rgba(16, 25, 20, 0.55));
    white-space: nowrap;
}
.file-dropzone-remove {
    border: none;
    background: transparent;
    color: var(--text-dim, rgba(16, 25, 20, 0.55));
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}
.file-dropzone-remove:hover { color: var(--danger, #ef4444); }
