.data-button{padding:9px 12px;border:1px solid #d7ded8;border-radius:9px;gap:9px;background:#fff}.data-button strong{font-size:14px;color:#294a3c;font-weight:600}.data-button #dataDate{font-size:12px}.header-coach{display:none}
.app{min-height:680px}.plan{padding-top:22px}.plan-heading .eyebrow{margin-bottom:4px}.plan-heading h2{font-size:24px}.week-controls{margin-top:12px}.week-controls>div{gap:3px}.week-controls small{font-size:12px}.week-stats{padding:10px 0;font-size:12px}.week-stats strong{font-size:14px}.plan-footer{min-height:32px;font-size:11px;line-height:1.4}.plan-footer .text-button{font-size:12px}
.plan-content{display:grid;grid-template-rows:repeat(7,minmax(0,1fr));gap:0;overflow:visible;min-height:0;padding:7px 0;flex:1}.day-row,.day-row.today{margin:0;min-height:0}.day-row.today{border-radius:9px}.day-button{height:100%;padding:6px 7px;gap:10px;align-items:center}.day-main{gap:2px;min-width:0}.day-main>strong{display:block;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-meta{font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-note{font-size:12px;line-height:1.4;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-date{gap:2px;min-width:30px}.day-date small{font-size:11px}.day-date strong{font-size:19px}.today .day-date strong{width:30px;height:30px}.today-tag{font-size:10px;padding:2px 5px;vertical-align:middle}.row-status{display:none}.day-chevron{padding-top:0}.plan-content.is-detail{display:block;overflow:auto}.plan-content.is-detail .session-detail{padding-top:4px}
.command{min-height:190px;padding:13px 36px 12px}.command-top{margin-bottom:11px;gap:14px}.chat-actions{display:flex;gap:9px;margin-left:auto}.chat-actions .secondary{font-size:14px;padding:8px 12px}.command form{align-items:flex-end;padding:11px 11px 11px 15px}.command textarea{display:block;flex:1;min-width:0;min-height:62px;max-height:180px;resize:vertical;border:0;background:none;outline:0;font:inherit;font-size:16px;line-height:1.6;color:#294a3c}.command textarea::placeholder{color:#6c7f71}.send{width:40px;height:40px}.composer-meta{display:flex;gap:18px;justify-content:space-between;font-size:12px;color:#5e6b70;margin-top:8px}.composer-meta #activeChatTitle{max-width:45%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#365246}.conversation{width:640px}.conversation-heading>div{min-width:0}.conversation-heading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}.history-item{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;text-align:left;padding:15px;border:1px solid #e2e7e2;border-radius:10px}.history-item:hover{background:#f3f7ef}.history-item strong{font-size:15px;font-weight:600}.history-item span{font-size:12px;color:#5e6b70}.history-item small{font-size:14px;color:#5e6b70;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:1.6;overflow-wrap:anywhere}.data-summary{margin:16px 0;border-block:1px solid #e2e7e2}.data-summary>div{display:flex;gap:18px;justify-content:space-between;padding:11px 0;font-size:14px;line-height:1.6}.data-summary span{color:#5e6b70}.data-summary strong{font-size:14px;text-align:right;font-weight:550}.connection-row{padding:13px}.connection-row small{font-size:13px}.connection-row>span{font-size:12px}.dialog-content #dataRefreshResult{font-size:14px;line-height:1.7}
@media(max-height:850px) and (min-width:951px){.app{min-height:640px}.topbar{height:62px}.command{min-height:169px;padding-top:10px;padding-bottom:10px}.command textarea{min-height:48px;line-height:1.5}.command form{padding:8px 10px 8px 13px}.command-top{margin-bottom:8px}.coach-avatar{height:30px;width:30px}.plan{padding-top:15px}.plan-heading h2{font-size:22px}.plan-heading .eyebrow{font-size:11px}.week-controls{margin-top:8px}.week-stats{padding:8px 0}.day-note{display:none}.day-button{padding:4px 6px}.plan-footer{min-height:29px}.main{padding-top:20px}.page-heading h1{font-size:28px}}
@media(max-width:950px){.app{height:auto;min-height:100dvh}.plan{padding:22px 24px 0}.plan-content:not(.is-detail){flex:none;min-height:0;height:auto;grid-template-rows:repeat(7,70px);max-height:none;overflow:visible}.plan-content.is-detail{max-height:none;overflow:visible}.day-note{display:block}.plan-footer{padding:9px 0}.command{padding-left:24px;padding-right:24px}}
@media(max-width:600px){.data-button{padding:7px 9px}.data-button #dataDate{display:none}.header-right{gap:10px}.command{padding:12px 14px;min-height:190px}.command-top{gap:8px;flex-wrap:wrap}.coach-brand{gap:8px}.coach-identity small{display:none}.ai-status{font-size:11px;margin-left:0}.chat-actions{gap:6px}.chat-actions .secondary{font-size:13px;padding:7px 9px}.command textarea{min-height:67px;font-size:16px}.composer-meta{gap:9px;font-size:11px}.composer-meta>span:last-child{display:none}.composer-meta #activeChatTitle{max-width:55%}.plan{padding-left:18px;padding-right:18px}.plan-content:not(.is-detail){grid-template-rows:repeat(7,67px)}.day-main>strong{font-size:14px}.day-meta,.day-note{font-size:12px}.data-summary>div{gap:12px;font-size:13px}.data-summary strong{font-size:13px}.connection-row small{font-size:13px}.conversation{max-height:calc(100dvh - var(--command-height,190px) - 90px)}}

.plan,.plan-content,.day-row{min-width:0}.plan-content{grid-template-columns:minmax(0,1fr)}

/* Indury: one central workspace, with a stable week alongside it. */
.dashboard{grid-template-columns:minmax(0,1fr) 380px}.main{min-width:0}.overview-view{display:flex;flex-direction:column;flex:1;min-height:min-content}.workspace-nav{display:flex;align-items:center;gap:16px;margin-bottom:22px;flex-shrink:0}.workspace-nav>span{font-size:14px;color:#5e6b70;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-nav button{font-size:14px}.workout-view{outline:none;min-width:0}.workout-card{background:#fff;border:1px solid #e2e7e2;border-radius:16px;padding:28px;max-width:1040px;margin:auto}.workout-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.workout-heading .eyebrow{font-size:14px;letter-spacing:.8px}.workout-heading h1{font-size:32px;line-height:1.25}.workout-status{flex-shrink:0;background:#eff3ee;color:#45634e;font-size:14px;border-radius:7px;padding:7px 10px;max-width:190px}.workout-status.changed,.workout-status.review{background:#fbf2df;color:#805b20}.workout-summary{font-size:17px;line-height:1.65;color:#425a4d;margin-top:16px}.workout-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:22px 0 24px}.workout-actions .primary{font-size:16px;font-weight:600;padding:12px 18px}.workout-actions>span{font-size:13px;color:#5e6b70}.workout-tabs{display:flex;gap:22px;border-bottom:1px solid #e2e7e2;overflow-x:auto}.workout-tabs button{white-space:nowrap;font-size:15px;padding:12px 0;color:#5e6b70;border-bottom:3px solid transparent}.workout-tabs button[aria-selected=true]{color:#15634e;border-color:#187d64;font-weight:600}.workout-panel{padding-top:24px;min-width:0}.section-title{font-size:17px;font-weight:600;margin:0 0 16px;letter-spacing:-.2px}.comparison-table{border-collapse:collapse;width:100%;margin:6px 0 24px;font-size:16px}.comparison-table th,.comparison-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #e9eee8;line-height:1.5}.comparison-table thead th{font-size:14px;font-weight:550;color:#5e6b70;background:#f6f8f4}.comparison-table th[scope=row]{font-size:14px;font-weight:500;color:#5e6b70;width:27%}.comparison-table td{width:36.5%;font-weight:550;color:#294a3c}.comparison-table td:last-child{background:#f7faf5}.workout-card .assessment{margin:24px 0 0;padding:20px}.workout-card .assessment-label{font-size:14px;letter-spacing:0;text-transform:none;font-weight:600}.workout-card .assessment p,.workout-copy,.workout-empty{font-size:16px;line-height:1.8;color:#425a4d}.workout-copy{margin:18px 0}.workout-empty{padding:22px;background:#f6f8f4;border-radius:9px}.workout-card .source-session{font-size:16px;line-height:1.8;color:#425a4d;background:#f6f8f4;border-color:#e2e7e2}.workout-card .review-note{font-size:14px!important;line-height:1.7;margin-top:18px}.workout-card .lap-table{font-size:15px}.workout-card .lap-table td,.workout-card .lap-table th{padding:13px 8px;border-color:#e2e7e2}.workout-card .fuel-row{font-size:16px;padding:16px 0}.day-row.selected:not(.today){background:#edf4f0;border:1px solid #87b5a2;border-radius:9px}.day-row.selected{outline:2px solid #187d64;outline-offset:-2px}.day-row.selected .day-chevron{font-size:11px;font-weight:600;color:#187d64;align-self:center}.day-row.today:not(.selected){animation:none}.day-note{color:#607369}
.chat-view{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;border:1px solid #e2e7e2;border-radius:15px;background:#fff;overflow:hidden}.chat-view .conversation{position:static;inset:auto;display:flex;width:auto;max-width:none;max-height:none;flex:1;min-height:0;border:0;border-radius:0;box-shadow:none;z-index:auto}.chat-view .conversation-heading{padding:19px 22px;min-height:66px;flex-shrink:0}.chat-view .conversation-heading strong{font-size:17px;white-space:normal;line-height:1.5;color:#294a3c}.chat-view .messages{flex:1;padding:22px;min-height:110px}.chat-view .messages:empty:before{content:'Ask Enzo about this workout or your next session. Your conversation stays here.';display:block;font-size:16px;line-height:1.8;color:#5e6b70;max-width:540px;padding:12px 0}.chat-view .message{font-size:16px;line-height:1.75;max-width:90%}.chat-view .message.user{margin-left:auto}.chat-view .message.system{font-size:14px}.chat-view .command{position:static;min-height:0;padding:18px 22px;z-index:auto}.chat-view .command textarea{min-height:78px}.chat-mode .main{overflow:hidden}.chat-mode #commandDock{display:none}.chat-mode .dashboard{min-height:0}.chat-view .command-top .coach-identity small{display:none}.chat-view .context-chip{font-size:14px;line-height:1.5;gap:8px;padding:10px 12px;background:#edf4ee;border-radius:8px}.chat-view .composer-meta>span:last-child{display:none}.chat-view .chat-actions .secondary{font-size:13px;padding:7px 10px}.chat-view .command-top{flex-wrap:wrap}.chat-view .ai-status{font-size:12px}.main:focus-within{scroll-behavior:auto}
@media(min-width:1550px){.dashboard{grid-template-columns:minmax(0,1fr) 410px}}
@media(max-height:850px) and (min-width:951px){.workout-card{padding:23px}.workout-heading h1{font-size:28px}.workspace-nav{margin-bottom:16px}.workout-actions{margin:17px 0}.workout-summary{font-size:16px}.chat-view .command{padding:13px 20px}.chat-view .command textarea{min-height:55px}}
@media(max-width:1100px) and (min-width:951px){.dashboard{grid-template-columns:minmax(0,1fr) 330px}.workout-card{padding:20px}.workout-heading{flex-direction:column;gap:12px}.workout-tabs{gap:19px}.chat-view .command-top{gap:8px}.chat-view .chat-actions{margin-left:0}.chat-view .comparison-table{font-size:14px}}
@media(max-width:950px){.dashboard{display:flex;flex-direction:column}.main{flex:none}.app{padding-bottom:calc(var(--command-height,190px) + 18px)}.chat-mode{padding-bottom:0}.chat-mode .main{min-height:600px;height:calc(100dvh - 72px);display:flex;flex-direction:column}.chat-mode .plan{margin-top:20px}.chat-view{min-height:0}.workout-card{max-width:none}.workout-heading h1{font-size:29px}.workspace-nav{margin-bottom:17px}.day-row.selected .day-chevron{font-size:12px}}
@media(max-width:600px){.brand{font-size:27px;letter-spacing:-1px}.brand img{width:34px;height:34px}.workout-card{padding:20px 16px;border-radius:12px}.workout-heading{flex-direction:column;gap:12px}.workout-heading .eyebrow{font-size:13px}.workout-heading h1{font-size:27px}.workout-status{font-size:13px}.workout-summary{font-size:16px}.workout-actions{gap:10px}.workout-tabs{gap:20px}.workout-tabs button{font-size:14px}.comparison-table{font-size:14px}.comparison-table th,.comparison-table td{padding:12px 6px}.comparison-table th[scope=row]{font-size:13px}.workout-card .assessment{padding:16px}.chat-view .command{padding:13px}.chat-view .command textarea{min-height:80px}.chat-view .messages{padding:16px}.chat-view .conversation-heading{padding:15px}.chat-view .conversation-heading strong{font-size:16px}.chat-mode .main{height:calc(100dvh - 65px);padding:16px 12px;min-height:600px}.workspace-nav>span{font-size:12px}.workspace-nav{gap:10px}.workspace-nav .secondary{font-size:13px}.chat-view .context-chip{font-size:13px}.chat-view .chat-actions{margin-left:auto}}

.context-chip>svg{width:18px;height:18px;flex-shrink:0}.chat-view .command{flex-shrink:0}.chat-view .conversation{overflow:hidden}

/* Split prescriptions and calendar interactions. */
.split-intro{font-size:16px;line-height:1.7;color:#425a4d;margin-bottom:16px}.split-note{font-size:14px;line-height:1.7;color:#5e6b70;padding:10px 12px;background:#f3f6f1;border-radius:7px;margin:8px 0}.split-table-wrap{overflow-x:auto;margin-top:22px}.split-comparison{border-collapse:collapse;width:100%;font-size:15px;min-width:600px}.split-comparison th,.split-comparison td{padding:15px 12px;border-bottom:1px solid #e2e7e2;vertical-align:top;text-align:left;line-height:1.6}.split-comparison thead{background:#f5f7f3}.split-comparison thead th{font-size:14px;color:#5e6b70;font-weight:550}.split-comparison th[scope=row]{font-size:14px;font-weight:550;max-width:155px}.split-comparison td:nth-child(3){background:#f7faf5}.split-comparison small{display:block;color:#5e6b70;font-size:13px;margin-top:6px;line-height:1.6}.split-comparison .split-reason{font-size:12px;color:#687970}.split-delta{font-size:14px;min-width:110px}.split-unknown{font-size:14px;color:#5e6b70}.unmatched-laps{margin-top:22px;padding:17px;border:1px solid #e2e7e2;border-radius:9px;overflow:auto}.unmatched-laps summary{cursor:pointer;font-size:14px;color:#187d64}.unmatched-laps>p{font-size:14px;color:#5e6b70;line-height:1.7;margin:14px 0}.workout-garmin{display:flex;gap:14px;align-items:center;flex-wrap:wrap;border-top:1px solid #e2e7e2;margin-top:25px;padding-top:20px}.workout-garmin span{font-size:13px;color:#5e6b70}.day-row{position:relative}.day-button{padding-bottom:24px}.day-note{display:none}.garmin-push{position:absolute;bottom:3px;left:47px;padding:0 4px;line-height:20px;font-size:13px;color:#187d64;text-align:left;text-decoration:underline;text-underline-offset:3px}.garmin-push:disabled{color:#758079;opacity:.65;text-decoration:none;cursor:default}.day-row.movable .day-button{cursor:grab}.day-row.movable .day-button:active{cursor:grabbing}.drag-grip{position:absolute;right:5px;top:6px;color:#82958a;font-size:16px;opacity:.7}.day-row.movable .day-chevron{visibility:hidden}.day-row.dragging{opacity:.45}.day-row.drop-target{outline:2px dashed #187d64;outline-offset:-2px;background:#e5f2e6!important}.week-garmin{padding:10px 0 5px;flex-shrink:0}.week-garmin button{width:100%;font-size:14px;padding:9px 8px}.week-garmin small{display:block;text-align:center;font-size:11px;color:#5e6b70;line-height:1.5;margin-top:5px}.move-notice{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px;background:#edf4ee;border-radius:7px;margin-top:6px;flex-shrink:0}.move-notice span{font-size:12px;color:#425a4d}.move-notice button{font-size:13px;white-space:nowrap}.garmin-state{display:inline-block;padding:5px 9px;background:#f7f0df;border-radius:6px;color:#805b20;font-size:14px}.garmin-selection{max-height:280px;overflow:auto}.garmin-selection>div{padding:13px 0;border-bottom:1px solid #e2e7e2}.garmin-selection strong{display:block;font-size:14px;font-weight:550}.garmin-selection small{display:block;font-size:13px;line-height:1.7;color:#5e6b70;margin-top:6px}.dialog-content .garmin-not-sent{font-size:14px;color:#5e6b70}.garmin-push:focus-visible{outline:2px solid #83b69a;outline-offset:2px}
@media(max-height:850px) and (min-width:951px){.day-meta{display:block}.day-button{padding-top:2px;padding-bottom:22px}.day-date{flex-direction:row;align-items:center;gap:3px;min-width:40px}.day-date small{font-size:10px}.day-date strong{font-size:16px}.today .day-date strong{width:24px;height:24px}.day-main>strong{font-size:13px}.garmin-push{left:55px;font-size:12px;line-height:17px;bottom:1px}.week-garmin{padding-top:7px}.week-garmin button{font-size:13px;padding:7px}.week-garmin small{display:none}.move-notice{padding:5px}.plan-footer{font-size:10px}}
@media(max-width:950px){.plan-content:not(.is-detail){grid-template-rows:repeat(7,80px)}.day-meta{display:block}.garmin-push{font-size:14px;left:48px;bottom:7px}.day-button{padding-bottom:29px}.week-garmin small{font-size:12px}.week-garmin{padding:14px 0}.plan-content{overflow:visible}.drag-grip{top:12px}}
@media(min-width:951px){.plan{padding-top:17px}.plan-footer{min-height:24px}.week-controls{margin-top:8px}.week-garmin{padding-top:8px;padding-bottom:3px}.day-button{height:calc(100% - 20px);padding:1px 7px}.garmin-push{bottom:1px;line-height:19px}.plan:has(#moveNotice:not([hidden])) .day-date{flex-direction:row;align-items:center;min-width:43px;gap:3px}.plan:has(#moveNotice:not([hidden])) .day-date small{font-size:10px}.plan:has(#moveNotice:not([hidden])) .day-date strong{font-size:16px}.plan:has(#moveNotice:not([hidden])) .today .day-date strong{height:24px;width:24px}.plan:has(#moveNotice:not([hidden])) .garmin-push{left:58px}}

/* Dense rows keep all metrics visible before and after a move. */
.plan .plan-content,.plan .plan-content:not(.is-detail){flex:0 0 auto;grid-template-rows:repeat(7,50px);height:auto;min-height:0;padding:2px 0;margin-top:4px;overflow:visible}
.plan .day-row,.plan .day-row.today{min-height:0;height:50px;margin:0;border-radius:5px}
.plan .day-button{height:100%;min-height:0;padding:7px 6px;gap:7px;align-items:center}
.plan .day-date,.plan:has(#moveNotice:not([hidden])) .day-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:30px;width:30px;line-height:1}
.plan .day-date small,.plan:has(#moveNotice:not([hidden])) .day-date small{font-size:10px;line-height:11px}
.plan .day-date strong,.plan:has(#moveNotice:not([hidden])) .day-date strong{font-size:17px;line-height:21px}
.plan .today .day-date strong,.plan:has(#moveNotice:not([hidden])) .today .day-date strong{height:22px;width:26px;border-radius:5px}
.plan .day-main{gap:0;min-width:0;align-self:center;width:calc(100% - 37px)}
.plan .day-main>strong{font-size:14px;line-height:18px;padding-right:15px}
.plan .day-meta,.plan:has(#moveNotice:not([hidden])) .day-meta{display:block!important;font-size:12px;line-height:16px;max-width:calc(100% - 95px);overflow:visible;white-space:nowrap;text-overflow:clip}
.plan .day-note,.plan .day-chevron{display:none}
.plan .drag-grip{top:3px;right:5px;font-size:14px;line-height:16px}
.plan .garmin-push,.plan:has(#moveNotice:not([hidden])) .garmin-push{left:auto;right:5px;bottom:9px;padding:0 2px;font-size:12px;line-height:16px}
.plan .today-tag{font-size:9px;padding:1px 4px;line-height:14px}
.plan .week-controls{margin-top:6px}.plan .week-stats{padding:6px 0}.plan .week-garmin{padding:6px 0 3px}.plan .week-garmin button{padding:6px 8px;font-size:14px}.plan .week-garmin small{font-size:11px;margin-top:3px}.plan .move-notice{padding:5px 7px;margin-top:4px}.plan .plan-footer{min-height:24px;padding:4px 0}
.splits-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.splits-heading .section-title{margin:0}.splits-heading>span{font-size:12px;color:#5e6b70;white-space:nowrap}
.workout-panel .split-table-wrap{margin-top:0}.workout-panel .split-comparison{min-width:750px;font-size:13px;table-layout:auto}
.workout-panel .split-comparison th,.workout-panel .split-comparison td{height:29px;padding:4px 7px;line-height:20px;vertical-align:middle;white-space:nowrap}
.workout-panel .split-comparison thead th{font-size:12px;line-height:18px;padding-block:5px}
.workout-panel .split-comparison th[scope=row]{font-size:13px;font-weight:500;max-width:none}
.workout-panel .split-comparison td:nth-child(3){background:none}.workout-panel .split-comparison td:nth-child(4),.workout-panel .split-comparison td:nth-child(5){background:#f7faf5}
.workout-panel .split-delta{font-size:13px;min-width:66px}.workout-panel .split-unknown{font-size:13px}.workout-panel .split-hr{font-variant-numeric:tabular-nums;font-size:12px}
.split-info{display:grid;place-items:center;width:20px;height:20px;padding:0;border:1px solid #b6c7bd;border-radius:50%;font-size:12px;color:#5e6b70;line-height:1}
.split-method{margin-top:10px;font-size:13px;color:#5e6b70}.split-method summary{cursor:pointer;color:#187d64;line-height:24px}.split-method p{font-size:13px;line-height:1.6;margin:6px 0}
.workout-panel .unmatched-laps{margin-top:10px;padding:8px 10px}.workout-panel .lap-table td,.workout-panel .lap-table th{padding:4px 7px;font-size:13px;line-height:20px}.workout-panel .unmatched-laps>p{margin:6px 0;font-size:13px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:951px) and (max-width:1100px){.dashboard{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:950px){.plan{padding-top:16px}.plan .plan-content:not(.is-detail){grid-template-rows:repeat(7,50px)}.splits-heading{align-items:flex-start;flex-wrap:wrap}.splits-heading>span{font-size:11px}.workout-panel .split-comparison{min-width:750px}}
@media(max-width:360px){.plan .garmin-push span{display:none}.plan .day-meta{max-width:calc(100% - 58px)}}

.schedule-note{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0 12px}.day-button[draggable="true"]{cursor:grab}.day-button[draggable="true"]:active{cursor:grabbing}

/* Recovery context alongside the next finish line. */
.page-heading{align-items:flex-start;gap:28px}.goal-heading{flex:1;min-width:0}.goal-heading #goalsBtn{display:inline-block;margin-top:9px;font-size:13px}
.recovery-strip.feeling-card{display:flex;flex-direction:column;align-items:stretch;gap:13px;flex:0 0 268px;margin:0;padding:15px 18px;background:#fff;border:1px solid var(--line);border-radius:12px}
.feeling-card .recovery-title{gap:11px;min-width:0;line-height:1.4}.feeling-card .feeling-emoji{font-size:29px;line-height:1}.feeling-card #feelingHeading{font-size:15px;font-weight:600;letter-spacing:0;color:var(--ink)}.feeling-card .recovery-title small{font-size:12px;margin-top:4px}
.recovery-strip.feeling-card>.feeling-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feeling-metrics>div{display:flex;flex-direction:column;gap:4px}.feeling-metrics strong{font-size:21px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.feeling-metrics span{font-size:12px;color:var(--muted)}
@media(min-width:951px) and (max-width:1250px){.page-heading{gap:16px;flex-wrap:wrap}.recovery-strip.feeling-card{flex:1 0 240px;max-width:100%;flex-direction:row;align-items:center;justify-content:space-between}.feeling-card .feeling-metrics{min-width:225px}}
@media(max-width:700px){.page-heading{flex-direction:column;gap:16px}.recovery-strip.feeling-card{flex:0 0 auto;width:100%;max-width:380px}}

/* Recorded distance belongs to the calendar date, beside the planned session. */
.plan .day-main>strong{display:flex;align-items:center;gap:5px;padding-right:14px;overflow:visible}.plan .day-label{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.plan .day-distance{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;min-width:76px;padding:0 5px;border-radius:4px;font-size:12px;line-height:18px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.1px}
.plan .day-distance.has-run{background:#dff2e7;color:#11634e}.plan .day-distance.no-run{background:#f1f3f0;color:#68766e;font-weight:500}.plan .today .day-distance.has-run{background:#187d64;color:#fff}
@media(max-width:380px){.plan .day-distance{min-width:66px;font-size:11px;padding-inline:3px}.plan .day-main>strong{gap:3px}.plan .day-label{font-size:13px}}

/* Multiple recorded activities stay distinct, while simple days keep a 50 px row. */
.plan .plan-content,.plan .plan-content:not(.is-detail){grid-template-rows:repeat(7,minmax(50px,auto))}.plan .day-row,.plan .day-row.today{height:auto;min-height:50px}.plan .day-button{height:auto;min-height:50px}.plan .day-main>strong{align-items:flex-start}.plan .day-label{align-self:center}.plan .activity-badges{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:0 0 auto;max-width:54%}.plan .day-distance{min-width:76px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px}.plan .multiple-activities .day-button{padding-bottom:22px}.plan .multiple-activities .garmin-push{bottom:3px}.plan .multiple-activities .day-meta{max-width:100%}.plan .day-comment-indicator{align-self:center;font-size:13px;line-height:18px;flex:0 0 auto}.extra-count{font-size:11px;color:var(--purple);font-weight:650}.plan .day-meta{color:#68766e}
.your-comment,.extra-workouts,.recorded-day{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.athlete-comment-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted)}.your-comment .athlete-comment-form label{font-size:0}.athlete-comment-form textarea,.form-grid textarea{width:100%;min-height:65px;resize:vertical;border:1px solid #cddcd0;border-radius:8px;background:#fafcf8;padding:10px 12px;color:var(--ink);font:inherit;font-size:15px;line-height:1.5}.athlete-comment-form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.athlete-comment-form small{font-size:12px;color:var(--muted)}.athlete-comment-form .secondary{font-size:13px;padding:7px 11px}.extra-heading,.extra-workout header{display:flex;justify-content:space-between;align-items:center;gap:14px}.extra-heading .section-title{margin:0}.extra-heading .secondary{font-size:13px;padding:8px 12px}.extra-workout{margin-top:13px;padding:15px;border:1px solid var(--line);border-radius:10px}.extra-workout h3{margin:6px 0;font-size:17px}.extra-workout header small{font-size:13px;color:var(--muted)}.extra-workout .athlete-comment-form{margin-top:15px}.extra-actions{display:flex;justify-content:space-between;gap:16px;margin-top:12px}.extra-undo{display:flex;justify-content:space-between;padding:12px;background:var(--light);font-size:14px;margin-top:10px;border-radius:7px}.recorded-activity{display:flex;gap:13px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.recorded-activity>.day-distance{font-size:13px;background:#dff2e7;color:#11634e;border-radius:5px;padding:5px 8px;white-space:nowrap;font-weight:650}.recorded-activity strong{font-size:14px;font-weight:550;line-height:1.5}.recorded-activity small{display:block;font-size:12px;color:var(--muted);margin-top:3px}

/* Four compact KPIs, each with three calendar days of imported evidence. */
.recovery-strip.feeling-card{flex:0 0 360px;padding:12px 14px;gap:10px}.feeling-card .recovery-title{position:relative;align-items:center}.feeling-card .feeling-emoji{font-size:27px}.feeling-card #feelingHeading{font-size:14px}.feeling-card .recovery-title small{font-size:11px;margin-top:3px}.recovery-strip.feeling-card>.feeling-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}.feeling-metrics .feeling-metric{display:flex;flex-direction:column;gap:3px;min-width:0}.feeling-metric>span{font-size:12px;line-height:14px;min-height:28px;display:flex;align-items:flex-end;color:var(--muted)}.feeling-metric strong{font-size:20px;line-height:25px}.kpi-spark{display:block;width:100%;height:27px;overflow:visible;fill:var(--purple);stroke:var(--purple);stroke-width:1.6;stroke-linecap:round}.kpi-spark .spark-baseline{stroke:#e2e7e2;stroke-width:1}.kpi-spark text{font-size:11px;stroke:none;fill:var(--muted)}.recovery-source{margin-left:auto;position:relative;align-self:flex-start}.recovery-source .split-info{width:19px;height:19px}.recovery-source [role=tooltip]{display:none;position:absolute;right:-2px;top:26px;width:270px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 25px #142c351a;z-index:15;font-size:12px;line-height:1.6;color:var(--ink)}.recovery-source:hover [role=tooltip],.recovery-source:focus-within [role=tooltip],.recovery-source.is-open [role=tooltip]{display:block}
@media(max-width:1250px){.recovery-strip.feeling-card{flex:1 1 340px;max-width:420px;flex-direction:column;align-items:stretch}}
@media(max-width:700px){.recovery-strip.feeling-card{flex:0 0 auto;max-width:420px;width:100%}.recorded-activity{align-items:flex-start;flex-direction:column;gap:6px}.feeling-metric strong{font-size:18px}.athlete-comment-form>div{flex-wrap:wrap}.plan .day-label{font-size:13px}.plan .day-distance{font-size:10px}}

.recorded-activity>div{flex:1;min-width:0}.recorded-comment{margin-top:8px;font-size:13px;color:var(--purple)}.recorded-comment summary{cursor:pointer}.recorded-comment .athlete-comment-form{margin-top:12px}.extra-count{flex:0 0 auto;align-self:center;white-space:nowrap}

/* Sport identity uses both a distinct color and a small pictogram. */
.sport-run{--sport-bg:#DFF2E7;--sport-ink:#11634E}.sport-gym{--sport-bg:#EFE6FF;--sport-ink:#6D28A8}.sport-bike{--sport-bg:#FFF0CF;--sport-ink:#8C5306}.sport-swim{--sport-bg:#E1F1FE;--sport-ink:#155D91}.sport-workout,.sport-other{--sport-bg:#EDF0F3;--sport-ink:#475569}
.plan .day-distance.has-run[class*="sport-"],.recorded-activity>.day-distance.has-run[class*="sport-"]{background:var(--sport-bg,#EDF0F3);color:var(--sport-ink,#475569)}.plan .today .day-distance.has-run.sport-run{background:#187D64;color:#fff}
.day-distance.has-run{display:inline-flex;align-items:center;gap:4px}.day-distance>svg{width:13px;height:13px;flex:0 0 13px;stroke-width:1.8}.day-distance>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.recorded-activity>.day-distance>svg{width:15px;height:15px;flex-basis:15px}
.sport-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;background:var(--sport-bg,#EDF0F3);color:var(--sport-ink,#475569);font-size:12px;font-weight:650;line-height:18px;vertical-align:middle}.sport-pill svg{width:14px;height:14px;flex:0 0 14px}.extra-workout[class*="sport-"]{border-left:3px solid var(--sport-ink,#cddcd0)}.workout-heading h1{display:flex;align-items:center;gap:10px}.workout-sport-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--sport-bg);color:var(--sport-ink);width:31px;height:31px;border-radius:8px;flex:0 0 31px}.workout-sport-icon svg{width:21px;height:21px}

.plan .day-main>strong>.today-tag{flex:0 0 auto;align-self:center}

/* Weekly recorded time shares the existing week heading. */
.plan-heading{gap:10px}.plan-heading>div:first-child{min-width:0}.plan-heading .eyebrow{font-size:10px;letter-spacing:1px;white-space:nowrap}.week-training-time{display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin-left:auto;flex:0 0 auto}.week-training-time>span{font-size:11px;color:var(--muted);line-height:1.4;white-space:nowrap}.week-training-time strong{font-size:22px;line-height:1.2;letter-spacing:-.5px;color:#11634e;font-variant-numeric:tabular-nums;white-space:nowrap}.plan-heading .today-button{flex:0 0 auto}
@media(max-width:400px){.plan-heading{gap:6px}.plan-heading h2{font-size:22px}.plan-heading .eyebrow{font-size:9px;letter-spacing:.6px}.plan-heading .today-button{padding-inline:8px}.week-training-time>span{font-size:10px}.week-training-time strong{font-size:20px}}

/* Confirmed Indury brand manual: electric purple actions, neutral white surfaces. */
:root{color:#202124;background:#FFFFFF;--purple:#843DFF;--green:#15803D;--light:#F5F5F7;--muted:#66666F;--line:#E6E6EB;--ink:#202124}
body,.app,.main{background:#FFFFFF}.brand,.workout-heading h1,.workout-copy,.day-main>strong{color:var(--ink)}.brand-period,.text-button,.back-week,.workout-tabs button[aria-selected=true],.garmin-push,.history-item:hover strong{color:var(--purple)}
.brand-period{color:#843DFF}.avatar{color:#843DFF;background:#F5F5F7}.coach-avatar{background:#843DFF;color:#FFF}.coach-brand,.coach-identity strong{color:#202124}
.primary,.send,.discuss-button,.message.proposal button{background:#843DFF;color:#FFF}.primary:hover:not(:disabled),.send:hover:not(:disabled),.discuss-button:hover:not(:disabled){background:#6D23DF;color:#FFF}.secondary:hover:not(:disabled){color:#843DFF;border-color:#843DFF}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline-color:#843DFF}.today-button{color:#843DFF;background:#FFF;border-color:#843DFF}.plan .day-row.today{background:#FFF;border-color:#843DFF;border-left-color:#843DFF;animation:none}.plan .today .day-date strong,.plan:has(#moveNotice:not([hidden])) .today .day-date strong,.today-tag{background:#843DFF;color:#FFF}.day-row.selected{border-color:#843DFF;box-shadow:inset 0 0 0 1px #843DFF}.day-row.drop-target{outline-color:#843DFF;background:#F7F7F9!important}
.daily-brief,.assessment,.message,.message.user,.message.system,.message.proposal,.source-session,.split-note,.chat-view .context-chip,.history-item:hover,.workout-status,.move-notice{background:#F7F7F9;border-color:#E6E6EB;color:#484851}.daily-brief strong,.daily-brief button,.daily-brief>span,.assessment-label,.assessment p,.workout-status,.chat-view .conversation-heading strong,.chat-view .message,.coach-identity,.context-chip{color:#484851}.daily-brief button,.assessment-label,.chat-view .context-chip,.message.proposal strong{color:#843DFF}
.workout-tabs button[aria-selected=true]{border-color:#843DFF}.workout-panel .split-comparison td:nth-child(4),.workout-panel .split-comparison td:nth-child(5),.comparison-table td:last-child,.comparison-table thead,.split-comparison thead{background:#F7F7F9}.command form,.command textarea,.athlete-comment-form textarea,.form-grid textarea{background:#FFF;color:#202124}.command form:focus-within{border-color:#843DFF}.command form{border-color:#DCDCE3}.command textarea::placeholder{color:#777780}.workspace-nav>span,.composer-meta,.composer-meta #activeChatTitle,.workout-summary{color:#66666F}
.week-training-time strong{color:#202124}.sports button[aria-selected=true],.periods button.active{background:#F5F5F7;color:#843DFF}.sports{background:#F7F7F9}.controls select,.chart-tooltip{border-color:#DCDCE3}.chart-tooltip,.chat-view,.workout-card,.recovery-strip.feeling-card,.progress{background:#FFF;border-color:#E6E6EB}.unmatched-laps summary,.split-method summary,.split-info,.workout-actions>span{color:#66666F}.toast{background:#202124;color:#FFF}
/* Green retains semantic meaning for actual positive outcomes and the running sport. */
.ai-status.ready,.row-status.matched{color:#15803D;background:#F3F7F4}.review-note,.garmin-state{background:#FFF7E8;color:#805B20}.error{color:#B42318!important}

.climb { margin: 0 0 1rem; padding: clamp(1rem, 3vw, 1.65rem); background: #171425; color: #f5f2ff; border: 1px solid #39304d; border-radius: 20px; }
.climb[hidden] { display: none; }
.climb-header, .climb-weeks h3 { display: flex; justify-content: space-between; gap: 1rem; }
.climb-header h2 { margin: .25rem 0; font-size: clamp(1.35rem, 4vw, 2rem); }
.climb-header p, .climb figcaption, .climb-footnote, .climb small { color: #c3bdd5; }
.climb-header .eyebrow { color: #ccb7ff; margin: 0; }
.climb-target { display: grid; align-content: center; text-align: right; white-space: nowrap; color: #d3baff; }
.climb-target strong { font-size: clamp(1.5rem, 5vw, 2.45rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.climb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .55rem; margin: 1rem 0; }
.climb-kpis > div { background: #231d34; border: 1px solid #443858; padding: .65rem .75rem; border-radius: .65rem; display: grid; gap: .2rem; }
.climb-kpis span, .climb-kpis small { font-size: .825rem; }
.climb-kpis strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.climb-weeks h3, .climb-evidence h3 { margin: .8rem 0 .45rem; font-size: .95rem; }
.climb-weeks h3 span { color: #c3bdd5; font-weight: normal; font-size: .8rem; }
.climb-strip { display: grid; grid-template-columns: repeat(var(--weeks), minmax(1.15rem, 1fr)); gap: 3px; overflow-x: auto; padding: 2px; }
.climb-week { border: 0; border-top: 6px solid var(--status); border-radius: 3px; background: #272038; color: #f0ebff; min-height: 1.85rem; padding: 0; cursor: pointer; font-size: .78rem; }
.climb-week.current { outline: 1px solid #e3cdff; outline-offset: -1px; }
.climb-week:focus-visible { outline: 2px solid white; }
.climb .complete { --status: #63d796; }
.climb .ontrack { --status: #5fd6cb; }
.climb .under { --status: #f4c161; }
.climb .low { --status: #fb8e88; }
.climb .empty { --status: #706783; }
.climb .estimate { --status: #5fd6cb; }
.climb .goal { --status: #c1a0ff; }
.climb-legend { display: flex; flex-wrap: wrap; gap: .4rem .8rem; color: #d6cfe7; font-size: .78rem; margin-top: .55rem; }
.climb-legend i { display: inline-block; width: .55rem; height: .55rem; border-radius: 2px; background: var(--status); margin-right: .25rem; }
.climb-chart { margin: 1.05rem 0; }
.climb-chart svg { display: block; width: 100%; min-height: 10rem; }
.climb-chart svg text { fill: #d4cce7; font: 14px system-ui, sans-serif; }
.climb-chart .climb-grid { stroke: #4a415c; stroke-dasharray: 3 5; }
.climb-chart .climb-goal { stroke: #c1a0ff; stroke-dasharray: 7 5; stroke-width: 2; }
.climb-chart .climb-goal-label { fill: #dcc8ff; }
.climb-chart polyline { fill: none; stroke: #5fd6cb; stroke-width: 3; stroke-linejoin: round; }
.climb-chart circle { fill: #5fd6cb; stroke: #171425; stroke-width: 1.5; }
.climb figcaption, .climb-footnote { margin: .35rem 0 0; font-size: .83rem; }
.climb-evidence { overflow-x: auto; margin: .7rem 0; }
.climb-evidence summary { cursor: pointer; color: #e3d3ff; font-weight: 650; padding: .45rem 0; }
.climb-evidence table { width: 100%; border-collapse: collapse; font-size: .86rem; text-align: left; }
.climb-evidence th, .climb-evidence td { padding: .4rem .45rem; border-bottom: 1px solid #433951; vertical-align: top; }
.climb-evidence th { color: #d6cfe7; }
.climb-evidence td:first-child { white-space: nowrap; }

/* Each viewport is navigated with page controls. The prompt stays in the app frame. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.app, .app.chat-mode { height: 100dvh; min-height: 0; padding-bottom: 0; overflow: hidden; }
.app .topbar { flex: 0 0 auto; height: auto; min-height: 48px; padding-block: 4px; }
.app .dashboard { flex: 1 1 0; min-height: 0; overflow: hidden; }
.screen-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.screen-viewport { flex: 1 1 0; min-height: 0; }
.app .screen-viewport, #dialog .screen-viewport { overflow: hidden; overscroll-behavior: contain; }
.screen-pager { display: flex; flex: 0 0 34px; align-items: center; justify-content: center; gap: .55rem; background: #fff; color: #45365a; font-size: .78rem; }
.screen-pager:not(.is-needed) { visibility: hidden; }
.screen-pager button, .screen-tabs button { border: 1px solid #d9cbe8; border-radius: 6px; background: #fff; color: #4b326c; padding: 3px 9px; font-size: .8rem; cursor: pointer; }
.screen-pager button:disabled { opacity: .46; cursor: default; }
.screen-tabs { display: none; }
.app .main { height: auto; min-height: 0; padding: 10px clamp(10px,2vw,24px) 2px; }
.main > :is(.overview-view,.workout-view,.workspace-nav) { flex-shrink: 0; }
.app #commandDock, .app .topbar, .app .command { flex-shrink: 0; }
.app .command { position: static; min-height: 0; padding: 5px clamp(8px,2vw,24px); }
.app .command-top { margin-bottom: 3px; gap: 5px; }
.app .command form { padding-block: 3px; }
.app .command textarea { min-height: 30px; height: 36px; line-height: 1.25; resize: none; }
.app .command .context-chip { margin-block: 2px; padding-block: 2px; }
.app .command .composer-meta { margin-top: 2px; }
.app .chat-view .messages { min-height: 0; }
.conversation > .screen-pane { flex: 1 1 0; }
#dialog[open] { overflow: hidden; }
#dialog .dialog-content { height: min(76dvh, 720px); display: flex; flex-direction: column; padding: 24px 18px 4px; }
#dialog .dialog-content > .screen-pane { flex: 1 1 0; }
#dialog #dialogBody { padding-right: 22px; }
.climb-strip { grid-template-columns: repeat(min(var(--weeks), 8), minmax(0, 1fr)); overflow: visible; }
@media (min-width: 951px) {
 .climb-strip { grid-template-columns: repeat(var(--weeks), minmax(0, 1fr)); }
}
@media (max-width: 950px) {
 .app .dashboard { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
 .app:not(.screen-week) .dashboard > .screen-pane:nth-child(2),
 .app.screen-week .dashboard > .screen-pane:first-child { display: none; }
 .screen-tabs { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 4px 10px; }
 .screen-tabs button[aria-pressed=true] { background: #57308b; border-color: #57308b; color: white; }
 .app .plan { border-top: 0; padding-top: 5px; }
 .app .command .composer-meta > span:last-child { display: none; }
}

/* A single flexible plot with marathon context and the existing sport controls. */
.main:has(.overview-view:not([hidden])) > .overview-view { flex: 1 1 0; min-height: 0; gap: 4px; }
.main:has(.overview-view:not([hidden])) + .screen-pager { display: none; }
.overview-view .page-heading { margin: 0; gap: 8px; flex-wrap: nowrap; flex-shrink: 0; }
.overview-view .goal-heading h1 { font-size: clamp(17px,2.4vw,27px); margin-block: 0; }
.overview-view .recovery-strip.feeling-card { padding: 4px 8px; gap: 3px; flex-basis: min(45%, 320px); }
.overview-view .daily-brief { padding: 4px 8px; margin: 0; font-size: .75rem; line-height: 1.3; }
.overview-view .progress { flex: 1 1 0; min-height: 0; padding: 7px 10px 4px; gap: 4px; }
.progress .progress-top { margin: 0; }
.progress .progress-top h2 { font-size: clamp(15px,2vw,21px); margin: 0; }
.progress .progress-top .eyebrow { margin: 0; }
.progress .controls { gap: 4px; }
.progress .controls button, .progress .controls select { padding-block: 3px; min-height: 24px; }
.progress .chart-summary { margin: 0; gap: 5px; }
.progress .primary-value { font-size: clamp(16px,2.8vw,30px); line-height: 1.1; }
.progress .chart-context { font-size: .75rem; }
.progress .chart-container { flex: 1 1 0; min-height: 42px; margin: 0; }
.progress #chart { width: 100%; height: 100%; min-height: 0; }
.progress .chart-bottom { margin: 0; gap: 6px; }
.progress .chart-bottom p { font-size: .72rem; }
.overview-view .quiet-footnote { margin: 0; }
.climb-inline { display: flex; justify-content: space-between; align-items: center; gap: 4px; color: #4b326c; font-size: .78rem; }
#climb .climb-weeks h3 { margin: 0; font-size: .72rem; }
#climb .climb-week { min-height: 15px; border-top-width: 3px; font-size: .65rem; }
#climb .complete { --status: #63d796; }
#climb .ontrack { --status: #5fd6cb; }
#climb .under { --status: #f4c161; }
#climb .low { --status: #fb8e88; }
#climb .empty { --status: #706783; }
@media (max-width: 950px) {
 .overview-view .page-heading { display: flex; flex-direction: row; align-items: center; }
 .overview-view .recovery-strip.feeling-card { flex: 0 1 46%; }
 #climb .climb-strip { grid-template-columns: repeat(var(--weeks),minmax(0,1fr)); gap: 2px; }
}
@media (max-height: 700px) {
 .overview-view .daily-brief, .overview-view .quiet-footnote, .progress .chart-context { display: none; }
}

.kpi-spark .spark-line, .kpi-spark .spark-gap { fill: none; }
.kpi-spark .spark-gap { stroke-dasharray: 2 3; opacity: .65; }

#chartHighlights:not([hidden]) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(5px,2vw,24px); flex: 1; }
#chartHighlights > div { display: grid; min-width: 0; gap: 1px; align-content: start; }
#chartHighlights span, #chartHighlights small { font-size: .73rem; color: #514561; overflow-wrap: anywhere; }
#chartHighlights strong { font-size: clamp(1.05rem,2.4vw,1.7rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.estimate-positive { color: #15804d; }
.estimate-neutral { color: #7253a0; }
.estimate-negative { color: #b33b4b; }
#chartNote span { white-space: nowrap; margin-inline-start: .25rem; }
.app .command { border-top: 2px solid #9a6ceb; background: #f5efff; box-shadow: 0 -3px 14px #48246319; }
.app .command form { background: white; border-color: #bda3e4; }
.app .command .coach-identity strong { color: #462575; }
.source-status { display: inline-flex; gap: .35rem; align-items: center; white-space: nowrap; }
.source-status::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: #b33b4b; }
.source-status.snapshot::before { background: #a76b00; }
@media(max-width:600px) {
 .app .data-button #dataDate { display: none; }
 #chartHighlights span, #chartHighlights small { font-size: .68rem; }
}

.chat-view:not([hidden]) { display: grid; grid-template-columns: minmax(145px, 185px) minmax(0, 1fr); grid-template-rows: minmax(0,1fr) auto; background: #f7f3ff; border: 1px solid #bc9de5; border-radius: 14px; }
.enzo-history-rail { grid-row: 1 / -1; display: grid; align-content: start; gap: 5px; padding: 10px 8px; background: #eee6fa; border-inline-end: 1px solid #ddcfee; min-width: 0; overflow: hidden; }
.enzo-history-rail h3 { margin: 0 0 3px; font-size: .82rem; color: #4a2d67; }
.enzo-history-rail button { display: grid; gap: 1px; border: 0; border-radius: 7px; background: transparent; padding: 5px 7px; text-align: left; color: #38264e; font-size: .78rem; min-width: 0; cursor: pointer; }
.enzo-history-rail button[aria-pressed=true], #enzoRailNew { background: #fff; }
.enzo-history-rail strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enzo-history-rail small { color: #5e4d72; }
.chat-view .conversation { background: #f7f3ff; }
.chat-view .conversation-heading { min-height: 38px; padding: 6px 10px; background: #29163e; color: #fff; }
.chat-view .conversation-heading > div { min-width: 0; }
.chat-view .conversation-heading strong { color: #e8ddfa; font-size: .77rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-view .conversation-heading .icon-button { color: white; }
.enzo-chat-name { color: white; font-weight: 750; margin-inline-end: 6px; }
.chat-view .messages { padding: clamp(8px,2vw,20px); }
.chat-view .message { border-color: #e1d3f0; line-height: 1.5; }
.chat-view .command { min-width: 0; }
#chatLayout { color: #58308b; border-color: #ab8ad3; }
.app .dashboard { position: relative; }
.dashboard > .chat-view:not([hidden]) { position: absolute; inset: 5px 5px 5px auto; z-index: 8; width: min(390px,calc(100% - 10px)); display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; box-shadow: -4px 0 20px #34234d26; }
.dashboard > .chat-view .enzo-history-rail { display: none; }
.dashboard > .chat-view .command-top { flex-wrap: wrap; }
@media (max-width: 620px), (max-height: 600px) {
 .chat-view:not([hidden]) { grid-template-columns: minmax(0,1fr); }
 .chat-view .enzo-history-rail { display: none; }
}

.enzo-history-rail { overflow: auto; overscroll-behavior: contain; }
.dashboard > .chat-view:not([hidden]) {
 inset: auto 12px 12px auto;
 width: min(374px, calc(100% - 24px));
 height: min(620px, 68dvh, calc(100% - 24px));
}
.dashboard > .chat-view .conversation-heading { min-height: 36px; }
.dashboard > .chat-view .command .coach-brand,
.dashboard > .chat-view .command .composer-meta { display: none; }
.dashboard > .chat-view .chat-actions { gap: 4px; flex-wrap: wrap; }
.dashboard > .chat-view .command .context-chip { font-size: .73rem; }
.dashboard > .chat-view.side-history-open .enzo-history-rail { display: grid; flex: 1 1 0; min-height: 0; border: 0; }
.dashboard > .chat-view.side-history-open .conversation > .screen-pane,
.dashboard > .chat-view.side-history-open .command form,
.dashboard > .chat-view.side-history-open .command .context-chip { display: none; }

.global-period { display: flex; align-items: center; gap: .35rem; min-width: 0; font-size: .78rem; color: #514561; }
.global-period select { max-width: 100%; padding: 5px 6px; border: 1px solid #d6c6e8; border-radius: 6px; background: #fff; color: #35214e; font: inherit; }
@media (max-width: 600px) {
 .global-period span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .global-period select { max-width: 112px; }
}

#planView { border: 1px solid #d6c6e8; border-radius: 6px; background: #fff; color: #35214e; padding: 4px; font-size: .75rem; }
.plan.monthly-plan #planContent { display: block; }
.monthly-plan .week-garmin { display: none; }
.plan-month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.plan-month-grid > * { min-width: 0; min-height: 28px; padding: 2px; text-align: center; font-size: .72rem; }
.plan-month-grid .month-weekday { min-height: auto; font-weight: 600; color: #514561; }
.plan-month-grid .month-empty { color: #777181; }
.plan-month-grid button { display: grid; place-content: center; background: #f5efff; border: 1px solid #e1d4ef; border-radius: 5px; cursor: pointer; color: #35214e; }
.plan-month-grid small { white-space: nowrap; font-size: .65rem; }
.plan-month-grid button[aria-current=date] { border-color: #7845bb; background: #e8d9ff; }
#editPeriod[hidden] { display: none; }
