:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#093f43;background:#f5f3eb;font-synthesis:none;--ink: #093f43;--muted: #7e8d8c;--coral: #ff7157;--mint: #e0f4e7;--blue: #def0fb;--yellow: #fff0c7;--line: #edf0ea;--focus: #176b52;--motion-fast: .14s;--motion-standard: .22s;--ease-out: cubic-bezier(.22, 1, .36, 1)}*{box-sizing:border-box}body{margin:0;background:#f5f3eb}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none;touch-action:pan-y}body{overscroll-behavior:none;touch-action:pan-y}button,input,select{font:inherit}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform var(--motion-fast) var(--ease-out),opacity var(--motion-fast) ease-out,box-shadow var(--motion-standard) var(--ease-out)}button,[role=button]{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}@media (pointer: coarse){input,textarea,select{font-size:16px}}button:not(:disabled):active{transform:scale(.97)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 68%,white);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.55}::selection{background:#bfe8ce;color:#073f34}.app-shell{width:min(100%,430px);min-height:100vh;margin:auto;background:#fffdf7;box-shadow:0 0 40px #1a453e14}.screen{min-height:calc(100vh - 78px);padding:24px 18px 110px;overflow:hidden}.brand{font-size:18px;font-weight:800;display:flex;align-items:center;gap:8px}.brand-mark{width:26px;height:26px;display:grid;place-items:center;border-radius:10px;background:#ffcf56;color:#fff}.hero{min-height:250px;position:relative;padding:8px 6px 0}.hero h1{font-size:32px;line-height:1.3;letter-spacing:-1.2px;margin:28px 0 12px}.hero p{color:#6c8180;line-height:1.55;font-size:16px;margin:0}.sun{position:absolute;right:-38px;top:-24px;width:190px;height:190px}.sun-core{position:absolute;width:100px;height:100px;border-radius:50%;background:#ffd15a;top:42px;right:20px}.sun i{position:absolute;background:#ffcf56;width:5px;height:27px;border-radius:5px;transform-origin:50% 70px;top:3px;right:68px}.sun i:nth-child(2){transform:rotate(45deg)}.sun i:nth-child(3){transform:rotate(90deg)}.sun i:nth-child(4){transform:rotate(135deg)}.sun i:nth-child(5){transform:rotate(-45deg)}.progress-panel{display:flex;align-items:center;background:#eff8f1;border-radius:24px;padding:22px 18px;margin:0 0 16px;gap:18px}.progress-ring{width:128px;height:128px;border-radius:50%;display:grid;place-items:center;align-content:center;position:relative;background:conic-gradient(#3cb477 var(--value),#dfe8e4 0)}.progress-ring:after{content:"";position:absolute;background:#eff8f1;border-radius:50%;top:10px;right:10px;bottom:10px;left:10px}.progress-ring strong,.progress-ring span{z-index:1}.progress-ring strong{font-size:30px}.progress-ring span{font-size:12px;color:#6c8180}.progress-list{flex:1}.progress-list div{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #dce9df}.progress-list div:last-child{border:0}.progress-list svg{color:#ffb415}.progress-list div:nth-child(1) svg{color:#3cb477}.progress-list div:nth-child(3) svg{color:#409de9}.progress-list span{flex:1;font-size:14px}.progress-list b{font-size:15px}.primary-cta{width:100%;border:0;border-radius:22px;background:var(--coral);color:#fff;padding:17px 18px;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 10px 20px #ff71572e;cursor:pointer}.primary-cta svg:last-child{margin-left:auto}.timeline,.quick-section{margin-top:25px}.section-title{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:800;margin-bottom:12px}.section-title button{border:0;background:none;color:#3389d2;font-size:13px;display:flex;align-items:center}.sync{font-size:12px;color:#38a46c;font-weight:500;display:flex;align-items:center;gap:3px}.timeline-item{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.timeline-item>div{flex:1}.timeline-item b,.timeline-item small{display:block}.timeline-item small{color:#778b89;margin-top:4px;font-size:13px}.dot{width:12px;height:12px;border-radius:50%;position:relative;margin-left:3px}.dot:after{content:"";position:absolute;top:15px;left:5px;height:40px;border-left:2px dotted #d8dfdc}.timeline-item:last-child .dot:after{display:none}.coral{background:#ff7157}.yellow{background:#ffc32e}.blue{background:#4ba3e9}.pill-done,.pill-doing,.pill-next{font-size:12px;padding:5px 9px;border-radius:20px;white-space:nowrap}.pill-done{background:#ffebe6;color:#ff7157}.pill-doing{background:#fff4d2;color:#ce9700}.pill-next{background:#e4f3ff;color:#2b8edb}.check-row{display:flex;align-items:center;gap:11px;padding:10px 0;color:#365b5c}.check-row input{display:none}.fake-check{width:21px;height:21px;border:1.5px solid #a5b4b0;border-radius:7px;display:grid;place-items:center;color:#fff}.check-row input:checked+.fake-check{background:#3cb477;border-color:#3cb477}.check-row input:checked~span:last-child{text-decoration:line-through;color:#a5b4b0}.add-row{display:flex;gap:8px;margin-top:6px}.add-row input{flex:1;border:1px solid var(--line);border-radius:14px;padding:10px 12px;font:inherit;outline:none}.add-row button,.icon-btn{border:0;border-radius:14px;background:#fff0c7;color:#bf8e00;width:43px;display:grid;place-items:center}.bottom-nav{position:fixed;bottom:0;width:min(100%,430px);height:78px;background:#fffdf7f5;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 8px 8px;z-index:5}.bottom-nav button{border:0;background:none;color:#7f908f;display:flex;flex-direction:column;align-items:center;gap:5px;font:inherit;font-size:12px;cursor:pointer}.bottom-nav button.active{color:var(--coral);font-weight:700}.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin:4px 2px 24px}.eyebrow{color:#4ca574;font-size:13px;font-weight:700}.page-head h2{font-size:30px;letter-spacing:-1px;margin:7px 0 6px}.page-head p{margin:0;color:var(--muted);font-size:14px}.icon-btn{width:44px;height:44px;background:#eff8f1;color:#3ca873}.surgery-banner{display:flex;justify-content:space-between;align-items:center;background:#eff8f1;border-radius:20px;padding:18px 20px;margin-bottom:24px}.surgery-banner b,.surgery-banner span{display:block}.surgery-banner span{font-size:13px;color:#6d8582;margin-top:4px}.surgery-banner svg{color:#40ad77}.group-title{font-weight:800;margin:19px 2px 8px}.group-title span{font-size:12px;color:#90a09f;font-weight:500;margin-left:8px}.exercise-row{width:100%;display:flex;align-items:center;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;padding:13px 0;gap:12px;color:var(--ink);cursor:pointer}.exercise-icon{width:42px;height:42px;border-radius:15px;display:grid;place-items:center}.exercise-icon.mint{background:var(--mint);color:#39a36c}.exercise-icon.blue{background:var(--blue);color:#348ed2}.exercise-icon.coral{background:#ffebe6;color:#ff7157}.exercise-icon.yellow{background:var(--yellow);color:#d69f00}.exercise-copy{flex:1}.exercise-copy b,.exercise-copy small{display:block}.exercise-copy small{color:var(--muted);font-size:12px;margin-top:4px}.row-arrow{color:#a8b6b2}.star-done{color:#ffc32e;font-size:21px}.date-switch{display:flex;align-items:center;justify-content:space-between;margin:4px 0 24px}.date-switch button{width:42px;height:42px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 12px #173f3510;font-size:30px;color:var(--ink)}.record{position:relative;padding-left:52px;margin-bottom:20px}.record-time{position:absolute;left:0;top:15px;font-size:14px;color:#6d8280}.record:before{content:"";position:absolute;left:34px;top:30px;bottom:-20px;width:2px;background:#edf0ea}.record:last-child:before{display:none}.record-card{position:relative;background:#fff;border:1px solid #f1f1ec;border-radius:22px;padding:18px 14px 16px 64px;min-height:102px;box-shadow:0 7px 15px #173f3507}.record-icon{position:absolute;left:16px;top:17px;width:37px;height:37px;border-radius:50%;display:grid;place-items:center}.record-card.pill .record-icon{background:#ffe1cf;color:#fa684e}.record-card.food .record-icon{background:#e2f5d6;color:#56a54f}.record-card.body .record-icon{background:#dff0ff;color:#499ce2}.record-card b,.record-card small{display:block}.record-card small{color:#7a8b8b;font-size:13px;margin-top:6px}.sync-badge{position:absolute;right:12px;top:15px;background:#e7f7e7;color:#32a269;border-radius:15px;padding:5px 8px;font-size:11px;display:flex;align-items:center;gap:3px}.food-photo{height:105px;margin-top:12px;border-radius:14px;background:linear-gradient(135deg,#82bf63,#f2c265 44%,#fa8d58);opacity:.75}.mood-scale{height:16px;background:linear-gradient(90deg,#4bc17d,#f6ca55,#ee7662);border-radius:10px;margin-top:16px}.floating{position:fixed;bottom:95px;margin-left:-8px;left:50%;transform:translate(-50%);border:0;border-radius:30px;background:var(--coral);color:#fff;padding:14px 23px;font:700 16px inherit;display:flex;gap:7px;align-items:center;box-shadow:0 8px 18px #ff71574d}.avatar{width:47px;height:47px;border-radius:50%;background:#ffe1cf;color:#e86e55;display:grid;place-items:center;font-size:22px;font-weight:800}.profile-card{display:flex;align-items:center;gap:12px;padding:18px;border-radius:22px;background:#eff8f1;margin-bottom:22px}.profile-icon{width:44px;height:44px;border-radius:15px;background:#dff2e6;color:#39a36c;display:grid;place-items:center}.profile-card div:nth-child(2){flex:1}.profile-card b,.profile-card small{display:block}.profile-card small{font-size:12px;color:var(--muted);margin-top:4px}.setting-list{border-top:1px solid var(--line)}.setting-list button{width:100%;display:flex;align-items:center;gap:12px;padding:18px 4px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:left}.setting-list button svg{color:#5aa1db}.setting-list button span{flex:1}.online{font-size:12px;color:#39a36c}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#083d3a66;display:flex;align-items:flex-end;z-index:10}.training-modal{width:min(100%,430px);min-height:88vh;background:#f0faf2;border-radius:32px 32px 0 0;padding:24px 20px 28px;position:relative;text-align:center}.training-modal.blue{background:#eef8fd}.training-modal.coral{background:#fff4ef}.training-modal.yellow{background:#fffaf0}.modal-close{position:absolute;right:18px;top:18px;border:0;background:#fff9;border-radius:50%;width:38px;height:38px;color:var(--ink)}.modal-top{display:flex;justify-content:space-between;color:#43836b;font-size:13px;font-weight:700}.step-dots{display:flex;gap:7px;justify-content:center;margin:20px 0}.step-dots i{width:35px;height:6px;border-radius:5px;background:#d8e5db}.step-dots i.on{background:#49b57c}.breath-visual{height:210px;display:grid;place-items:center;position:relative}.breath-orbit{width:170px;height:170px;border-radius:50%;border:2px dashed #9ad6b2;display:grid;place-items:center;animation:breathe 3s ease-in-out infinite}.breath-core{width:105px;height:105px;border-radius:50%;background:#c9efd6;color:#3aad76;display:grid;place-items:center}.spark{position:absolute;color:#f5c64c;font-size:26px}.s1{top:25px;left:25%}.s2{bottom:15px;right:22%}@keyframes breathe{0%,to{transform:scale(.9)}50%{transform:scale(1.05)}}.training-modal h2{font-size:29px;margin:3px 0 12px}.step-copy{font-size:19px;font-weight:700;min-height:31px}.timer{display:inline-flex;align-items:center;gap:7px;margin:17px 0 5px;color:#4ca574}.timer b{font-size:25px}.timer span{font-size:12px;color:#8a9998}.encourage{color:#708583;font-size:14px;margin:8px 0 19px}.pause{width:100%;border:1px solid #79b896;background:#fff0;color:#29634d;border-radius:20px;padding:14px;margin-top:10px;font:600 16px inherit}.result{padding-top:130px}.celebrate{width:110px;height:110px;margin:0 auto 22px;border-radius:50%;background:#fff0b8;color:#f0af13;display:grid;place-items:center;animation:pop .7s ease}@keyframes pop{0%{transform:scale(.5)}to{transform:scale(1)}}.result h2{font-size:32px}.result p{color:#738583;line-height:1.8}.stars{font-size:35px;letter-spacing:8px;color:#ffc442;margin:24px 0 32px}@media (min-width: 700px){body{padding:28px 0}.app-shell{border-radius:32px;overflow:hidden}.bottom-nav{position:absolute;border-radius:0 0 32px 32px}}.category-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:0 0 16px}.category-tabs button{border:1px solid #e6eee8;border-radius:15px;background:#fff;padding:9px 3px;color:#7b8e8a;font:inherit;cursor:pointer}.category-tabs button b,.category-tabs button span{display:block}.category-tabs button b{font-size:17px;color:#5a9f78}.category-tabs button span{font-size:10px;margin-top:3px}.category-tabs button.selected{background:#e6f6ea;border-color:#6b8;color:#23684a;box-shadow:0 5px 12px #4ca5741c}.category-tabs button.selected b{color:#2e9b62}.record-filter{display:flex;gap:8px;overflow:auto;margin:-7px 0 18px;padding-bottom:3px}.record-filter span{white-space:nowrap;border-radius:16px;background:#f3f5f0;color:#81918f;padding:7px 12px;font-size:12px}.record-filter span.active{background:#e4f4e8;color:#36a269;font-weight:700}.record-card.train .record-icon{background:#e0f4e7;color:#39a36c}.record-card.todo .record-icon{background:#fff0c7;color:#d69f00}.screen{overflow:visible!important;min-height:calc(100vh - 78px);padding-bottom:140px}body{overflow-y:auto}.quick-features{margin:20px 0 4px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick-grid button{border:1px solid #edf0ea;background:#fff;border-radius:16px;padding:10px 4px 11px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--ink);font:inherit;cursor:pointer;box-shadow:0 5px 12px #173f3506}.quick-grid button b{font-size:11px;white-space:nowrap}.hero-art{position:absolute;right:-34px;top:18px;width:205px;height:205px;object-fit:cover;object-position:center;border-radius:50%;mix-blend-mode:multiply;animation:heroFloat 5s ease-in-out infinite}.training-art{width:220px;height:205px;object-fit:cover;border-radius:24px;mix-blend-mode:multiply;animation:trainingPulse 3s ease-in-out infinite}.food-photo{width:100%;height:120px;object-fit:cover;border-radius:14px;margin-top:12px;display:block}.breath-visual:has(.training-art){height:220px}@keyframes heroFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes trainingPulse{0%,to{transform:scale(.98)}50%{transform:scale(1.02)}}.phase-label{display:inline-flex;background:#e1f3e7;color:#309964;border-radius:14px;padding:6px 12px;font-size:13px;font-weight:800;margin-top:4px}.motion-arrows{position:absolute;right:18%;top:28%;color:#54b8dd;font-size:25px;opacity:.65;animation:arrowFlow 1.4s ease-in-out infinite}.motion-running .breath-orbit{animation-duration:1.8s}.motion-running .motion-arrows{animation-duration:.8s;opacity:1}.motion-belly .training-art{animation-duration:2.2s}.motion-pursed .breath-core{animation:breathe 1.2s ease-in-out infinite}.motion-trainer .breath-core{animation:breathe 1.8s ease-in-out infinite}.motion-ankle .breath-core,.motion-wrist .breath-core{animation:rotateCue 2s linear infinite}@keyframes arrowFlow{0%,to{transform:translate(0);opacity:.4}50%{transform:translate(8px,-6px);opacity:1}}@keyframes rotateCue{to{transform:rotate(360deg)}}.admin-shell{min-height:100svh;background:#f5f3eb;padding:30px max(18px,calc((100vw - 900px)/2));color:var(--ink)}.admin-login{max-width:420px;margin:8vh auto;background:#fffdf7;padding:34px;border-radius:28px;box-shadow:0 16px 40px #173f3510}.admin-login h1,.admin-head h1{font-size:32px;line-height:1.25;margin:16px 0 10px}.admin-login p,.admin-head p{color:var(--muted);line-height:1.6}.admin-login input{display:block;width:100%;border:1px solid #e1e9e2;border-radius:14px;padding:13px 14px;margin:10px 0;font:inherit;background:#fff}.admin-login small{display:block;color:#a18144;line-height:1.7;margin-top:16px}.admin-head{display:flex;justify-content:space-between;align-items:flex-start}.admin-head>button{border:0;background:#fff;border-radius:12px;padding:10px 15px;color:#9f5c4d}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.admin-stats div{background:#fffdf7;border-radius:18px;padding:18px}.admin-stats b,.admin-stats span{display:block}.admin-stats b{font-size:25px}.admin-stats span{color:var(--muted);font-size:12px;margin-top:4px}.admin-table{background:#fffdf7;border-radius:20px;overflow:hidden}.admin-row{display:grid;grid-template-columns:1.2fr 1fr .8fr .6fr;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #edf0ea;font-size:13px}.admin-label{color:#8b9a96;font-size:12px;background:#f4f8f2}.admin-row button,.admin-add{border:0;background:#e7f5ea;color:#319b65;border-radius:10px;padding:7px 9px;font:inherit}.enabled{color:#319b65;font-style:normal}.disabled{color:#be7460;font-style:normal}.admin-add{display:flex;align-items:center;gap:6px;margin-top:18px;padding:12px 16px}.feature-page{min-height:calc(100svh - 110px);padding-bottom:100px}.feature-form{background:#fff;border-radius:22px;padding:18px;margin-top:8px}.form-grid label input{accent-color:#3caf75}.feature-add{margin-top:14px}.upload-box{width:100%;border:1px dashed #a9d6b5;border-radius:17px;background:#f5fbf5;color:#36a16a;padding:22px 10px;margin:12px 0;display:flex;flex-direction:column;align-items:center;gap:7px;font:inherit}.upload-box small{color:#88a092}.feature-record>svg{color:#a6b5b1}.feature-record .feature-icon{width:32px;height:32px}.balloon-shape{display:block;width:86px;height:104px;border-radius:50% 50% 45% 45%;border:8px solid #ff7b68;color:transparent;box-shadow:inset 0 0 20px #ffb2a6;animation:balloonGrow 5s linear infinite}.app-shell{width:min(100%,393px);min-height:100svh}.bottom-nav{width:min(100%,393px);padding-bottom:calc(8px + env(safe-area-inset-bottom));height:calc(78px + env(safe-area-inset-bottom))}.screen{min-height:calc(100svh - 78px - env(safe-area-inset-bottom));padding-left:16px;padding-right:16px}.feature-hub{margin-top:28px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature-card{border:1px solid #edf0ea;background:#fff;border-radius:18px;padding:13px 11px;display:flex;align-items:center;gap:9px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;box-shadow:0 6px 14px #173f3505}.feature-card b{font-size:13px;flex:1}.feature-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center}.feature-icon.mint,.feature-large-icon.mint{background:#e0f4e7;color:#39a36c}.feature-icon.yellow,.feature-large-icon.yellow{background:#fff0c7;color:#d69f00}.feature-icon.coral,.feature-large-icon.coral{background:#ffebe6;color:#ff7157}.feature-icon.green,.feature-large-icon.green{background:#e2f5d6;color:#56a54f}.feature-icon.blue,.feature-large-icon.blue{background:#dff0ff;color:#499ce2}.feature-icon.orange,.feature-large-icon.orange{background:#ffe6d5;color:#ee7545}.feature-panel{width:min(100%,430px);background:#fffdf7;border-radius:32px 32px 0 0;padding:30px 22px 34px;position:relative}.feature-panel h2{font-size:29px;margin:16px 0 8px}.feature-panel p{color:#748785;line-height:1.7;margin:0 0 20px}.feature-large-icon{width:58px;height:58px;border-radius:20px;display:grid;place-items:center}.feature-demo-list{border-top:1px solid var(--line);margin-bottom:24px}.feature-demo-list div{display:flex;align-items:center;gap:9px;padding:16px 0;border-bottom:1px solid var(--line);color:#38605e}.feature-demo-list div svg:first-child{color:#3cac73}.feature-demo-list div span{flex:1}html,body{overflow-x:hidden;max-width:100%}.back-btn,.icon-btn,.modal-close,.timer-card-top button,.delete-record,.edit-record,.todo-check,.add-row button{min-width:44px;min-height:44px}.bottom-nav button,.mode-row button,.template-row button,.timer-actions button,.pause,.exit-training{min-height:44px}.bottom-nav button{flex:1 1 20%;min-width:44px}.section-title button,.date-switch button{min-width:44px;min-height:44px;justify-content:center}.feature-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;width:min(100%,393px);margin:0 auto;min-height:100svh;max-height:100svh;overflow-y:auto;background:#fffdf7;padding:24px 16px 120px}.feature-page.composer-open{overflow:hidden;overscroll-behavior:none;touch-action:none}.feature-page-head{align-items:center}.back-btn{border:0;background:#eff8f1;color:#328e64;border-radius:14px;width:42px;height:42px;font-size:30px;line-height:1}.form-grid{display:grid;gap:10px;margin-top:12px}.form-grid input,.form-grid select{border:1px solid #e3ebe4;border-radius:13px;padding:12px;font:inherit;color:var(--ink);background:#fff}.form-grid label{font-size:13px;color:#657b78}.upload-box{width:100%;border:1px dashed #a9d6b5;border-radius:17px;background:#f5fbf5;color:#36a16a;padding:22px 10px;margin:12px 0;display:flex;flex-direction:column;align-items:center;gap:7px;font:inherit;cursor:pointer}.native-file-input{position:fixed;left:-9999px;width:1px;height:1px;opacity:0}.meal-quick-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 4px}.meal-quick-row button{min-width:0;min-height:44px;border:1px solid #d9e8dc;border-radius:13px;background:#fff;color:#55726a;font:inherit;font-size:13px;font-weight:700}.meal-quick-row button.selected{border-color:#72c695;background:#e5f6ea;color:#257d54}.template-row{display:flex;gap:8px;margin:14px 0;overflow:auto}.template-row button{white-space:nowrap;border:0;border-radius:13px;background:#e4f2ff;color:#448fbd;padding:10px 13px;font:inherit}.feature-records{margin-top:14px;background:#fff;border-radius:20px;overflow:hidden}.feature-form-summary{padding-bottom:0}.feature-form-summary>:not(.section-title){display:none!important}.feature-form-summary>.record-view-toggle{display:grid!important}.feature-record{display:flex;align-items:center;gap:10px;padding:15px 14px;border-bottom:1px solid var(--line)}.feature-record-main{flex:1 1 auto;min-width:0;display:grid;gap:3px}.feature-error,.composer-error{margin:10px 0;border-radius:12px;background:#fff0ed;color:#a84638;padding:10px 12px;font-size:13px;line-height:1.5}.feature-error{margin:0 0 12px}.feature-record-main>small{color:#81938e;font-size:11px;font-variant-numeric:tabular-nums}.feature-record-text{min-width:0;overflow-wrap:anywhere}.feature-record-edit{flex:1;min-width:0;min-height:42px;border:1px solid #9bcfb0;border-radius:11px;background:#f7fcf8;color:var(--ink);padding:9px 10px}.edit-record,.delete-record{flex:0 0 44px;border:0;border-radius:12px}.edit-record{background:#e7f5ec;color:#2d8d61}.delete-record{background:#fff0ed;color:#d96d5d}.record-content{min-width:0;padding-right:82px}.record-actions{position:absolute;top:12px;right:10px;display:flex;gap:5px}.record-actions button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:11px;background:#edf6f0;color:#318660}.record-actions button:last-child{background:#fff0ed;color:#d96d5d}.record-edit-fields{display:grid;gap:8px}.record-edit-fields input,.record-edit-fields textarea,.record-time-input{border:1px solid #a9d2b8;border-radius:11px;background:#f8fcf9;color:var(--ink);padding:9px 10px}.record-edit-fields textarea{min-height:70px;resize:vertical}.record-time-input{position:absolute;left:0;top:8px;width:48px;min-height:44px;padding:4px;font-size:12px}.notification-settings{margin-top:12px;border-radius:16px;background:#fff;padding:15px;box-shadow:0 8px 24px #18504112}.notification-settings header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.notification-settings header b,.notification-settings header span{display:block}.notification-settings header span{margin-top:3px;color:#718781;font-size:12px}.notification-settings header button{min-height:44px;flex:0 0 auto;border:0;border-radius:12px;background:#e2f4e8;color:#257d54;padding:8px 12px;font-weight:800}.notification-settings>label{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);color:#315c56;font-size:14px;font-weight:700}.notification-settings input[type=checkbox]{width:22px;height:22px;accent-color:#43ae75}.notification-settings p{margin:12px 0 0;border-radius:11px;background:#edf8f0;color:#287e57;padding:10px;font-size:13px;font-weight:700}.notification-settings>small{display:block;margin-top:10px;color:#7a8d88;line-height:1.55}.feature-record span:nth-child(2){flex:1}.balloon-shape{display:block;width:86px;height:104px;border-radius:50%;border:8px solid #ff7b68;color:transparent;box-shadow:inset 0 0 20px #ffb2a6;animation:balloonGrow 5s linear infinite}.balloon-string{display:block;color:#58a87c;font-size:38px;line-height:14px;transform:translate(40px)}.motion-balloon .breath-orbit{border:0}.motion-balloon .breath-core{background:transparent;width:auto;height:auto}.motion-balloon .breath-core svg{display:none}.motion-balloon .breath-core{width:92px;height:112px;border:8px solid #ff7b68;border-radius:50%;box-shadow:inset 0 0 20px #ffb2a6;animation:balloonGrow 5s linear infinite}.motion-balloon .breath-core:after{content:"╵";position:absolute;top:94px;color:#58a87c;font-size:34px}.motion-bike .breath-orbit{border:0}.motion-bike .breath-core{width:120px;height:120px;background:transparent;border:8px solid #4ca4df;animation:wheelSpin 1.6s linear infinite}.motion-bike .breath-core:after{content:"↻";font-size:58px;color:#4ca4df}.training-art{width:165px;height:165px}.breath-visual{height:185px}.timer{min-width:190px;min-height:64px;justify-content:center;border-radius:22px;background:#fff;border:2px solid #8bd0a5;box-shadow:0 8px 20px #3cae741c;margin:18px auto 8px;padding:8px 18px}.timer b{font-size:38px;line-height:1;color:#2c9e68;min-width:54px}.timer span{font-size:13px;font-weight:700;color:#4b8070}.motion-running .timer{animation:timerPulse 1s ease-in-out infinite}.primary-cta:active,.pause:active,.feature-card:active,.quick-grid button:active,.feature-record:active{transform:scale(.97)}.primary-cta,.pause,.feature-card,.quick-grid button{transition:transform .12s ease,box-shadow .12s ease}@keyframes timerPulse{0%,to{box-shadow:0 8px 20px #3cae741c}50%{box-shadow:0 0 0 8px #8bd0a533,0 8px 22px #3cae7440}}@keyframes balloonGrow{0%,20%{transform:scale(.45)}45%{transform:scale(.7)}70%,to{transform:scale(1)}}@keyframes wheelSpin{to{transform:rotate(360deg)}}.admin-notice{background:#e7f5ea;color:#319b65;border-radius:14px;padding:11px 14px;margin:16px 0}.admin-backup-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:20px;border:1px solid rgba(49,155,101,.14);border-radius:20px;background:#fffdf7}.admin-backup-card h2{margin:5px 0 6px;font-size:19px}.admin-backup-card p{max-width:580px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.admin-backup-card button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-height:46px;border:0;border-radius:13px;padding:0 16px;background:#319b65;color:#fff;font:inherit;font-weight:800}.admin-backup-card button:active{transform:scale(.98)}@media (max-width: 620px){.admin-backup-card{align-items:stretch;flex-direction:column}.admin-backup-card button{width:100%}}.admin-actions{display:flex;gap:5px}.admin-edit{display:grid;grid-template-columns:1.2fr 1fr .8fr .6fr;gap:10px;align-items:center;padding:14px;border-bottom:1px solid #edf0ea}.admin-edit input{width:100%;min-width:0;border:1px solid #dfe9e1;border-radius:9px;padding:8px;font:inherit}.admin-edit button{border:0;background:#e7f5ea;color:#319b65;border-radius:9px;padding:8px;font:inherit}.reset-line{grid-column:1/-1;display:flex;gap:8px}.reset-line input{flex:1}.timer-entry{width:100%;margin-top:10px;border:1px solid #f0e7c7;border-radius:16px;background:#fffaf0;color:#a87a08;padding:12px;display:flex;align-items:center;gap:10px;text-align:left;font:inherit}.timer-entry span{flex:1}.timer-entry small,.timer-entry b{display:block}.timer-entry small{font-size:11px;color:#9a8d68;margin-top:3px}.timer-form{background:#fff;border-radius:22px;padding:18px;display:grid;gap:12px}.timer-form>input,.timer-form label input{border:1px solid #e3ebe4;border-radius:13px;padding:12px;font:inherit}.timer-form label{display:flex;align-items:center;gap:7px;color:#58716d;font-size:14px}.timer-form label input{width:80px}.mode-row{display:flex;gap:8px}.mode-row button{flex:1;border:0;border-radius:12px;background:#f2f5f1;color:#748884;padding:11px;font:inherit}.mode-row button.selected{background:#e5f4e9;color:#29965f;font-weight:700}.timer-form small{color:#8a9b96;font-size:12px}.timer-list{display:grid;gap:12px;margin-top:15px}.timer-card{background:#fff;border-radius:20px;padding:17px;box-shadow:0 7px 15px #173f3508;border:1px solid #edf0ea}.timer-card.timer-active{border-color:#69c38e;box-shadow:0 0 0 4px #69c38e22}.timer-card-top{display:flex;justify-content:space-between;align-items:center}.timer-card-top button{border:0;background:#fff0;color:#a7b4b0}.timer-card>strong{display:block;text-align:center;color:#2c9e68;font-size:46px;line-height:1.2;margin:8px}.timer-card>small{display:block;text-align:center;color:#7c8d89}.timer-actions{display:flex;gap:8px;margin-top:14px}.timer-actions button{flex:1;border:0;border-radius:12px;padding:11px;font:inherit;background:#e8f6eb;color:#319b65}.timer-actions button:last-child{background:#f4f5f2;color:#74837f}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;color:#8ca09a;padding:55px 0}.empty-state svg{color:#d6b54e}.empty-state span{font-size:13px}.add-row{width:100%;min-width:0}.add-row input{min-width:0;flex:1}.add-row button{flex:0 0 44px;width:44px;min-width:44px}.feature-record{cursor:pointer}.todo-check{width:24px;height:24px;border:2px solid #b5c5bd;border-radius:8px;display:grid;place-items:center;flex:0 0 24px;color:transparent;padding:0;background:transparent}.live-stars{display:flex;justify-content:center;align-items:center;gap:8px;margin:10px 0 4px}.live-stars span{color:#dfe5df;font-size:30px;transform:scale(.82);transition:color .25s,transform .25s,filter .25s}.live-stars span.lit{color:#ffc94d;transform:scale(1.12);filter:drop-shadow(0 3px 5px #f0a92c55);animation:starPop .35s ease-out}.live-stars small{color:#8a9b96;font-size:11px;margin-left:4px}@keyframes starPop{50%{transform:scale(1.45) rotate(8deg)}}.exit-training{width:100%;border:0;background:transparent;color:#889995;padding:12px;font:inherit;text-decoration:underline}.motion-fist.motion-running .breath-core{animation:grip 1.4s infinite}.motion-wrist.motion-running .breath-core,.motion-ankle.motion-running .breath-core{animation:wheelSpin 1.8s linear infinite}.motion-raise.motion-running .breath-core,.motion-wall.motion-running .breath-core{animation:lift 1.5s ease-in-out infinite alternate}.motion-head.motion-running .breath-core{animation:arc 1.6s ease-in-out infinite alternate}.motion-cough.motion-running .breath-core{animation:cough 1.1s ease-in-out infinite}@keyframes grip{50%{transform:scale(.68);border-radius:35%}}@keyframes lift{to{transform:translateY(-28px) scale(1.06)}}@keyframes arc{to{transform:translate(25px,-18px) rotate(28deg)}}@keyframes cough{35%{transform:translate(-8px) scale(.94)}55%{transform:translate(8px) scale(1.05)}}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(155deg,#fffdf6,#eaf8ed)}.login-card{width:min(100%,390px);background:#fff;border-radius:30px;padding:34px 25px;display:grid;gap:13px;text-align:center;box-shadow:0 20px 55px #225f4930}.login-mark{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;margin:auto;background:#ffd15c;color:#fff;font-size:27px}.login-card h1{margin:4px 0 0;color:#174f4e}.login-card p,.login-card small{color:#82948f;margin:0}.login-card input{border:1px solid #e0e9e3;border-radius:14px;padding:14px;font:inherit}.login-card>button{border:0;border-radius:14px;padding:14px;background:#ff705c;color:#fff;font:inherit;font-weight:700}.login-error{color:#df6654!important}.profile-edit{margin:12px 0}.profile-edit-toggle,.logout-btn{width:100%;border:0;border-radius:14px;padding:13px;background:#edf7ef;color:#2f9661;font:inherit}.profile-edit-form{display:grid;gap:9px;margin-top:9px;background:#fff;border-radius:18px;padding:14px}.profile-edit-form input{border:1px solid #e1e9e3;border-radius:11px;padding:11px;font:inherit}.profile-edit-form button{border:0;border-radius:11px;padding:11px;background:#43b477;color:#fff;font:inherit}.logout-btn{margin:10px 0 100px;color:#dc6d5d;background:#fff0ed}.clear-data-btn{width:100%;margin-top:18px;border:1px solid #f0c7bf;border-radius:14px;padding:13px;background:#fff;color:#c75e4e;font:inherit;font-weight:700}.record-view-toggle{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;padding:4px;border-radius:14px;background:#edf3ef}.record-view-toggle button{min-height:40px;border:0;border-radius:11px;background:transparent;color:#70847e;font:inherit;font-weight:700}.record-view-toggle button.selected{background:#fff;color:#27835a;box-shadow:0 4px 12px #1e5c4414}.schedule-date-label{width:auto!important;min-width:150px!important;height:auto!important;border-radius:14px!important;display:grid;gap:2px;padding:7px 14px;font-size:14px!important}.schedule-date-label small{color:#7d918b;font-size:10px}.schedule-list{display:grid;gap:2px}.schedule-page-item{min-height:72px}.body-score-field>span{display:flex;align-items:center;gap:8px}.body-score-field>span b{font-size:20px;color:#174f46}.body-score-field>span em{margin-left:auto;color:#6f817c;font-style:normal}.body-score-field input[type=range]{min-height:34px;padding:0;border:0;accent-color:#e5ad42;background:linear-gradient(90deg,#ec6a5d,#efc34f,#4dbd78)}.body-score-field small{display:flex;justify-content:space-between;color:#82918d}.body-score-field small i{font-style:normal}.body-score-display{margin-top:10px}.body-score-track{position:relative;height:9px;border-radius:999px;background:linear-gradient(90deg,#ec6a5d,#efc34f,#4dbd78)}.body-score-track i{position:absolute;top:50%;width:17px;height:17px;border:3px solid #fff;border-radius:50%;background:#174f46;box-shadow:0 2px 7px #0d44383d;transform:translate(-50%,-50%)}.body-score-display>span{display:block;margin-top:7px;color:#6d817c;font-size:12px;font-weight:700}.body-score-display.bad>span{color:#c8564a}.body-score-display.neutral>span{color:#a97818}.body-score-display.good>span{color:#27835a}.body-score-display.compact{max-width:210px}.body-score-missing{display:block;margin-top:9px;color:#879792;font-size:12px}.preparation-flow{width:100%;max-height:180px;margin:12px 0;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dce9e1;border-radius:14px;background:#f6faf7;padding:11px 12px;text-align:left}.preparation-flow>small{display:block;margin-bottom:7px;color:#2f7358;font-size:12px;font-weight:800}.preparation-flow ol{display:grid;gap:5px;margin:0;padding-left:18px}.preparation-flow li{color:#6c7f79;font-size:11px;line-height:1.45}.preparation-flow li b{display:inline;margin-right:5px;color:#194f43}.preparation-flow li span{color:#6c7f79}.preparation-flow p{margin:8px 0 0;color:#8a7870;font-size:10px;line-height:1.4}.record-card.timer-running,.record-card.timer-history{border-color:#f0d47a}.record-card.timer-history .record-icon{background:#fff2bd;color:#9b7500}.record-status-complete{display:inline-flex;align-items:center;gap:4px;width:fit-content;margin-top:7px;border-radius:999px;background:#def2e5;color:#277a52;padding:4px 8px;font-size:11px;font-weight:800}@media (display-mode: standalone){.app-shell{padding-top:env(safe-area-inset-top)}.bottom-nav{padding:16px 8px max(4px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:.12s!important}.breath-core,.training-art,.hero-art,.spark,.motion-arrows{transform:none!important}}.caregiver-call{width:100%;min-height:58px;margin-top:10px;border:1px solid #bfe3ce;border-radius:18px;background:#edf9f1;color:#205e48;padding:10px 13px;display:flex;align-items:center;gap:11px;text-align:left;text-decoration:none;font:inherit;box-shadow:0 6px 16px #2b8b5b17;transition:transform .14s cubic-bezier(.23,1,.32,1),box-shadow .14s cubic-bezier(.23,1,.32,1)}.caregiver-call:active{transform:scale(.98);box-shadow:0 3px 9px #2b8b5b14}.caregiver-call-icon{width:38px;height:38px;flex:0 0 38px;border-radius:13px;display:grid;place-items:center;background:#49b87c;color:#fff}.caregiver-call>span:nth-child(2){min-width:0;flex:1}.caregiver-call b,.caregiver-call small{display:block}.caregiver-call b{font-size:15px}.caregiver-call small{margin-top:2px;overflow:hidden;color:#648378;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.caregiver-call em{border-radius:999px;background:#49b87c;color:#fff;padding:7px 10px;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.caregiver-call-empty{border-color:#e2e8e3;background:#f8faf8}.caregiver-call-empty .caregiver-call-icon{background:#9ab5aa}@media (prefers-contrast: more){:root{--muted: #526663;--line: #9aaba5}.feature-record,.timer-card,.profile-card,.record-card{border-color:#71847e}}.composer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;background:#093f4357;padding-top:max(24px,env(safe-area-inset-top));height:100dvh;max-width:100vw;overflow:hidden;overscroll-behavior:none;touch-action:none}.composer-sheet{width:min(100%,430px);min-width:0;max-height:calc(100% - max(16px,env(safe-area-inset-top)));overflow-y:auto;overflow-x:hidden;overscroll-behavior-x:none;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scroll-padding-block:72px 104px;border-radius:24px 24px 0 0;background:#fffdf7;padding:10px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px #093f432e;transform-origin:bottom;animation:composerEnter .28s cubic-bezier(.23,1,.32,1)}.composer-handle{width:42px;height:5px;border-radius:5px;background:#ccd7d2;margin:0 auto 14px}.composer-sheet header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.composer-sheet h3{margin:0;font-size:22px}.composer-sheet p{margin:5px 0 0;color:#667c78;font-size:13px}.composer-sheet header button{width:44px;height:44px;border:0;border-radius:14px;background:#edf5ef;color:#436c61}.composer-fields{display:grid;min-width:0;gap:13px;margin:20px 0}.composer-fields label{display:grid;min-width:0;gap:7px;color:#315c56;font-size:13px;font-weight:700}.composer-fields input,.composer-fields select{width:100%;min-height:48px;border:1px solid #dce7df;border-radius:13px;background:#fff;color:var(--ink);padding:11px 12px}.photo-picker{min-height:92px;place-items:center;align-content:center;border:1px dashed #8dcda6;border-radius:15px;background:#f1faf3;padding:14px}.photo-picker-button{min-height:48px;border:0;border-radius:13px;background:#e2f4e8;color:#257d54;padding:11px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer}.photo-picker small{color:#748a84;font-weight:400}.photo-picker>img{width:100%;max-height:180px;object-fit:cover;border-radius:13px;margin-top:5px}.diet-record-thumb{width:48px;height:48px;object-fit:cover;border-radius:11px;flex:0 0 48px}.surgery-start{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;background:#eff8f1;border-radius:18px;padding:16px;margin-bottom:22px;min-width:0;overflow:hidden}.surgery-start>*{min-width:0}.surgery-start>svg{width:44px;height:44px;padding:10px;border-radius:14px;background:#d9f0e1;color:#319a66}.surgery-start div b,.surgery-start div span{display:block}.surgery-start div span{margin-top:3px;color:#687f7b;font-size:13px}.surgery-start input{grid-column:1 / -1;width:100%;min-width:0;max-width:100%;display:block;-moz-appearance:none;appearance:none;-webkit-appearance:none;overflow:hidden;min-height:48px;border:1px solid #cfe2d5;border-radius:13px;background:#fff;color:var(--ink);padding:11px 13px}.session-progress{margin:12px 0 2px;padding:10px 12px;border-radius:14px;background:#ffffffb8}.session-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#426b62;font-size:12px;font-weight:700}.session-progress>div span{min-width:0;overflow-wrap:anywhere;text-align:left}.session-progress>div b{color:#23875b;font-size:15px}.session-progress>i{display:block;height:7px;margin-top:7px;overflow:hidden;border-radius:999px;background:#dcebe1}.session-progress>i>b{display:block;height:100%;border-radius:inherit;background:#4bbb7b;transition:width .22s cubic-bezier(.77,0,.175,1)}.timeline-empty{padding:18px 12px;border-radius:14px;background:#f2f7f3;color:#627973;font-size:13px;line-height:1.6;text-align:center}.next-phase:active{transform:scale(.975);transition:transform .12s cubic-bezier(.23,1,.32,1)}.surgery-start>button{grid-column:1 / -1;min-height:50px;border:0;border-radius:14px;background:#43ae75;color:#fff;font-weight:800;box-shadow:0 8px 18px #319a6638}.change-surgery{min-width:64px;min-height:44px;border:0;border-radius:12px;background:#dcefe2;color:#277a52;font-weight:700}.daily-assessment{margin:-8px 0 20px;padding:17px;border:1px solid #dcece2;border-radius:19px;background:linear-gradient(145deg,#fff,#f2faf4);box-shadow:0 10px 28px #1f654914}.assessment-heading,.assessment-heading>div{display:flex;align-items:baseline}.assessment-heading{justify-content:space-between;gap:12px}.assessment-heading>div{gap:9px}.assessment-heading span{color:#315f57;font-size:14px;font-weight:800}.assessment-heading strong{color:#23875b;font-size:27px;line-height:1}.assessment-heading>b{color:#617b75;font-size:13px}.assessment-track{height:11px;overflow:hidden;margin-top:13px;border-radius:999px;background:#dfece4}.assessment-track i{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#59c88c,#f8c956);transition:width .45s cubic-bezier(.22,1,.36,1)}.daily-assessment>p{margin:8px 0 12px;color:#78908a;font-size:12px}.assessment-groups{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.assessment-groups button{min-width:0;min-height:48px;border:0;border-radius:13px;background:#e8f5ec;color:#296c4f}.assessment-groups button b,.assessment-groups button span{display:block}.assessment-groups button b{font-size:15px}.assessment-groups button span{margin-top:2px;font-size:11px;font-weight:700}.daily-assessment>small{display:block;margin-top:11px;color:#bd7444;font-size:12px;font-weight:700}.exercise-count{flex:0 0 auto;border-radius:999px;background:#edf2ef;color:#71847f;padding:5px 8px;font-size:11px;font-weight:800;white-space:nowrap}.exercise-count.complete{background:#daf1e2;color:#23875b}.exercise-row.exercise-paused{opacity:.58;cursor:default}.composer-save{width:100%;min-height:52px;border:0;border-radius:15px;background:var(--coral);color:#fff;font-weight:800;position:sticky;bottom:0;z-index:2;box-shadow:0 -10px 22px #fffdf7f0}@keyframes composerEnter{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.breath-phase-cue{position:absolute;bottom:2px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:92%;border-radius:16px;background:#fffffff0;padding:7px 11px;box-shadow:0 7px 20px #1450421f}.breath-phase-cue b{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#dff3e6;color:#23855a;font-size:18px}.breath-phase-cue span{color:#315f57;font-size:12px;font-weight:700}.phase-exhale .breath-phase-cue b{background:#dff0ff;color:#287eb7}.phase-hold .breath-phase-cue b{background:#fff1c8;color:#a97800}.phase-inhale.motion-running .breath-orbit,.phase-inhale.motion-running .breath-core,.phase-inhale.motion-running .training-art{animation:phaseInhale var(--phase-seconds) linear both}.phase-exhale.motion-running .breath-orbit,.phase-exhale.motion-running .breath-core,.phase-exhale.motion-running .training-art{animation:phaseExhale var(--phase-seconds) linear both}.phase-hold.motion-running .breath-orbit,.phase-hold.motion-running .breath-core,.phase-hold.motion-running .training-art{animation:phaseHold var(--phase-seconds) ease-in-out both}.breath-visual:has(.training-art){isolation:isolate;overflow:hidden;border-radius:28px;background:linear-gradient(180deg,#f3fbf7,#eef8f4)}.training-modal{width:min(100%,430px);height:100dvh;min-height:100dvh;max-height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:0;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(28px,env(safe-area-inset-bottom))}.modal-backdrop{align-items:stretch;justify-content:center;background:#f0faf2}.training-modal.coral,.modal-backdrop:has(.training-modal.coral){background:#fff4ef}.training-modal.blue,.modal-backdrop:has(.training-modal.blue){background:#eef8fd}.training-modal.yellow,.modal-backdrop:has(.training-modal.yellow){background:#fffaf0}.training-modal .modal-close{top:max(10px,env(safe-area-inset-top));right:12px;z-index:4}.training-modal .session-progress{margin-top:46px}.training-art{width:min(92%,280px);height:205px;object-fit:contain;mix-blend-mode:normal;border-radius:0;animation:none!important;filter:drop-shadow(0 10px 18px rgba(33,105,84,.1))}.training-art-balloon,.training-art-trainer{width:175px;margin-right:88px}.training-art-ankle,.training-art-fist,.training-art-wrist{width:190px;height:180px}.training-art-bike{width:290px;height:190px}.breath-visual:has(.training-art) .motion-arrows{display:none}.physical-balloon{position:absolute;z-index:2;right:32px;top:32px;width:76px;height:96px;transform-origin:50% 100%}.physical-balloon i{position:absolute;top:0;right:0;bottom:16px;left:0;border-radius:52% 48% 49% 51%;background:radial-gradient(circle at 32% 25%,#ffd8cf 0,#ffd8cf 8%,#ff8b74 22%,#f25f4c 75%);box-shadow:inset -9px -10px 16px #b035272e,0 10px 18px #f25f4c38}.physical-balloon i:after{content:"";position:absolute;left:31px;bottom:-8px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:12px solid #e95b49}.physical-balloon span{position:absolute;left:37px;top:84px;width:1px;height:38px;background:#55a680;transform:rotate(7deg)}.motion-balloon.phase-inhale.motion-running .physical-balloon{animation:physicalBalloonShrink var(--phase-seconds) linear both}.motion-balloon.phase-exhale.motion-running .physical-balloon{animation:physicalBalloonGrow var(--phase-seconds) linear both}@keyframes physicalBalloonShrink{0%{transform:scale(.9)}to{transform:scale(.52)}}@keyframes physicalBalloonGrow{0%{transform:scale(.52)}to{transform:scale(1.08)}}.trainer-piston{position:absolute;z-index:2;right:36px;top:40px;width:27px;height:114px;border:3px solid #83c8df;border-radius:10px;background:#ffffff9e;overflow:hidden}.trainer-piston i{position:absolute;left:3px;right:3px;bottom:8px;height:18px;border-radius:6px;background:#ff8069}.motion-trainer.phase-inhale.motion-running .trainer-piston i{animation:pistonRise var(--phase-seconds) linear both}.motion-trainer.phase-hold.motion-running .trainer-piston i{animation:pistonFall var(--phase-seconds) linear both}@keyframes pistonRise{to{transform:translateY(-76px)}}@keyframes pistonFall{0%{transform:translateY(-76px)}to{transform:translateY(0)}}.bike-crank{position:absolute;z-index:2;left:50%;top:62px;width:84px;height:84px;margin-left:6px;border:5px solid rgba(63,156,205,.82);border-radius:50%;box-shadow:inset 0 0 0 12px #b4e2f26b;opacity:.9}.bike-crank i,.bike-crank span{position:absolute;left:37px;top:5px;width:4px;height:65px;border-radius:4px;background:#398fc3}.bike-crank span{transform:rotate(90deg)}.motion-bike.motion-running .bike-crank{animation:wheelSpin .9s linear infinite}.motion-ankle.motion-running .training-art-ankle{animation:anklePump 1.8s ease-in-out infinite!important;transform-origin:50% 72%}.motion-fist.motion-running .training-art-fist{animation:localPulse 1.2s ease-in-out infinite!important}.motion-wrist.motion-running .training-art-wrist{animation:wristTurn 1.8s ease-in-out infinite!important}.motion-wall.motion-running .training-art-wall{animation:wallClimb 1.8s ease-in-out infinite alternate!important}.motion-cough.phase-exhale.motion-running .training-art-cough{animation:coughCue .72s ease-in-out 2!important}@keyframes anklePump{50%{transform:rotate(-5deg) translateY(-2px)}}@keyframes localPulse{50%{transform:scale(.92)}}@keyframes wristTurn{50%{transform:rotate(5deg)}}@keyframes wallClimb{to{transform:translateY(-9px)}}@keyframes coughCue{45%{transform:translate(3px) scale(.985)}}@media (max-width: 520px) and (max-height: 920px){.training-modal{padding:max(10px,env(safe-area-inset-top)) 14px max(12px,env(safe-area-inset-bottom))}.training-modal .modal-close{top:max(6px,env(safe-area-inset-top));right:10px;width:40px;height:40px}.training-modal .session-progress{margin:42px 0 0;padding:7px 10px;border-radius:12px}.session-progress>i{height:5px;margin-top:5px}.step-dots{gap:6px;margin:8px 0}.step-dots i{width:26px;height:5px}.breath-visual,.breath-visual:has(.training-art){height:150px;min-height:150px;border-radius:20px}.training-art,.training-art-bike{width:min(86%,220px);height:142px}.training-art-balloon,.training-art-trainer{width:132px;height:142px;margin-right:70px}.training-art-ankle,.training-art-fist,.training-art-wrist{width:158px;height:136px}.breath-phase-cue{bottom:5px;padding:6px 9px}.breath-phase-cue b{width:27px;height:27px;font-size:16px}.physical-balloon{right:25px;top:20px;transform:scale(.78)}.trainer-piston{right:26px;top:23px;transform:scale(.82)}.bike-crank{top:36px;transform:scale(.76)}.phase-label{padding:4px 10px;margin-top:3px;font-size:12px}.training-modal h2{margin:3px auto 5px;max-width:350px;font-size:clamp(21px,6vw,25px);line-height:1.22}.step-copy{min-height:0;font-size:14px;line-height:1.35}.preparation-flow{max-height:112px;margin:7px 0;padding:7px 9px;border-radius:12px}.preparation-flow>small{margin-bottom:4px;font-size:11px}.preparation-flow ol{gap:2px;padding-left:16px}.preparation-flow li{font-size:10px;line-height:1.3}.preparation-flow p{display:none}.timer{min-width:0;min-height:48px;margin:6px auto 2px;padding:5px 12px;border-radius:16px}.timer b{min-width:36px;font-size:30px}.timer span{font-size:11px}.live-stars{gap:4px;margin:3px 0 1px}.live-stars span{font-size:23px}.live-stars small{font-size:9px}.encourage{margin:2px 0 7px;font-size:11px;line-height:1.3}.training-modal .primary-cta{min-height:48px;padding:11px 14px;border-radius:17px;font-size:15px}.training-modal .pause{min-height:44px;margin-top:6px;padding:9px;border-radius:15px;font-size:14px}.training-modal .exit-training{min-height:36px;padding:7px;font-size:12px}}@media (max-width: 520px) and (max-height: 760px){.breath-visual,.breath-visual:has(.training-art){height:122px;min-height:122px}.training-art,.training-art-bike,.training-art-balloon,.training-art-trainer{height:116px}.training-preparation .step-copy,.training-preparation .encourage,.training-preparation .live-stars small{display:none}.preparation-flow{max-height:92px}}.phase-inhale.motion-running .motion-arrows{color:#37a66e;transform:rotate(-24deg)}.phase-exhale.motion-running .motion-arrows{color:#398fca;transform:rotate(156deg)}.phase-hold.motion-running .motion-arrows{opacity:.2;animation:none}@keyframes phaseInhale{0%{transform:scale(.82);opacity:.76}to{transform:scale(1.08);opacity:1}}@keyframes phaseExhale{0%{transform:scale(1.08);opacity:1}to{transform:scale(.78);opacity:.78}}@keyframes phaseHold{0%,to{transform:scale(1)}50%{transform:scale(1.025)}}@media (prefers-reduced-motion: reduce){.composer-sheet{animation:none}.phase-inhale.motion-running .breath-orbit,.phase-inhale.motion-running .breath-core,.phase-inhale.motion-running .training-art,.phase-exhale.motion-running .breath-orbit,.phase-exhale.motion-running .breath-core,.phase-exhale.motion-running .training-art,.phase-hold.motion-running .breath-orbit,.phase-hold.motion-running .breath-core,.phase-hold.motion-running .training-art{animation:none!important;opacity:1}}.todo-check.checked{background:#42b477;border-color:#42b477;color:#fff}.feature-record.done span:nth-child(2){text-decoration:line-through;color:#9eaca8}.take-btn{border:0;background:#ffebe6;color:#e86d58;border-radius:10px;padding:7px 9px;font:inherit}@media (max-width: 520px){.training-modal{display:flex;flex-direction:column;justify-content:space-between}.training-modal>.primary-cta{margin-top:0;flex:0 0 auto}.training-modal>.pause,.training-modal>.exit-training{flex:0 0 auto}}@media (max-width: 520px) and (min-height: 800px) and (max-height: 920px){.training-modal{padding-inline:18px}.training-modal .session-progress{margin-top:44px;padding:9px 12px}.step-dots{margin:11px 0}.breath-visual,.breath-visual:has(.training-art){height:184px;min-height:184px;border-radius:24px}.training-art,.training-art-bike{width:min(90%,250px);height:176px}.training-art-balloon,.training-art-trainer{width:155px;height:176px;margin-right:80px}.training-art-ankle,.training-art-fist,.training-art-wrist{width:180px;height:168px}.training-modal h2{margin:5px auto 7px;font-size:clamp(23px,6.4vw,27px)}.step-copy{font-size:15px}.preparation-flow{max-height:138px;margin:9px 0;padding:9px 11px}.preparation-flow ol{gap:3px}.preparation-flow li{font-size:10.5px;line-height:1.35}.timer{min-height:54px;margin-top:8px;padding:6px 14px}.timer b{font-size:33px}.live-stars{margin:5px 0 2px}.live-stars span{font-size:26px}.encourage{margin:3px 0 8px;font-size:12px}.training-modal .primary-cta{min-height:52px;font-size:16px}.training-modal .pause{min-height:46px}}.medicine-times-editor,.medicine-times-list{display:grid;gap:8px;width:100%}.medicine-time-row{display:flex;align-items:flex-end;gap:8px;width:100%}.medicine-time-row label{flex:1;min-width:0}.medicine-time-row input{width:100%;min-width:0}.medicine-time-remove,.add-medicine-time{border:1px solid rgba(38,135,103,.2);color:#267e67;background:#f0faf5}.medicine-time-remove{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px}.add-medicine-time{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:46px;border-radius:14px;font-weight:800}.medicine-time-remove:active,.add-medicine-time:active{transform:scale(.97);background:#dff4ea}.breath-phase-cue{width:calc(100% - 20px);min-height:48px;max-width:360px;justify-content:flex-start;gap:8px;overflow:hidden;isolation:isolate;border:1px solid rgba(59,160,111,.24);border-radius:15px;background:#ffffffed;padding:8px 10px;box-shadow:0 8px 20px #14504226}.breath-phase-cue .phase-progress-fill{position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(90deg,#51be8147,#87dca92e);transform:scaleX(var(--phase-progress, 0));transform-origin:left center;transition:transform 1s linear}.breath-phase-cue b{width:auto;min-width:54px;height:30px;padding:0 9px;border-radius:9px;white-space:nowrap;font-size:14px}.breath-phase-cue span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:12px}.breath-phase-cue em{color:#277a56;font-size:12px;font-style:normal;font-weight:900;font-variant-numeric:tabular-nums}.phase-exhale .breath-phase-cue .phase-progress-fill{background:linear-gradient(90deg,#48a4de47,#96d2f12e)}.phase-hold .breath-phase-cue .phase-progress-fill{background:linear-gradient(90deg,#f7c3404d,#ffe0872e)}.motion-ankle.motion-running .training-art-ankle{animation:none!important}.motion-ankle.motion-running .training-art-ankle.training-step-4{animation:ankleRotationCue 2s linear infinite!important}@keyframes ankleRotationCue{0%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}to{transform:rotate(-2deg)}}@media (prefers-reduced-motion: reduce){.breath-phase-cue .phase-progress-fill{transition:none}.motion-ankle.motion-running .training-art-ankle.training-step-4{animation:none!important}}
