/* Stage 6 · Growth Archive as Career Assets */

body[data-active-panel="growth-profile"] .panel[data-panel="growth-profile"].active {
  padding: 22px 26px 48px;
  overflow: auto;
}

body[data-active-panel="growth-profile"] #growthArchiveBoard.growth-archive-shell {
  width: min(1160px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

html body[data-active-panel="growth-profile"] aside.companion-avatar-dock,
html body[data-active-panel="growth-profile"] .companion-avatar-dock.companion-position-right {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-active-panel="growth-profile"] .growth-archive-page {
  display: block;
}

body[data-active-panel="growth-profile"] .growth-archive-page > :not(.growth-career-asset-section):not(.resume-role-match-section) {
  display: none !important;
}

.growth-career-asset-section {
  --asset-ink: #f6f8ff;
  --asset-muted: #909bb3;
  --asset-border: rgba(142, 162, 205, 0.17);
  display: grid;
  gap: 18px;
}

html[data-theme="light"] .growth-career-asset-section {
  --asset-ink: #151b2b;
  --asset-muted: #68748b;
}

.growth-career-asset-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 2px 2px;
}

.growth-career-asset-head p {
  margin: 0 0 7px;
  color: #7ba7ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.growth-career-asset-head h2 {
  margin: 0;
  color: var(--asset-ink);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.growth-career-asset-head > div > span {
  display: block;
  margin-top: 9px;
  color: var(--asset-muted);
  font-size: 13px;
}

.growth-career-asset-head > button {
  min-width: 132px;
  min-height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #426fe9, #7d55df);
  box-shadow: 0 12px 28px rgba(68, 91, 215, 0.28);
}

.career-asset-sheet {
  width: 100%;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(182, 195, 220, 0.75);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 8%, rgba(120, 92, 224, 0.1), transparent 28%),
    #f8faff;
  color: #141a29;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.career-asset-identity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dce3ee;
}

.career-asset-monogram {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 19px;
  background: linear-gradient(135deg, #e2ebff, #eee8ff);
  color: #3a61cd;
  font-size: 27px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(75, 103, 183, 0.1);
}

.career-asset-identity > div:nth-child(2) > span,
.career-asset-section-title small,
.career-asset-project-grid article > span,
.career-asset-ai-review > div > span {
  color: #6d7d96;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.career-asset-identity h3 {
  margin: 4px 0 1px;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.career-asset-identity p {
  margin: 0;
  color: #50617a;
  font-size: 14px;
}

.career-asset-verified {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #cce7d9;
  border-radius: 14px;
  background: #f0faf5;
}

.career-asset-verified > i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #2bb673;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.career-asset-verified strong,
.career-asset-verified small {
  display: block;
}

.career-asset-verified strong {
  font-size: 12px;
}

.career-asset-verified small {
  margin-top: 2px;
  color: #6c7d72;
  font-size: 9px;
}

.career-asset-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: 14px;
  margin-top: 18px;
}

.career-asset-block {
  grid-column: 1;
  padding: 16px;
  border: 1px solid #dee5ef;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
}

.career-asset-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.career-asset-section-title > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e8efff;
  color: #3d64cf;
  font: 850 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.career-asset-section-title h4,
.career-asset-ai-review h4 {
  margin: 1px 0 0;
  font-size: 16px;
}

.career-asset-ability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.career-asset-ability-grid article {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border: 1px solid #e2e8f1;
  border-radius: 12px;
  background: #fff;
}

.career-asset-ability-grid i {
  display: grid;
  place-items: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #e2f7ec;
  color: #17915b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.career-asset-ability-grid strong {
  font-size: 13px;
}

.career-asset-ability-grid p,
.career-asset-project-grid p,
.career-asset-ai-review > p {
  margin: 4px 0 0;
  color: #6b7b92;
  font-size: 10px;
  line-height: 1.5;
}

.career-asset-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.career-asset-project-grid article {
  padding: 13px 14px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 100% 0, rgba(127, 91, 231, 0.22), transparent 38%),
    linear-gradient(145deg, #111b32, #19274c);
  color: #fff;
}

.career-asset-project-grid article > span {
  display: block;
  color: #93acf2;
}

.career-asset-project-grid strong {
  display: block;
  margin-top: 9px;
  font-size: 15px;
}

.career-asset-project-grid p {
  color: #b7c3dc;
}

.career-asset-ai-review {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border: 1px solid #ddd8f1;
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(122, 89, 217, 0.13), transparent 40%),
    linear-gradient(160deg, #f9f8ff, #f0f3ff);
}

.career-asset-ai-review blockquote {
  margin: auto 0 10px;
  padding: 0;
  color: #28234f;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 860;
  line-height: 1.38;
  letter-spacing: -0.04em;
}

.career-asset-ai-review blockquote::before {
  display: block;
  height: 29px;
  color: #7759db;
  font-size: 35px;
  content: "“";
}

.career-asset-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #dce3ee;
  color: #738198;
  font-size: 9px;
}

@media (max-width: 850px) {
  .career-asset-content {
    grid-template-columns: 1fr;
  }

  .career-asset-block,
  .career-asset-ai-review {
    grid-column: 1;
    grid-row: auto;
  }

  .career-asset-ai-review blockquote {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  body[data-active-panel="growth-profile"] .panel[data-panel="growth-profile"].active {
    padding: 14px 12px 38px;
  }

  .growth-career-asset-head {
    align-items: stretch;
    flex-direction: column;
  }

  .growth-career-asset-head > button {
    width: 100%;
  }

  .career-asset-sheet {
    padding: 19px;
  }

  .career-asset-identity {
    grid-template-columns: auto 1fr;
  }

  .career-asset-verified {
    grid-column: 1 / -1;
  }

  .career-asset-ability-grid,
  .career-asset-project-grid {
    grid-template-columns: 1fr;
  }

  .career-asset-footer {
    display: grid;
  }
}

/* Explicit profile navigation and export, with no second help column. */
#personalSavedRecords .section-head { gap: 16px; }
#personalSavedRecords .section-head > div { min-width: 0; overflow-wrap: anywhere; }
#personalSavedRecords button { min-height: 44px; flex-shrink: 0; }
body[data-active-panel="growth-profile"] .resume-role-match-result { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
body[data-active-panel="growth-profile"] .resume-role-match-result > div {
  background: var(--hw-ui-panel, #202228); color: var(--hw-ui-text, inherit);
  border-color: var(--hw-ui-line, #373c44); min-width: 0; overflow-wrap: anywhere;
}
body[data-active-panel="growth-profile"] .resume-role-match-result ul { padding-left: 20px; }
body[data-active-panel="growth-profile"] .resume-role-match-result li { margin: 12px 0; }
body[data-active-panel="growth-profile"] .resume-role-match-result p,
body[data-active-panel="growth-profile"] .resume-role-match-result summary { font-size: 15px; line-height: 1.65; }
body[data-active-panel="growth-profile"] .resume-role-match-form select { width: 100%; min-height: 44px; font: inherit; }
@media (max-width: 620px) {
  #personalSavedRecords .section-head { flex-wrap: wrap; }
  body[data-active-panel="growth-profile"] .resume-role-match-result { grid-template-columns: 1fr; }
}

body[data-active-panel="growth-profile"] .career-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body[data-active-panel="growth-profile"] .career-profile-actions > button {
  min-height: 44px;
  white-space: normal;
}

body[data-active-panel="growth-profile"] .career-resume-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-active-panel="growth-profile"] .career-resume-topics > span {
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--hw-ui-hover, #25292f);
  color: var(--hw-ui-text, inherit);
  font-size: 15px;
}

body[data-active-panel="growth-profile"] .career-record-caption,
body[data-active-panel="growth-profile"] .career-practice-list p {
  margin: 5px 0 0;
  color: var(--hw-ui-muted, #adb2ba);
  font-size: 14px;
  line-height: 1.65;
}

body[data-active-panel="growth-profile"] .career-practice-list {
  display: grid;
  gap: 14px;
}

body[data-active-panel="growth-profile"] .career-practice-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hw-ui-line, #373c44);
}

body[data-active-panel="growth-profile"] .career-practice-list article:last-child {
  border-bottom: 0;
}

body[data-active-panel="growth-profile"] .career-practice-list article > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

body[data-active-panel="growth-profile"] .career-practice-list strong {
  font-size: 16px;
}

body[data-active-panel="growth-profile"] .career-practice-list button {
  flex-shrink: 0;
  min-height: 44px;
}

@media (max-width: 620px) {
  body[data-active-panel="growth-profile"] .career-profile-actions > button {
    flex: 1 1 140px;
  }

  body[data-active-panel="growth-profile"] .career-practice-list article {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
}
