.theme-toggle-btn{background:transparent;border:1px solid var(--border-color);color:var(--text-main);padding:.5rem;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.theme-toggle-btn:hover{background-color:var(--bg-hover);color:var(--primary)}.app-header{position:sticky;top:0;z-index:100;width:100%;background-color:var(--bg-card);border-bottom:1px solid var(--border-color);height:64px;box-shadow:0 1px 3px #0000000d}.header-container{max-width:1000px;margin:0 auto;padding:0 1rem;height:100%;display:flex;align-items:center;justify-content:space-between}.header-brand{font-size:1.4rem;font-weight:800;background:linear-gradient(to right,var(--primary),#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.5px}.desktop-nav{display:flex;gap:2rem}.desktop-nav a{text-decoration:none;color:var(--text-muted);font-weight:500;transition:color .2s;font-size:.95rem}.desktop-nav a.active{color:var(--primary);font-weight:600}.desktop-nav a:hover{color:var(--text-main)}.header-actions{display:flex;align-items:center;gap:1rem}.user-badge{font-size:.75rem;font-weight:600;background-color:var(--primary-light);color:var(--primary);padding:.25rem .6rem;border-radius:9999px}.btn-logout{background:transparent;border:1px solid var(--border-color);color:var(--text-muted);padding:.4rem .8rem;border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.btn-logout:hover{background-color:var(--bg-hover);color:var(--text-main)}.mobile-menu-btn{display:none;background:none;border:none;color:var(--text-main);padding:.5rem;cursor:pointer;margin-right:-.5rem}.mobile-menu-dropdown{display:none;position:fixed;top:64px;left:0;right:0;background-color:var(--bg-card);border-bottom:1px solid var(--border-color);padding:1rem;box-shadow:0 10px 15px -3px #0000001a;flex-direction:column;gap:1rem;z-index:99;animation:slideDown .2s ease-out}.mobile-menu-item{display:flex;justify-content:space-between;align-items:center;font-weight:500;color:var(--text-main);padding:.5rem 0}.mobile-logout-btn{width:100%;padding:.75rem;background-color:var(--bg-hover);border:none;border-radius:8px;color:var(--danger);font-weight:600;cursor:pointer}@media(max-width:640px){.desktop-nav,.desktop-actions{display:none}.mobile-menu-btn{display:flex;align-items:center;justify-content:center}.mobile-menu-dropdown{display:flex}.header-brand{font-size:1.3rem}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes breatheZoom{0%{transform:scale(1)}50%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes slideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.login-container{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:#000}.login-bg{position:absolute;top:-5%;left:-5%;width:110%;height:110%;background-size:cover;background-position:center;z-index:0;filter:blur(12px);animation:breatheZoom 50s infinite ease-in-out}.login-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at center,#11182780,#000000f2);z-index:1}.login-card{position:relative;z-index:10;width:90%;max-width:500px;padding:3.5rem 3rem;background:#1e293b99;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.1);border-radius:32px;box-shadow:0 40px 80px -12px #0009;text-align:center;animation:slideUp .6s cubic-bezier(.16,1,.3,1)}.app-title{font-size:3.5rem;font-weight:900;margin:0;background:linear-gradient(to right,#fff,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-1.5px;margin-bottom:.5rem;line-height:1.1}.app-subtitle{color:#cbd5e1;margin-top:0;margin-bottom:3rem;font-size:1.1rem;font-weight:500;letter-spacing:.5px;opacity:.9}.action-section{display:flex;flex-direction:column;gap:1rem}.btn-login{width:100%;padding:1.1rem;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-hover) 100%);color:#fff;border:none;border-radius:16px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 4px 20px #4f46e566;text-transform:uppercase;letter-spacing:1px}.btn-login:hover{transform:translateY(-2px);box-shadow:0 8px 25px #4f46e580}.btn-register{width:100%;padding:1rem;background-color:#ffffff0d;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:16px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-register:hover{background-color:#ffffff1a;border-color:#ffffff80}.btn-demo{width:100%;padding:1.1rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:16px;font-size:1rem;font-weight:700;cursor:pointer;margin-top:.5rem;box-shadow:0 4px 20px #10b98166;text-transform:uppercase;letter-spacing:1px;transition:transform .2s}.btn-demo:hover{transform:translateY(-2px)}.info-icon-btn{position:absolute;right:10px;top:50%;transform:translateY(-35%);background:#fff3;border:none;color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;transition:background .2s;z-index:2}.info-icon-btn:hover{background:#fff6}.divider{display:flex;align-items:center;text-align:center;color:#94a3b8;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:1px;margin:.5rem 0}.divider:before,.divider:after{content:"";flex:1;border-bottom:1px solid rgba(255,255,255,.15)}.divider span{padding:0 15px}.footer-text{margin-top:2.5rem;font-size:.75rem;color:#64748b;font-weight:500;letter-spacing:.5px}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:100;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-box{background:var(--bg-card);border:1px solid var(--border-color);border-radius:24px;padding:2rem;width:100%;max-width:450px;text-align:center;box-shadow:0 20px 50px #00000080;color:var(--text-main)}.info-modal-content h3{margin:.5rem 0 1rem;font-size:1.4rem;font-weight:700;color:var(--text-main)}.info-modal-content p{color:var(--text-muted);line-height:1.6;font-size:.95rem}.modal-icon{font-size:2.5rem;margin-bottom:.5rem}.links-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem;margin-top:1rem}.link-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:.8rem;border-radius:12px;text-decoration:none;font-weight:600;font-size:.9rem;transition:transform .2s,opacity .2s}.link-btn:hover{transform:translateY(-2px);opacity:.9}.link-btn.github{background-color:#24292e;color:#fff;border:1px solid rgba(255,255,255,.1)}.link-btn.portfolio{background-color:#2563eb;color:#fff;border:1px solid rgba(255,255,255,.1)}.divider-small{display:flex;align-items:center;text-align:center;color:var(--text-muted);font-size:.75rem;margin-bottom:1rem}.divider-small:before,.divider-small:after{content:"";flex:1;border-bottom:1px solid var(--border-color)}.divider-small span{padding:0 10px;text-transform:uppercase;font-weight:600;letter-spacing:1px}.modal-btn-primary{background:var(--primary);color:#fff;border:none;padding:.9rem 2rem;border-radius:12px;font-weight:600;cursor:pointer;width:100%;font-size:1rem;transition:background .2s}.modal-btn-primary:hover{background:var(--primary-hover)}@media(max-width:600px){.login-card{width:92%;padding:2.5rem 1.5rem;max-width:none}.app-title{font-size:2.8rem}.app-subtitle{font-size:1rem;margin-bottom:2rem}.links-grid{grid-template-columns:1fr;gap:.8rem}}.exercise-container{display:flex;flex-direction:column;height:100%;padding-bottom:1rem}.exercise-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.muscle-badge{background-color:var(--bg-hover);color:var(--text-muted);font-size:.8rem;text-transform:uppercase;font-weight:700;padding:.3rem .8rem;border-radius:20px;letter-spacing:1px}.live-timer{font-family:Monaco,Courier New,monospace;font-size:1.5rem;font-weight:700;color:var(--primary)}.exercise-title{font-size:1.8rem;font-weight:800;margin:.5rem 0 1rem;line-height:1.2;text-align:left}.media-container{flex:1;width:100%;background-color:#111827;border-radius:16px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-md);min-height:250px;max-height:40vh;border:1px solid rgba(255,255,255,.1)}.exercise-gif{width:100%;height:100%;object-fit:cover;opacity:.9}.placeholder-gif{color:#666;font-weight:600}.equipment-hint{margin-top:1rem;font-size:.9rem;color:var(--text-muted);text-align:center;font-style:italic}.feedback-container{margin-top:auto;padding-top:1rem}.feedback-prompt{text-align:center;margin-bottom:1rem;color:var(--text-muted);font-weight:500;font-size:1rem}.feedback-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.8rem;height:120px}.feedback-btn{border:none;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:700;font-size:1rem;cursor:pointer;transition:transform .1s,filter .2s;color:#fff;box-shadow:var(--shadow-sm)}.feedback-btn:active{transform:scale(.95)}.feedback-btn:disabled{opacity:.5;cursor:not-allowed}.emoji{font-size:2rem;margin-top:.5rem}.feedback-btn.easy{background:linear-gradient(135deg,#10b981,#059669)}.feedback-btn.right{background:linear-gradient(135deg,#f59e0b,#d97706)}.feedback-btn.hard{background:linear-gradient(135deg,#ef4444,#dc2626)}@media(max-height:700px){.feedback-grid{height:100px}.emoji{font-size:1.5rem}}.rest-screen{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#1f2937;color:#fff;display:flex;align-items:center;justify-content:center;z-index:50;animation:fadeIn .3s ease-out}.rest-content{text-align:center;padding:2rem}.timer-large{font-size:5rem;font-weight:800;color:#34d399;margin:1rem 0}.timer-large.urgent{color:#ef4444;animation:pulse .5s infinite}.next-up{font-size:1.1rem;color:#9ca3af;margin-bottom:2rem}.next-up strong{color:#fff}.skip-btn{background:transparent;border:2px solid #4b5563;color:#fff;padding:.8rem 2rem;border-radius:9999px;font-weight:600;cursor:pointer;transition:all .2s}.skip-btn:hover{background-color:#374151;border-color:#6b7280}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.next-up-container{background:#ffffff1a;padding:1rem;border-radius:12px;margin-bottom:2rem;display:flex;flex-direction:column;gap:.5rem}.next-label{font-size:.7rem;letter-spacing:2px;text-transform:uppercase;color:#9ca3af}.next-name{font-size:1.4rem;color:#fff}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.start-screen-container{position:fixed;inset:64px 0 0;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:10;background-color:var(--bg-body)}.hero-card{position:relative;width:100%;max-width:1100px;height:100%;max-height:85vh;border-radius:24px;overflow:hidden;background-color:#000;box-shadow:0 25px 50px -12px #0009}.hero-background{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;background-color:#1e1b4b;animation:subtleZoom 30s infinite alternate}.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,#0000004d,#0009,#000000f2);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.hero-content{position:relative;z-index:10;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}.hero-title{font-size:3.5rem;line-height:1;font-weight:900;color:#fff;margin:0;text-shadow:0 4px 30px rgba(0,0,0,.8)}.highlight{display:block;font-size:4.5rem;line-height:1.1;margin-bottom:1rem;color:#22d3ee;text-shadow:0 0 25px rgba(34,211,238,.4)}.hero-subtitle{font-size:1.1rem;color:#cbd5e1;margin-bottom:2.5rem;font-weight:500;max-width:500px;opacity:.9}.start-btn-large{background-color:var(--primary);color:#fff;border:none;padding:1rem 2.5rem;font-size:1.1rem;font-weight:700;border-radius:100px;cursor:pointer;box-shadow:0 0 0 4px #ffffff1a;transition:all .2s ease;display:flex;align-items:center;gap:10px;letter-spacing:1px}.start-btn-large:hover{transform:scale(1.05);box-shadow:0 0 0 6px #fff3}@keyframes subtleZoom{0%{transform:scale(1)}to{transform:scale(1.15)}}@media(max-width:768px){.start-screen-container{padding:0;bottom:64px}.hero-card{width:100%;height:100%;border-radius:0;box-shadow:none;max-height:none}.hero-title{font-size:2.5rem}.highlight{font-size:3.5rem}.hero-content{padding-bottom:4rem}}.analysis-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;overflow:hidden;margin-bottom:2rem;box-shadow:var(--shadow-sm);text-align:left}.analysis-header{background:var(--bg-hover);padding:1rem 1.5rem;display:flex;align-items:center;gap:1rem;border-bottom:1px solid var(--border-color)}.ai-avatar{background:var(--primary-light);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.analysis-header h3{margin:0;font-size:1.1rem;color:var(--text-main)}.analysis-content{padding:1.5rem;color:var(--text-main);line-height:1.6;font-size:.95rem}.analysis-content p{margin-bottom:1rem}.analysis-content ul{padding-left:1.5rem;margin-bottom:1.5rem}.analysis-content li{margin-bottom:.5rem}.analysis-item{margin-bottom:.8rem;padding-left:.5rem}.analysis-item::marker{color:var(--primary);font-size:1.2em}.highlight-text{color:var(--primary);font-weight:700;margin-top:1.5rem;margin-bottom:.5rem;font-size:1.05rem}.highlight-text:first-of-type{margin-top:0}.loading-analysis{text-align:center;padding:2rem;color:var(--text-muted)}.typing-indicator{display:inline-flex;gap:5px;margin-bottom:10px}.typing-indicator span{width:8px;height:8px;background-color:var(--primary);border-radius:50%;animation:bounce 1.4s infinite ease-in-out both}.typing-indicator span:nth-child(1){animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.history-container{margin-top:2rem;border-top:1px solid var(--border-color);padding-top:2rem}.history-title{font-size:1.2rem;margin-bottom:1rem;color:var(--text-main);text-align:left}.history-list{display:flex;flex-direction:column;gap:.8rem}.history-item{display:flex;justify-content:space-between;align-items:center;background-color:var(--bg-card);padding:1rem;border-radius:12px;border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:transform .1s ease}.history-item:hover{transform:scale(1.01)}.history-name{font-weight:600;font-size:1rem;color:var(--text-main)}.feedback-pill{display:inline-flex;align-items:center;gap:6px;padding:.4rem .8rem;border-radius:20px;font-size:.8rem;font-weight:700;letter-spacing:.5px}.badge-easy{background-color:#10b98126;color:#059669;border:1px solid rgba(16,185,129,.2)}.badge-right{background-color:#f59e0b26;color:#d97706;border:1px solid rgba(245,158,11,.2)}.badge-hard{background-color:#ef444426;color:#dc2626;border:1px solid rgba(239,68,68,.2)}[data-theme=dark] .badge-easy{color:#34d399;border-color:#059669}[data-theme=dark] .badge-right{color:#fbbf24;border-color:#d97706}[data-theme=dark] .badge-hard{color:#f87171;border-color:#dc2626}.summary-container{max-width:800px;margin:0 auto;padding-bottom:4rem;animation:fadeIn .5s ease-out}.summary-header{text-align:center;margin-bottom:2rem}.summary-header h1{font-size:2rem;margin-bottom:.5rem;background:linear-gradient(to right,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-weight:800}.summary-meta{display:flex;justify-content:center;gap:1.5rem;color:var(--text-muted);font-size:.9rem;align-items:center}.status-badge{padding:.2rem .6rem;border-radius:12px;font-size:.75rem;font-weight:700;text-transform:uppercase}.status-badge.completed{background-color:#10b98133;color:#10b981}.summary-actions{display:flex;flex-direction:column;gap:1rem;margin-top:3rem}.btn-primary-large{background-color:var(--primary);color:#fff;border:none;padding:1rem;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 10px #4f46e54d}.btn-primary-large:hover{transform:translateY(-2px);box-shadow:0 6px 15px #4f46e566}.btn-secondary-large{background:transparent;color:var(--text-muted);border:1px solid var(--border-color);padding:.8rem;border-radius:12px;font-weight:600;cursor:pointer;transition:background-color .2s}.btn-secondary-large:hover{background-color:var(--bg-hover);color:var(--text-main)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.profile-summary-container{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:2rem}.stat-card{background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem;text-align:center;box-shadow:var(--shadow-sm);overflow:hidden}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-value{display:block;font-size:2.5rem;font-weight:800;color:var(--primary);margin-bottom:.5rem;line-height:1}.stat-label{font-size:.875rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;font-weight:600}.profile-summary-loader,.profile-summary-error{padding:1.5rem;text-align:center;color:var(--text-muted);background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}@media(max-width:480px){.profile-summary-container{grid-template-columns:1fr}.stat-value{font-size:2rem}}.activity-history-container{margin-top:2rem;background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm)}.history-header{padding:1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.history-header h3{margin:0;font-size:1.1rem;color:var(--text-main)}.activity-list{list-style-type:none;padding:0;margin:0}.activity-list-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color);transition:background-color .2s}.activity-list-item:last-child{border-bottom:none}.activity-list-item:hover{background-color:var(--bg-hover)}.activity-details{display:flex;flex-direction:column;gap:.25rem}.activity-date{font-weight:600;color:var(--text-main);font-size:.95rem}.activity-type{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-weight:600}.view-summary-link{background-color:var(--bg-body);color:var(--primary);padding:.5rem 1rem;border-radius:9999px;text-decoration:none;font-weight:600;font-size:.85rem;transition:all .2s;border:1px solid transparent}.view-summary-link:hover{background-color:var(--primary-light);border-color:var(--primary-light)}.activity-history-loader,.activity-history-error,.activity-history-empty{padding:3rem 1rem;text-align:center;color:var(--text-muted);background-color:var(--bg-card);border-radius:16px;margin-top:2rem;border:1px solid var(--border-color)}.show-more-btn{display:block;width:100%;padding:1rem;background-color:transparent;border:none;border-top:1px solid var(--border-color);color:var(--primary);font-weight:600;cursor:pointer;transition:background-color .2s;font-size:.9rem}.show-more-btn:hover{background-color:var(--bg-hover)}.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient( var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50% );--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient( var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50% );--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg;--rdp-animation_duration: .3s;--rdp-animation_timing: cubic-bezier(.4, 0, .2, 1)}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_next[aria-disabled=true],.rdp-button_previous:disabled,.rdp-button_previous[aria-disabled=true]{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-root[data-nav-layout=around] .rdp-month,.rdp-root[data-nav-layout=after] .rdp-month{position:relative}.rdp-root[data-nav-layout=around] .rdp-month_caption{justify-content:center;margin-inline-start:var(--rdp-nav_button-width);margin-inline-end:var(--rdp-nav_button-width);position:relative}.rdp-root[data-nav-layout=around] .rdp-button_previous{position:absolute;inset-inline-start:0;top:0;height:var(--rdp-nav-height);display:inline-flex}.rdp-root[data-nav-layout=around] .rdp-button_next{position:absolute;inset-inline-end:0;top:0;height:var(--rdp-nav-height);display:inline-flex;justify-content:center}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled{opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}@keyframes rdp-slide_in_left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rdp-slide_in_right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rdp-slide_out_left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes rdp-slide_out_right{0%{transform:translate(0)}to{transform:translate(100%)}}.rdp-weeks_before_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_before_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}@keyframes rdp-fade_in{0%{opacity:0}to{opacity:1}}@keyframes rdp-fade_out{0%{opacity:1}to{opacity:0}}.rdp-caption_after_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_after_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.activity-calendar-container{margin-top:1rem;background-color:var(--bg-card);border-radius:16px;padding:1.5rem;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}.activity-calendar-container h3{margin-top:0;margin-bottom:1.5rem;color:var(--text-main);text-align:center;font-size:1.1rem}.calendar-wrapper{display:flex;justify-content:center}.rdp{--rdp-cell-size: 40px;--rdp-accent-color: var(--primary);--rdp-background-color: var(--primary-light);margin:0}.rdp-caption_label{color:var(--text-main);font-weight:700}.rdp-head_cell{color:var(--text-muted);font-weight:600}.rdp-day{color:var(--text-main)}.rdp-day:hover:not(.rdp-day_outside){background-color:var(--bg-hover)}.rdp-day_selected:not([disabled]),.rdp-day_selected:focus:not([disabled]),.rdp-day_selected:active:not([disabled]),.rdp-day_selected:hover:not([disabled]){background-color:var(--primary);color:#fff}.rdp-button:active{border:2px solid var(--primary)}.view-mode-selector{display:flex;gap:.25rem;background-color:var(--bg-input);padding:.3rem;border-radius:10px;margin-bottom:1.5rem;width:fit-content;border:1px solid var(--border-color)}.view-mode-selector button{border:none;background-color:transparent;padding:.5rem 1rem;border-radius:7px;font-weight:600;font-size:.9rem;color:var(--text-muted);cursor:pointer;transition:all .2s ease-in-out}.view-mode-selector button:hover{color:var(--text-main)}.view-mode-selector button.active{background-color:var(--bg-card);color:var(--primary);box-shadow:var(--shadow-sm)}.modal-overlay{position:fixed;inset:0;background-color:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease-out}.modal-content{background:var(--bg-card);padding:2rem;border-radius:16px;width:100%;max-width:500px;box-shadow:var(--shadow-md);border:1px solid var(--border-color);animation:slideUp .3s cubic-bezier(.16,1,.3,1)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-header h3{margin:0;color:var(--text-main);font-size:1.25rem}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-muted);padding:.5rem;line-height:1;border-radius:8px;transition:background-color .2s}.close-btn:hover{background-color:var(--bg-hover);color:var(--text-main)}.form-group{margin-bottom:1.2rem}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-main);font-size:.875rem}input,select{width:100%;padding:.75rem;background-color:var(--bg-input);border:1px solid var(--border-color);border-radius:8px;font-size:1rem;color:var(--text-main);transition:border-color .2s,ring .2s}input:focus,select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px var(--primary-light)}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.cancel-btn{padding:.75rem 1.5rem;background:transparent;border:1px solid var(--border-color);border-radius:8px;cursor:pointer;font-weight:600;color:var(--text-main);transition:background-color .2s}.cancel-btn:hover{background-color:var(--bg-hover)}.submit-btn{padding:.75rem 1.5rem;background-color:var(--primary);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:background-color .2s}.submit-btn:hover{background-color:var(--primary-hover)}.submit-btn:disabled{opacity:.7;cursor:not-allowed}.time-range-selector{display:flex;gap:.25rem;background-color:var(--bg-input);padding:.3rem;border-radius:10px;margin-bottom:1rem;width:fit-content;border:1px solid var(--border-color)}.time-range-selector button{border:none;background-color:transparent;padding:.5rem 1rem;border-radius:7px;font-weight:600;font-size:.9rem;color:var(--text-muted);cursor:pointer;transition:all .2s ease-in-out}.time-range-selector button:hover{color:var(--text-main)}.time-range-selector button.active{background-color:var(--bg-card);color:var(--text-main);box-shadow:var(--shadow-sm)}.time-range-selector button:not(.active):hover{background-color:#e0e0e0}.progress-chart-container{margin-top:1rem;background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-sm);transition:background-color .3s ease,border-color .3s ease}.progress-chart-container h3{margin-top:0;margin-bottom:2rem;color:var(--text-main);text-align:center;font-size:1.1rem;font-weight:600}.mobile-bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:64px;background-color:var(--bg-card);border-top:1px solid var(--border-color);justify-content:space-around;align-items:center;z-index:9999;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 20px #0000001a}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:var(--text-muted);font-size:.7rem;font-weight:600;padding:.5rem;width:100%;height:100%;transition:color .2s,background-color .2s}.nav-item svg{margin-bottom:4px}.nav-item.active{color:var(--primary);background-color:var(--bg-hover)}@media(max-width:640px){.mobile-bottom-nav{display:flex!important}}#root{width:100%;margin:0;padding:0;text-align:left;min-height:100vh;display:flex;flex-direction:column}.container{width:100%;max-width:1000px;margin:0 auto;padding:1.5rem 1rem 100px;flex:1;position:relative}@media(max-width:640px){.container{padding:1rem 1rem 6rem}}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}:root{--primary: #4F46E5;--primary-hover: #4338ca;--primary-light: #e0e7ff;--secondary: #10B981;--secondary-hover: #059669;--danger: #ef4444;--bg-body: #F3F4F6;--bg-card: #FFFFFF;--bg-input: #FFFFFF;--bg-hover: #F9FAFB;--text-main: #111827;--text-muted: #6B7280;--text-inverted: #FFFFFF;--border-color: #E5E7EB;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--transition-speed: .2s}[data-theme=dark]{--primary: #6366f1;--primary-hover: #818cf8;--primary-light: #312e81;--bg-body: #111827;--bg-card: #1F2937;--bg-input: #374151;--bg-hover: #374151;--text-main: #F9FAFB;--text-muted: #9CA3AF;--border-color: #374151;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .3);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .3)}*{box-sizing:border-box}body{margin:0;padding:0;width:100%;font-family:Inter,system-ui,-apple-system,sans-serif;background-color:var(--bg-body);color:var(--text-main);transition:background-color .3s ease,color .3s ease;-webkit-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{margin-top:0;color:var(--text-main)}button{font-family:inherit}.card{background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-sm)}
