@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#14241e;--muted:#78817b;--green:#174d38;--lime:#c9ee79;--paper:#f8f8f4;--line:#e9ebe5;--white:#fff;--peach:#fae5d9;--shadow:0 12px 36px #1c34240b;font-family:'DM Sans',sans-serif;color:var(--ink);background:#f0f1ec}*{box-sizing:border-box}body{margin:0;min-height:100vh}.app-shell{max-width:520px;min-height:100vh;margin:0 auto;background:var(--paper);position:relative;padding-bottom:96px;overflow:hidden;box-shadow:0 0 80px #233b2810}.topbar{height:66px;padding:0 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eaebe6;background:#fbfbf8}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font:800 19px Manrope,sans-serif;letter-spacing:-1px}.brand-mark{width:28px;height:28px;border-radius:9px;background:var(--green);color:var(--lime);display:grid;place-items:center;font-size:15px}.brand-dot{color:#79ad46}.event-pill{font-size:9px;letter-spacing:1px;color:#536858;font-weight:700;background:#edf3e7;border-radius:20px;padding:9px 12px}.event-spark{color:#7d9f4e;font-size:12px;margin-right:5px}.avatar,.profile-avatar{border:0;background:var(--peach);color:#8b5942;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700}.view{display:none;padding:26px 22px 35px;animation:appear .22s ease}.view.active{display:block}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#829087;margin:0 0 8px}.welcome-row h1,.page-heading h1{font:800 27px Manrope,sans-serif;letter-spacing:-1.1px;margin:0}.welcome-row h1 span{font-size:20px}.week-count{text-align:right;display:grid}.week-count strong{font:800 21px Manrope}.week-count span{font-size:8px;color:var(--muted);letter-spacing:1px}.hero-card{min-height:199px;position:relative;overflow:hidden;background:#143e30;border-radius:18px;padding:22px;color:white;box-shadow:0 14px 30px #1a3d3025}.hero-copy{position:relative;z-index:2;max-width:63%}.status-chip{font-size:8px;letter-spacing:1.2px;color:#d8ecb8;display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;border-radius:50%;background:#c6e879}.hero-copy h2{font:700 21px Manrope,sans-serif;letter-spacing:-.6px;line-height:1.2;margin:17px 0 8px}.hero-copy p{font-size:11px;line-height:1.55;color:#d1ddd2;margin:0 0 15px}.text-link,.small-link{padding:0;border:0;background:none;color:#d4eaa9;font:600 10px 'DM Sans';cursor:pointer}.text-link span{margin-left:5px}.hero-art{position:absolute;right:0;bottom:0;width:48%;height:100%;overflow:hidden}.sun{position:absolute;right:29px;top:28px;width:67px;height:67px;background:#b9df78;border-radius:50%}.hill{position:absolute;bottom:-58px;border-radius:50% 50% 0 0}.hill-back{width:210px;height:142px;right:-63px;background:#447455;transform:rotate(-14deg)}.hill-front{width:190px;height:110px;right:8px;bottom:-62px;background:#79a34f;transform:rotate(9deg)}.runner{position:absolute;right:81px;bottom:43px;font-size:44px;color:#f4f2db;transform:rotate(-15deg);text-shadow:4px 4px #163b2d}.section-head{display:flex;align-items:end;justify-content:space-between;margin:25px 0 12px}.section-head h2{font:700 17px Manrope;margin:0;letter-spacing:-.5px}.section-head .eyebrow{margin-bottom:4px}.small-link{color:#55735c;font-size:10px}.session-stack{display:grid;gap:9px}.session-card{display:flex;align-items:center;gap:12px;padding:13px 12px;border:1px solid var(--line);border-radius:13px;background:#fff}.session-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-size:18px;flex-shrink:0}.session-icon.run{background:#eaf2dc}.session-icon.hyrox{background:#fcebdc}.session-icon.crossfit{background:#e5edf3}.session-icon.boulder{background:#f1e8f5}.session-info{flex:1;min-width:0}.session-info strong{font-size:12px;display:block}.session-info small{display:block;color:#8a928b;font-size:10px;margin-top:4px}.session-state{font-size:9px;font-weight:700;color:#748173}.session-state.done{color:#3d804d}.session-state.rest{color:#a7aaa4}.log-mini{border:1px solid #dae6d1;background:#f5f9ef;color:#55744c;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:700}.wellness-card{margin-top:17px;border:1px solid #ede8df;background:#fff9f1;border-radius:14px;padding:14px;display:flex;align-items:center;gap:11px}.wellness-icon{font-size:23px;color:#bf8969}.wellness-copy{flex:1}.wellness-copy h3{font:700 12px Manrope;margin:0 0 3px}.wellness-copy p{font-size:10px;color:#87877f;margin:0}.circle-arrow{width:31px;height:31px;border:0;background:#eedbc9;border-radius:50%;font-size:16px;color:#744e38}.quote-line{text-align:center;color:#9ba198;font-size:10px;font-style:italic;margin:20px 0 0}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);height:76px;padding:8px 14px max(12px,env(safe-area-inset-bottom));background:#fffffff2;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:space-around}.nav-item{border:0;background:none;display:grid;justify-items:center;align-content:center;gap:3px;min-width:56px;font-size:9px;font-weight:600;color:#8b928a}.nav-item.active{color:var(--green)}.nav-icon{font-size:19px;line-height:1.1}.page-heading{margin-bottom:21px}.page-heading h1{font-size:27px}.muted{font-size:12px;color:var(--muted);margin:8px 0 0}.week-summary{display:grid;grid-template-columns:repeat(3,1fr);background:#eaf0e5;border-radius:14px;padding:13px 5px;margin-bottom:18px}.week-summary div{display:grid;justify-items:center;gap:3px;border-right:1px solid #d9e2d4}.week-summary div:last-child{border:0}.week-summary strong{font:800 16px Manrope;color:#28523e}.week-summary span{font-size:9px;color:#778379}.week-list{display:grid;gap:8px}.day-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px}.day-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.day-header strong{font-size:11px}.day-header small{font-size:9px;color:#8a928b}.day-session{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #f1f1ed}.day-session .session-icon{width:31px;height:31px;font-size:14px;border-radius:10px}.day-session .session-info strong{font-size:11px}.day-session .session-info small{font-size:9px}.day-session button{border:0;color:#66805e;background:transparent;font-size:10px;font-weight:700}.day-rest{font-size:10px;color:#92998f;padding:5px 0}.coach-note{margin-top:16px;background:#f1eee4;border-radius:13px;padding:12px;display:flex;gap:10px;color:#6b7569}.coach-note>span{font-size:16px;color:#859a55}.coach-note p{font-size:10px;line-height:1.5;margin:0}.progress-highlight{background:var(--green);color:white;border-radius:17px;padding:19px;display:flex;align-items:center;justify-content:space-between}.progress-highlight .eyebrow{color:#c1d4ba}.progress-highlight h2{font:800 24px Manrope;margin:0}.progress-highlight h2 small{font:500 11px 'DM Sans';color:#c9d8c9}.progress-highlight p:last-child{font-size:10px;color:#d1dfd3;margin:7px 0 0}.ring{width:66px;height:66px;border-radius:50%;background:conic-gradient(#c9ee79 0deg,#55775d 0deg);display:grid;place-items:center;position:relative}.ring:after{content:'';position:absolute;inset:6px;background:var(--green);border-radius:50%}.ring span{position:relative;z-index:1;font-size:11px;font-weight:700}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;display:grid;gap:4px}.stat-card>span{font-size:9px;color:#818a81}.stat-card strong{font:700 16px Manrope}.stat-card small{font-size:9px;color:#92988f}.stat-card.soft{background:#edf2e7}.history-list{display:grid;gap:8px}.history-item{border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff;display:flex;gap:10px;align-items:center}.history-item .session-info{flex:1}.history-date{font-size:9px;color:#92988f}.empty-history{text-align:center;color:#959b91;font-size:11px;padding:18px}.profile-card{display:flex;align-items:center;gap:12px;background:#edf2e7;border-radius:15px;padding:15px;margin-bottom:22px}.profile-avatar{width:46px;height:46px;font-size:17px}.profile-card h2{font:700 15px Manrope;margin:0 0 4px}.profile-card p{font-size:10px;color:#718073;margin:0}.settings-group{margin:20px 0}.setting-row{display:flex;align-items:center;gap:11px;padding:12px 2px;border-bottom:1px solid var(--line)}.setting-row>span:first-child{font-size:18px}.setting-row>div{display:grid;gap:3px;flex:1}.setting-row strong{font-size:11px}.setting-row small{font-size:9px;color:#899188}.setting-tag{font-size:8px!important;letter-spacing:.5px;color:#628042!important;font-weight:700}.setting-action{width:100%;padding:13px 2px;border:0;border-bottom:1px solid var(--line);background:none;display:flex;justify-content:space-between;font:600 11px 'DM Sans';color:var(--ink)}.privacy-note{font-size:9px;color:#858c84;line-height:1.5}.modal{width:min(460px,calc(100% - 24px));max-height:90dvh;border:0;border-radius:20px;padding:0;box-shadow:0 24px 90px #0a201844;color:var(--ink)}.modal::backdrop{background:#10251e88;backdrop-filter:blur(3px)}.modal form{padding:21px;overflow:auto;max-height:90dvh}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:17px}.modal-head h2{font:800 22px Manrope;margin:0}.close-button{border:0;background:#f0f1ec;width:30px;height:30px;border-radius:50%;font-size:21px;color:#687168}.field-label{display:grid;gap:7px;font-size:10px;font-weight:700;margin:12px 0;color:#394940}.field-label input:not([type=range]),.field-label select,.field-label textarea{width:100%;border:1px solid #e3e7df;border-radius:10px;padding:11px;background:#fbfcf9;font:500 11px 'DM Sans';color:var(--ink);outline-color:#a9c878}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.range-label{display:flex;align-items:center;justify-content:space-between;color:#899087;font-size:9px;font-weight:500}.range-label strong{color:#426440;font-size:10px}input[type=range]{accent-color:#719c50;width:100%;margin:3px 0}.primary-button{width:100%;border:0;border-radius:12px;background:var(--green);color:white;padding:14px;font:700 12px 'DM Sans';margin-top:12px}.primary-button span{float:right;color:#c9ee79}.toast{position:fixed;z-index:20;bottom:90px;left:50%;transform:translate(-50%,12px);background:#173c2d;color:white;border-radius:12px;padding:11px 16px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 28px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:650px){body{padding:24px 0}.app-shell{min-height:calc(100vh - 48px);border-radius:24px}.bottom-nav{bottom:24px;border-radius:0 0 24px 24px}.view{padding:29px 27px 40px}}
