/* Journey runner — GOAL → PATH → RANGE → DETAILS → CLEARED */
.jr { max-width: 820px; margin: 0 auto; padding: 24px 20px 80px; }
.legs { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 10px 0 34px; }
.legs::before { content: ''; position: absolute; left: 10%; right: 10%; top: 11px; height: 4px; background: var(--paper-3); border-radius: 2px; }
.legs .fill { position: absolute; left: 10%; top: 11px; height: 4px; background: var(--red); border-radius: 2px; transition: width .45s ease; max-width: 80%; }
.legs .wp { text-align: center; position: relative; }
.legs .dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto; background: var(--white); border: 3px solid var(--paper-3); transition: all .3s; display: grid; place-items: center; font-size: .7rem; font-weight: 900; color: #fff; }
.legs .wp.done .dot { background: var(--red); border-color: var(--red); }
.legs .wp.on .dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(20,19,17,.12); }
.legs .lbl { font-family: var(--cond); font-weight: 700; font-size: .68rem; letter-spacing: .16em; margin-top: 7px; color: var(--slate-2); }
.legs .wp.done .lbl, .legs .wp.on .lbl { color: var(--ink); }
.jr-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink); padding: clamp(1.4rem, 4vw, 2.4rem); animation: jr-in .35s ease; }
@keyframes jr-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.jr .eyebrow { margin-bottom: .6rem; }
.jr h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .4rem; }
.jr .sub { color: var(--slate); margin-bottom: 1.4rem; }
.opts { display: grid; gap: .8rem; }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .opts.two { grid-template-columns: 1fr; } }
.opt { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; text-align: left; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r); padding: .9rem 1.1rem; cursor: pointer; font: inherit; color: var(--ink); transition: transform .1s, box-shadow .1s, background .1s; }
.opt:hover { background: var(--white); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--red); }
.opt:active { transform: none; box-shadow: none; }
.opt.sel { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); }
.opt .k { width: 34px; height: 34px; border-radius: 6px; border: 2px solid currentColor; display: grid; place-items: center; font-family: var(--cond); font-weight: 700; font-size: .95rem; }
.opt b { font-family: var(--cond); font-size: 1.15rem; letter-spacing: .01em; display: block; line-height: 1.15; }
.opt small { color: var(--slate); font-size: .88rem; display: block; margin-top: .15rem; }
.opt.sel small { color: var(--slate-2); }
.jr-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 2px dashed var(--paper-3); }
.jr-nav .spacer { flex: 1; }
.jr-nav a, .jr-nav button.lnk { background: none; border: 0; padding: 0; font: inherit; font-family: var(--cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jr-nav a:hover, .jr-nav button.lnk:hover { color: var(--red); }
.save-box { margin-top: 1rem; background: var(--brass-soft); border: 3px solid var(--ink); border-radius: var(--r); padding: 1rem; display: none; }
.save-box.on { display: block; }
.save-box form { display: flex; gap: .6rem; flex-wrap: wrap; }
.save-box input { flex: 1; min-width: 200px; padding: .6rem .8rem; }
.jr .err { color: var(--red); font-weight: 700; margin-top: .6rem; }
.jr-status { font-family: var(--cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: var(--slate); margin-bottom: .6rem; display: flex; justify-content: space-between; }
.result .hero-r { background: var(--ink); color: var(--paper); margin: calc(-1 * clamp(1.4rem, 4vw, 2.4rem)) calc(-1 * clamp(1.4rem, 4vw, 2.4rem)) 1.6rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-bottom: 4px solid var(--red); }
.result .hero-r h2 { color: var(--paper); }
.result .hero-r .eyebrow { color: var(--brass); }
.result .notes { display: grid; gap: .6rem; margin: 1rem 0; }
.result .notes div { background: var(--paper-2); border-left: 4px solid var(--red); padding: .6rem .9rem; font-size: .95rem; }
.result .mm { background: var(--brass-soft); border: 3px solid var(--ink); border-radius: var(--r); padding: 1rem 1.2rem; margin: 1rem 0; }
.result .mm b { font-family: var(--cond); font-size: 1.15rem; }
.result .plan { display: grid; gap: .6rem; margin: .6rem 0 1rem; }
.result .plan a { display: grid; grid-template-columns: 34px 1fr auto; gap: .8rem; align-items: center; text-decoration: none; color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r); padding: .7rem .9rem; background: var(--white); }
.result .plan a:hover { box-shadow: 4px 4px 0 var(--red); }
.result .plan .n { font-family: var(--display); font-size: 1.6rem; color: var(--red); }
.details .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .details .grid { grid-template-columns: 1fr; } }
.jr-print h1 { font-size: 2rem; }
