.localFileContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 280px;
}

.tabExtraContent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.templateBar {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.uploadArea {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;

  :global {
    .ant-upload-drag {
      flex: 1 1 auto;
      min-height: 116px;
    }
  }
}

.uploadDragger {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.uploadDraggerLoading {
  cursor: not-allowed;
  opacity: 0.72;

  :global {
    .ant-upload-drag {
      cursor: not-allowed;
      background: #f7f8fa;
    }
  }
}

.fileCardScroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  grid-auto-rows: 76px;
  gap: 8px;
  flex: 0 0 auto;
  max-height: 166px;
  margin-top: 10px;
  padding: 2px 4px 6px 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.fileCard {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 76px;
  padding: 12px;
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  background: #fff;
}

.fileCard:hover {
  border-color: #8ea8ff;
  box-shadow: 0 4px 12px rgb(31 58 138 / 10%);
}

.fileCardIcon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #eef4ff;
  color: #2f54eb;
  font-size: 12px;
  font-weight: 600;
}

.fileCardMeta {
  flex: 1;
  min-width: 0;
}

.fileCardName {
  overflow: hidden;
  color: #14161a;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fileCardSize {
  margin-top: 4px;
  color: #707680;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.fileCardRemove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: none;
  color: #707680;
}

.fileCard:hover .fileCardRemove {
  display: inline-flex;
}

.uploadIcon {
  font-size: 30px;
  margin-bottom: 20px;
}

.uploadHint {
  font-size: 14px;
  color: #14161a;
}

.uploadFormatHint {
  font-size: 12px;
  color: #707680;
}

.curlImportContainer {
  height: 280px;
}

.curlTextArea {
  height: 248px;
  resize: none;
}

.curlHint {
  margin-top: 8px;
  color: #999;
}

.summaryContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rangeBlock {
  padding: 16px;
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  background: #fafbfc;
}

.rangeTitle {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #14161a;
}

.rangeContent {
  font-size: 13px;
  line-height: 22px;
  color: #4b5563;
  word-break: break-word;
}

.updatedList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.failedList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.updatedItem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.failedItem {
  padding: 12px;
  border-radius: 8px;
  background: #fff4f4;
  border: 1px solid #ffd6d6;
}

.failedName {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #14161a;
  font-weight: 500;
}

.failedTag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3f2;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.failedReason {
  color: #b42318;
}

.diffSummary {
  color: #707680;
}

.diffPanel {
  padding: 16px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #fff;
}

.diffPanelTitle {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #14161a;
}

.formItemNoMargin {
  margin-right: 0;
}

.treeSelectMinWidth {
  min-width: 150px;
}
