.wellbeing-app{--well-accent:#a24762;letter-spacing:0}
:root:not([data-theme="night"]) .wellbeing-app .workspace{background-image:linear-gradient(#eff6f3d9,#f4f7f6e8),url('/assets/wellbeing/wellbeing_bg.png')}
.wellbeing-app .workspace{background-size:cover;background-position:center;background-attachment:fixed}
.wellbeing-app .course-heading h1{font-size:28px;position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.wellbeing-app .course-story{border-radius:8px;min-height:210px;justify-content:flex-start}
.wellbeing-app .course-story>.course-story-copy{text-align:left;max-width:50%}
.wellbeing-app .course-story::after{background:linear-gradient(90deg,#142c24b3,transparent 65%)}
.wellbeing-app .course-story>.story-scenery{object-position:center 75%}
.wellbeing-app .course-heading,.wellbeing-app .practice-surface h1{letter-spacing:0}
.wellbeing-app .care-note{display:flex;align-items:flex-start;gap:12px;border-block:1px solid var(--line);padding:16px 0;margin:22px 0;font-size:13px;line-height:1.9}
.wellbeing-app .care-note svg{flex:0 0 20px;color:var(--well-accent);margin-top:4px}
.wellbeing-app .well-intro{color:var(--muted);font-size:14px;line-height:1.9;margin:12px 0 24px}
.wellbeing-app .well-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}
.wellbeing-app .well-actions button{min-height:44px;max-width:100%;white-space:normal}
.wellbeing-app .secondary{background:transparent;border:1px solid var(--line);color:var(--ink);padding:10px 16px;border-radius:6px}
.wellbeing-app .well-band{padding:24px 0;border-bottom:1px solid var(--line)}
.wellbeing-app .today-section{max-width:410px;margin:20px auto;border-top:1px solid var(--line);padding:22px 0;font-size:13px;line-height:1.9}
.wellbeing-app .today-section h2{font-size:18px;margin-bottom:12px}.wellbeing-app .today-section progress{width:100%;margin:12px 0}
.wellbeing-app .well-check{display:flex;align-items:flex-start;gap:10px;line-height:1.9;font-weight:400}
.wellbeing-app .well-check input{width:18px;height:18px;flex:0 0 18px;margin:4px 0 0;accent-color:var(--green)}
.wellbeing-app textarea,.wellbeing-app input[type="text"]{width:100%;font-size:16px;line-height:1.9;min-width:0}
.wellbeing-app .well-reference{border-left:3px solid var(--well-accent);padding:10px 18px;margin:18px 0;background:color-mix(in srgb,var(--well-accent) 6%,transparent);line-height:1.9}
.wellbeing-app details{padding:16px 0;border-block:1px solid var(--line);margin:20px 0;font-size:14px;line-height:1.9}
.wellbeing-app summary{cursor:pointer;min-height:32px}.wellbeing-app details p{margin:10px 0}
.wellbeing-app .well-terms{padding-left:24px}.wellbeing-app .well-terms li{padding:8px 0;line-height:1.9}
.wellbeing-app .well-english{font-family:Georgia,serif;font-size:21px;color:var(--well-accent);padding:12px 0;letter-spacing:0}
.wellbeing-app .well-script{font-size:19px;line-height:2.1;border-block:1px solid var(--line);padding:20px 0;margin:18px 0}
.wellbeing-app .well-timer{font-size:32px;line-height:1.5;font-variant-numeric:tabular-nums;width:100px;flex:0 0 100px}
.wellbeing-app .well-hint{font-size:12px;color:var(--muted);line-height:1.9;margin:12px 0}
.wellbeing-app fieldset{border:0;min-width:0;padding:0;margin:18px 0}.wellbeing-app legend{font-size:16px;line-height:1.9;font-weight:600}
.wellbeing-app .well-days{list-style:none;padding:0}.wellbeing-app .well-days li{border-bottom:1px solid var(--line)}
.wellbeing-app .well-days button{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:transparent;color:var(--ink);padding:18px 0;line-height:1.8;gap:16px}
.wellbeing-app .well-days small{display:block;color:var(--muted);font-size:12px}
.wellbeing-app .well-record{border-bottom:1px solid var(--line);padding:14px 0;font-size:14px;line-height:1.9}
.wellbeing-app .well-record small{display:block;color:var(--muted)}
.wellbeing-app .well-answer{white-space:pre-wrap;overflow-wrap:anywhere}
.wellbeing-app #storage-warning{padding:16px 24px;background:#fff0f1;color:#842941;font-size:14px}
.wellbeing-app #form-error{color:var(--well-accent)}
.wellbeing-app .well-dialogue h2{font-size:20px;line-height:1.7}
.wellbeing-app .well-dialogue h2 small{font-size:12px;color:var(--muted);display:inline-block}
.wellbeing-app .well-dialogue h3{font-size:15px;margin:20px 0 8px}
.wellbeing-app .well-dialogue pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.8;max-height:280px;overflow:auto;padding:12px;background:var(--pale)}
.wellbeing-app [data-well-ai-history] p{white-space:pre-wrap;font-size:14px;margin:12px 0}
.wellbeing-app .well-status{font-size:13px;color:var(--green);min-height:24px;line-height:1.9}
.wellbeing-app input[type="file"]{max-width:100%;font-size:14px}
.wellbeing-app .source-details a{color:var(--green);text-decoration:underline}
[data-theme="night"] .wellbeing-app{--well-accent:#f1b3c3}
[data-theme="night"] .wellbeing-app .workspace{background-image:linear-gradient(#182c27e3,#202f34ed),url('/assets/wellbeing/wellbeing_bg.png')}
[data-theme="night"] .wellbeing-app #storage-warning{background:#492e38;color:#ffe5ed}
@media(max-width:700px){.wellbeing-app .course-heading h1{font-size:23px}.wellbeing-app .learning-path button{font-size:16px;gap:16px}.wellbeing-app .course-story>.course-story-copy{flex-basis:60%;max-width:60%}.wellbeing-app .well-script{font-size:17px}}
@media(prefers-reduced-motion:reduce){.wellbeing-app *{animation:none!important;scroll-behavior:auto!important}}