:root{--primary-color:#4caf50;--background-color:#fff;--text-color:#333;--text-color-light:#666;--border-color:#e0e0e0;--font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--card-bg:#fff;--card-disabled-bg:#f9f9f9;--disabled-btn-bg:#ccc;--warning-color:#e65100}@media (prefers-color-scheme:dark){:root{--primary-color:#4caf50;--background-color:#121212;--text-color:#fff;--text-color-light:#aaa;--border-color:#333;--card-bg:#1e1e1e;--card-disabled-bg:#2d2d2d;--disabled-btn-bg:#555;--warning-color:#ffb74d}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-family);background-color:var(--background-color);color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5}h1,h2,h3,h4,h5,h6{color:var(--text-color);margin-bottom:.5rem}a{color:var(--primary-color);text-decoration:none}button{background-color:var(--primary-color);color:#fff;cursor:pointer;font-family:var(--font-family);border:none;border-radius:4px;min-width:44px;min-height:44px;padding:.5rem 1rem;font-size:1rem}button:hover{opacity:.9}button:focus-visible,a:focus-visible{outline:3px solid var(--primary-color);outline-offset:2px}.home-container{flex-direction:column;gap:1.5rem;max-width:600px;margin:0 auto;padding:1rem;display:flex}.home-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.home-header h2{color:var(--text-color);margin:0}.streak-counter{color:var(--primary-color);font-size:1.2rem;font-weight:700}.session-indicator{text-align:center;color:var(--text-color);margin-bottom:1rem;font-size:1.2rem;font-weight:700}.exercise-list{flex-direction:column;gap:1rem;display:flex}.exercise-card{background-color:var(--card-bg);border:1px solid var(--border-color);color:inherit;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;padding:1rem;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 4px #0000000d}.exercise-card:active{transform:scale(.98)}.exercise-info{flex-direction:column;flex:1;gap:.25rem;display:flex}.exercise-name{color:var(--text-color);font-size:1.1rem;font-weight:700}.exercise-desc{color:var(--text-color-light);font-size:.9rem}.exercise-timer{color:var(--text-color-light);font-size:.85rem}.exercise-card.completed{opacity:.7}.exercise-card.completed .exercise-name,.exercise-card.completed .exercise-desc,.exercise-card.completed .exercise-timer{color:var(--text-color-light)}.icon-completed{color:var(--primary-color);margin-left:1rem;font-size:1.5rem}.exercise-card.locked{opacity:.6;background-color:var(--card-disabled-bg);cursor:not-allowed;pointer-events:none}.exercise-card.locked .exercise-name,.exercise-card.locked .exercise-desc,.exercise-card.locked .exercise-timer{color:var(--text-color-light)}.unlock-condition{color:var(--warning-color);margin-top:.5rem;font-size:.8rem;font-style:italic}.icon-locked{margin-left:1rem;font-size:1.5rem}@keyframes pulse{0%{box-shadow:0 0 #4caf50b3}70%{box-shadow:0 0 0 10px #4caf5000}to{box-shadow:0 0 #4caf5000}}.exercise-card.current{border-color:var(--primary-color);animation:2s infinite pulse}.notes-section{flex-direction:column;gap:.5rem;display:flex}.notes-toggle{color:var(--primary-color);text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-weight:700}.notes-textarea{border:1px solid var(--border-color);resize:vertical;box-sizing:border-box;border-radius:8px;width:100%;min-height:80px;padding:.75rem;font-family:inherit}.btn{cursor:pointer;text-align:center;border:none;border-radius:8px;padding:1rem;font-size:1rem;font-weight:700;transition:opacity .2s}.btn:active{opacity:.8}.btn-skip{color:var(--text-color-light);border:1px solid var(--border-color);background-color:#0000;margin-top:1rem}.btn-complete{background-color:var(--primary-color);color:#fff;margin-top:1rem}.btn-complete:disabled{background-color:var(--disabled-btn-bg);cursor:not-allowed}.success-message{color:var(--primary-color);text-align:center;margin-top:1rem;font-weight:700}.exercise-container{background-color:var(--background-color);height:100%;color:var(--text-color);flex-direction:column;max-width:600px;margin:0 auto;padding:1rem;display:flex}.exercise-header{justify-content:flex-start;margin-bottom:1rem;display:flex}.btn-back{color:var(--primary-color);cursor:pointer;background:0 0;border:none;padding:.5rem;font-size:1rem}.btn-back:hover{background:0 0;text-decoration:underline}.exercise-content{text-align:center;flex-direction:column;flex:1;align-items:center;display:flex}.exercise-title{margin-bottom:.5rem;font-size:1.5rem}.exercise-description{color:var(--text-color-light);margin-bottom:2rem;font-size:1rem}.exercise-notes{font-size:.875rem;font-style:italic}.timer-section{flex-direction:column;align-items:center;width:100%;display:flex}.progress-ring-container{justify-content:center;align-items:center;width:250px;height:250px;margin-bottom:2rem;display:flex;position:relative}.progress-ring{width:100%;height:100%;position:absolute;top:0;left:0;transform:rotate(-90deg)}.progress-ring-track{fill:#0000;stroke:var(--border-color);stroke-width:8px}.progress-ring-circle{fill:#0000;stroke:var(--primary-color);stroke-width:8px;stroke-linecap:round;transition:stroke-dashoffset 1s linear}.timer-display{color:var(--text-color);font-size:3rem;font-weight:700}.timer-controls{justify-content:center;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.btn-start-pause{background-color:var(--primary-color);color:#fff;border:none;border-radius:50px;min-width:120px;padding:1rem 2rem;font-size:1.25rem;font-weight:700;box-shadow:0 4px 6px #0000001a}.btn-time-adjust{color:var(--text-color);border:2px solid var(--border-color);background-color:#0000;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:1rem;font-weight:700;display:flex}.secondary-controls{flex-direction:column;gap:1rem;width:100%;max-width:300px;display:flex}.btn-secondary{color:var(--text-color-light);border:1px solid var(--border-color);background-color:#0000;border-radius:8px;width:100%;padding:.75rem;font-size:1rem}.completion-section{flex-direction:column;flex:1;justify-content:center;align-items:center;animation:.5s ease-out scaleFade;display:flex}@keyframes scaleFade{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.completion-icon-wrapper{margin-bottom:1.5rem}.checkmark{stroke-width:4px;width:100px;height:100px;stroke:var(--primary-color);stroke-miterlimit:10;box-shadow:inset 0px 0px 0px var(--primary-color);border-radius:50%;animation:.4s ease-in-out .4s forwards fill,.3s ease-in-out .9s both scale;display:block}.checkmark-circle{stroke-dasharray:166;stroke-dashoffset:166px;stroke-width:4px;stroke-miterlimit:10;stroke:var(--primary-color);fill:none;animation:.6s cubic-bezier(.65,0,.45,1) forwards stroke}.checkmark-check{transform-origin:50%;stroke-dasharray:48;stroke-dashoffset:48px;animation:.3s cubic-bezier(.65,0,.45,1) .8s forwards stroke}@keyframes stroke{to{stroke-dashoffset:0}}@keyframes scale{0%,to{transform:none}50%{transform:scale(1.1)}}@keyframes fill{to{box-shadow:inset 0 0 0 50px #4caf50}}.completion-title{color:var(--primary-color);margin-bottom:.5rem;font-size:1.75rem}.completion-subtitle{color:var(--text-color-light);margin-bottom:2rem;font-size:1.25rem;font-weight:400}.completion-actions{flex-direction:column;gap:1rem;width:100%;max-width:300px;display:flex}.btn-primary{background-color:var(--primary-color);color:#fff;border:none;border-radius:8px;width:100%;padding:1rem;font-size:1.1rem;font-weight:700}.btn-text{color:var(--text-color-light);background:0 0;border:none;width:100%;padding:.5rem;font-size:1rem;text-decoration:underline}.progress-container{flex-direction:column;gap:2rem;padding-bottom:2rem;display:flex}.progress-section h3{color:var(--text-color);border-bottom:1px solid var(--border-color);margin-bottom:1rem;padding-bottom:.5rem;font-size:1.25rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:1rem;display:grid}.stat-card{background-color:var(--card-bg);border:1px solid var(--border-color);text-align:center;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:1rem;display:flex}.stat-value{color:var(--primary-color);font-size:2rem;font-weight:700;line-height:1.2}.stat-label{color:var(--text-color-light);margin-top:.25rem;font-size:.875rem}.phase-progress-container{flex-direction:column;gap:1rem;display:flex}.phase-item{flex-direction:column;gap:.5rem;display:flex}.phase-header{justify-content:space-between;align-items:center;font-size:.9rem;font-weight:500;display:flex}.phase-bar-bg{background-color:var(--border-color);border-radius:4px;width:100%;height:8px;overflow:hidden}.phase-bar-fill{background-color:var(--primary-color);height:100%;transition:width .3s}.notes-history{flex-direction:column;gap:1rem;display:flex}.note-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:8px;padding:1rem}.note-header{color:var(--text-color-light);justify-content:space-between;margin-bottom:.5rem;font-size:.875rem;display:flex}.note-date{color:var(--text-color);font-weight:700}.note-text{color:var(--text-color);white-space:pre-wrap;font-size:1rem}.empty-state{text-align:center;color:var(--text-color-light);padding:2rem 0;font-style:italic}.settings-container{flex-direction:column;gap:1.5rem;padding-bottom:2rem;display:flex}.settings-container h2{margin-bottom:.5rem}.settings-section{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:8px;padding:1.25rem;box-shadow:0 2px 4px #0000000d}.settings-section h3{color:var(--primary-color);margin-bottom:1rem;font-size:1.1rem}.settings-description{color:var(--text-color-light);margin-bottom:1rem;font-size:.9rem}.settings-group{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.settings-group:last-child{margin-bottom:0}.settings-group label{font-size:.95rem;font-weight:700}.settings-input{border:1px solid var(--border-color);border-radius:4px;padding:.75rem;font-family:inherit;font-size:1rem}.settings-input:focus{border-color:var(--primary-color);outline:none;box-shadow:0 0 0 2px #4caf5033}.reminders-list{flex-direction:column;gap:1rem;display:flex}.reminder-group{flex-direction:row;justify-content:space-between;align-items:center}.reminder-group label{font-weight:400}.toggle-group{margin-bottom:1rem}.toggle-group:last-child{margin-bottom:0}.toggle-label{cursor:pointer;justify-content:space-between;align-items:center;font-size:1rem;display:flex}.toggle-label input[type=checkbox]{opacity:0;width:0;height:0;position:absolute}.toggle-switch{background-color:var(--disabled-btn-bg);border-radius:26px;width:50px;height:26px;transition:all .4s;display:inline-block;position:relative}.toggle-switch:before{content:"";background-color:#fff;border-radius:50%;width:20px;height:20px;transition:all .4s;position:absolute;bottom:3px;left:3px}.toggle-label input:checked+.toggle-switch{background-color:var(--primary-color)}.toggle-label input:focus+.toggle-switch{box-shadow:0 0 1px var(--primary-color)}.toggle-label input:checked+.toggle-switch:before{transform:translate(24px)}.reset-section{text-align:center;background-color:#ffebee;border-color:#ffcdd2}.reset-section h3{color:#d32f2f}@media (prefers-color-scheme:dark){.reset-section{background-color:#d32f2f1a;border-color:#d32f2f}.reset-section h3{color:#ffcdd2}}.btn-reset{color:#fff;background-color:#d32f2f;border-radius:8px;width:100%;padding:.75rem;font-weight:700}.btn-reset:hover{background-color:#b71c1c}.about-section{text-align:center;color:var(--text-color-light);box-shadow:none;background:0 0;border:none;padding:0;font-size:.9rem}.about-section p{margin-bottom:.5rem}.onboarding-container{background-color:var(--background-color);justify-content:center;align-items:center;width:100vw;min-height:100vh;padding:1rem;display:flex}.onboarding-card{background-color:var(--background-color);text-align:center;width:100%;max-width:400px}.onboarding-step{flex-direction:column;gap:1.5rem;animation:.3s ease-in-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.onboarding-step h1,.onboarding-step h2{color:var(--text-color);margin-bottom:.5rem;font-size:1.75rem;font-weight:600}.onboarding-step p{color:var(--text-color-light);font-size:1rem;line-height:1.5}.input-group,.reminders-group{flex-direction:column;gap:1rem;margin:1rem 0;display:flex}.time-input{background-color:var(--card-disabled-bg);border-radius:8px;justify-content:space-between;align-items:center;padding:.75rem;display:flex}.time-input label{color:var(--text-color);font-weight:500}input[type=date],input[type=time]{font-family:var(--font-family);border:1px solid var(--border-color);background-color:var(--card-bg);width:100%;color:var(--text-color);border-radius:8px;padding:.75rem;font-size:1rem}input[type=time]{width:auto;min-width:120px}.days-preview{font-weight:500;color:var(--primary-color)!important;font-size:1.1rem!important}.primary-btn{background-color:var(--primary-color);color:#fff;cursor:pointer;border:none;border-radius:8px;width:100%;padding:1rem;font-size:1.1rem;font-weight:600;transition:opacity .2s}.primary-btn:hover{opacity:.9}.primary-btn:disabled{background-color:var(--border-color);cursor:not-allowed}.secondary-btn{color:var(--text-color-light);cursor:pointer;background-color:#0000;border:none;width:100%;margin-top:.5rem;padding:1rem;font-size:1rem}.secondary-btn:hover{color:var(--text-color)}.button-group{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}
