.journey-simple-fold { border:0; border-top:1px solid var(--line); border-radius:0; padding:14px 0; margin:8px 0; }
.journey-workspace { display:grid; grid-template-columns:300px minmax(0,1fr); gap:32px; align-items:start; }
.journey-editor { border-right:1px solid var(--line); padding-right:24px; min-width:0; }
.journey-result { min-width:0; scroll-margin-top:150px; }
.journey-editor { scroll-margin-top:150px; }
.journey-result-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0; }
.journey-result-heading h2 { font-size:20px; margin:0; }
#journeyView,#journeyEdit { border:1px solid var(--line); border-radius:4px; padding:10px 14px; background:var(--surface); color:var(--ink); cursor:pointer; }
#journeyView { background:var(--accent); color:#10221d; width:100%; margin-top:14px; }
#journeyView:disabled { opacity:.4; cursor:default; }
#journeyEdit { display:none; }
.journey-analysis-label { display:flex!important; flex-direction:row; align-items:center; gap:12px!important; font-size:13px; }
#journeyAnalysis { width:240px; max-width:100%; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:4px; padding:9px; }
.simple-journeys .journey-athlete-details>summary { display:none; }
.simple-journeys .journey-editor .journey-entry-fields { grid-template-columns:1fr; gap:12px; }
.simple-journeys .journey-editor .journey-history-head,.simple-journeys .journey-editor .journey-history-row { grid-template-columns:48px 65px minmax(70px,1fr); gap:8px; }
.simple-journeys .journey-editor .journey-segment { flex-wrap:wrap; }
.simple-journeys .journey-editor #journeyMatches { grid-template-columns:1fr; }
.simple-journeys .journey-editor .journey-heading h2 { font-size:20px; }
.simple-journeys .journey-result #journeyLatest { margin-top:12px; }
@media(max-width:850px) {
 .journey-workspace { grid-template-columns:1fr; gap:20px; }
 .journey-editor { border-right:0; padding-right:0; }
 #journeyEdit { display:block; }
 .simple-journeys .journey-editor .journey-entry-fields { grid-template-columns:1fr 1fr; }
 .simple-journeys .journey-editor .journey-history-head,.simple-journeys .journey-editor .journey-history-row { grid-template-columns:60px 80px minmax(100px,1fr); }
}
#journeyEventFilters { grid-column:1/-1; }
#journeyEventFilters>summary { cursor:pointer; font-size:14px; color:var(--ink); padding:4px 0; }
.journey-event-options { display:grid; grid-template-columns:100px 160px 130px minmax(210px,2fr) minmax(150px,1fr); gap:16px; margin-top:16px; }
.simple-journeys aside.filters { padding-top:12px; padding-bottom:12px; }
@media(max-width:1000px) { .journey-event-options { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.journey-simple-fold>summary,.journey-past>summary { cursor:pointer; color:var(--ink); font-size:14px; padding:5px 0; }
.journey-simple-fold[open]>summary { margin-bottom:16px; }
.journey-simple-fold>.panel { border:0; margin:0; padding:10px 0; }
.simple-journeys .content:has(#myJourney:not([hidden])) .reference-only,
.simple-journeys .content:has(#myJourney[hidden]) .personal-only { display:none; }
.simple-journeys .journey-tabs { margin:12px 0; }
.simple-journeys .journey-tabs button { white-space:normal; }
.simple-journeys .event-context h1 { font-size:22px; }
.simple-journeys .pathway-controls { padding:8px 0; }
.simple-journeys .pathway-caution { font-size:12px; margin:6px 0 16px; color:var(--muted); }
.simple-journeys .journey-heading { margin:14px 0; }
.simple-journeys #journeyScope { display:none; }
.simple-journeys .journey-toolbar { padding-bottom:12px; }
.simple-journeys .journey-entry { padding:8px 0 14px; border-top:0; }
.simple-journeys .journey-athlete-details { border:0; padding:0; margin:0 0 12px; }
.simple-journeys .journey-entry-fields { margin-bottom:0; grid-template-columns:2fr 1fr; }
.simple-journeys .journey-past { grid-column:1/-1; padding:8px 0; }
.simple-journeys .journey-past[open]>summary { margin-bottom:8px; }
.simple-journeys #journeyLatest { font-size:16px; margin:22px 0 10px; font-weight:500; }
#journeyTakeaway { display:flex; flex-wrap:wrap; gap:12px 32px; padding:0 0 16px; }
.journey-comparison-label { font-size:12px; color:var(--muted); margin:0 0 12px; }
.journey-comparison-line { display:grid; gap:5px; min-width:150px; }
.journey-comparison-line span,.journey-comparison-line small { color:var(--muted); font-size:12px; }
.journey-comparison-line strong { font-size:16px; font-weight:500; }
.simple-journeys .journey-plot-heading { margin:10px 0; }
.simple-journeys .journey-plot-heading h3 { font-size:15px; }
.simple-journeys #journeyStatus { font-size:12px; margin:10px 0; }
.simple-journeys #journeyAskFold .journey-assistant { border:0; padding:0; margin:0; }
.simple-journeys #journeyAskFold .journey-assistant .journey-heading { margin-top:0; }
.simple-journeys #journeyChart { height:350px; }
.simple-journeys .journey-simple-fold>.journey-segment { margin:14px 0; }
.simple-journeys .journey-simple-fold>summary:focus-visible,.journey-past>summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:700px) {
 .simple-journeys .journey-tabs { display:grid; grid-template-columns:1fr 1fr; }
 .simple-journeys .journey-entry-fields label:first-child { grid-column:auto; }
 #journeyTakeaway { gap:10px; display:grid; grid-template-columns:1fr; }
 .journey-comparison-line { grid-template-columns:70px 1fr auto; align-items:baseline; }
 .journey-comparison-line strong { font-size:14px; }
 .simple-journeys #journeyChart { height:300px; }
}
