/* Wellness Companion development history. Deliberately scoped to its project page. */
.wellness-history{position:relative;padding:12px 0 110px;scroll-margin-top:115px}
.wellness-history .history-heading{max-width:830px}
.wellness-history .history-heading h2{font:700 clamp(26px,4vw,46px)/1.25 var(--display);letter-spacing:-.035em;color:#effaff;margin:14px 0 23px}
.wellness-history .history-heading>p:last-child{font-size:clamp(16px,1.55vw,19px);line-height:1.85;color:#bbcedb;max-width:780px}
.wellness-history .history-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 39px}
.wellness-history .history-jumps a{display:inline-flex;align-items:center;min-height:43px;padding:9px 15px;border:1px solid rgba(115,190,214,.31);border-radius:999px;background:rgba(16,40,56,.43);color:#b9e8f0;font-size:13px;font-weight:650;text-decoration:none;transition:background .2s,border-color .2s}
.wellness-history .history-jumps a:hover,.wellness-history .history-jumps a:focus-visible{background:rgba(22,67,84,.8);border-color:#7acadd;outline-offset:3px}
.wellness-history .history-timeline{position:relative;display:grid;gap:17px;padding-left:28px}
.wellness-history .history-timeline:before{content:"";position:absolute;left:8px;top:15px;bottom:15px;width:1px;background:linear-gradient(#66c4db,rgba(100,153,192,.38),rgba(153,117,206,.5))}
.wellness-history .history-event{position:relative;display:grid;grid-template-columns:minmax(145px,195px) minmax(0,1fr);gap:26px;padding:27px 32px 28px;border:1px solid rgba(127,170,191,.23);border-radius:15px;background:linear-gradient(122deg,rgba(18,38,54,.78),rgba(9,20,32,.49));box-shadow:0 12px 36px rgba(0,0,0,.13)}
.wellness-history .history-event:before{content:"";position:absolute;left:-26px;top:41px;width:11px;height:11px;border:2px solid #83d1e4;border-radius:50%;background:#091522;box-shadow:0 0 0 5px rgba(73,171,198,.09)}
.wellness-history .history-event-setback{border-color:rgba(211,157,113,.31);background:linear-gradient(125deg,rgba(50,36,31,.49),rgba(15,22,32,.54))}
.wellness-history .history-event-setback:before{border-color:#d6aa83;box-shadow:0 0 0 5px rgba(210,161,116,.1)}
.wellness-history .history-event-future{border-style:dashed;border-color:rgba(166,145,215,.46);background:linear-gradient(130deg,rgba(34,29,61,.57),rgba(11,23,36,.49))}
.wellness-history .history-event-future:before{border-color:#baa0ea;box-shadow:0 0 0 5px rgba(169,137,224,.1)}
.wellness-history .history-when{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.wellness-history .history-when>span{font:600 12px/1 var(--display);color:#85c6df;letter-spacing:.12em}
.wellness-history .history-when time{font:650 clamp(15px,1.65vw,19px)/1.45 var(--display);color:#ecf6fc}
.wellness-history .history-when small{font-size:12px;color:#a6bcca}
.wellness-history .history-topic{font:600 11px/1.6 var(--display);letter-spacing:.12em;color:#8fd6e5}
.wellness-history .history-content h3,.wellness-history .history-next h3{font:700 clamp(18px,2.1vw,25px)/1.42 var(--display);letter-spacing:-.026em;color:#eaf6fb;margin:10px 0 14px}
.wellness-history .history-content>p,.wellness-history .history-next p{font-size:15px;line-height:1.85;color:#c4d1dc;margin:0}
.wellness-history .history-content details{margin-top:20px;border-top:1px solid rgba(144,175,190,.2);padding-top:14px}
.wellness-history .history-content summary{color:#91dbe7;font-weight:650;font-size:14px;cursor:pointer;min-height:32px;list-style-position:outside}
.wellness-history .history-content summary:hover{color:#d1f7fb}
.wellness-history .history-content summary:focus-visible{outline:2px solid #8cdded;outline-offset:5px;border-radius:3px}
.wellness-history .history-content details>div{padding:9px 0 2px 12px;border-left:2px solid rgba(121,201,221,.35)}
.wellness-history .history-content details p{margin:6px 0 14px;color:#b5c8d6;font-size:14px;line-height:1.86}
.wellness-history .history-next{display:grid;grid-template-columns:1.3fr 1fr;gap:7%;align-items:start;margin-top:30px;padding:34px 37px;border:1px solid rgba(105,186,204,.32);border-radius:16px;background:linear-gradient(115deg,rgba(12,43,56,.65),rgba(24,22,48,.48))}
.wellness-history .history-next>p{border-left:2px solid rgba(138,211,225,.55);padding-left:24px}
.wellness-history .history-next strong{color:#e3f6fb}
.wellness-history [id="ecg-journey"],.wellness-history [id="bp-journey"],.wellness-history [id="design-journey"],.wellness-history [id="next-journey"]{scroll-margin-top:120px}
@media (max-width:860px){.wellness-history{padding-bottom:84px}.wellness-history .history-event{grid-template-columns:145px minmax(0,1fr);gap:20px;padding:25px}.wellness-history .history-next{grid-template-columns:1fr;gap:22px}.wellness-history .history-next>p{padding-left:18px}}
@media (max-width:630px){.wellness-history{padding-top:4px;padding-bottom:75px}.wellness-history .history-heading h2{font-size:clamp(24px,6.2vw,32px)}.wellness-history .history-heading>p:last-child{font-size:15px}.wellness-history .history-jumps{gap:8px;margin:24px 0 30px}.wellness-history .history-jumps a{font-size:12px;min-height:39px;padding:8px 12px}.wellness-history .history-timeline{padding-left:19px;gap:13px}.wellness-history .history-timeline:before{left:4px}.wellness-history .history-event:before{left:-20px;top:28px;width:9px;height:9px}.wellness-history .history-event{grid-template-columns:1fr;gap:13px;padding:20px 18px;border-radius:13px}.wellness-history .history-when{flex-direction:row;flex-wrap:wrap;gap:7px 10px;align-items:baseline}.wellness-history .history-when time{font-size:14px}.wellness-history .history-when small{flex-basis:100%}.wellness-history .history-content h3{font-size:18px}.wellness-history .history-content>p{font-size:14px}.wellness-history .history-content details p{font-size:13px}.wellness-history .history-next{padding:23px 19px}.wellness-history .history-next p{font-size:14px}}
@media (prefers-reduced-motion:reduce){.wellness-history .history-jumps a{transition:none}}
