/* A question path, drawn as a continuous line. Page-scoped; no directory or store changes. */
.site-journey{max-width:1040px;padding-bottom:56px}
.site-journey>.site-page-heading{padding:44px 0 26px}
.site-journey>.site-page-heading h1{font-family:"PingFang TC","Noto Sans TC",sans-serif;font-size:clamp(1.9rem,3.2vw,2.65rem);font-weight:750;letter-spacing:-.045em;line-height:1.3;margin:0 0 14px}
.site-journey>.site-page-heading p{font-size:1.03rem;line-height:1.8;margin:0;color:var(--site-muted)}
.site-journey .journey-breadcrumbs{padding:10px 18px;margin-bottom:32px;background:var(--site-soft);border:0;border-radius:12px}
.site-journey .journey-path{gap:0 10px}
.site-journey .journey-path li{gap:10px}
.site-journey .journey-path button{font-size:.82rem;line-height:1.65;padding:6px 0;text-decoration:none;color:var(--site-muted)}
.site-journey .journey-path button:hover{text-decoration:underline;text-underline-offset:4px;color:var(--site-brand)}
.site-journey .journey-path [aria-current=step]{color:var(--site-brand);font-weight:750}
.site-journey .journey-flow{margin-left:18px;padding-left:34px;border-left:2px solid var(--site-line)}
.site-journey .journey-node{position:relative;min-width:0;margin:0 0 24px;padding:28px 30px;background:var(--site-surface);border:1px solid var(--site-line);border-radius:16px;box-shadow:0 4px 18px #183e3005;scroll-margin-top:24px}
.site-journey .journey-node::before{content:attr(data-journey-step);position:absolute;top:25px;left:-53px;width:34px;height:34px;display:grid;place-items:center;border:2px solid var(--site-line);border-radius:50%;background:var(--site-ground);color:var(--site-muted);font:600 .75rem/1 ui-monospace,"SFMono-Regular",Menlo,monospace;font-variant-numeric:tabular-nums}
.site-journey .journey-node[data-journey-state=active],.site-journey .journey-node[data-journey-state=result]{border-color:var(--site-brand);box-shadow:0 5px 22px #183e3009}
.site-journey .journey-node[data-journey-state=active]::before,.site-journey .journey-node[data-journey-state=result]::before{border-color:var(--site-brand);background:var(--site-brand);color:var(--site-surface)}
.site-journey .journey-question legend,.site-journey .journey-node h2{font-size:1.3rem;font-weight:700;line-height:1.55;margin:0 0 22px;letter-spacing:-.02em;color:var(--site-ink)}
.site-journey .journey-choices{gap:12px}
.site-journey .journey-choices label{padding:16px 18px;min-height:66px;gap:12px;background:var(--site-surface);border-radius:10px;line-height:1.65;transition:border-color .15s,background-color .15s}
.site-journey .journey-choice-text{flex:1;min-width:0}
.site-journey .journey-choices input{width:19px;height:19px;accent-color:var(--site-brand)}
.site-journey .journey-choices label:hover{border-color:var(--site-brand);background:var(--site-ground)}
.site-journey .journey-choices label:has(input:checked){border-color:var(--site-brand);background:var(--site-soft);box-shadow:inset 0 0 0 1px var(--site-brand)}
.site-journey .journey-choices label:has(input:focus-visible){outline:3px solid #af7617;outline-offset:3px}
.site-journey #root .journey-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-journey #root .journey-choices label{display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-height:158px;padding:22px 20px}
.site-journey #root .journey-choices input{position:absolute;top:20px;right:18px}
.site-journey #root .journey-choice-check{display:none}
.site-journey .journey-choice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--site-soft);color:var(--site-brand);flex-shrink:0}
.site-journey .journey-choice-icon svg{width:25px;height:25px}
.site-journey #root .journey-choice-text{font-size:.97rem;font-weight:650;line-height:1.65;padding-right:3px}
.site-journey .journey-skip{border-top:1px solid var(--site-line);padding-top:12px;margin:20px 0 0;gap:2px 18px;font-size:.8rem;color:var(--site-muted)}
.site-journey .journey-skip a{text-decoration:none;min-height:40px}
.site-journey .journey-skip a:hover{text-decoration:underline;text-underline-offset:4px}
.site-journey .journey-node>p{color:var(--site-muted);font-size:.95rem;line-height:1.8}
.site-journey .journey-results{display:grid;gap:12px;margin:22px 0}
.site-journey .journey-results li{border:1px solid var(--site-line);border-radius:10px;overflow:hidden}
.site-journey .journey-results a{padding:18px 20px;align-items:center;gap:20px;text-decoration:none}
.site-journey .journey-results strong{font-size:1rem;font-weight:650;line-height:1.75}
.site-journey .journey-results a:hover{background:var(--site-ground)}
.site-journey .journey-results span{font-size:.8rem;white-space:nowrap;color:var(--site-brand)}
.site-journey .journey-next{border:0;border-radius:12px;padding:22px 24px;margin-top:22px;background:var(--site-soft)}
.site-journey .journey-next h3{font-size:1.05rem;margin-bottom:8px}
.site-journey .journey-next p{font-size:.9rem;line-height:1.8;color:var(--site-muted)}
.site-journey .journey-next a{font-size:.9rem;font-weight:650;text-decoration:none}
.site-journey .journey-next a:hover{text-decoration:underline}
@media(max-width:767px){
 .site-journey>.site-page-heading{padding:28px 0 20px}
 .site-journey>.site-page-heading p{font-size:.95rem}
 .site-journey .journey-breadcrumbs{padding:8px 12px;margin-bottom:26px;border-radius:10px}
 .site-journey .journey-path button{font-size:.77rem}
 .site-journey .journey-flow{margin-left:12px;padding-left:22px}
 .site-journey .journey-node{padding:22px 20px;margin-bottom:20px;border-radius:13px}
 .site-journey .journey-node::before{left:-37px;top:22px;width:27px;height:27px;font-size:.65rem}
 .site-journey .journey-question legend,.site-journey .journey-node h2{font-size:1.15rem;margin-bottom:18px}
 .site-journey .journey-choices{grid-template-columns:minmax(0,1fr);gap:10px}
 .site-journey .journey-choices label{min-height:62px;padding:13px 14px;gap:10px;font-size:.93rem}
 .site-journey #root .journey-choices{grid-template-columns:minmax(0,1fr)}
 .site-journey #root .journey-choices label{flex-direction:row;align-items:center;min-height:92px;padding:16px 42px 16px 14px;gap:12px}
 .site-journey #root .journey-choices input{top:calc(50% - 10px);right:13px;width:18px;height:18px}
 .site-journey .journey-choice-icon{width:34px;height:38px;border-radius:8px}
 .site-journey .journey-choice-icon svg{width:23px;height:23px}
 .site-journey #root .journey-choice-text{font-size:.94rem}
 .site-journey .journey-skip{gap:0 12px;font-size:.77rem;margin-top:16px;padding-top:10px}
 .site-journey .journey-skip>span{width:100%}
 .site-journey .journey-results a{display:block;padding:15px 16px}
 .site-journey .journey-results span{margin-top:10px;font-size:.8rem}
 .site-journey .journey-next{padding:18px;margin-top:18px}
}
@media(max-width:359px){
 .site-journey .journey-flow{margin-left:10px;padding-left:16px}
 .site-journey .journey-node{padding:20px 14px}
 .site-journey .journey-node::before{left:-30px;width:24px;height:24px}
 .site-journey #root .journey-choices label{padding-left:12px;gap:9px}
 .site-journey .journey-choice-icon{width:28px}
 .site-journey #root .journey-choice-text{font-size:.88rem}
}
@media(prefers-reduced-motion:reduce){.site-journey .journey-choices label{transition:none}}
/* A path appears after the first answer, when there is a previous choice to revisit. */
.site-journey .journey-breadcrumbs:has(.journey-path:empty),.site-journey .journey-breadcrumbs:has(.journey-path>li:only-child){display:none}
/* More patient intents, with the full topic library progressively disclosed. */
.site-journey #root .journey-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.site-journey #root .journey-choices label{min-height:126px;gap:12px;padding:18px 20px}
.site-journey .journey-library{margin-top:24px;padding-top:22px;border-top:1px solid var(--site-line)}
.site-journey .journey-library[hidden],.site-journey .journey-library [hidden]{display:none!important}
.site-journey .journey-library-heading h2{font-size:1.15rem;margin-bottom:8px}
.site-journey .journey-library-heading p{color:var(--site-muted);font-size:.88rem}
.site-journey .journey-library-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}
.site-journey .journey-library-tools label{font-size:.82rem;display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px}
.site-journey .journey-library-tools input,.site-journey .journey-library-tools select{min-height:44px;padding:9px 10px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-surface);color:var(--site-ink);max-width:100%;width:100%;font-size:1rem}
.site-journey .journey-library button{min-height:44px;border:1px solid var(--site-line);border-radius:8px;padding:8px 12px;color:var(--site-brand);font-size:.85rem}
.site-journey .journey-library-related{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}
.site-journey .journey-library-related button{background:var(--site-soft)}
.site-journey .journey-library-related [aria-pressed=true]{border-color:var(--site-brand);font-weight:700}
.site-journey .journey-library-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:18px 0}
.site-journey .journey-library-card{border:1px solid var(--site-line);border-radius:10px;min-width:0}
.site-journey .journey-library-card a{display:block;padding:18px;text-decoration:none;color:var(--site-ink)}
.site-journey .journey-library-card a:hover{background:var(--site-ground)}
.site-journey .journey-library-card strong{font-size:.94rem;line-height:1.8;overflow-wrap:anywhere}
.site-journey .journey-library-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.75rem;color:var(--site-muted);margin-top:14px}
.site-journey .journey-library-open{color:var(--site-brand)}
@media(max-width:767px){.site-journey #root .journey-choices{grid-template-columns:minmax(0,1fr)}.site-journey #root .journey-choices label{min-height:78px;padding:13px 42px 13px 14px}.site-journey .journey-library-cards{grid-template-columns:minmax(0,1fr)}.site-journey .journey-library-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.site-journey .journey-library-tools label{min-width:0}.site-journey .journey-library-card a{padding:15px}}
.site-journey .journey-choices label[hidden]{display:none!important}
.site-journey .journey-option-search{margin:0 0 16px;display:flex;flex-direction:column;gap:6px}
.site-journey .journey-option-search label,.site-journey .journey-option-search span{font-size:.8rem;color:var(--site-muted)}
.site-journey .journey-option-search input{padding:10px 12px;min-height:44px;border:1px solid var(--site-line);border-radius:8px;max-width:100%;background:var(--site-surface);color:var(--site-ink);font-size:1rem}
