/* 就业中心 · 简历预览（由画像生成，非在线填报） */

.career-resume-main {
  padding: 0 0 2.5rem;
  gap: 0;
}

.career-resume {
  padding-top: 1.25rem;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.career-resume__crumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #ebeef5;
}

.career-resume__crumb-inner {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.career-resume__crumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 46px;
  padding: 0;
  box-sizing: border-box;
}

.career-resume__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 2px;
  background: #f5f7fa;
  flex-shrink: 0;
  transition: background-color var(--duration) var(--ease-out);
}

.career-resume__back:hover {
  background: #ebeef5;
}

.career-resume__back-icon {
  display: flex;
  line-height: 0;
}

.career-resume__crumb-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 22px;
}

.career-resume__crumb-item {
  flex: 0 1 auto;
  min-width: 0;
}

.career-resume__crumb-sep {
  flex: 0 0 auto;
  padding: 0 8px;
  color: #909399;
}

.career-resume__crumb-link {
  color: #909399;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

.career-resume__crumb-link:hover {
  color: #1677ff;
}

.career-resume__crumb-item--current {
  color: #303133;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.career-resume__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.career-resume__toolbar > div:first-child {
  min-width: 0;
  flex: 1 1 16rem;
}

.career-resume__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.career-resume__actions .career-btn {
  white-space: nowrap;
}

.career-resume__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.career-resume__lead {
  margin: 0.375rem 0 0;
  max-width: 36rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.career-resume__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  gap: 1.25rem;
  align-items: start;
}

.career-resume-paper {
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 78, 255, 0.1);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.resume-hero {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(27, 78, 255, 0.1);
}

.resume-hero__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(22, 119, 255, 0.2);
}

.resume-hero__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.resume-hero__major,
.resume-hero__intent {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}

.resume-hero__intent {
  font-weight: 600;
  color: var(--color-primary);
}

.resume-hero__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
  font-size: var(--text-xs);
  line-height: 1.8;
  color: var(--text-muted);
}

.resume-block {
  margin-top: 1.75rem;
}

.resume-block__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.625rem;
  padding-bottom: 0.375rem;
  border-bottom: 2px solid var(--color-theme);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.resume-src {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-skills li {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.08);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
}

.resume-project h4 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.resume-project p {
  margin: 0.25rem 0 0.75rem;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}

.resume-project:last-child p {
  margin-bottom: 0;
}

.resume-edu,
.resume-cert {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-secondary);
}

.resume-foot {
  margin: 1.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(27, 78, 255, 0.16);
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
}

.career-resume-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.career-resume-card {
  padding: 1.125rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 78, 255, 0.1);
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.career-resume-card h2 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.career-resume-card > h2 {
  margin-bottom: 0.75rem;
}

.career-resume-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.resume-confirm-badge {
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  background: #fff7ed;
}

.career-resume-card.is-confirmed .resume-confirm-badge {
  color: #15803d;
  background: #f0fdf4;
}

.career-resume-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-resume-card li {
  padding: 0.375rem 0;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(27, 78, 255, 0.06);
}

.career-resume-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.career-resume-card li strong {
  display: block;
  margin-bottom: 0.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.resume-confirm {
  margin: 0;
}

.resume-confirm > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(27, 78, 255, 0.06);
}

.resume-confirm > div:last-of-type {
  border-bottom: 0;
}

.resume-confirm dt {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.resume-confirm dd {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.resume-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--text-primary);
  cursor: pointer;
}

.resume-confirm-check input {
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-theme);
}

.resume-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.career-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.career-btn[aria-disabled="true"]:hover {
  transform: none;
  filter: none;
}

.career-resume-card__hint {
  margin: 0.75rem 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .career-resume__layout {
    grid-template-columns: 1fr;
  }

  .resume-hero {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .resume-hero__contact {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media print {
  .bg,
  .top,
  .career-resume__crumb-bar,
  .career-resume__toolbar,
  .career-resume-side,
  .career-toast,
  [data-hangzhu-root] {
    display: none !important;
  }

  .career-resume-main {
    padding: 0;
  }

  .career-resume__layout {
    display: block;
  }

  .career-resume-paper {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  @page {
    size: A4;
    margin: 14mm;
  }
}
