/* The three questions follow the same path as the community: people → practice → evidence. */
.journey-open #intro,.journey-open #zoneCard{display:none!important}
#communityJourney{position:absolute;inset:0;pointer-events:none;z-index:3}
#communityJourney button,.journey-panel{pointer-events:auto}
.journey-nav{position:absolute;left:1rem;right:1rem;top:4.8rem;display:flex;gap:.2rem;padding:.25rem;border:1px solid #ffffffa3;border-radius:3rem;background:#f2f6f0eb;backdrop-filter:blur(18px);box-shadow:0 4px 22px #153f4310;pointer-events:auto}
.journey-nav button{display:flex;align-items:center;justify-content:center;gap:.5rem;flex:1;min-width:0;min-height:2.75rem;border-radius:3rem;font-size:.95rem;transition:background .25s,color .25s}
.journey-step{font-family:"Avenir Next",sans-serif;font-size:.75rem;opacity:.65}
.journey-nav button[aria-current="step"]{background:var(--ink);color:var(--paper)}
.journey-nav button[aria-expanded="false"][aria-current="step"]{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.journey-panel{position:absolute;left:1rem;right:1rem;top:8.5rem;max-height:calc(100dvh - 20.5rem);display:flex;flex-direction:column;background:#f2f6f0f2;backdrop-filter:blur(20px);border:1px solid #ffffffad;border-radius:.6rem;box-shadow:0 18px 50px #153f4315;overflow:hidden;animation:journey-arrive .55s cubic-bezier(.2,.7,.2,1) both}
.journey-panel-bar{display:flex;align-items:center;justify-content:space-between;padding:0 .7rem 0 1.15rem;min-height:2.75rem;flex-shrink:0;border-bottom:1px solid var(--line)}
.journey-panel-bar>span{font-size:.75rem;color:var(--muted);letter-spacing:.04em}
.journey-panel-bar button{font-size:1.2rem;min-width:2.75rem;padding:0}
.journey-content{padding:1rem 1.15rem 1.1rem;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7b999070 transparent}
.journey-question{font-size:.875rem;line-height:1.65;color:var(--muted);margin:0 0 .7rem}
.journey-content h1,.journey-content h2{font-family:"Songti SC","STSong","Noto Serif SC",serif;font-weight:500;font-size:clamp(1.7rem,6.2vw,2.35rem);line-height:1.32;letter-spacing:.015em;margin:0 0 .8rem}
.journey-content .journey-thesis{font-size:clamp(2rem,8vw,2.65rem);line-height:1.25}
#communityJourney[data-chapter="better"] .journey-content h2{font-size:clamp(1.7rem,6.2vw,2rem)}
.journey-thesis>span{color:var(--accent)}
.journey-belief{font-size:.875rem;letter-spacing:.22em;color:var(--accent);margin:0 0 .65rem}
.journey-lead{font-size:1rem;line-height:1.75;margin:0 0 .9rem}
.journey-principles{border-top:1px solid var(--line);margin:.9rem 0 1rem;padding-top:.5rem}
.journey-principles p{display:flex;gap:.8rem;align-items:baseline;margin:.55rem 0;font-size:.875rem;line-height:1.6}
.journey-principles b{font-weight:600;flex:0 0 2.5rem;white-space:nowrap}.journey-principles span{color:var(--muted)}
.journey-primary{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;padding:.8rem .95rem;background:var(--ink);color:var(--paper);border-radius:.25rem;min-height:2.9rem;font-size:.9rem;text-align:left}
.journey-primary>span{font-size:1.2rem;line-height:1}
.journey-footnote{font-size:.75rem;line-height:1.65;color:var(--muted);margin:.75rem 0 0}
.journey-tabs{display:flex;border-bottom:1px solid var(--line);gap:1rem;margin:1rem 0 .75rem}
.journey-tabs button{font-size:.95rem;min-width:4rem;position:relative;border-bottom:2px solid transparent}
.journey-tabs button[aria-selected="true"]{font-weight:600;border-bottom-color:var(--accent)}
.journey-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.journey-scenario{padding:.8rem;display:flex;align-items:flex-start;flex-direction:column;gap:.5rem;text-align:left;background:#e2eae17a;border:1px solid var(--line);border-radius:.25rem;transition:background .2s,transform .2s}
.journey-scenario:hover{background:#dbe8dd;transform:translateY(-2px);filter:none}
.journey-scenario-icon{font-size:1.35rem;color:var(--accent);line-height:1}
.journey-scenario strong{font-size:.95rem;font-weight:500;white-space:nowrap}
.journey-scenario>span:not(.journey-scenario-icon){font-size:.75rem;line-height:1.65;color:var(--muted)}
.journey-scenario .journey-card-action{font-size:.75rem!important;color:var(--ink)!important;margin-top:auto}
.journey-flow{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;margin:1rem 0 .7rem;font-size:.75rem;color:var(--muted)}
.journey-flow i{font-style:normal;color:var(--accent)}
.journey-next{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid var(--line);font-size:.85rem;text-align:left;margin-top:.9rem;padding:.65rem 0 0;gap:.3rem}
.journey-value{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:.85rem 0;margin:1rem 0}
.journey-value-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.85rem}
.journey-value-head>b{font-size:.875rem;font-weight:500}
.journey-value-head select{max-width:8.5rem;min-height:2.75rem;border:1px solid var(--line);padding:.3rem;color:var(--muted);font:inherit;font-size:.75rem;background:transparent;border-radius:.2rem}
.journey-minutes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.journey-minutes label{font-size:.75rem;color:var(--muted)}
.journey-minutes input{width:100%;padding:.5rem .3rem;margin:.4rem 0 .15rem;border:1px solid var(--line);background:#fff7;color:var(--ink);font:inherit;font-size:1.25rem;font-family:"Avenir Next",sans-serif;border-radius:.2rem;min-height:2.75rem}
.journey-minutes label>span{font-size:.7rem}
.journey-result{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0 .2rem;font-size:.75rem;color:var(--muted)}
.journey-result strong{color:var(--ink);font-family:"Avenir Next",sans-serif;font-size:2.8rem;font-weight:400;white-space:nowrap;line-height:1.2}
.journey-result small{font-family:"PingFang SC",sans-serif;font-size:.75rem;margin-left:.4rem}
.journey-calc-note{font-size:.75rem;line-height:1.65;color:var(--muted);margin:.5rem 0 0}
.journey-checks{border:0;padding:0;margin:1rem 0}
.journey-checks legend{font-size:.875rem;font-weight:500;margin-bottom:.35rem}
.journey-checks label{display:flex;align-items:center;gap:.6rem;font-size:.8rem;line-height:1.6;min-height:2.75rem;cursor:pointer}
.journey-checks input{accent-color:#397f77;flex:0 0 auto;width:1.1rem;height:1.1rem;margin:0}
.journey-builder{width:min(56rem,calc(100% - 1rem));padding:1.4rem 1.2rem;max-height:92dvh;overscroll-behavior:contain;border-radius:.7rem}
.journey-builder h2{font-size:2rem;margin:.25rem 0 .6rem;line-height:1.3}
.journey-dialog-close{position:absolute;top:.6rem;right:.6rem;font-size:1.65rem;min-width:2.75rem;min-height:2.75rem;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
.journey-builder>.journey-question{padding-right:2rem}
.journey-builder-intro{font-size:.95rem;line-height:1.75;max-width:43rem;margin:.5rem 0 1rem}
.journey-privacy{font-size:.8rem;line-height:1.7;border-left:2px solid var(--accent);background:#ad75400d;padding:.7rem .8rem;margin:.8rem 0 1.2rem}
.journey-builder-grid{display:grid;gap:1.3rem}
.journey-fields label,.journey-preview>label{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .7rem;font-size:.95rem;margin:0 0 .45rem;font-weight:500}
.journey-fields label>span,.journey-preview>label>span{font-size:.75rem;color:var(--muted);font-weight:400}
.journey-fields textarea,.journey-preview textarea{display:block;font:inherit;font-size:1rem;line-height:1.7;color:var(--ink);border:1px solid var(--line);border-radius:.25rem;background:#fff6;padding:.75rem;width:100%;resize:vertical;min-height:5rem;margin-bottom:1rem}
.journey-preview textarea{background:#e0eae273;font-size:.875rem;min-height:18rem}
.journey-builder-actions{display:flex;gap:.65rem}
.journey-builder-actions>.journey-primary{flex:1;width:auto}
.journey-secondary{border:1px solid var(--line);border-radius:.25rem;padding:.5rem .8rem;min-height:2.9rem;font-size:.875rem}
.journey-builder-status{font-size:.8rem;line-height:1.75;color:var(--muted);min-height:2.8rem;margin:.7rem 0 0}
.journey-builder :is(textarea,input,select):focus-visible,#communityJourney :is(input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.journey-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Preserve a readable caption floor, including narrow touch screens. */
.journey-panel-bar>span,.journey-footnote,.journey-scenario>span:not(.journey-scenario-icon),.journey-scenario .journey-card-action,.journey-flow,.journey-value-head select,.journey-minutes label,.journey-minutes label>span,.journey-result,.journey-result small,.journey-calc-note,.journey-fields label>span,.journey-preview>label>span{font-size:.875rem!important}
body.night .journey-nav,body.night .journey-panel{background:#153b3eee;border-color:#74928c44}
body.night .journey-scenario{background:#28504c6e}body.night .journey-scenario:hover{background:#35645d}
body.night .journey-fields textarea,body.night .journey-preview textarea,body.night .journey-minutes input{background:#10343a9c}
body.night .journey-privacy{background:#e3c47e0b}body.night .journey-value-head select{background:#173e43}
body.night .journey-primary{background:#e5d39c;color:#183d40}
@media(min-width:768px){
  .journey-nav{top:6.75rem;left:2.25rem;right:auto;width:21.25rem}
  .journey-panel{top:10.5rem;left:2.25rem;right:auto;width:21.25rem;max-height:calc(100dvh - 23rem)}
  .journey-content{padding:1rem 1.25rem 1.25rem}
  .journey-builder{padding:2.2rem;max-height:90dvh}
  .journey-builder-grid{grid-template-columns:1fr 1fr;gap:1.6rem}
  .journey-preview{position:sticky;top:0;align-self:start}
  .journey-preview textarea{min-height:27.6rem}
  .journey-dialog-close{top:1rem;right:1rem}
}
@media(min-width:1024px){
  .journey-nav{left:3rem;top:6.65rem}
  .journey-panel{left:3rem;top:10.4rem;max-height:calc(100dvh - 22.5rem)}
}
@media(max-height:650px){.journey-panel{max-height:calc(100dvh - 18rem)}.journey-content .journey-thesis{font-size:2rem}.journey-content h2{font-size:1.65rem}}
@keyframes journey-arrive{from{opacity:0;transform:translateY(.6rem)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.journey-panel,.journey-scenario,.journey-nav button{animation:none;transition:none}}
