@import url('/journey.css');

.roadmap-page { background: #f2f5ee; }
.roadmap-page .journey-shell { max-width: 1060px; }
.route-intro { max-width: 760px; padding: 28px 0 24px; }
.route-intro h1 { max-width: 720px; }
.route-summary { margin: 0; color: var(--muted); font-size: 15px; }
.current-stage { position: relative; overflow: hidden; background: #174c43; padding: 28px 32px 25px; color: #fffefa; }
.current-stage::before { position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: #e18a5c; content: ''; }
.stage-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #cce0d4; font-size: 13px; }
.stage-label { color: #f1bd8a; font-weight: 700; }
.stage-age { color: #d8e8dc; }
.current-stage h2 { margin: 7px 0 24px; font-size: 26px; line-height: 1.3; }
.stage-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.stage-columns h3, .route-actions h3 { margin: 0 0 9px; color: #f5c18f; font-size: 14px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 7px; }
.inline-list span { display: inline-block; border: 1px solid #477265; border-radius: 6px; padding: 4px 8px; color: #eff8f0; font-size: 13px; }
.risk-list span { border-color: #766b4f; color: #ffe0b6; }
.route-actions { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-top: 1px solid #477265; margin-top: 22px; padding-top: 18px; }
.route-actions h3 { margin: 2px 0; }
.route-actions ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0; padding-left: 20px; }
.route-actions li { padding-left: 2px; color: #f5f3e9; font-size: 14px; }
.route-advice { margin: 17px 0 0 142px; color: #cde2d6; font-size: 13px; }
.profile-activities { margin: 6px 0 0; color: #60766c; font-size: 13px; }
.next-stage-block, .education-block { padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.section-kicker { margin: 0 0 4px; color: var(--coral); font-size: 12px; font-weight: 720; }
.section-mark { color: #819287; font-size: 12px; }
.next-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.next-stage { border-top: 2px solid #d4e0d5; padding: 12px 0 4px; }
.next-stage .when { color: var(--coral); font-size: 12px; font-weight: 700; }
.next-stage h3 { margin: 3px 0 7px; font-size: 16px; }
.next-stage p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.next-stage .next-work { color: var(--ink); }
.age-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.age-track-item { min-width: 0; border-top: 1px solid #c9d6ca; padding-top: 8px; color: #708278; font-size: 11px; }
.age-track-item b { display: block; color: var(--ink); font-size: 12px; }
.age-track-item.is-current { border-color: var(--coral); color: var(--coral); }
.age-track-item.is-current b { color: #a94f34; }
.education-block { padding-bottom: 28px; }
.education-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.education-steps article { border-left: 2px solid #d8a06c; padding: 2px 12px 0; }
.education-steps article > span { color: var(--coral); font-size: 12px; font-weight: 750; }
.education-steps h3 { margin: 4px 0; font-size: 16px; }
.education-steps p { margin: 0; color: var(--muted); font-size: 13px; }
.photo-guide { margin: 23px 0 0; }
.photo-guide img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: cover; object-position: center; }
.photo-guide figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.limit-note { margin: 10px 0 0; color: #8a6b51; font-size: 12px; }
.start-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .62fr); align-items: center; gap: 30px; margin: 28px 0 0; background: #e7efe5; padding: 24px 26px; }
.start-block h2 { margin: 0 0 6px; font-size: 21px; }
.start-block p:not(.section-kicker) { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; }
.primary-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; border-radius: 7px; background: var(--green); padding: 10px 16px; color: white; font-size: 14px; font-weight: 700; text-decoration: none; }
.primary-action span:last-child { color: #f4c38b; font-size: 21px; }
.route-footer { margin-top: 18px; color: #7a8b80; font-size: 11px; }

@media (max-width: 760px) {
  .roadmap-page .journey-shell { padding: 0 18px 30px; }
  .route-intro { padding: 22px 0 18px; }
  .route-intro h1 { font-size: 31px; }
  .current-stage { padding: 22px 19px 20px; }
  .current-stage h2 { font-size: 22px; margin-bottom: 20px; }
  .stage-columns { gap: 18px; }
  .route-actions { grid-template-columns: 1fr; gap: 6px; }
  .route-actions ol { grid-template-columns: 1fr; }
  .route-advice { margin-left: 0; }
  .education-steps { grid-template-columns: 1fr; gap: 15px; }
  .photo-guide img { max-height: 270px; }
  .start-block { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
  .primary-action { width: 100%; }
}

@media (max-width: 460px) {
  .stage-columns { grid-template-columns: 1fr; }
  .next-stages { grid-template-columns: 1fr; gap: 10px; }
  .age-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .photo-guide img { max-height: 210px; }
}
