/* The three-step plan strip (js/kyf-journey.js) */
.plan-strip { max-width: 1160px; margin: 0 auto; padding: 14px 28px 4px; }
.plan-strip:empty { display: none; }
.jr-head { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft, var(--muted, #5b6b64)); }
.jr-head strong { color: var(--ink, var(--text, #1b2a24)); }
.jr-head a { color: var(--teal, #0b6b6d); font-weight: 600; text-decoration: none; }
.jr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.jr-step a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 12px 14px; border: 1px solid var(--line, #d8e0db); border-radius: 12px; background: var(--panel, #fff); color: inherit; text-decoration: none; }
.jr-step a:hover, .jr-step a:focus-visible { border-color: var(--teal, #0b6b6d); }
.jr-step.is-next a { border-color: var(--teal, #0b6b6d); box-shadow: 0 0 0 1px var(--teal, #0b6b6d) inset; }
.jr-step.is-here a { background: var(--panel-soft, #eef6f2); border-color: var(--teal, #0b6b6d); box-shadow: 0 0 0 1px var(--teal, #0b6b6d) inset; }
/* On a tool page the highlight follows where you are, not what is next */
.plan-strip.has-here .jr-step.is-next:not(.is-here) a { border-color: var(--line, #d8e0db); box-shadow: none; }
.plan-strip.has-here .jr-step.is-next:not(.is-here) .jr-num { background: var(--line, #d8e0db); color: var(--ink, #1b2a24); }
.jr-step.is-here .jr-num { background: var(--teal, #0b6b6d); color: #fff; }
.jr-step.is-done.is-here .jr-num { background: var(--green, #3b7835); }
.jr-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--line, #d8e0db); color: var(--ink, #1b2a24); }
.jr-step.is-next .jr-num { background: var(--teal, #0b6b6d); color: #fff; }
.jr-step.is-done .jr-num { background: var(--green, #3b7835); color: #fff; }
.jr-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jr-body strong { font-size: 14px; }
.jr-body small { font-size: 12px; line-height: 1.35; color: var(--ink-soft, var(--muted, #5b6b64)); }
.jr-bar { display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: var(--line, #d8e0db); overflow: hidden; }
.jr-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--teal, #0b6b6d); transition: width .5s ease; }
.jr-step.is-done .jr-bar i { background: var(--green, #3b7835); }
.plan-strip--compact .jr-body small { display: none; }
.plan-strip--compact .jr-step a { padding: 8px 12px; align-items: center; }
.plan-strip--compact .jr-head { font-size: 13px; }
@media (max-width: 720px) {
  .plan-strip { padding: 12px 16px 0; }
  .jr-steps { grid-template-columns: 1fr; gap: 8px; }
  .plan-strip--compact .jr-body small { display: block; }
}

/* Quiet line on Home when a check-in is overdue */
.overdue-note { margin: 16px 0 0; padding: 10px 14px; border: 1px solid var(--amber, #c97a2b); border-radius: 12px; background: var(--amber-soft, #fbf1e3); font-size: 14px; color: var(--ink, #1b2a24); }
.overdue-note a { color: var(--teal, #0b6b6d); font-weight: 700; text-decoration: none; white-space: nowrap; }
.overdue-note[hidden] { display: none; }
.wrap .plan-strip { padding-left: 0; padding-right: 0; }
