/* Shared profile presentation; folder geometry and status colors stay intact. */
.talent-profile-page {
  --profile-warm-paper: #fffaf1;
  --profile-warm-edge: #d7e2ee;
  --profile-warm-ink: #0b284f;
  --profile-warm-muted: #526580;
  --profile-warm-accent: #a9430c;
}
.talent-profile-page .profile-section,
.talent-profile-page .profile-screening {
  border-color: var(--profile-warm-edge);
  box-shadow: 0 8px 26px #30291b06;
}
.talent-profile-page .profile-stat-grid article {
  background: #f7faff;
  border-color: var(--profile-warm-edge);
}
.talent-profile-page .profile-stat-grid article > p,
.talent-profile-page .profile-details dt { color: var(--profile-warm-muted); }
.talent-profile-page .profile-section > .panel-head,
.talent-profile-page .screening-heading { margin-bottom: 18px; }
.talent-profile-page .profile-section > .panel-head .eyebrow,
.talent-profile-page .screening-heading .eyebrow { color: var(--profile-warm-accent); }
.talent-profile-page .profile-section > .panel-head h2,
.talent-profile-page .screening-heading .screening-title { color: var(--profile-warm-ink); }
.talent-profile-page .profile-section .text-button,
.talent-profile-page .screening-heading .text-button { color: var(--profile-warm-ink); }
.talent-profile-page .profile-section .text-button:hover,
.talent-profile-page .screening-heading .text-button:hover { color: var(--profile-warm-accent); }
.talent-profile-page .profile-details dd { line-height: 1.6; }

.talent-dream-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--profile-warm-edge);
  border-radius: 18px;
  background: #fff;
  color: var(--profile-warm-ink);
  box-shadow: 0 12px 32px #0b284f0d;
}
.talent-dream-main { min-width: 0; }
.talent-dream-statement {
  padding: 28px 30px 22px;
  background: radial-gradient(ellipse at top right, #244e78 0, transparent 65%), #0b284f;
  border-top: 4px solid #ff9f66;
  color: #f4f8ff;
}
.talent-dream-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #ffb783;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.talent-dream-eyebrow > span { font-size: 20px; line-height: 1; }
.talent-dream-summary h2 { margin: 0 0 22px; font: 400 29px/1.2 Georgia, serif; color: #fff; }
.talent-dream-quotation { margin: 0; padding-left: 18px; border-left: 2px solid #ffb783; }
.talent-dream-quote { margin: 0; }
.talent-dream-copy { display: block; margin: 0; font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; }
.talent-dream-quote .talent-dream-copy::before { content: '\201c'; }
.talent-dream-quote .talent-dream-copy::after { content: '\201d'; }
.talent-dream-excerpt { quotes: '\201c' '\201d'; }
.talent-dream-attribution { margin-top: 18px; color: #ffcfad; font: italic 18px/1.5 Georgia, serif; text-align: right; overflow-wrap: anywhere; }
.talent-dream-guidance { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #d0dff0; }
.talent-dream-privacy { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #ffffff26; color: #c4d5e8; font-size: 11px; line-height: 1.5; }
.talent-dream-companion { min-width: 0; padding: 18px 26px; background: #eaf2fb; color: #0b284f; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; border-top: 1px solid #d7e2ee; }
.talent-dream-spark { display: none; }
.talent-dream-companion h3 { margin: 0; color: #0b284f; font: 400 21px/1.3 Georgia, serif; }
.talent-dream-companion .talent-dream-benefits { display: inline-flex; gap: 14px; align-items: center; min-height: 42px; border-color: #bacfe5; background: #fff; color: #0b284f; font-size: 12px; white-space: normal; }
.talent-dream-companion .talent-dream-benefits:hover { background: #dceafa; border-color: #829fbe; }
.talent-dream-summary:has([data-dream-pathway-summary] .dp-summary) > .talent-dream-companion { display: none; }
.talent-dream-summary .dp-summary { padding: 20px 26px; background: #eaf2fb; border-color: #d7e2ee; }
.talent-dream-summary .dp-summary > p { margin: 0 0 14px; font-size: 14px; }
.talent-dream-summary .dp-markers li:after { background: #b8cde2; }
.talent-dream-summary .dp-markers li > span { background: #fff; border-color: #b8cde2; color: #244e78; }
.talent-dream-summary .dp-markers .dp-completed > span { background: #dcefe5; border-color: #8cb49e; color: #165a42; }
.talent-dream-summary .dp-markers .dp-in_progress > span { background: #0b284f; border-color: #0b284f; color: #fff; }
.talent-dream-summary :is(button, summary):focus-visible { outline: 3px solid #bf590f; outline-offset: 4px; }
.talent-dream-statement :focus-visible { outline-color: #ffba87; }
.talent-dream-story > summary { list-style: none; cursor: pointer; }
.talent-dream-story > summary::-webkit-details-marker { display: none; }
.talent-dream-read-more, .talent-dream-read-less { display: inline-block; margin: 10px 0 0; color: #ffcfad; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.talent-dream-read-less, .talent-dream-story[open] > summary > :not(.talent-dream-read-less) { display: none; }
.talent-dream-story[open] .talent-dream-read-less { display: inline-block; margin: 0 0 10px; }
/* Reuse the same private Dream card beside Details in every authorized view. */
.profile-dream-column { min-width: 0; display: grid; align-content: start; gap: 16px; }
.profile-dream-column > .talent-dream-summary { grid-template-columns: minmax(0, 1fr); margin: 0; }
.profile-dream-column > .profile-section { margin: 0; }
@media (max-width: 1100px) {
  .talent-profile-home-layout--dream > .profile-summary-column { display: contents; }
  .talent-profile-home-layout--dream .profile-details-section { order: 0; }
  .talent-profile-home-layout--dream > .profile-dream-column { order: 1; }
  .talent-profile-home-layout--dream .profile-screening { order: 2; }
  .talent-dream-summary { grid-template-columns: minmax(0, 1fr); }
  .talent-dream-statement { padding: 24px; }
}
@media (max-width: 520px) {
  .talent-dream-statement, .talent-dream-companion, .talent-dream-summary .dp-summary { padding: 22px 20px; }
  .talent-dream-summary h2 { font-size: 27px; }
  .talent-dream-copy { font-size: 16px; }
}
