/* DocPipelineAI tool pages (WP-203): resume checker fragments. */

/* 处理中片段 */
.resume-status {
  border: 1px solid var(--line, #e3e8ee);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 3px solid var(--line, #e3e8ee);
  border-top-color: var(--accent, #2563eb);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 结果卡片 */
.resume-result h2 {
  margin-bottom: .25rem;
}

.score-overall {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: .5rem 0 1.5rem;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent, #2563eb);
}

.score-outof {
  color: var(--muted, #5b6b7a);
  font-size: 1.2rem;
}

/* 五维度条形（纯 CSS，宽度由内联 style 控制） */
.dimension-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.dimension-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: .25rem;
}

.dimension-score {
  font-weight: 600;
}

.dimension-bar {
  height: .6rem;
  background: var(--line, #e3e8ee);
  border-radius: 999px;
  overflow: hidden;
}

.dimension-fill {
  height: 100%;
  background: var(--accent, #2563eb);
  border-radius: 999px;
}

.dimension-rationale {
  margin: .3rem 0 0;
  color: var(--muted, #5b6b7a);
  font-size: .9rem;
}

/* 缺失关键词 chips */
.chip-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 1.5rem;
}

.chip {
  border: 1px solid var(--line, #e3e8ee);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .9rem;
  background: #f6f8fa;
}

/* 建议与量化检查 */
.suggestion-list,
.quantification-list {
  padding-left: 1.25rem;
  margin: .5rem 0 1.5rem;
}

/* 错误片段 */
.resume-error {
  border: 1px solid #f0c7c0;
  background: #fdf3f1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* 表单微调 */
.tool-form-section form {
  display: grid;
  gap: .35rem;
  margin: 1rem 0;
}

.tool-form-section input[type="text"],
.tool-form-section input[type="file"],
.tool-form-section textarea {
  border: 1px solid var(--line, #e3e8ee);
  border-radius: 8px;
  padding: .5rem .7rem;
  font-size: 1rem;
  font-family: inherit;
}

.tool-form-section label {
  font-weight: 600;
  margin-top: .5rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 46rem;
}
