* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Microsoft YaHei", Arial, sans-serif; background: #f5f5f5; color: #333; padding: 20px; }
.wrap { max-width: 720px; margin: 0 auto; }
header { text-align: center; margin-bottom: 18px; }
header h1 { font-size: 22px; }
header .sub { font-size: 12px; color: #999; margin-top: 6px; }
.card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.card h2 { font-size: 15px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.card h2 .cnt { color: #999; font-weight: normal; font-size: 12px; }
.row { display: flex; align-items: center; margin-bottom: 12px; }
.row label { width: 88px; flex: none; font-size: 13px; color: #555; }
.row select, .row input { flex: 1; height: 34px; padding: 0 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; background: #fff; }
.row select { flex: none; width: 130px; margin-right: 12px; }
.row select:last-child { margin-right: 0; }
.path { font-size: 12px; color: #888; background: #fafafa; border-radius: 4px; padding: 8px 10px; margin-bottom: 12px; word-break: break-all; }
.upload-area { border: 2px dashed #ccc; padding: 26px; text-align: center; cursor: pointer; border-radius: 6px; }
.upload-area:hover { border-color: #999; background: #fafafa; }
.upload-area.dragover { border-color: #666; background: #f0f0f0; }
.upload-area p { font-size: 14px; }
.upload-area .hint { font-size: 12px; color: #999; margin-top: 5px; }
input[type="file"] { display: none; }
.note { font-size: 13px; color: #a06a00; background: #fff8e6; border-radius: 4px; padding: 10px; }
.file-info { margin-top: 12px; padding: 10px; background: #f9f9f9; border-radius: 4px; font-size: 13px; display: none; }
.file-info.show { display: block; }
.btn { display: block; width: 100%; height: 40px; margin-top: 14px; background: #3875f6; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.btn:hover { background: #2a63da; }
.btn:disabled { background: #9db8f0; cursor: not-allowed; }
.btn.small { width: auto; height: 30px; margin: 0; padding: 0 14px; font-size: 12px; }
.progress { margin-top: 12px; padding: 10px; background: #e0e0e0; border-radius: 4px; text-align: center; font-size: 13px; display: none; }
.progress.show { display: block; }
.message { margin-top: 12px; padding: 10px; border-radius: 4px; font-size: 13px; display: none; word-break: break-all; }
.message.show { display: block; }
.message.success { background: #d4edda; color: #155724; }
.message.error { background: #f8d7da; color: #721c24; }
.message.info { background: #d1ecf1; color: #0c5460; }
.list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.list-cat { font-size: 13px; color: #666; }
.list { border-top: 1px solid #eee; }
.item { display: flex; align-items: center; padding: 10px 4px; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.item .idx { width: 34px; flex: none; color: #bbb; }
.item .name { flex: 1; word-break: break-all; }
.item .tag { flex: none; font-size: 11px; color: #888; background: #f2f2f2; border-radius: 3px; padding: 2px 6px; margin-right: 8px; }
.item .del { flex: none; color: #c0392b; cursor: pointer; font-size: 12px; padding: 2px 6px; }
.item .del:hover { text-decoration: underline; }
.empty { padding: 24px; text-align: center; color: #bbb; font-size: 13px; }
