.pathways-page [hidden]{display:none!important}
.journey-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin:16px 0 24px}
.journey-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:12px 16px;font:600 14px var(--font,Inter,sans-serif);border-radius:0}
.journey-tabs [aria-selected=true]{color:var(--accent);border-color:var(--accent)}
.journey-heading,.journey-plot-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin:20px 0}
.journey-heading h2,.journey-plot-heading h3{margin:0;font-size:20px}
.journey-heading span,.journey-plot-heading span,#journeyStatus,#journeySelected,#journeySearchStatus{color:var(--muted);font-size:13px;line-height:1.6}
.journey-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:20px;padding-bottom:20px}
.journey-segment{display:flex;gap:12px;border:0;padding:0;margin:0;min-width:0}
.journey-segment legend{font-size:12px;color:var(--muted);margin-bottom:10px}
.pathways-page .journey-segment label{display:flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}
.pathways-page .journey-segment input[type=radio]{width:16px;height:16px;accent-color:var(--accent)}
#myJourney label{font-size:13px}#journeyTargetLabel{max-width:190px}
.journey-entry{padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.journey-entry-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;max-width:760px;margin-bottom:18px}
.journey-history-head,.journey-history-row{display:grid;grid-template-columns:80px 110px minmax(120px,220px);gap:14px;align-items:center;padding:5px 0}
.journey-history-head{color:var(--muted);font-size:12px}.journey-history-row span{font-family:var(--mono)}
#journeyDatabase>label{max-width:520px}
#journeyMatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;max-height:300px;overflow:auto;margin:12px 0}
#journeyMatches button{display:flex;flex-direction:column;align-items:start;gap:4px;text-align:left;min-width:0;padding:12px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font:14px var(--font,Inter,sans-serif)}
#journeyMatches button strong{overflow-wrap:anywhere}#journeyMatches button span{font-size:12px;color:var(--muted)}
#journeyMatches button:hover,#journeyMatches button[aria-pressed=true]{background:var(--surface);box-shadow:inset 3px 0 var(--accent)}
.journey-pagination{display:flex;align-items:center;gap:12px;justify-content:space-between;max-width:520px;font-size:12px;color:var(--muted)}
.journey-pagination button,#journeyCopy,#journeyRetry{padding:8px 12px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);cursor:pointer}
.journey-pagination button:disabled{opacity:.4;cursor:default}
#journeyChart{height:400px;background:var(--surface);padding:0;width:100%;min-width:0}
#journeyChart svg{width:100%;height:100%}#journeyChart text{fill:var(--muted);font:12px var(--mono)}
#journeyChart circle{cursor:help}#journeyChart circle:focus{outline:2px solid var(--ink)}
#journeyLatest{font-size:14px;line-height:1.7;margin-top:24px}
#journeyComparison table{min-width:650px}#journeyComparison caption{text-align:left;color:var(--muted);padding:12px 0;font-size:13px}
.journey-method{padding:20px 0;margin-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.7}
.journey-method summary{cursor:pointer;color:var(--ink)}.journey-empty{padding:24px;color:var(--muted)}
@media(max-width:600px){.journey-entry-fields{grid-template-columns:1fr 1fr}.journey-entry-fields label:first-child{grid-column:1/-1}.journey-toolbar{gap:16px}.journey-history-head,.journey-history-row{grid-template-columns:60px 80px minmax(100px,1fr);gap:10px}#journeyMatches{grid-template-columns:1fr}#journeyChart{height:340px}.journey-tabs button{padding:12px 10px}.journey-heading h2,.journey-plot-heading h3{font-size:18px}}
