/* 所有上传入口共用的文件拖拽区域，保留原有图标、按钮和业务摘要布局。 */
.file-dropzone { position: relative; display: grid; gap: 8px; min-width: 0; min-height: 76px; padding: 12px 14px; border: 1px dashed #adc7e5; border-radius: 11px; background: #f6faff; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.file-dropzone:hover { border-color: #5b96d8; background: #eef6ff; }
.file-dropzone:focus-visible, .file-dropzone:focus-within { outline: 2px solid #2878ee66; outline-offset: 2px; }
.file-dropzone.is-dragging { border-color: #2878ee; background: #e5f1ff; box-shadow: 0 0 0 3px #2878ee26; }
.file-dropzone.has-file-error { border-color: #d97581; }
.file-dropzone[aria-disabled="true"], .file-dropzone:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.file-dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0; clip-path: inset(50%); }
.file-dropzone-hint, .file-dropzone-selection, .file-dropzone-error { grid-column: 1 / -1; min-width: 0; margin: 0; font-size: var(--ui-font-size-caption, 12px); line-height: 1.6; overflow-wrap: anywhere; }
.file-dropzone-hint { color: var(--ui-text-secondary, #44536d); }
.file-dropzone-selection { color: var(--ui-text-muted, #5f7087); }
.file-dropzone-error { color: #b23a4c; }
.file-dropzone-error[hidden] { display: none; }
.external-file-picker.file-dropzone > span { padding: 0; border: 0; background: transparent; }
.client-document-upload.file-dropzone, .attachment-local-upload.file-dropzone { display: grid; }
.file-dropzone .attachment-local-button { justify-self: start; }
@media (max-width: 560px) { .file-dropzone { padding: 12px; } }
