/* Journey-only refinement. Data rendering and calculations remain unchanged. */
#journeyContent{padding-bottom:8px}
#journeyContent>.journeyReminderBar{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;margin:4px 18px 12px!important;padding:12px 42px 12px 13px!important;border:1px solid rgba(169,53,85,.2)!important;border-left:4px solid #A93555!important;border-radius:18px!important;background:#f6e4e7!important;box-shadow:none!important;color:#352d2d}
.journeyReminderBar .bell{width:40px;height:40px;border-radius:12px;background:#fff7f5;color:#A93555}.journeyReminderBar .bell svg{width:21px}.journeyReminderBar .reminderCopy{margin:0}.journeyReminderBar .reminderCopy b{display:block;font-size:14px;color:#3a3030}.journeyReminderBar .reminderCopy span{font-size:11px;color:#786566;margin-top:2px}.journeyReminderBar .journeyReminderAction{border:1px solid rgba(169,53,85,.28);background:#fffaf8;color:#96334f;border-radius:12px;padding:9px 11px;font-size:11px;font-weight:800;white-space:nowrap}.journeyReminderBar .journeyReminderClose{position:absolute;right:8px;top:6px;width:28px;height:28px;padding:4px;border:0;background:transparent;color:#8f6f76;display:grid;place-items:center}.journeyReminderBar .journeyReminderClose svg{width:16px;height:16px}
#journeyContent>.journeyShowcase{padding:18px 18px 16px!important;background:var(--itala-blush)!important;border-top:1px solid rgba(169,53,85,.13)!important}
#journeyContent>.journeyShowcase:before{display:none!important}.journeyIntro{min-height:82px!important;padding-bottom:13px!important;margin-bottom:13px!important}.journeyIntro h1{font-size:clamp(27px,7.4vw,31px)!important;margin:7px 0 0!important}.journeyMantra{margin-top:6px!important}.journeyProgressBox{padding:13px!important}.journeyLostChart{gap:9px!important}.journeyLost strong{font-size:clamp(30px,8vw,35px)!important;margin:6px 0!important}.miniChart{height:142px!important}.journeyFacts{gap:7px!important;margin-top:10px!important}.journeyFact{min-height:66px!important;padding:9px 8px!important}.journeyFact i{width:30px!important;height:30px!important;background:#a65f70!important;color:#fff!important}.journeyFact i svg{width:16px!important}.journeyFact b{font-size:13px!important}.journeyFact span{font-size:10px!important}
#journeyContent>.journeyActions{gap:4px!important;margin-top:10px!important;padding:10px 12px!important;scroll-behavior:smooth;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.journeyAction{flex-basis:80px!important;min-height:70px!important;padding:3px 2px!important;gap:1px}.journeyAction i{width:36px!important;height:36px!important;margin-bottom:3px!important;color:#9c5366}.journeyAction small{font-size:9px!important;margin-top:2px!important}
#journeyInsights{padding-top:4px}.insightHead{margin:14px 18px 8px!important}.insightCard{margin:0 18px!important;padding:14px!important}.insightTabs{margin-bottom:10px!important}.insightSummary{margin:10px 0 6px!important;padding:0!important}.insightChartWrap{margin-top:8px!important;min-height:180px!important;height:180px!important}.insightChart{min-height:164px!important;height:164px!important}.insightPatternGrid{margin:10px 18px!important;gap:8px!important}.insightPatternGrid>div{padding:12px!important;min-height:112px!important}.insightNote{margin:8px 18px 14px!important}
.doseSection>.sectionHead{margin-top:16px!important;margin-bottom:9px!important}.doseCard{padding:15px 18px!important;margin-bottom:8px!important;background:#fffaf7!important}.doseCard:nth-of-type(even){background:#f7e7e7!important}.doseName{font-size:19px!important}.activeTag{background:#f0d8dd!important;color:#8f334d!important;border:1px solid rgba(169,53,85,.18);padding:5px 8px!important}.dates{margin:4px 0 10px!important}.doseMetrics{padding:9px 6px!important}.doseWeeks{margin-top:11px!important;padding-top:9px!important}.doseWeeksHead{margin-bottom:5px!important}.doseWeekRow{min-height:36px!important;padding:7px 0!important}.doseWeeksNote{margin-top:6px!important}
.doseWeeksList{max-height:180px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}.doseWeeksList:focus-visible{outline:2px solid rgba(169,53,85,.45);outline-offset:3px;border-radius:8px}.doseWeeksList::-webkit-scrollbar{width:7px}.doseWeeksList::-webkit-scrollbar-track{background:rgba(169,53,85,.08);border-radius:999px}.doseWeeksList::-webkit-scrollbar-thumb{background:rgba(169,53,85,.42);border-radius:999px}
#journey .nav{min-height:72px!important;padding-top:5px!important;padding-bottom:calc(5px + env(safe-area-inset-bottom))!important}.view#journey{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
html[data-mode="dark"] #journeyContent>.journeyReminderBar{background:#453136!important;color:#fff}html[data-mode="dark"] .journeyReminderBar .reminderCopy b{color:#fff}html[data-mode="dark"] .doseCard{background:#292422!important}html[data-mode="dark"] .doseCard:nth-of-type(even){background:#37292c!important}
@media(max-width:365px){#journeyContent>.journeyReminderBar{grid-template-columns:38px 1fr;padding-right:36px!important}.journeyReminderBar .journeyReminderAction{grid-column:2;justify-self:start}.journeyFacts{grid-template-columns:1fr 1fr!important}.journeyFact{grid-template-columns:26px minmax(0,1fr)!important}.journeyFact i{width:26px!important;height:26px!important}.insightCard{margin-left:12px!important;margin-right:12px!important}.insightPatternGrid{margin-left:12px!important;margin-right:12px!important}}

/* Japanese action labels wrap inside the five-column mobile row. */
html[lang="ja"] #journeyContent>.journeyActions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html[lang="ja"] .journeyAction{width:100%;min-width:0!important;font-size:9px!important;line-height:1.2;white-space:normal!important;overflow-wrap:anywhere}
html[lang="ja"] .journeyAction small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.2;overflow-wrap:anywhere}
@media(max-width:380px){html[lang="ja"] .journeyAction{font-size:8px!important}html[lang="ja"] .journeyAction small{font-size:7px!important}}
