[hidden]{display:none!important}
.menu-toggle{border:0;background:transparent;font-size:1rem;min-height:44px}
.site-drawer{border:0;box-shadow:0 12px 28px #12141112;max-height:70vh;overflow:auto}
.drawer-close{grid-column:1/-1;justify-self:end;border:0;background:transparent;padding:12px;font:inherit;cursor:pointer}
.coach-details{padding:18px 0;border-top:1px solid var(--line);font-size:1rem;line-height:1.7}
.coach-details>summary{cursor:pointer;font-weight:700;min-height:32px}
.coach-details>details{margin:12px 0;padding:12px;background:#fff}
.coach-details p{margin:14px 0}.coach-details a{overflow-wrap:anywhere}
.help-launcher{position:fixed;bottom:20px;right:20px;z-index:40;background:var(--ink);color:var(--lime);border:0;border-radius:28px;padding:16px 22px;font:700 1rem Manrope,Arial;cursor:pointer;box-shadow:0 4px 20px #0002}
.coach-chat{position:fixed;bottom:86px;right:20px;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 120px);overflow:auto;z-index:41;background:var(--paper);padding:22px;border:1px solid var(--line);box-shadow:0 8px 48px #0003;border-radius:16px;font-size:1rem;line-height:1.6}
.chat-heading{display:flex;justify-content:space-between;align-items:center}.chat-heading h3{margin:0}.chat-heading button{border:0;background:none;font-size:26px;padding:8px;cursor:pointer}
.chat-log{max-height:260px;overflow:auto}.chat-log p{padding:12px;background:white;border-radius:8px;overflow-wrap:anywhere}.coach-chat form{display:grid;gap:8px}.coach-chat input,.coach-chat textarea{width:100%;padding:12px;font:inherit;border:1px solid var(--line);resize:vertical}.coach-chat .chat-status{margin:8px 0;color:#5e625b;font-size:.82rem;line-height:1.5}.coach-chat .chat-status[role="status"]{min-height:1.3em}.coach-chat form button:disabled{opacity:.65;cursor:wait}.chat-log a{overflow-wrap:anywhere}
.chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.chat-suggestions button{background:white;border:1px solid var(--line);border-radius:12px;padding:8px;font:inherit;font-size:.875rem;cursor:pointer}
button:focus-visible,summary:focus-visible{outline:3px solid #638d21;outline-offset:3px}
@media print{.help-launcher,.coach-chat,.site-drawer{display:none!important}.coach-details{break-inside:auto}}

/* Modern, accessible AI assistant panel */
.help-launcher{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:9px 18px 9px 10px;border:1px solid #334122;border-radius:18px;background:#11140f;color:#c0ff4f;font-size:.98rem;letter-spacing:.01em;box-shadow:0 10px 30px #0003;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.help-launcher:hover{background:#1c2417;transform:translateY(-2px);box-shadow:0 14px 36px #0004}
.help-launcher .ai-launcher-icon,.chat-avatar{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:12px;background:#c0ff4f;color:#11140f}
.robot-emoji{display:block;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:1.28rem;line-height:1}
.help-launcher svg,.chat-avatar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.coach-chat{position:fixed;right:18px;bottom:82px;display:flex;flex-direction:column;width:min(440px,calc(100vw - 20px));height:min(680px,calc(100dvh - 104px));max-height:calc(100dvh - 104px);overflow:hidden;padding:0;border:1px solid #d9e2ce;border-radius:20px;background:#f8faf5;box-shadow:0 24px 70px #10150d35;font-size:.96rem;line-height:1.55;color:#171a15}
.chat-heading{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;background:#11140f;color:#fff}
.chat-brand{display:flex;align-items:center;gap:12px;min-width:0}.chat-avatar{width:42px;height:42px;border-radius:14px}.chat-heading h3{margin:0;font-size:1rem;line-height:1.25}.chat-brand>div>span{display:block;margin-top:3px;color:#c6cfbc;font-size:.76rem}.chat-heading button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff30;border-radius:12px;background:#ffffff0c;color:#fff;font-size:25px;line-height:1;cursor:pointer}.chat-heading button:hover{background:#ffffff20}
.coach-chat .plan-actions{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:7px;padding:11px 14px;border-bottom:1px solid #e2e8dc;background:#f1f5eb}.coach-chat .plan-actions button,.coach-chat .plan-actions a{display:inline-flex;align-items:center;min-height:36px;padding:7px 10px;border:1px solid #d7dfcf;border-radius:11px;background:#fff;color:#20251c;font:600 .78rem Manrope,Arial;text-decoration:none}.coach-chat .plan-actions button:hover,.coach-chat .plan-actions a:hover{border-color:#87a957;background:#f8fbf3}
.coach-chat .fitness-note{flex:0 0 auto;margin:10px 14px 2px;padding:9px 11px;border:1px solid #e1e8d9;border-radius:12px;background:#fff;color:#596151;font-size:.76rem;line-height:1.45}
.chat-log{flex:1 1 auto;min-height:90px;max-height:none;overflow:auto;padding:4px 14px 8px;overscroll-behavior:contain;scrollbar-width:thin}.chat-log p.chat-message{width:fit-content;max-width:91%;margin:10px 0;padding:11px 13px;border-radius:15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.chat-log p.ai-message{margin-right:auto;border:1px solid #e3e8de;border-bottom-left-radius:5px;background:#fff;color:#22261e}.chat-log p.user-message{margin-left:auto;border:1px solid #d8e9c5;border-bottom-right-radius:5px;background:#e8f3dc;color:#1d2814}.chat-message strong{display:block;margin-bottom:3px;font-size:.72rem;letter-spacing:.02em;color:#507327}
.coach-chat .chat-status{flex:0 0 auto;margin:0;padding:0 15px;color:#58614e;font-size:.77rem}.coach-chat .chat-status[role="status"]{min-height:1.1em}
.coach-chat form{flex:0 0 auto;display:grid;gap:8px;padding:12px 14px 10px;border-top:1px solid #e1e8d9;background:#fff}.coach-chat form label{font-size:.9rem;font-weight:700;color:#252a20}.coach-chat textarea{min-height:74px;max-height:150px;padding:11px 12px;border:1px solid #cbd5c0;border-radius:12px;background:#fbfcf9;font-size:.94rem;line-height:1.45;resize:vertical}.coach-chat textarea:focus{outline:3px solid #b9e988;outline-offset:1px;border-color:#638d21}.coach-chat form button{min-height:44px;border:0;border-radius:12px;background:#141811;color:#fff;font:700 .94rem Manrope,Arial;cursor:pointer}.coach-chat form button:hover{background:#2b3821}.coach-chat form button:disabled{opacity:.58;cursor:wait}
.chat-suggestions{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:0 14px 13px;scrollbar-width:thin}.chat-suggestions button{flex:0 0 auto;min-height:36px;padding:7px 10px;border:1px solid #d9e1d1;border-radius:11px;background:#f7f9f4;color:#353b30;font-size:.78rem;white-space:nowrap}.chat-suggestions button:hover{background:#edf4e4;border-color:#a8c58b}
@media(max-width:520px){.help-launcher{right:14px;bottom:14px;min-height:48px;padding:7px 15px 7px 8px;border-radius:16px}.coach-chat{right:10px;bottom:72px;width:calc(100vw - 20px);height:min(690px,calc(100dvh - 86px));max-height:calc(100dvh - 86px);border-radius:18px}.coach-chat .plan-actions{gap:6px;padding:9px 11px}.coach-chat .plan-actions button,.coach-chat .plan-actions a{font-size:.73rem}.coach-chat .fitness-note{margin:8px 11px 1px}.chat-log{padding-right:11px;padding-left:11px}.coach-chat form{padding-right:11px;padding-left:11px}.chat-suggestions{padding-right:11px;padding-left:11px}}
@media(prefers-reduced-motion:reduce){.help-launcher{transition:none}}
