.journey{display:grid;gap:16px;max-width:1100px;margin-inline:auto}.journey h2,.journey h3,.journey p{margin:0}.journey h2{font-size:27px;line-height:1.2}.journey h3{font-size:17px}.journey-panel>p,.journey-indicator p,.journey-timeline p,.journey-assistant p{color:var(--muted);line-height:1.5;margin-top:5px}.journey-hero{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:28px;background:linear-gradient(115deg,#002a5d,#073760);color:#fff;padding:30px;border-radius:20px}.journey-hero .eyebrow{color:#78daff;margin-bottom:18px}.journey-hero h2{font-size:38px;font-weight:400;letter-spacing:-1.4px}.journey-hero h2 b{font-weight:700}.journey-hero>div>p:last-child{color:#c5d9ec;margin-top:16px;font-size:19px}.journey-consistency{display:grid;gap:9px;color:#c5d9ec}.journey-consistency strong{font-size:46px;line-height:1.1;color:white}.journey-meter{height:14px;border-radius:20px;background:#ffffff29;overflow:hidden}.journey-meter i{display:block;width:78%;height:100%;background:var(--sky);border-radius:inherit}.journey-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:14px;background:#fff;border:1px solid var(--line);border-radius:20px}.journey-week button{border:0;background:none;font:inherit;color:var(--muted);display:grid;justify-items:center;gap:9px;padding:12px 4px;border-radius:13px;cursor:pointer;position:relative}.journey-week button+button:before{content:'';position:absolute;left:0;top:12px;bottom:12px;border-left:1px solid var(--line)}.journey-week button.selected{background:var(--navy);color:white}.journey-week button.selected:before,.journey-week button.selected+button:before{display:none}.journey-week b{font-size:23px;color:var(--navy)}.journey-week .selected b{color:white}.journey-week i{font-style:normal;font-size:20px;line-height:23px;color:#d6dee6;width:23px;height:23px}.journey-week .done{background:var(--sky);color:white;border-radius:50%;font-size:15px}.journey-week>p{grid-column:1/-1;text-align:center;font-size:11px;color:var(--muted);margin-top:12px}.journey-panel{padding:26px;background:white;border:1px solid var(--line);border-radius:20px}.journey-indicator{display:grid;grid-template-columns:48px minmax(0,1.5fr) minmax(100px,1fr) 130px 18px;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.journey-indicator:last-child{border:0;padding-bottom:0}.journey-symbol{width:48px;height:48px;display:grid;place-items:center;background:#edf8ff;border-radius:50%;color:var(--blue)}.journey-symbol .icon{width:26px;height:26px}.journey-indicator strong{font-size:20px}.journey-indicator small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.journey-spark{color:var(--sky)}.journey-spark svg{width:100%;display:block}.journey-timeline{margin-top:18px}.journey-timeline a{display:grid;grid-template-columns:90px 1fr 18px;align-items:center;gap:22px;padding:14px 0 14px 24px;position:relative}.journey-timeline a:before{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:var(--blue);left:0;top:21px}.journey-timeline a:first-child:after{content:'';position:absolute;left:4px;top:30px;height:calc(100% - 8px);border-left:2px solid var(--sky)}.journey-timeline time{color:var(--muted);font-weight:600}.journey-assistant{display:flex;align-items:center;gap:20px;border:1px solid #a5ddff;background:#eff9ff;padding:24px;border-radius:20px}.journey-assistant>.mh-assistant-orb{flex-shrink:0;width:58px;height:58px}.journey-assistant>div{flex:1}.journey-assistant h2{font-size:20px}.journey-assistant .btn{background:#fff;color:var(--blue);border:1px solid var(--blue);white-space:nowrap}.journey a:focus-visible,.journey button:focus-visible{outline:3px solid var(--sky);outline-offset:3px}.home-flow-column{display:grid;gap:22px;min-width:0}.student-home-grid>.day-side{min-width:0}
@media(max-width:760px){.journey{gap:12px}.journey-hero{padding:22px 18px;gap:18px;grid-template-columns:1.2fr 1fr}.journey-hero h2{font-size:27px;letter-spacing:-.8px}.journey-hero>div>p:last-child{font-size:12px;margin-top:12px}.journey-hero .eyebrow{font-size:10px;margin-bottom:12px}.journey-consistency{font-size:11px}.journey-consistency strong{font-size:34px}.journey-meter{height:9px}.journey-week{padding:8px}.journey-week button{font-size:9px;gap:7px;padding:10px 2px}.journey-week b{font-size:19px}.journey-week i{font-size:16px}.journey-panel{padding:20px 16px}.journey h2{font-size:22px}.journey-panel>p{font-size:12px}.journey-indicator{grid-template-columns:34px minmax(0,1fr) auto 12px;gap:9px;padding:17px 0}.journey-symbol{width:34px;height:34px}.journey-symbol .icon{width:20px;height:20px}.journey h3{font-size:13px}.journey-indicator p{font-size:10px}.journey-indicator strong{font-size:14px}.journey-indicator small{font-size:10px}.journey-spark{display:none}.journey-indicator>.icon,.journey-timeline .icon{width:14px}.journey-timeline a{grid-template-columns:45px 1fr 12px;gap:12px;padding-left:18px}.journey-timeline time,.journey-timeline p{font-size:11px}.journey-assistant{display:grid;grid-template-columns:42px 1fr;padding:18px;gap:13px}.journey-assistant>.mh-assistant-orb{width:42px;height:42px}.journey-assistant h2{font-size:17px}.journey-assistant p{font-size:12px}.journey-assistant .btn{grid-column:1/-1;width:100%}.home-flow-column{display:contents}}

/* Keep the approved trend graphics on small screens, below each metric. */
@media(max-width:760px){
  .journey .journey-indicator{grid-template-columns:34px minmax(0,1fr) auto 12px;row-gap:8px}
  .journey .journey-spark{display:block;grid-column:2/4;grid-row:2;width:100%;max-width:150px;justify-self:end}
  .journey .journey-spark svg{height:32px}
  .journey .journey-indicator>.icon{grid-column:4;grid-row:1/3}
  .student-home-grid>.day-side{display:contents}
  .student-home-grid .day-training{order:1}
  .student-home-grid .day-side>.panel:not(.day-coach):not(.day-care){order:2}
  .student-home-grid .day-coach{order:3}
  .student-home-grid .day-cycle{order:4}
  .student-home-grid .day-care{order:5}
}
/* Compact indicator rows: label left, metric and spark together on the right. */
@media(max-width:760px){
 .journey .journey-indicator{grid-template-columns:30px minmax(0,1fr) 84px 10px;column-gap:8px;row-gap:3px;padding:13px 0;align-items:center}
 .journey .journey-indicator>.journey-symbol{grid-column:1;grid-row:1/3;width:30px;height:30px}
 .journey .journey-indicator>div{grid-column:2;grid-row:1/3;min-width:0}
 .journey .journey-indicator>strong{grid-column:3;grid-row:1;text-align:right;font-size:13px;align-self:end}
 .journey .journey-indicator>.journey-spark{grid-column:3;grid-row:2;width:84px;max-width:100%;align-self:start}
 .journey .journey-spark svg{height:23px}
 .journey .journey-indicator>.icon{grid-column:4;grid-row:1/3;width:10px}
 .journey .journey-indicator h3{font-size:12px;line-height:1.4}
 .journey .journey-indicator p{font-size:10px;line-height:1.4;margin-top:3px}
 .journey .journey-indicator strong small{font-size:9px;margin-top:2px}
 .journey .journey-indicator:last-child{padding-bottom:2px}
}
/* Same day-row geometry and selected state as Evolution, with home handlers intact. */
.home-week-panel .day-week{gap:0;grid-template-columns:repeat(7,minmax(0,1fr))}
.home-week-panel .day-week>button{position:relative;display:grid;justify-items:center;align-content:center;gap:9px;padding:12px 2px;border:0;border-radius:13px;background:transparent;color:var(--muted);box-shadow:none}
.home-week-panel .day-week>button+button:before{content:'';position:absolute;left:0;top:12px;bottom:12px;border-left:1px solid var(--line)}
.home-week-panel .day-week>button>span{text-transform:uppercase;font-size:10px}
.home-week-panel .day-week>button>b{font-size:23px;margin:0;color:var(--navy)}
.home-week-panel .day-week>button>small{display:grid;place-items:center;width:23px;height:23px;line-height:23px;font-size:18px;color:#d6dee6}
.home-week-panel .day-week>button.done>small{background:var(--sky);border-radius:50%;color:white;font-size:15px}
.home-week-panel .day-week>button.today>small{font-size:9px}
.home-week-panel .day-week>button[aria-pressed=true]{background:var(--navy);color:#fff;box-shadow:none;border:0}
.home-week-panel .day-week>button[aria-pressed=true]>b{color:#fff}
.home-week-panel .day-week>button[aria-pressed=true]:before,.home-week-panel .day-week>button[aria-pressed=true]+button:before{display:none}
.home-week-panel .day-week>button:focus-visible{outline:2px solid var(--sky);outline-offset:2px}
.home-week-legend i{background:var(--sky)}
@media(max-width:760px){.home-week-panel{padding:16px 10px}.home-week-panel>header{padding:0 6px;margin-bottom:12px}.home-week-panel .day-week>button{padding:10px 2px;gap:7px}.home-week-panel .day-week>button>b{font-size:19px}.home-week-panel .day-week>button>span{font-size:9px}.home-week-legend,#home-day-detail{margin-left:6px;margin-right:6px}}
.journey-retry{justify-self:start;margin-top:-8px;transition:transform .18s ease,box-shadow .18s ease}.journey-retry:hover{transform:translateY(-1px);box-shadow:0 5px 14px #002a5d18}.journey-retry:active{transform:translateY(0)}
