.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:fadeIn .2s ease-out}.modal-content{background:var(--card-bg);border-radius:16px;padding:2.5rem;width:100%;max-width:450px;position:relative;box-shadow:var(--shadow-xl);animation:slideIn .3s ease-out}.modal-close{position:absolute;top:1rem;right:1rem;color:var(--text-secondary);transition:color .2s ease}.modal-close:hover{color:var(--text-primary)}.modal-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.modal-subtitle{color:var(--text-secondary);margin-bottom:1rem;font-size:.875rem}.trial-banner{background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;padding:16px;margin-bottom:20px;text-align:center;box-shadow:0 4px 12px #10b98133}.trial-badge{display:inline-flex;align-items:center;gap:8px;background:#ffffff40;padding:6px 14px;border-radius:20px;margin-bottom:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.trial-icon{font-size:18px;animation:bounce 2s ease-in-out infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.trial-text{color:#fff;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.trial-description{color:#fffffff2;font-size:13px;margin:0;font-weight:500}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group input{padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .2s ease}.form-group input:focus{border-color:var(--primary-color);outline:none}.btn-auth-submit{background:var(--primary-color);color:#fff;padding:.875rem;border-radius:8px;font-weight:600;font-size:1rem;margin-top:.5rem;transition:all .2s ease}.btn-auth-submit:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.auth-switch{text-align:center;color:var(--text-secondary);font-size:.875rem;margin-top:1rem}.auth-link{color:var(--primary-color);font-weight:600;background:none;border:none;cursor:pointer;padding:0;text-decoration:underline}.auth-link:hover{color:var(--primary-dark)}.auth-error-message{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-size:.875rem;margin-bottom:1rem}.auth-error-message svg{flex-shrink:0}.forgot-password-link{background:none;border:none;color:var(--primary-color);font-size:.875rem;font-weight:500;text-align:right;padding:.25rem 0;cursor:pointer;text-decoration:underline;margin-top:.25rem;transition:color .2s ease}.forgot-password-link:hover{color:var(--primary-dark)}.forgot-password-link:disabled{opacity:.5;cursor:not-allowed}.password-hint{margin-top:.5rem;font-size:.8125rem}.password-valid{display:flex;align-items:center;gap:.375rem;color:#10b981}.password-weak{color:#f59e0b}.auth-success-state{text-align:center;padding:1rem 0}.auth-success-state svg{margin-bottom:1rem}.auth-help-text{color:var(--text-secondary);font-size:.875rem;line-height:1.6;margin:1rem 0}.auth-success-actions{margin-top:1.5rem}.auth-icon-wrapper{display:flex;justify-content:center;margin-bottom:1rem}.spinner-small{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite;margin-right:.5rem}.btn-auth-submit:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn-auth-submit:disabled:hover{transform:none;box-shadow:none}.btn-auth-submit{display:flex;align-items:center;justify-content:center;gap:.5rem}.form-group input:disabled{background-color:#f3f4f6;cursor:not-allowed;opacity:.7}.auth-divider{display:flex;align-items:center;text-align:center;margin:1.5rem 0;color:var(--text-secondary);font-size:.875rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid #e5e7eb}display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: var(--text-secondary); font-size: .875rem; } .auth-divider::before,.auth-divider::after{content:"";flex:1;border-bottom:1px solid #e5e7eb}.auth-divider span{padding:0 1rem}.btn-google-signin{width:100%;display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.875rem;background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-weight:600;font-size:1rem;color:#1f2937;cursor:pointer;transition:all .2s ease;margin-bottom:.5rem}.btn-google-signin:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.btn-google-signin:disabled{opacity:.6;cursor:not-allowed}.btn-google-signin svg{flex-shrink:0}@media (prefers-color-scheme: dark){.btn-google-signin{background:#1f2937;border-color:#374151;color:#fff}.btn-google-signin:hover:not(:disabled){background:#374151;border-color:#4b5563}.auth-divider:before,.auth-divider:after{border-bottom-color:#374151}}@media (max-width: 768px){.modal-overlay{padding:2rem .5rem .5rem;align-items:flex-start}.modal-content{padding:1.5rem;max-width:100%;width:100%;margin:0 auto}.modal-title{font-size:1.5rem}.modal-subtitle,.form-group label{font-size:.813rem}.form-group input{padding:.625rem;font-size:.938rem}.btn-auth-submit{padding:.75rem;font-size:.938rem}.btn-google-signin{padding:.75rem;font-size:.938rem;gap:.5rem}.auth-error-message{padding:.625rem .875rem;font-size:.813rem}.auth-switch,.forgot-password-link{font-size:.813rem}.password-hint{font-size:.75rem}}@media (max-width: 480px){.modal-content{padding:1.25rem;border-radius:12px}.modal-title{font-size:1.375rem}.btn-auth-submit,.btn-google-signin{font-size:.875rem}.auth-form{gap:1.25rem}}.landing-page{min-height:100vh;background:linear-gradient(180deg,#fff,#f8fafc)}.landing-header{position:sticky;top:0;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border-color);z-index:100;padding:1rem 0}.header-container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}.logo{display:flex;align-items:center;gap:.75rem;font-size:1.25rem;font-weight:700;color:var(--text-primary)}.logo-icon-img{width:32px;height:32px;object-fit:contain;border-radius:8px}.header-nav{display:flex;align-items:center;gap:1rem;position:relative}.nav-icon-btn{position:relative;padding:.5rem;background:transparent;border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.nav-icon-btn:hover{background:var(--bg-color);color:var(--primary-color)}.notification-btn{position:relative}.notification-badge{position:absolute;top:-4px;right:-4px;background:#ef4444;color:#fff;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.logout-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem}.notifications-dropdown{position:absolute;top:100%;right:0;margin-top:1rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-lg);min-width:320px;max-width:400px;z-index:1000;border:1px solid var(--border-color)}.notifications-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color)}.notifications-header h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}.notifications-header button{background:transparent;border:none;font-size:1.5rem;color:var(--text-secondary);cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.notifications-header button:hover{background:var(--bg-color);color:var(--text-primary)}.notifications-items{max-height:400px;overflow-y:auto}.notification-item-dropdown{display:flex;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color);transition:all .2s ease}.notification-item-dropdown:hover{background:var(--bg-color)}.notification-item-dropdown:last-child{border-bottom:none}.notification-dot{width:8px;height:8px;background:var(--primary-color);border-radius:50%;margin-top:.5rem;flex-shrink:0}.notification-item-dropdown strong{display:block;font-size:.9375rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.notification-item-dropdown p{font-size:.875rem;color:var(--text-secondary);margin:0;line-height:1.5}.notifications-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-color);text-align:center}.notifications-footer button{background:var(--primary-color);color:#fff;border:none;padding:.5rem 1.5rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease}.notifications-footer button:hover{background:var(--primary-dark);transform:translateY(-2px)}.nav-link{color:var(--text-secondary);font-weight:500;padding:.5rem 1rem;transition:color .2s ease}.nav-link:hover{color:var(--primary-color)}.nav-button{background:var(--primary-color);color:#fff;padding:.5rem 1.5rem;border-radius:8px;font-weight:600;transition:all .2s ease}.nav-button:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.hero-section{padding:6rem 2rem;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:relative;overflow:hidden}.app-overview-section{padding:5rem 2rem;background:var(--bg-color)}.overview-content{max-width:1000px;margin:0 auto}.overview-text{text-align:left}.overview-title{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:1.5rem;text-align:center}.overview-description{font-size:1.125rem;line-height:1.8;color:var(--text-secondary);margin-bottom:2rem}.overview-description strong{color:var(--text-primary);font-weight:600}.overview-subtitle{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-top:3rem;margin-bottom:1rem}.overview-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin:2rem 0 3rem}.highlight-item{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md);transition:all .2s ease}.highlight-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.highlight-item svg{color:var(--primary-color);flex-shrink:0;margin-top:.25rem}.highlight-item h4{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.highlight-item p{font-size:.9375rem;line-height:1.6;color:var(--text-secondary);margin:0}.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin:2rem 0 3rem}.benefit-card{padding:1.5rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md);transition:all .2s ease;border:2px solid transparent}.benefit-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.benefit-card svg{color:var(--primary-color);margin-bottom:.75rem}.benefit-card span{display:block;font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.benefit-card p{font-size:.875rem;line-height:1.6;color:var(--text-secondary);margin:0}.target-audience{list-style:none;padding:0;margin:1.5rem 0;display:grid;gap:1rem}.target-audience li{padding:1rem 1.5rem;background:var(--card-bg);border-radius:8px;box-shadow:var(--shadow-sm);font-size:1rem;line-height:1.6;color:var(--text-secondary);border-left:3px solid var(--primary-color);transition:all .2s ease}.target-audience li:hover{transform:translate(4px);box-shadow:var(--shadow-md)}.target-audience li strong{color:var(--text-primary);font-weight:600}.overview-explanation-box{background:var(--card-bg);border-radius:16px;padding:2rem;margin:2rem 0;box-shadow:var(--shadow-md);border:2px solid var(--border-color)}.overview-explanation-box h4{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-top:1.5rem;margin-bottom:.75rem}.overview-explanation-box h4:first-child{margin-top:0}.overview-explanation-box p{font-size:1rem;line-height:1.8;color:var(--text-secondary);margin-bottom:1rem}.overview-explanation-box p:last-child{margin-bottom:0}.app-features-list{list-style:none;padding:0;margin:1rem 0}.app-features-list li{padding:1rem 1.5rem;margin-bottom:.75rem;background:var(--bg-color);border-radius:8px;border-left:3px solid var(--primary-color);font-size:.9375rem;line-height:1.6;color:var(--text-secondary);transition:all .2s ease}.app-features-list li:hover{transform:translate(4px);box-shadow:var(--shadow-sm)}.app-features-list li strong{color:var(--text-primary);font-weight:600;display:block;margin-bottom:.25rem}@media (max-width: 768px){.overview-title{font-size:2rem}.overview-subtitle{font-size:1.5rem}.overview-highlights{grid-template-columns:1fr;gap:1.5rem}.benefits-grid{grid-template-columns:1fr;gap:1rem}.app-overview-section{padding:3rem 1rem}.overview-explanation-box{padding:1.5rem}.app-features-list li{padding:.875rem 1rem;font-size:.875rem}}.hero-section:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');opacity:.3}.hero-container{max-width:800px;margin:0 auto;position:relative;z-index:1}.hero-title{font-size:4rem;font-weight:800;margin-bottom:1rem;line-height:1.1}.hero-subtitle{font-size:1.5rem;font-weight:600;margin-bottom:1rem;opacity:.95}.hero-description{font-size:1.125rem;margin-bottom:2.5rem;opacity:.9;line-height:1.7}.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-primary,.btn-secondary{padding:.875rem 2rem;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.btn-primary{background:#fff;color:var(--primary-color);border:none}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0003}.btn-secondary{background:transparent;color:#fff;border:2px solid white}.btn-secondary:hover{background:#ffffff1a;transform:translateY(-2px)}.features-section,.how-it-works-section,.screenshot-section{padding:5rem 2rem}.section-container{max-width:1200px;margin:0 auto}.section-title{font-size:2.5rem;font-weight:700;text-align:center;color:var(--text-primary);margin-bottom:1rem}.section-subtitle{font-size:1.125rem;text-align:center;color:var(--text-secondary);margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:3rem}.features-grid-large{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:3rem}.feature-card-large{background:var(--card-bg);padding:2rem;border-radius:12px;box-shadow:var(--shadow-md);transition:all .3s ease}.feature-card-large:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.feature-header{display:flex;gap:1rem;margin-bottom:1rem;align-items:flex-start}.feature-icon-large{width:48px;height:48px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.feature-title-large{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.feature-subtitle-small{font-size:.875rem;color:var(--text-secondary)}.feature-description-large{color:var(--text-secondary);line-height:1.6;margin-bottom:1rem}.feature-list{display:flex;flex-wrap:wrap;gap:.5rem}.feature-tag{background:var(--bg-color);color:var(--primary-color);padding:.375rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600;border:1px solid rgba(99,102,241,.2)}.ai-features-section{background:var(--bg-color);padding:5rem 2rem}.ai-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.ai-feature-card{background:var(--card-bg);padding:2rem;border-radius:12px;box-shadow:var(--shadow-md);transition:all .3s ease}.ai-feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.ai-feature-card h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.ai-feature-card p{color:var(--text-secondary);line-height:1.6}.feature-card{background:var(--card-bg);padding:2rem;border-radius:12px;box-shadow:var(--shadow-md);text-align:center;transition:all .3s ease}.feature-icon{width:64px;height:64px;margin:0 auto 1.5rem;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}.feature-title{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.feature-description{color:var(--text-secondary);line-height:1.6}.how-it-works-section{background:var(--bg-color)}.steps-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}.step-card{background:var(--card-bg);padding:2.5rem 2rem;border-radius:12px;box-shadow:var(--shadow-md);text-align:center;position:relative;transition:all .3s ease}.step-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.step-number{width:60px;height:60px;margin:0 auto 1.5rem;background:linear-gradient(135deg,var(--accent-color),var(--secondary-color));border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:#fff}.step-title{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.step-description{color:var(--text-secondary);line-height:1.6;margin-bottom:1rem}.step-benefits{list-style:none;padding:0;margin:0}.step-benefits li{color:var(--text-secondary);font-size:.875rem;margin-bottom:.5rem;padding-left:1.5rem;position:relative}.step-benefits li:before{content:"✓";position:absolute;left:0;color:var(--primary-color);font-weight:600}.quick-start-cta{text-align:center;margin-top:3rem;padding:2rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md)}.quick-start-cta h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.quick-start-cta p{color:var(--text-secondary);margin-bottom:1.5rem}.pricing-section{padding:5rem 2rem;background:var(--bg-color)}.pricing-info{text-align:center;margin-bottom:3rem}.pricing-badge{display:inline-block;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;padding:.5rem 1.5rem;border-radius:25px;font-weight:700;font-size:.875rem;margin-bottom:1rem}.pricing-note{color:var(--text-secondary);max-width:700px;margin:0 auto;line-height:1.7}.pricing-card{max-width:600px;margin:0 auto;background:var(--card-bg);border-radius:16px;padding:3rem;box-shadow:var(--shadow-lg);border:2px solid var(--border-color)}.pricing-header{text-align:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid var(--border-color)}.pricing-badge-free{display:inline-block;background:var(--bg-color);color:var(--primary-color);padding:.375rem 1rem;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:1rem}.pricing-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:1rem}.pricing-price{display:flex;align-items:baseline;justify-content:center;gap:.5rem}.price-amount{font-size:3rem;font-weight:700;color:var(--primary-color)}.price-period{font-size:1.25rem;color:var(--text-secondary)}.pricing-features-list{list-style:none;padding:0;margin:0 0 2rem;display:flex;flex-direction:column;gap:1rem}.pricing-feature{display:flex;align-items:flex-start;gap:.75rem;color:var(--text-primary)}.pricing-feature svg{color:var(--success-color);flex-shrink:0;margin-top:.125rem}.pricing-footer{text-align:center}.pricing-note-small{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem}.pricing-highlights{display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap;margin-bottom:2rem;font-size:.875rem;color:var(--text-secondary)}.btn-pricing{width:100%;padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1.125rem;cursor:pointer;transition:all .2s ease}.btn-pricing:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 8px 20px #6366f14d}.money-back-guarantee{max-width:700px;margin:3rem auto 0;text-align:center;padding:2rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md)}.money-back-guarantee h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.money-back-guarantee p{color:var(--text-secondary);line-height:1.7;margin-bottom:.75rem}.money-back-guarantee strong{color:var(--text-primary);font-weight:700}.screenshot-section{background:var(--bg-color)}.screenshot-placeholder{background:var(--card-bg);border-radius:12px;padding:4rem 2rem;box-shadow:var(--shadow-md);text-align:center;min-height:400px;display:flex;align-items:center;justify-content:center}.screenshot-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.screenshot-icon{font-size:4rem}.screenshot-content p{color:var(--text-secondary);font-size:1.125rem}.landing-footer{background:var(--text-primary);color:#fff;padding:3rem 2rem 2rem}.footer-container{max-width:1200px;margin:0 auto}.footer-content{display:flex;flex-direction:column;align-items:center;gap:1rem;text-align:center}.copyright{color:#fffc;font-size:.875rem}.footer-links{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.footer-link{color:#fffc;font-size:.875rem;transition:color .2s ease}.footer-link:hover{color:#fff}.footer-separator{color:#ffffff80}.footer-contact{display:flex;align-items:center;justify-content:center;gap:1rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);flex-wrap:wrap}.contact-item{display:flex;align-items:center;gap:.5rem;color:#fffc;font-size:.875rem;transition:color .2s ease}.contact-item:hover{color:#fff}@media (max-width: 768px){.hero-title{font-size:2.5rem}.hero-subtitle{font-size:1.25rem}.section-title{font-size:2rem}.features-grid,.steps-container{grid-template-columns:1fr}.footer-content{flex-direction:column;text-align:center}.footer-contact{flex-direction:column}}.trial-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;border-radius:50px;font-weight:700;font-size:1rem;margin-bottom:2rem;box-shadow:0 4px 20px #fbbf2466;animation:pulse 2s ease-in-out infinite}.trial-notice{margin-top:2rem;color:#fffffff2;font-size:1.1rem;font-weight:600;text-align:center;padding:1rem 2rem;background:#ffffff1a;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);display:inline-block}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.sidebar{position:fixed;top:0;left:0;height:100vh;width:var(--sidebar-width);background:#fff;color:#1a1a1a;z-index:1000;transition:all .3s cubic-bezier(.4,0,.2,1);overflow-y:auto;box-shadow:2px 0 10px #0000001a}html[dir=rtl] .sidebar{left:auto;right:0;box-shadow:-2px 0 10px #0000001a}.sidebar.closed{transform:translate(-100%);width:var(--sidebar-collapsed-width)}html[dir=rtl] .sidebar.closed{transform:translate(100%)}.sidebar-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:var(--primary-color);color:#fff;border:none;padding:.75rem;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 6px #0000001a;transition:all .3s cubic-bezier(.4,0,.2,1)}html[dir=rtl] .sidebar-toggle{left:auto;right:1rem}.sidebar-toggle.sidebar-open{left:calc(var(--sidebar-width) + 1rem)}html[dir=rtl] .sidebar-toggle.sidebar-open{left:auto;right:calc(var(--sidebar-width) + 1rem)}.sidebar-toggle:hover{background:var(--primary-dark);transform:scale(1.05)}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid rgba(0,0,0,.1);display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}html[dir=rtl] .sidebar-header{flex-direction:row;text-align:right}html[dir=rtl] .sidebar-header h2{flex:1;text-align:right}.sidebar-header:hover{background:#0000000d}.sidebar-logo-img{width:32px;height:32px;object-fit:contain;border-radius:8px}.sidebar-header h2{font-size:1.25rem;font-weight:600;color:#1a1a1a}.sidebar-language-switcher{padding:.75rem 1.5rem;border-bottom:1px solid rgba(0,0,0,.1);background:#6366f10d}.language-switch-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:#fff;border:2px solid var(--primary-color);border-radius:8px;color:var(--primary-color);font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.language-switch-btn:hover{background:var(--primary-color);color:#fff;transform:translateY(-2px);box-shadow:0 4px 8px #6366f133}html[dir=rtl] .language-switch-btn{flex-direction:row}.sidebar-nav{padding:1rem 0}.nav-item{margin-bottom:.25rem}.nav-item-link,.nav-item-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;color:#000c;text-decoration:none;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative}.feature-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border-radius:10px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;margin-left:auto;flex-shrink:0}.feature-badge.free{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.feature-badge.premium{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.nav-child-item{position:relative;display:flex;align-items:center;gap:.5rem}.nav-child-item .feature-badge{margin-left:auto;padding:2px 6px}html[dir=rtl] .nav-item-link,html[dir=rtl] .nav-item-header{flex-direction:row;text-align:right}html[dir=rtl] .nav-item-link span,html[dir=rtl] .nav-item-header span{flex:1;text-align:right}.nav-item-link:hover,.nav-item-header:hover{background:#0000000d;color:#1a1a1a}.nav-item-link.active,.nav-child-item.active{background:#6366f11a;color:var(--primary-color);border-left:3px solid var(--primary-color)}html[dir=rtl] .nav-item-link.active,html[dir=rtl] .nav-child-item.active{border-left:none;border-right:3px solid var(--primary-color)}.nav-item-children{background:#00000005;padding-left:1rem}html[dir=rtl] .nav-item-children{padding-left:0;padding-right:1rem}.nav-child-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.5rem;color:#000000b3;text-decoration:none;font-size:.9rem;transition:all .3s cubic-bezier(.4,0,.2,1)}html[dir=rtl] .nav-child-item{flex-direction:row;text-align:right}html[dir=rtl] .nav-child-item span{flex:1;text-align:right}.nav-child-item:hover{background:#0000000d;color:#1a1a1a}@media (max-width: 768px){.sidebar{width:280px;transform:translate(-100%)}html[dir=rtl] .sidebar{transform:translate(100%)}.sidebar.open{transform:translate(0);box-shadow:2px 0 20px #0000004d}html[dir=rtl] .sidebar.open{transform:translate(0);box-shadow:-2px 0 20px #0000004d}.sidebar-toggle{top:.75rem;left:.75rem}html[dir=rtl] .sidebar-toggle{left:auto;right:.75rem}.sidebar-toggle.sidebar-open{left:.75rem}html[dir=rtl] .sidebar-toggle.sidebar-open{left:auto;right:.75rem}.sidebar-header{padding:1.5rem 1rem}.sidebar-header h2{font-size:1.1rem}.nav-item-link,.nav-item-header{padding:.65rem 1rem;font-size:.95rem}.nav-child-item{padding:.5rem 1rem;font-size:.85rem}}@media (max-width: 480px){.sidebar{width:260px}.sidebar-header h2{font-size:1rem}.nav-item-link,.nav-item-header{padding:.6rem .85rem;font-size:.9rem;gap:.6rem}.nav-child-item{padding:.45rem .85rem;font-size:.8rem}.sidebar-language-switcher{padding:.75rem 1rem}.language-switch-btn{padding:.65rem .85rem;font-size:.875rem}}@media (min-width: 769px) and (max-width: 1024px){.sidebar{width:280px}.nav-item-link,.nav-item-header{padding:.7rem 1.25rem}}@media (min-width: 1441px){.sidebar{width:300px}.sidebar-header{padding:2.25rem 1.75rem}.sidebar-header h2{font-size:1.35rem}.nav-item-link,.nav-item-header{padding:.85rem 1.75rem;font-size:1.05rem}.nav-child-item{padding:.6rem 1.75rem}}@media (min-width: 1921px){.sidebar{width:320px}.sidebar-header h2{font-size:1.5rem}.nav-item-link,.nav-item-header{font-size:1.1rem}}.sidebar-overlay{display:none}@media (max-width: 768px){.sidebar-overlay{display:block;position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;z-index:999;opacity:0;pointer-events:none;transition:opacity .3s ease}.sidebar-overlay.active{opacity:1;pointer-events:all}}.stats-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center;gap:1rem;transition:transform .2s ease,box-shadow .2s ease}.stats-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stats-card-icon{font-size:2.5rem;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px}.stats-card-content{flex:1}.stats-card-label{font-size:.875rem;color:var(--text-secondary);margin-bottom:.25rem}.stats-card-value{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.stats-card-subtitle{font-size:.75rem;color:var(--text-secondary)}.water-intake{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.water-intake-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.water-intake-header h3{font-size:1.25rem;font-weight:600;color:var(--text-primary)}.water-intake-header svg{color:#3b82f6}.water-intake-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.water-intake-counter{display:flex;align-items:baseline;gap:.25rem;margin-bottom:.5rem}.water-current{font-size:2.5rem;font-weight:700;color:var(--primary-color)}.water-separator{font-size:1.5rem;color:var(--text-secondary)}.water-total{font-size:2rem;font-weight:600;color:var(--text-secondary)}.water-label{font-size:.875rem;color:var(--text-secondary);margin-left:.5rem}.water-glasses{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;width:100%;margin:1rem 0}.water-glass{aspect-ratio:1;border:2px solid var(--border-color);border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;background:#fff}.water-glass:hover{border-color:var(--primary-color);transform:scale(1.05)}.water-glass.filled{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#3b82f6;color:#fff}.water-glass.filled svg{color:#fff}.water-glass svg{color:var(--text-secondary);transition:all .2s ease}.water-add-btn{background:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;width:100%}.water-add-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.water-history{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border-color)}.history-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;color:var(--text-secondary);font-size:.9rem;font-weight:600}.water-entries-list{display:flex;flex-direction:column;gap:.5rem}.water-entry-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem;background:var(--bg-color);border-radius:8px;transition:all .2s ease}.water-entry-item:hover{background:#f3f4f6}.entry-info{display:flex;align-items:center;gap:.5rem;color:var(--text-primary);font-size:.875rem}.entry-time{color:var(--text-secondary);font-size:.8rem}.icon-btn:hover{background:#fff;transform:scale(1.1)}.daily-goals{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.daily-goals h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.daily-goals-subtitle{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem}.goals-list{display:flex;flex-direction:column;gap:1.5rem}.goal-item{padding:1rem;background:var(--bg-color);border-radius:8px}.goal-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.goal-label{font-weight:600;color:var(--text-primary)}.goal-progress{display:flex;flex-direction:column;gap:.5rem}.goal-progress-bar{height:8px;background:var(--border-color);border-radius:4px;overflow:hidden}.goal-progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:4px;transition:width .3s ease}.goal-stats{font-size:.875rem;color:var(--text-secondary)}.goal-message{font-size:.75rem;color:var(--text-secondary);font-style:italic}.recent-logs{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.recent-logs h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.recent-logs-subtitle{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem}.logs-table{overflow-x:auto}.logs-table table{width:100%;border-collapse:collapse}.logs-table thead{background:var(--bg-color)}.logs-table th{padding:.75rem;text-align:left;font-size:.875rem;font-weight:600;color:var(--text-secondary);border-bottom:2px solid var(--border-color)}.logs-table td{padding:.75rem;border-bottom:1px solid var(--border-color);font-size:.875rem}.log-type{font-weight:600;color:var(--primary-color)}.log-details{color:var(--text-primary)}.log-time{color:var(--text-secondary)}.logs-table tbody tr:hover{background:var(--bg-color)}@media (max-width: 768px){.logs-table{font-size:.75rem}.logs-table th,.logs-table td{padding:.5rem}}.recent-activity{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.recent-activity h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.activity-timeline{display:flex;flex-direction:column;gap:1.5rem}.activity-item{display:flex;gap:1rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.activity-item:last-child{border-bottom:none;padding-bottom:0}.activity-icon{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.activity-content{flex:1}.activity-text{color:var(--text-primary);margin-bottom:.25rem;font-size:.875rem}.activity-time{color:var(--text-secondary);font-size:.75rem}.mood-logger{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.mood-logger-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.mood-logger-header svg{color:var(--accent-color);flex-shrink:0;margin-top:.25rem}.mood-logger-header h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.mood-logger-header p{color:var(--text-secondary);font-size:.875rem}.log-mood-btn{background:var(--accent-color);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;width:100%}.log-mood-btn:hover{background:#db2777;transform:translateY(-2px);box-shadow:0 4px 12px #ec48994d}.mood-modal{background:var(--card-bg);border-radius:12px;padding:2rem;width:100%;max-width:500px;max-height:90vh;overflow-y:auto}.mood-modal h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.mood-select-group,.energy-select-group{margin-bottom:1.5rem}.mood-select-group label,.energy-select-group label{display:block;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.mood-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.mood-option{padding:1rem;border:2px solid var(--border-color);border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease;font-size:1rem;text-align:left}.mood-option:hover{border-color:var(--primary-color);transform:translateY(-2px)}.mood-option.selected{border-color:var(--accent-color);background:#ec48991a}.energy-options{display:flex;gap:.75rem}.energy-option{flex:1;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease;font-weight:600}.energy-option:hover{border-color:var(--primary-color)}.energy-option.selected{border-color:var(--primary-color);background:var(--primary-color);color:#fff}.mood-modal-actions{display:flex;gap:1rem;margin-top:2rem}.mood-modal-actions button{flex:1;padding:.75rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.mood-modal-actions button[type=button]{background:var(--bg-color);color:var(--text-primary);border:1px solid var(--border-color)}.mood-modal-actions button[type=submit]{background:var(--accent-color);color:#fff;border:none}.mood-modal-actions button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.mood-modal-actions button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.dashboard{max-width:1400px;margin:0 auto;min-width:280px;width:100%;box-sizing:border-box}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.dashboard-date{color:var(--text-secondary);font-size:1rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem;margin-bottom:2rem}.dashboard-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.dashboard-left,.dashboard-right{display:flex;flex-direction:column;gap:1.5rem}.dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem}@media (max-width: 1024px){.dashboard-content,.dashboard-actions{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard{padding:1rem}.dashboard h1{font-size:1.75rem}.dashboard p{font-size:.9rem}.stats-grid{grid-template-columns:1fr;gap:1rem}.dashboard-content{gap:1.5rem}.dashboard-actions{margin-top:1.5rem}}@media (max-width: 480px){.dashboard{padding:.75rem}.dashboard h1{font-size:1.5rem}.stats-grid{gap:.75rem}}@media (max-width: 320px){.dashboard{padding:.5rem;min-width:280px}.dashboard-header h1{font-size:1.25rem!important}.dashboard-date{font-size:.75rem!important}.stats-grid{gap:.5rem}}.nutrition-page{max-width:1200px;margin:0 auto;padding:2rem}.emotional-checkin{background:var(--card-bg);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.emotional-checkin h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.emotional-checkin>p{color:var(--text-secondary);margin-bottom:1.5rem}.checkin-buttons{display:flex;gap:1rem;flex-wrap:wrap}.checkin-btn{flex:1;min-width:200px;padding:1rem 1.5rem;border:2px solid var(--border-color);border-radius:8px;background:var(--card-bg);color:var(--text-primary);font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.checkin-btn:hover{border-color:var(--primary-color);background:#6366f10d;transform:translateY(-2px)}.checkin-btn.pre-meal:hover{border-color:var(--accent-color);background:#ec48990d}.nutrition-stats{margin-bottom:2rem}.nutrition-stats h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.nutrition-stats>p{color:var(--text-secondary);margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.5rem}.nutrition-stat-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;text-align:center;box-shadow:var(--shadow-md);transition:all .2s ease}.nutrition-stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.stat-value{font-size:2rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem}.stat-unit{font-size:1.25rem;color:var(--text-secondary);margin-left:.25rem}.stat-label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.ai-food-analysis{margin-top:2rem}.ai-food-analysis h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.ai-food-analysis>p{color:var(--text-secondary);margin-bottom:2rem}.analysis-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.analysis-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);transition:all .2s ease}.analysis-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.analysis-icon{width:64px;height:64px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:1rem}.analysis-card h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.analysis-card p{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem;line-height:1.6}.search-input-group{position:relative}.search-wrapper{display:flex;gap:.5rem}.food-search-input{flex:1;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:.875rem;transition:border-color .2s ease}.food-search-input:focus{outline:none;border-color:var(--primary-color)}.search-btn,.photo-btn,.scan-btn{width:100%;padding:.875rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.search-btn{background:var(--primary-color);color:#fff;white-space:nowrap}.search-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.photo-btn,.scan-btn{background:var(--bg-color);color:var(--text-primary);border:2px solid var(--border-color)}.photo-btn:hover,.scan-btn:hover{border-color:var(--primary-color);background:#6366f10d;transform:translateY(-2px)}.mood-recommendations{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md);transition:all .2s ease}.mood-recommendations:hover{box-shadow:var(--shadow-lg)}.mood-recommendations.pre-meal-rec{border-left:4px solid var(--accent-color)}.mood-recommendations.post-meal-rec{border-left:4px solid var(--secondary-color)}.mood-recommendations.general-rec{border-left:4px solid var(--primary-color)}.recommendation-header{margin-bottom:1.5rem}.recommendation-header h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.current-mood-display{color:var(--text-secondary);font-size:.875rem}.recommendation-hint{margin-top:.75rem;padding:.75rem;background:#6366f11a;border-radius:8px;color:var(--text-primary);font-size:.875rem;line-height:1.5}.mood-badge{display:inline-block;padding:.25rem .75rem;background:var(--primary-color);color:#fff;border-radius:20px;font-weight:600;margin-left:.5rem}.recommendation-card{background:var(--bg-color);border-radius:12px;padding:1.5rem}.recommendation-card h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.recommendation-tip{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem;font-style:italic}.recommended-foods{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.food-recommendation{background:var(--card-bg);border-radius:8px;padding:1rem;border:2px solid var(--border-color);transition:all .2s ease}.food-recommendation:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.food-name{font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.food-reason{font-size:.875rem;color:var(--text-secondary);line-height:1.4}.emotional-insights{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.emotional-insights h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.emotional-insights>p{color:var(--text-secondary);margin-bottom:1.5rem}.insights-card{background:var(--bg-color);border-radius:12px;padding:1.5rem}.insights-summary{color:var(--text-secondary);margin-bottom:1.5rem;font-size:.875rem;line-height:1.6}.correlations-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.correlation-item{background:var(--card-bg);border-radius:8px;padding:1rem;border-left:3px solid var(--primary-color)}.correlation-finding{font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.correlation-insight{font-size:.875rem;color:var(--text-secondary);font-style:italic}.patterns-section{margin-top:2rem}.patterns-section h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.patterns-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.pattern-card{background:var(--card-bg);border-radius:8px;padding:1rem;text-align:center;border:2px solid var(--border-color);transition:all .2s ease}.pattern-card:hover{border-color:var(--primary-color);transform:translateY(-2px)}.pattern-date{font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.pattern-mood,.pattern-calories,.pattern-meals{font-size:.875rem;color:var(--text-secondary);margin-bottom:.25rem}.mood-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem}.mood-modal{background:var(--card-bg);border-radius:16px;padding:2rem;max-width:500px;width:100%;box-shadow:var(--shadow-lg)}.mood-modal h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;text-align:center}.mood-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}.mood-option{padding:1rem;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-color);color:var(--text-primary);font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.mood-option:hover{border-color:var(--primary-color);background:#6366f10d;transform:translateY(-2px)}.mood-option.selected{border-color:var(--primary-color);background:var(--primary-color);color:#fff}.modal-close{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-color);color:var(--text-primary);font-weight:600;cursor:pointer;transition:all .2s ease}.modal-close:hover{border-color:var(--text-secondary);background:var(--text-secondary);color:#fff}.current-mood-status{margin-top:1rem;padding:.75rem;background:var(--bg-color);border-radius:8px;display:flex;gap:.5rem;flex-wrap:wrap}.mood-status-tag{padding:.25rem .75rem;background:#6366f11a;color:var(--primary-color);border-radius:20px;font-size:.875rem;font-weight:500}.recent-entries{margin-top:2rem}.recent-entries h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.entry-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);border:2px solid var(--border-color);transition:all .2s ease}.entry-card:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.entry-main{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.entry-food{font-weight:600;color:var(--text-primary);font-size:1.125rem}.entry-calories{font-weight:700;color:var(--primary-color);font-size:1.25rem}.entry-meta{display:flex;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}.entry-meta span{font-size:.875rem;color:var(--text-secondary)}.entry-moods{display:flex;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.mood-tag{padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:500}.mood-tag.pre{background:#ec48991a;color:var(--accent-color)}.mood-tag.post{background:#8b5cf61a;color:var(--secondary-color)}.food-suggestions{position:absolute;top:100%;left:0;right:0;margin-top:.25rem;background:var(--card-bg);border-radius:8px;box-shadow:var(--shadow-lg);z-index:100;max-height:200px;overflow-y:auto;border:2px solid var(--border-color)}.suggestion-item{width:100%;padding:.75rem 1rem;text-align:left;background:transparent;border:none;color:var(--text-primary);font-size:.875rem;cursor:pointer;transition:all .2s ease;border-bottom:1px solid var(--border-color)}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover{background:var(--bg-color);color:var(--primary-color)}.search-results{margin-top:1rem;padding:1.5rem;background:var(--bg-color);border-radius:12px;border:2px solid var(--primary-color)}.food-result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.food-result-header h4{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin:0}.serving-size{font-size:.875rem;color:var(--text-secondary);font-weight:500}.ai-badge,.db-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.ai-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;animation:pulse 2s ease-in-out infinite}.db-badge{background:#e5e7eb;color:#6b7280;border:1px solid #d1d5db}.nutrition-plan-banner{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:24px;margin-bottom:24px;color:#fff;box-shadow:0 8px 24px #667eea4d}.plan-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.plan-header>svg{flex-shrink:0}.plan-header>div{flex:1}.plan-header h3{margin:0 0 4px;font-size:1.25rem;font-weight:600}.plan-header p{margin:0;font-size:.875rem;opacity:.9}.info-btn{background:#fff3;border:none;color:#fff;padding:8px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.info-btn:hover{background:#ffffff4d}.plan-details{background:#ffffff1a;border-radius:12px;padding:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.plan-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.metric{display:flex;flex-direction:column;gap:4px}.metric-label{font-size:.75rem;opacity:.8;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:1.5rem;font-weight:700}.plan-tips{margin-bottom:20px}.plan-tips h4{margin:0 0 12px;font-size:1rem}.plan-tips ul{list-style:none;padding:0;margin:0}.plan-tips li{padding:8px 0 8px 24px;position:relative;font-size:.875rem;opacity:.9}.plan-tips li:before{content:"✓";position:absolute;left:0;font-weight:700}.meal-suggestions h4{margin:0 0 16px;font-size:1rem}.meal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.meal-item{background:#ffffff26;padding:12px;border-radius:8px;display:flex;flex-direction:column;gap:4px;text-align:center}.meal-item span{font-size:.75rem;opacity:.8}.meal-item strong{font-size:1.125rem}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.setup-prompt{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#fef3c7;border-radius:8px;font-size:.875rem;color:#92400e}.setup-prompt a{color:#d97706;font-weight:600;text-decoration:underline}.stats-grid-enhanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.nutrition-stat-card-enhanced{background:var(--card-bg);border-radius:12px;padding:20px;box-shadow:var(--shadow-md);transition:transform .2s,box-shadow .2s}.nutrition-stat-card-enhanced:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.stat-label{font-size:.875rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.stat-values{display:flex;align-items:baseline;gap:4px}.stat-current{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.stat-divider,.stat-goal{font-size:1rem;color:var(--text-secondary)}.progress-bar-container{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:12px}.progress-bar{height:100%;border-radius:4px;transition:width .3s ease,background .3s ease}.stat-footer{display:flex;justify-content:space-between;align-items:center}.progress-text{font-size:.875rem;font-weight:600;color:var(--text-secondary)}.goal-badge{font-size:.75rem;padding:4px 8px;border-radius:12px;background:#e5e7eb;color:#6b7280;font-weight:600}.goal-badge.achieved{background:#d1fae5;color:#065f46}.goal-badge.near{background:#fed7aa;color:#92400e}@media (max-width: 768px){.nutrition-plan-banner{padding:16px}.plan-header{flex-direction:column;align-items:flex-start}.plan-metrics{grid-template-columns:1fr}.meal-grid{grid-template-columns:repeat(2,1fr)}.stats-grid-enhanced{grid-template-columns:1fr}.stats-header{flex-direction:column;align-items:flex-start}}.nutrition-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:1rem;margin-bottom:1rem}.nutrition-info-item{text-align:center;padding:.75rem;background:var(--card-bg);border-radius:8px}.info-label{display:block;font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem;font-weight:600;text-transform:uppercase}.info-value{display:block;font-size:1.25rem;font-weight:700;color:var(--primary-color)}.ai-analysis-info{padding:1rem;background:#6366f11a;border-radius:8px;margin-bottom:1rem}.confidence-badge{display:inline-block;padding:.25rem .75rem;background:var(--primary-color);color:#fff;border-radius:20px;font-size:.75rem;font-weight:600;margin-bottom:.5rem}.detected-foods{font-size:.875rem;color:var(--text-primary);margin-top:.5rem}.detected-foods strong{color:var(--text-primary)}.health-tips{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-color)}.health-tips strong{display:block;color:var(--text-primary);margin-bottom:.5rem;font-size:.875rem}.health-tips ul{list-style:none;padding:0;margin:0}.health-tips li{padding:.5rem 0 .5rem 1.25rem;position:relative;color:var(--text-secondary);font-size:.875rem;line-height:1.6}.health-tips li:before{content:"💡";position:absolute;left:0;font-size:.875rem}.add-to-log-btn{width:100%;padding:.875rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.add-to-log-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.search-error{margin-top:1rem;padding:1rem;background:#ef44441a;border:2px solid #ef4444;border-radius:8px;color:#ef4444;font-size:.875rem}.analyzing-message{margin-top:.75rem;font-size:.875rem;color:var(--text-secondary);font-style:italic;text-align:center}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;display:inline-block}.api-warning{background:#fbbf241a;border:2px solid #fbbf24;border-radius:12px;padding:1.5rem;margin-bottom:2rem;display:flex;gap:1rem;align-items:flex-start}.api-warning svg{color:#f59e0b;flex-shrink:0;margin-top:.25rem}.api-warning strong{display:block;color:var(--text-primary);font-size:1rem;margin-bottom:.5rem}.api-warning p{color:var(--text-secondary);font-size:.875rem;margin-bottom:.75rem;line-height:1.6}.api-warning ol{margin:0;padding-left:1.5rem;color:var(--text-secondary);font-size:.875rem;line-height:1.8}.api-warning li{margin-bottom:.5rem}.api-warning code{background:var(--bg-color);padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.875rem;color:var(--primary-color)}.api-warning a{color:var(--primary-color);text-decoration:underline}.error-message{background:#ef44441a;border:2px solid #ef4444;border-radius:12px;padding:1rem 1.5rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:all .2s ease;position:relative}.error-message:hover{background:#ef444426}.error-message svg{color:#ef4444;flex-shrink:0}.error-message span{flex:1;color:#ef4444;font-size:.875rem;font-weight:500}.error-close{background:transparent;border:none;color:#ef4444;font-size:1.5rem;font-weight:700;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;line-height:1;transition:all .2s ease}.error-close:hover{background:#ef444433;border-radius:50%;transform:scale(1.1)}@media (max-width: 768px){.nutrition-page{padding:1rem}.stats-grid{grid-template-columns:repeat(2,1fr)}.analysis-options{grid-template-columns:1fr}.checkin-buttons,.search-input-group{flex-direction:column}.mood-options,.recommended-foods{grid-template-columns:1fr}.patterns-grid{grid-template-columns:repeat(2,1fr)}}.ai-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:11px;font-weight:600;border-radius:12px;text-transform:uppercase;letter-spacing:.5px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.db-badge{display:inline-flex;align-items:center;padding:4px 10px;background:#10b981;color:#fff;font-size:11px;font-weight:600;border-radius:12px;text-transform:uppercase;letter-spacing:.5px}.confidence-badge{display:inline-flex;align-items:center;padding:4px 10px;background:#f59e0b;color:#fff;font-size:11px;font-weight:600;border-radius:12px}.search-results.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:12px;margin-top:20px}.loading-spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.search-results.loading p{color:#667eea;font-weight:500;font-size:14px}.water-log-page{max-width:1200px;margin:0 auto;padding:2rem}.water-log-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.add-entry-card,.today-goal-card,.quick-add,.alert-card,.history-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);margin-bottom:1.5rem}.add-entry-card h2,.history-card h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.water-entry-form{display:flex;flex-direction:column;gap:1rem}.form-row{display:flex;flex-direction:column;gap:.5rem}.form-row label{font-weight:600;color:var(--text-primary);font-size:.875rem}.glasses-input,.goal-input,.date-input{padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .2s ease}.glasses-input:focus,.goal-input:focus,.date-input:focus{outline:none;border-color:var(--primary-color)}.add-entry-btn{padding:.875rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem}.add-entry-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.today-goal-card h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.today-goal-card p{color:var(--text-secondary);font-size:.875rem;margin-bottom:1rem}.progress-bar-container{margin-bottom:1rem}.progress-bar{height:12px;background:var(--border-color);border-radius:6px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:6px;transition:width .3s ease}.progress-text{font-size:.875rem;color:var(--text-secondary);text-align:center}.update-goal-btn{width:100%;padding:.75rem;background:var(--bg-color);color:var(--text-primary);border:1px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.update-goal-btn:hover{background:var(--border-color)}.quick-add{display:flex;gap:.75rem;padding:1rem}.quick-add-btn{flex:1;padding:.875rem;background:var(--bg-color);color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.quick-add-btn:hover{border-color:var(--primary-color);background:#6366f10d}.alert-card{display:flex;gap:1rem;background:#fef3c7;border:1px solid #fbbf24;color:#92400e}.alert-card svg{flex-shrink:0;margin-top:.25rem}.alert-card strong{display:block;margin-bottom:.5rem}.alert-card p{font-size:.875rem;margin:0}.no-history{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.no-history svg{margin-bottom:1rem;opacity:.5}.no-history p{margin:.5rem 0}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--bg-color);border-radius:8px}.history-date{font-weight:600;color:var(--text-primary)}.history-glasses{color:var(--primary-color);font-weight:600}@media (max-width: 968px){.water-log-content{grid-template-columns:1fr}}@media (max-width: 768px){.water-log-page{padding:1rem}.add-entry-card,.today-goal-card,.quick-add,.alert-card,.history-card{padding:1.25rem}.add-entry-card h2,.history-card h2{font-size:1.125rem}.quick-add{flex-wrap:wrap}.quick-add-btn{min-width:calc(50% - .375rem)}.history-item{flex-direction:column;align-items:flex-start;gap:.5rem}}@media (max-width: 480px){.water-log-page{padding:.75rem}.add-entry-card,.today-goal-card,.quick-add,.alert-card,.history-card{padding:1rem}.quick-add{flex-direction:column}.quick-add-btn{width:100%}}.activity-tracker-page{max-width:1200px;margin:0 auto;padding:2rem}.activity-actions{display:grid;grid-template-columns:1fr auto;gap:1.5rem;margin-bottom:2rem;align-items:start}.action-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md)}.action-card h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.action-card p{color:var(--text-secondary);margin-bottom:1.5rem}.log-activity-btn{padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.log-activity-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.activity-form{display:flex;flex-direction:column;gap:1rem}.activity-form .form-group{display:flex;flex-direction:column;gap:.5rem}.activity-form .form-group label{font-weight:600;color:var(--text-primary);font-size:.875rem}.activity-form .form-group input{padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem}.activity-form .form-group input:focus{outline:none;border-color:var(--primary-color)}.activity-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions{display:flex;gap:1rem;margin-top:.5rem}.activity-form .cancel-btn{flex:1;padding:.75rem;background:var(--bg-color);color:var(--text-primary);border:1px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer}.activity-form .save-btn{flex:1;padding:.75rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer}.activity-form .save-btn:hover{background:var(--primary-dark)}.no-activities{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.no-activities svg{margin-bottom:1rem;opacity:.5}.quick-actions{display:flex;flex-direction:column;gap:.75rem}.quick-action-btn{padding:1rem 1.5rem;background:var(--card-bg);color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.75rem;white-space:nowrap}.quick-action-btn:hover{border-color:var(--primary-color);background:#6366f10d}.activity-log{margin-top:2rem}.activity-log h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.activities-list{display:flex;flex-direction:column;gap:.75rem}.activity-item{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease}.activity-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.activity-main{display:flex;gap:1rem;align-items:start}.activity-icon{width:48px;height:48px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.activity-details{flex:1}.activity-name{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.activity-stats{display:flex;gap:.5rem;color:var(--text-secondary);font-size:.875rem;flex-wrap:wrap}.activity-actions{display:flex;gap:.5rem;margin-left:auto}.load-more-btn{width:100%;padding:1rem;background:var(--bg-color);color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem}.timer-modal,.insights-modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:100%;animation:slideUp .3s ease}.insights-modal{max-width:800px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.modal-header h2{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin:0}.timer-display{text-align:center;margin:3rem 0}.timer-time{font-size:4rem;font-weight:700;color:var(--primary-color);font-family:Courier New,monospace;letter-spacing:.1em}.timer-label{color:var(--text-secondary);font-size:1rem;margin-top:.5rem}.timer-controls{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem}.timer-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem;border:2px solid var(--border-color);background:#fff;border-radius:12px;cursor:pointer;transition:all .2s ease;min-width:120px}.timer-btn.play{border-color:#10b981;color:#10b981}.timer-btn.play:hover{background:#f0fdf4;transform:translateY(-2px)}.timer-btn.pause{border-color:#f59e0b;color:#f59e0b}.timer-btn.pause:hover{background:#fffbeb;transform:translateY(-2px)}.timer-btn.reset{border-color:#ef4444;color:#ef4444}.timer-btn.reset:hover{background:#fef2f2;transform:translateY(-2px)}.timer-btn span{font-weight:600;font-size:.875rem}.finish-workout-btn{width:100%;padding:1rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.finish-workout-btn:hover{background:var(--primary-dark);transform:translateY(-2px)}.insights-content{margin-top:1.5rem}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.insight-card{background:linear-gradient(135deg,#f5f7ff,#eef2ff);border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-align:center;transition:all .2s ease}.insight-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.insight-card.full-width{grid-column:1 / -1;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fbbf24}.insight-icon{width:64px;height:64px;background:var(--primary-color);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}.insight-card.full-width .insight-icon{background:#f59e0b}.insight-value{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.insight-label{color:var(--text-secondary);font-size:.875rem;font-weight:600}@media (max-width: 768px){.activity-actions{grid-template-columns:1fr}.quick-actions{flex-direction:row;overflow-x:auto;padding-bottom:.5rem}.quick-action-btn{white-space:nowrap}.timer-time{font-size:3rem}.timer-controls{flex-wrap:wrap}.timer-btn{min-width:100px;padding:1rem}.insights-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.insight-card.full-width{grid-column:1 / -1}.timer-modal,.insights-modal{padding:1.5rem}}.wearable-sync-banner{display:flex;align-items:center;gap:1.5rem;padding:1.5rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;border-radius:12px;margin-bottom:2rem;animation:slideDown .3s ease}.wearable-sync-banner svg{color:#3b82f6;flex-shrink:0}.banner-content h3{margin:0 0 .5rem;font-size:1.125rem;font-weight:700;color:#1e40af}.banner-content p{margin:0 0 1rem;color:#1e3a8a;line-height:1.6;font-size:.9rem}.sync-nav-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.9rem}.sync-nav-btn:hover{background:#2563eb;transform:translateY(-2px)}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.sleep-tracker-page{max-width:1200px;margin:0 auto;padding:2rem}.sleep-content{display:grid;grid-template-columns:400px 1fr;gap:2rem;margin-bottom:2rem}.sleep-log-form{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);height:fit-content}.sleep-log-form h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.sleep-log-form>p{color:var(--text-secondary);margin-bottom:1.5rem}.sleep-form{display:flex;flex-direction:column;gap:1.5rem}.form-group label{display:block;font-weight:600;color:var(--text-primary);margin-bottom:.75rem;font-size:.875rem}.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:border-color .2s ease}.quality-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.quality-btn{padding:.875rem;border:2px solid var(--border-color);border-radius:8px;background:#fff;color:var(--text-primary);font-weight:600;cursor:pointer;transition:all .2s ease}.quality-btn:hover{border-color:var(--primary-color)}.quality-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.factors-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.factor-btn{padding:.75rem;border:2px solid var(--border-color);border-radius:8px;background:#fff;color:var(--text-primary);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;font-size:.875rem}.factor-btn:hover{border-color:var(--primary-color)}.factor-btn.active{background:#6366f11a;border-color:var(--primary-color)}.factor-emoji{font-size:1.25rem}.save-sleep-btn{padding:.875rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.save-sleep-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.sleep-log-history{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md)}.sleep-log-history h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.logs-list{display:flex;flex-direction:column;gap:1rem;max-height:600px;overflow-y:auto}.sleep-log-item{padding:1.5rem;background:var(--bg-color);border-radius:8px;border-left:4px solid var(--primary-color)}.sleep-time{font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.sleep-details{display:flex;flex-direction:column;gap:.5rem}.sleep-main{display:flex;gap:.75rem;align-items:center}.sleep-duration{font-weight:600;color:var(--text-primary)}.sleep-quality{background:var(--primary-color);color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.875rem;font-weight:600}.sleep-score,.sleep-description{color:var(--text-secondary);font-size:.875rem}.sleep-factors-display{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.factor-badge{background:var(--bg-color);padding:.25rem .5rem;border-radius:4px;font-size:.75rem;color:var(--text-secondary)}.sleep-tips{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);margin-bottom:2rem}.sleep-tips h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.sleep-tips>p{color:var(--text-secondary);margin-bottom:1.5rem}.tips-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.tip-card{padding:1rem;background:var(--bg-color);border-radius:8px}.tip-card h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.tip-card p{color:var(--text-secondary);font-size:.875rem;margin:0}.connected-devices{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md)}.connected-devices h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.connected-devices>p{color:var(--text-secondary);margin-bottom:1.5rem}.add-device-btn{padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem}.add-device-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.no-devices{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.no-devices svg{margin-bottom:1rem;opacity:.5}.no-devices p{margin:.5rem 0}.help-text{font-size:.875rem;color:var(--text-secondary);font-style:italic}.no-sleep-logs{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.no-sleep-logs svg{margin-bottom:1rem;opacity:.5}@media (max-width: 968px){.sleep-content,.tips-grid{grid-template-columns:1fr}}.sleep-main-info{position:relative}.sleep-actions{display:flex;gap:.5rem;position:absolute;top:0;right:0}.journal-page{max-width:900px;margin:0 auto;padding:2rem}.journal-actions{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.analyze-btn,.new-entry-btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;border:2px solid var(--border-color);background:var(--card-bg);color:var(--text-primary)}.analyze-btn:hover,.new-entry-btn:hover{border-color:var(--primary-color);background:#6366f10d}.new-entry-btn{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.new-entry-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.new-entry-section{background:var(--card-bg);border-radius:12px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.new-entry-section h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.journal-textarea-large{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.6;resize:vertical;color:var(--text-primary);background:#fff;transition:border-color .2s ease;margin-bottom:1rem}.journal-textarea-large:focus{outline:none;border-color:var(--secondary-color)}.entry-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn,.save-btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn{background:var(--bg-color);color:var(--text-primary);border:1px solid var(--border-color)}.cancel-btn:hover{background:var(--border-color)}.save-btn{background:var(--secondary-color);color:#fff;border:none}.save-btn:hover:not(:disabled){background:#7c3aed;transform:translateY(-2px);box-shadow:0 4px 12px #8b5cf64d}.save-btn:disabled{opacity:.5;cursor:not-allowed}.journal-entries{margin-top:2rem}.journal-entries h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.entries-subtitle{color:var(--text-secondary);margin-bottom:1.5rem}.no-entries{background:var(--card-bg);border-radius:12px;padding:4rem 2rem;text-align:center;box-shadow:var(--shadow-md)}.no-entries svg{color:var(--text-secondary);margin-bottom:1rem}.no-entries p{color:var(--text-secondary);font-size:1.125rem}.entries-list{display:flex;flex-direction:column;gap:1rem}.entry-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease}.entry-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.entry-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-color)}.entry-date{font-weight:600;color:var(--text-primary)}.entry-time{font-size:.875rem;color:var(--text-secondary)}.entry-content{color:var(--text-primary);line-height:1.7;white-space:pre-wrap}.journal-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem}.journal-modal{background:var(--card-bg);border-radius:12px;padding:2rem;width:100%;max-width:700px;max-height:90vh;overflow-y:auto}.journal-modal h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.journal-textarea{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.6;resize:vertical;min-height:200px;color:var(--text-primary);background:#fff;transition:border-color .2s ease}.journal-textarea:focus{outline:none;border-color:var(--secondary-color)}.journal-modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.journal-modal-actions button{flex:1;padding:.75rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.journal-modal-actions button[type=button]{background:var(--bg-color);color:var(--text-primary);border:1px solid var(--border-color)}.journal-modal-actions button[type=submit]{background:var(--secondary-color);color:#fff;border:none}.journal-modal-actions button[type=submit]:disabled{opacity:.5;cursor:not-allowed}.journal-modal-actions button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.entry-header{display:flex;align-items:center;justify-content:space-between;position:relative}.entry-actions{display:flex;gap:.5rem;margin-left:auto}.icon-btn{padding:.5rem;border:none;background:transparent;color:var(--text-secondary);cursor:pointer;border-radius:8px;transition:all .2s ease}.close-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:50%;transition:all .2s ease}@media (max-width: 768px){.journal-page{padding:1rem}.page-header h1{font-size:1.75rem}.journal-actions{flex-direction:column;gap:.75rem}.analyze-btn,.new-entry-btn{width:100%;justify-content:center}.new-entry-section{padding:1.5rem}.new-entry-section h2{font-size:1.125rem}.journal-textarea-large{font-size:.95rem;min-height:180px}.entry-actions{flex-direction:column-reverse}.cancel-btn,.save-btn{width:100%;justify-content:center}.entry-card{padding:1.25rem}.entry-header{flex-direction:column;align-items:flex-start;gap:.5rem}.entry-actions{width:100%;justify-content:flex-end}.journal-modal{padding:1.5rem}.journal-modal h3{font-size:1.25rem}.delete-modal{padding:1.5rem}.modal-actions{flex-direction:column}.delete-confirm-btn{width:100%;justify-content:center}}@media (max-width: 480px){.journal-page{padding:.75rem}.page-header h1{font-size:1.5rem}.new-entry-section{padding:1.25rem}.entry-card{padding:1rem}.journal-modal{padding:1.25rem}}.ai-wellness-hub{max-width:1200px;margin:0 auto;padding:2rem}.hub-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:2px solid var(--border-color);padding-bottom:.5rem}.tab-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;color:var(--text-secondary);font-weight:600;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s ease}.tab-btn:hover{color:var(--text-primary)}.tab-btn.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}.recommendations-section{margin-top:2rem}.section-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.section-header p{color:var(--text-secondary);margin-bottom:1rem}.recommendations-count{display:inline-block;background:var(--bg-color);padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600;color:var(--primary-color)}.recommendations-list{display:flex;flex-direction:column;gap:2rem}.recommendation-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);transition:all .2s ease}.recommendation-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.recommendation-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.recommendation-title{font-size:1.5rem;font-weight:600;color:var(--text-primary);flex:1;min-width:250px}.recommendation-meta{display:flex;gap:.75rem;flex-wrap:wrap}.priority-badge,.impact-badge{padding:.375rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600}.priority-high{background:#ef44441a;color:#dc2626}.priority-medium{background:#f59e0b1a;color:#d97706}.priority-low{background:#22c55e1a;color:#16a34a}.impact-high{background:#3b82f61a;color:#2563eb}.impact-medium{background:#9333ea1a;color:#9333ea}.impact-low{background:#6b72801a;color:#6b7280}.recommendation-duration{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.5rem 0;border-bottom:1px solid var(--border-color)}.duration-label{font-size:.875rem;color:var(--text-secondary);font-weight:600}.duration-value{font-size:.875rem;color:var(--text-primary);font-weight:600}.recommendation-description{color:var(--text-secondary);line-height:1.7;margin-bottom:1.5rem}.recommended-actions{background:var(--bg-color);padding:1.5rem;border-radius:8px;margin-bottom:1.5rem}.recommended-actions strong{display:block;color:var(--text-primary);font-size:1rem;margin-bottom:1rem}.actions-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.actions-list li{color:var(--text-secondary);line-height:1.6;padding-left:1.5rem;position:relative}.actions-list li:before{content:"•";position:absolute;left:0;color:var(--primary-color);font-weight:700;font-size:1.25rem}.recommendation-actions{display:flex;gap:1rem;flex-wrap:wrap}.add-plan-btn,.tell-more-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;border:2px solid var(--border-color);background:var(--card-bg);color:var(--text-primary)}.add-plan-btn:hover,.tell-more-btn:hover{border-color:var(--primary-color);background:#6366f10d;transform:translateY(-2px)}.add-plan-btn span:first-child{font-size:1.125rem}.assistant-section,.insights-section{margin-top:2rem}.assistant-header{margin-bottom:2rem}.assistant-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.assistant-header p{color:var(--text-secondary);font-size:1rem}.chat-container{background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md);display:flex;flex-direction:column;height:600px;overflow:hidden}.chat-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.chat-message{display:flex;flex-direction:column;animation:fadeIn .3s ease-out}.chat-message.user{align-items:flex-end}.chat-message.assistant{align-items:flex-start}.message-content{display:flex;gap:.75rem;max-width:80%;align-items:flex-start}.chat-message.user .message-content{flex-direction:row-reverse}.message-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.message-text{background:var(--bg-color);padding:.875rem 1rem;border-radius:12px;box-shadow:var(--shadow-sm)}.chat-message.user .message-text{background:var(--primary-color);color:#fff}.chat-message.assistant .message-text{background:var(--bg-color);color:var(--text-primary)}.message-text p{margin:0 0 .25rem;line-height:1.6;font-size:.9375rem}.message-time{font-size:.75rem;color:var(--text-secondary);opacity:.7}.chat-message.user .message-time{color:#ffffffb3}.chat-input-container{display:flex;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid var(--border-color);background:var(--card-bg)}.chat-input{flex:1;padding:.875rem 1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .2s ease;background:#fff}.chat-input:focus{outline:none;border-color:var(--primary-color)}.chat-input::placeholder{color:var(--text-secondary);opacity:.7}.send-btn{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.send-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.send-btn:disabled{opacity:.5;cursor:not-allowed}.insights-section{margin-top:2rem}.insights-header{margin-bottom:2rem}.insights-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.insights-header p{color:var(--text-secondary);font-size:1rem}.section-subtitle{color:var(--text-secondary);font-size:.875rem;margin-bottom:1.5rem}.correlation-section{margin-bottom:3rem}.correlation-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.correlation-cards{display:flex;flex-direction:column;gap:1.5rem}.correlation-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);border-left:4px solid var(--primary-color)}.correlation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.correlation-title{display:flex;align-items:center;gap:.5rem;font-weight:600;color:var(--text-primary);font-size:1.125rem}.correlation-title svg{color:var(--primary-color)}.correlation-strength{padding:.375rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600}.correlation-strength.positive{background:#22c55e1a;color:#16a34a}.correlation-strength.moderate{background:#f59e0b1a;color:#d97706}.correlation-strength.negative{background:#3b82f61a;color:#2563eb}.correlation-finding{color:var(--text-secondary);line-height:1.7;margin-bottom:1rem}.correlation-recommendation{display:flex;gap:.5rem;padding:1rem;background:var(--bg-color);border-radius:8px;font-size:.875rem;color:var(--text-primary)}.correlation-recommendation span:first-child{font-size:1.125rem}.predictive-section{margin-bottom:3rem}.predictive-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.predictive-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.predictive-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);transition:all .2s ease}.predictive-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.predictive-header{margin-bottom:1rem}.predictive-header h4{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.confidence-badge{display:inline-block;background:var(--bg-color);color:var(--primary-color);padding:.25rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600}.predictive-text{color:var(--text-secondary);line-height:1.7;margin-bottom:1rem}.predictive-action{display:flex;gap:.5rem;padding:.75rem;background:var(--bg-color);border-radius:8px;font-size:.875rem;color:var(--text-primary)}.predictive-action span:first-child{font-size:1rem}.dashboards-section{margin-bottom:3rem}.dashboards-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.metric-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.metric-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;color:var(--text-secondary);font-size:.875rem;font-weight:600}.metric-header svg{color:var(--primary-color)}.metric-value{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.metric-change{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:var(--text-secondary)}.metric-change.positive{color:var(--success-color)}.metric-change svg{color:var(--success-color)}.wellness-reports-section{margin-bottom:2rem}.wellness-reports-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.report-goal-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease}.report-goal-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.goal-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.goal-header svg{color:var(--primary-color)}.goal-header h4{font-size:1.125rem;font-weight:600;color:var(--text-primary)}.goal-progress-bar{height:12px;background:var(--border-color);border-radius:6px;overflow:hidden;margin-bottom:.75rem}.goal-progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:6px;transition:width .3s ease}.goal-stats{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.goal-stats span:first-child{color:var(--text-secondary)}.goal-percentage{font-weight:600;color:var(--primary-color)}@media (max-width: 768px){.ai-wellness-hub{padding:1rem}.page-header h1{font-size:1.75rem}.page-header p{font-size:.875rem}.hub-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;gap:.5rem}.tab-btn{white-space:nowrap;padding:.625rem 1rem;font-size:.875rem}.tab-btn svg{width:18px;height:18px}.section-header h2{font-size:1.375rem}.section-header p{font-size:.875rem}.recommendation-card{padding:1.25rem}.recommendation-header{flex-direction:column;gap:.75rem}.recommendation-title{font-size:1.25rem;min-width:unset}.recommendation-meta{width:100%;justify-content:flex-start}.recommendation-duration{flex-direction:column;align-items:flex-start;gap:.25rem}.recommendation-description,.actions-list li{font-size:.875rem}.recommendation-actions{flex-direction:column;gap:.75rem}.add-plan-btn,.tell-more-btn{width:100%;justify-content:center}.chat-container{height:500px}.chat-messages{padding:1rem}.chat-message{padding:.75rem}.message-text{font-size:.875rem}.message-avatar{width:32px;height:32px}.chat-input-container{padding:.875rem;gap:.5rem}.chat-input{padding:.75rem;font-size:.875rem}.send-btn{padding:.75rem 1rem;font-size:.875rem}.correlation-cards,.predictive-cards{gap:1rem}.correlation-card,.predictive-card{padding:1.25rem}.correlation-title,.correlation-finding,.predictive-text{font-size:.875rem}.dashboard-metrics{grid-template-columns:1fr;gap:1rem}.metric-card{padding:1.25rem}.metric-value{font-size:1.75rem}.reports-grid{grid-template-columns:1fr;gap:1rem}.report-goal-card{padding:1.25rem}.refresh-recommendations-btn{padding:.5rem .75rem!important;font-size:.813rem!important}.refresh-recommendations-btn span{display:none}.refresh-recommendations-btn svg{margin:0!important}}@media (max-width: 480px){.ai-wellness-hub{padding:.75rem}.page-header h1{font-size:1.5rem}.tab-btn{padding:.5rem .75rem;font-size:.813rem}.recommendation-card{padding:1rem}.recommendation-title{font-size:1.125rem}.chat-container{height:450px}.send-btn span{display:none}.send-btn{padding:.75rem}}font-size: 1.25rem; min-width: unset; } .recommendation-meta{width:100%;justify-content:flex-start}.recommendation-duration{flex-direction:column;align-items:flex-start;gap:.25rem}.recommendation-description,.actions-list li{font-size:.875rem}.recommendation-actions{flex-direction:column;gap:.75rem}.add-plan-btn,.tell-more-btn{width:100%;justify-content:center}.chat-container{height:500px}.chat-messages{padding:1rem}.chat-message{padding:.75rem}.message-text{font-size:.875rem}.message-avatar{width:32px;height:32px}.chat-input-container{padding:.875rem;gap:.5rem}.chat-input{padding:.75rem;font-size:.875rem}.send-btn{padding:.75rem 1rem;font-size:.875rem}.correlation-cards,.predictive-cards{gap:1rem}.correlation-card,.predictive-card{padding:1.25rem}.correlation-title,.correlation-finding,.predictive-text{font-size:.875rem}.dashboard-metrics{grid-template-columns:1fr;gap:1rem}.metric-card{padding:1.25rem}.metric-value{font-size:1.75rem}.reports-grid{grid-template-columns:1fr;gap:1rem}.report-goal-card{padding:1.25rem}.refresh-recommendations-btn{padding:.5rem .75rem!important;font-size:.813rem!important}.refresh-recommendations-btn span{display:none}.refresh-recommendations-btn svg{margin:0!important}} @media (max-width: 480px){.ai-wellness-hub{padding:.75rem}.page-header h1{font-size:1.5rem}.tab-btn{padding:.5rem .75rem;font-size:.813rem}.recommendation-card{padding:1rem}.recommendation-title{font-size:1.125rem}.chat-container{height:450px}.send-btn span{display:none}.send-btn{padding:.75rem}}.habits-goals-page{padding:2rem;max-width:1400px;margin:0 auto}.add-habit-btn{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.add-habit-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.habits-controls{display:flex;gap:1.5rem;margin-bottom:2rem;padding:1.5rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-sm);flex-wrap:wrap;align-items:center}.filter-group,.sort-group{display:flex;align-items:center;gap:.75rem}.filter-group svg{color:var(--primary-color)}.filter-group label,.sort-group label{font-weight:600;color:var(--text-primary);font-size:.875rem}.filter-select,.sort-select{padding:.5rem 1rem;border:2px solid var(--border-color);border-radius:8px;font-size:.875rem;background:var(--bg-color);color:var(--text-primary);cursor:pointer;transition:all .2s ease}.filter-select:focus,.sort-select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.add-first-habit-btn{padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.add-first-habit-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.habit-form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.habit-form-card{background:var(--card-bg);border-radius:16px;padding:2rem;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg)}.habit-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.habit-form-header h2{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.habits-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-top:2rem}.habit-card{background:var(--card-bg);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease;border:2px solid transparent}.habit-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.habit-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.habit-title-section{display:flex;align-items:flex-start;gap:.75rem;flex:1}.habit-icon{margin-top:.25rem}.habit-title-content{flex:1}.habit-title-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.habit-title-row h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}.priority-badge{display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600}.habit-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.habit-category{font-size:.75rem;color:var(--text-secondary);background:var(--bg-color);padding:.25rem .5rem;border-radius:4px;display:inline-block}.habit-difficulty{font-size:.75rem;font-weight:600}.habit-reminder{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:var(--text-secondary)}.habit-card.high-priority{border-left:4px solid #ef4444}.habit-card.medium-priority{border-left:4px solid #f59e0b}.habit-card.low-priority{border-left:4px solid #10b981}.habit-actions{display:flex;gap:.5rem}.habit-description{color:var(--text-secondary);font-size:.875rem;line-height:1.6;margin-bottom:1rem}.habit-motivation{display:flex;gap:.5rem;padding:.75rem;background:#6366f11a;border-left:3px solid var(--primary-color);border-radius:6px;margin-bottom:1rem}.motivation-icon{font-size:1.25rem;flex-shrink:0}.habit-motivation p{color:var(--text-primary);font-size:.875rem;line-height:1.6;margin:0;font-style:italic}.habit-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1rem;padding:1rem;background:var(--bg-color);border-radius:8px}.stat-item{display:flex;align-items:center;gap:.5rem;flex:1}.stat-value{display:block;font-size:1.25rem;font-weight:700;color:var(--text-primary)}.stat-label{display:block;font-size:.75rem;color:var(--text-secondary)}.habit-progress{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.progress-label{font-size:.875rem;font-weight:600;color:var(--text-primary)}.progress-percentage{font-size:.875rem;font-weight:700;color:var(--primary-color)}.progress-bar{height:10px;background:var(--border-color);border-radius:5px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:4px;transition:width .3s ease}.progress-text{font-size:.75rem;color:var(--text-secondary)}.complete-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.complete-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.complete-btn:disabled{background:#22c55e;cursor:not-allowed;opacity:.8}.complete-btn.completed{background:#22c55e}.success-summary{margin-top:3rem;padding:2rem;background:var(--card-bg);border-radius:16px;box-shadow:var(--shadow-md)}.success-summary h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.summary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.summary-card{text-align:center;padding:1.5rem;background:var(--bg-color);border-radius:12px}.summary-value{font-size:2.5rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem}.summary-label{font-size:.875rem;color:var(--text-secondary);font-weight:600}@media (max-width: 768px){.habits-goals-page{padding:1rem}.page-header{flex-direction:column;gap:1rem}.add-habit-btn{width:100%;justify-content:center}.habits-grid,.form-row{grid-template-columns:1fr}.habit-stats{grid-template-columns:1fr;gap:.75rem}.habits-controls,.filter-group,.sort-group{flex-direction:column;align-items:stretch}.summary-stats{grid-template-columns:1fr}}.hobbies-page{padding:2rem;max-width:1400px;margin:0 auto}.add-hobby-btn{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.add-hobby-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.empty-state{background:var(--card-bg);border-radius:16px;padding:4rem 2rem;text-align:center;box-shadow:var(--shadow-md);margin-top:2rem}.empty-state svg{color:var(--primary-color);margin-bottom:1.5rem;opacity:.5}.empty-state h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.empty-state p{color:var(--text-secondary);margin-bottom:2rem}.add-first-hobby-btn{padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.add-first-hobby-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.hobby-form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.hobby-form-card{background:var(--card-bg);border-radius:16px;padding:2rem;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg)}.hobby-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.hobby-form-header h2{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.close-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary);font-size:.875rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--bg-color);color:var(--text-primary);transition:all .2s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.hobbies-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-top:2rem}.hobby-card{background:var(--card-bg);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease;border:2px solid transparent}.hobby-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.hobby-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.hobby-title-section{display:flex;align-items:flex-start;gap:.75rem;flex:1}.hobby-icon{color:var(--primary-color);margin-top:.25rem}.hobby-title-section h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.hobby-category{font-size:.75rem;color:var(--text-secondary);background:var(--bg-color);padding:.25rem .5rem;border-radius:4px;display:inline-block}.hobby-actions{display:flex;gap:.5rem}.action-btn:hover{background:var(--bg-color)}.edit-btn:hover{color:var(--primary-color)}.delete-btn:hover{color:#ef4444}.hobby-description{color:var(--text-secondary);font-size:.875rem;line-height:1.6;margin-bottom:1rem}.hobby-meta{display:flex;gap:1rem;padding-top:1rem;border-top:1px solid var(--border-color)}.meta-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-secondary)}.meta-item svg{color:var(--primary-color)}@media (max-width: 768px){.hobbies-page{padding:1rem}.page-header{flex-direction:column;gap:1rem}.add-hobby-btn{width:100%;justify-content:center}.hobbies-grid,.form-row{grid-template-columns:1fr}}.whatsapp-groups-page{padding:2rem;max-width:1400px;margin:0 auto;background:var(--bg-color);min-height:100vh}.whatsapp-groups-container{background:var(--card-bg);border-radius:20px;padding:2.5rem;box-shadow:var(--shadow-lg)}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.create-group-btn{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.create-group-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:3rem}.group-card{background:var(--card-bg);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-md);transition:all .2s ease;border:2px solid transparent}.group-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.group-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.group-icon{font-size:2.5rem;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:var(--bg-color);border-radius:12px;flex-shrink:0}.group-info{flex:1}.group-info h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.group-category{font-size:.75rem;color:var(--text-secondary);background:var(--bg-color);padding:.25rem .5rem;border-radius:4px;display:inline-block}.group-description{color:var(--text-secondary);font-size:.875rem;line-height:1.6;margin-bottom:1.5rem}.group-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--border-color)}.group-members{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-secondary)}.group-members svg{color:var(--primary-color)}.join-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.join-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.about-section{background:var(--card-bg);border-radius:16px;padding:2rem;box-shadow:var(--shadow-md)}.about-section h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.about-section p{color:var(--text-secondary);line-height:1.8;font-size:1rem}.how-to-create{margin-top:2rem;padding:1.5rem;background:var(--bg-color);border-radius:12px}.how-to-create h3{font-size:1.125rem;color:var(--text-primary);margin-bottom:1rem}.how-to-create ol{margin-left:1.5rem;color:var(--text-secondary);line-height:2}.how-to-create li{margin-bottom:.5rem}.create-group-modal{background:var(--card-bg);border-radius:20px;padding:2rem;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}} .create-group-modal{background:var(--card-bg);border-radius:20px;padding:2rem;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--border-color)}.modal-header h2{font-size:1.75rem;font-weight:700;color:var(--text-primary)}.close-btn{background:transparent;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s}.modal-body,.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;color:var(--text-primary);margin-bottom:.5rem;font-size:.9375rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.875rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;background:var(--bg-color);color:var(--text-primary);transition:all .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color);background:var(--card-bg)}.form-group small{display:block;margin-top:.5rem;font-size:.8125rem;color:var(--text-secondary)}.icon-picker{display:flex;gap:.5rem;flex-wrap:wrap}.icon-option{width:50px;height:50px;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-color);font-size:1.75rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.icon-option:hover{border-color:var(--primary-color);transform:scale(1.1)}.icon-option.selected{border-color:var(--primary-color);background:var(--primary-color);transform:scale(1.1)}.info-box{display:flex;gap:1rem;padding:1rem;background:var(--bg-color);border-radius:12px;border-left:4px solid var(--primary-color)}.info-box svg{color:var(--primary-color);flex-shrink:0}.info-box strong{display:block;color:var(--text-primary);margin-bottom:.5rem}.info-box p{color:var(--text-secondary);font-size:.875rem;margin:.25rem 0}.modal-footer{display:flex;gap:1rem;padding-top:1.5rem;border-top:2px solid var(--border-color)}.btn-primary,.btn-secondary{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.btn-secondary{background:#25d366;color:#fff}.btn-secondary:hover{background:#128c7e;transform:translateY(-2px);box-shadow:0 4px 12px #25d3664d}@media (max-width: 768px){.whatsapp-groups-page{padding:1rem}.page-header{flex-direction:column;gap:1rem}.create-group-btn{width:100%;justify-content:center}.groups-grid{grid-template-columns:1fr}.create-group-modal{width:95%;padding:1.5rem}.modal-footer{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}.self-love-care-page{padding:2rem;max-width:1400px;margin:0 auto}.tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid var(--border-color)}.tab{padding:.875rem 1.5rem;background:none;border:none;border-bottom:2px solid transparent;font-weight:600;font-size:1rem;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;margin-bottom:-2px}.tab:hover{color:var(--text-primary)}.tab.active{color:var(--primary-color);border-bottom-color:var(--primary-color)}.tab-content{animation:fadeIn .3s ease}.today-affirmation{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:16px;padding:2.5rem;text-align:center;color:#fff;margin-bottom:2rem;box-shadow:var(--shadow-lg)}.affirmation-header-with-mood{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:1rem}.today-affirmation h3{font-size:1.25rem;font-weight:600;margin:0}.mood-indicator-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;background:#ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;font-size:.9rem;font-weight:600;border:1px solid rgba(255,255,255,.3)}.affirmation-text{font-size:1.5rem;font-weight:600;line-height:1.6;margin-bottom:1rem;font-style:italic}.affirmation-subtitle{font-size:1rem;opacity:.9;margin-bottom:1.5rem}.new-affirmation-btn{padding:.75rem 1.5rem;background:#fff3;color:#fff;border:2px solid white;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.new-affirmation-btn:hover{background:#fff;color:var(--primary-color)}.affirmations-section{margin-top:2rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.section-header h3{font-size:1.25rem;font-weight:600;color:var(--text-primary)}.add-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.add-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.affirmations-list{display:flex;flex-direction:column;gap:1rem}.affirmation-item{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);display:flex;justify-content:space-between;align-items:center;transition:all .2s ease}.affirmation-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.affirmation-item p{flex:1;color:var(--text-primary);font-size:1rem;line-height:1.6;margin:0}.affirmation-actions{display:flex;gap:.5rem}.action-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease}.action-btn:hover{background:var(--bg-color);color:var(--primary-color)}.empty-message{text-align:center;color:var(--text-secondary);padding:2rem;background:var(--card-bg);border-radius:12px}.self-care-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.self-care-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;text-align:center;box-shadow:var(--shadow-md);transition:all .2s ease;border:2px solid transparent}.self-care-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.self-care-card.completed{border-color:#22c55e;background:#22c55e0d}.self-care-icon{font-size:2.5rem;margin-bottom:.75rem}.self-care-card h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.self-care-duration{font-size:.875rem;color:var(--text-secondary);margin-bottom:1rem}.do-btn{width:100%;padding:.75rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.do-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.do-btn:disabled{background:#22c55e;cursor:not-allowed;opacity:.8}.do-btn.done{background:#22c55e}.today-progress{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);margin-top:2rem}.today-progress h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.progress-text{color:var(--text-secondary);font-size:1rem}.gratitude-entry-section{background:var(--card-bg);border-radius:16px;padding:2rem;box-shadow:var(--shadow-md);margin-bottom:2rem}.gratitude-entry-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.section-subtitle{color:var(--text-secondary);margin-bottom:1.5rem}.gratitude-form{display:flex;flex-direction:column;gap:1rem}.gratitude-form label{font-weight:600;color:var(--text-primary);font-size:.875rem}.gratitude-form textarea{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--bg-color);color:var(--text-primary);resize:vertical;min-height:120px;transition:all .2s ease}.gratitude-form textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.add-gratitude-btn{padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease;align-self:flex-start}.add-gratitude-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.gratitude-entries{margin-top:2rem}.gratitude-entries h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.gratitude-list{display:flex;flex-direction:column;gap:1rem}.gratitude-item{background:var(--card-bg);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-md);display:flex;justify-content:space-between;align-items:flex-start;transition:all .2s ease}.gratitude-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.gratitude-content{flex:1}.gratitude-content p{color:var(--text-primary);font-size:1rem;line-height:1.6;margin-bottom:.5rem}.gratitude-date{font-size:.75rem;color:var(--text-secondary)}.delete-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease}.delete-btn:hover{background:var(--bg-color);color:#ef4444}.insights-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:var(--card-bg);border-radius:12px;padding:1.5rem;text-align:center;box-shadow:var(--shadow-md)}.stat-card svg{color:var(--primary-color);margin-bottom:.75rem}.stat-value{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.stat-label{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.stat-sublabel{font-size:.75rem;color:var(--text-secondary)}.insights-messages{background:var(--card-bg);border-radius:16px;padding:2rem;box-shadow:var(--shadow-md)}.insights-messages h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.insight-card{display:flex;gap:1rem;padding:1.5rem;background:var(--bg-color);border-radius:12px;margin-bottom:1rem}.insight-card svg{color:var(--primary-color);flex-shrink:0;margin-top:.25rem}.insight-card h4{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.insight-card p{color:var(--text-secondary);line-height:1.6;margin:0}.insight-encouragement{margin-top:1.5rem;padding:1.5rem;background:#6366f11a;border-left:4px solid var(--primary-color);border-radius:8px}.insight-encouragement p{color:var(--text-primary);font-size:1rem;line-height:1.6;margin:0;font-style:italic}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:var(--card-bg);border-radius:16px;padding:2rem;width:100%;max-width:500px;box-shadow:var(--shadow-lg)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-header h3{font-size:1.5rem;font-weight:600;color:var(--text-primary)}.modal-body textarea{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--bg-color);color:var(--text-primary);resize:vertical;min-height:100px}.modal-body textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.cancel-btn,.save-btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.cancel-btn{background:var(--bg-color);color:var(--text-secondary)}.cancel-btn:hover{background:var(--border-color);color:var(--text-primary)}.save-btn{background:var(--primary-color);color:#fff}.save-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}@media (max-width: 768px){.self-love-care-page{padding:1rem}.tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.tab{white-space:nowrap}.self-care-grid,.insights-stats{grid-template-columns:1fr}}.affirmation-card-actions{display:flex;gap:1rem;margin-top:1.5rem;flex-wrap:wrap}.add-to-favorites-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#ec4899,#f43f5e);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.9rem}.add-to-favorites-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ec48994d}.add-to-favorites-btn:active{transform:translateY(0)}.mood-tracker-page{padding:2rem;background:var(--bg-color);min-height:100vh}.mood-tracker-container{max-width:1400px;margin:0 auto;background:var(--card-bg);border-radius:20px;padding:2.5rem;box-shadow:var(--shadow-lg)}.mood-tracker-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.mood-form-section{background:var(--bg-color);border-radius:16px;padding:2rem}.mood-form{display:flex;flex-direction:column;gap:2rem}.form-section{display:flex;flex-direction:column;gap:.75rem}.form-label{font-size:1rem;font-weight:600;color:var(--text-primary)}.form-subtitle{font-size:.875rem;color:var(--text-secondary);margin:0}.mood-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem}.mood-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem .75rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s ease;font-size:.875rem}.mood-btn:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.mood-btn.selected{background:#6366f11a;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.mood-emoji{font-size:2rem}.mood-label{font-weight:600;color:var(--text-primary)}.energy-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem}.energy-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem .75rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s ease;font-size:.875rem}.energy-btn:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.energy-btn.selected{background:#6366f11a;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.energy-emoji{font-size:2rem}.energy-label{font-weight:600;color:var(--text-primary)}.factors-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem}.factor-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500;color:var(--text-primary)}.factor-btn:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.factor-btn.selected{background:#6366f11a;border-color:var(--primary-color)}.notes-textarea{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;background:var(--card-bg);color:var(--text-primary);resize:vertical;min-height:100px;transition:all .2s ease}.notes-textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.save-mood-btn{padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease;margin-top:1rem}.save-mood-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.save-mood-btn:disabled{opacity:.5;cursor:not-allowed}.mood-insights-section{display:flex;flex-direction:column;gap:1.5rem}.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.chart-card{background:var(--bg-color);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-sm)}.chart-card h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.no-data{text-align:center;padding:2rem 1rem;color:var(--text-secondary)}.no-data p{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.no-data span{font-size:.875rem}.chart-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;color:var(--text-secondary)}.chart-placeholder svg{color:var(--primary-color);opacity:.3;margin-bottom:1rem}.insights-card{background:var(--bg-color);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-sm)}.insights-card h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.insight-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--card-bg);border-radius:12px}.insight-emoji{font-size:2rem}.insight-item svg{color:var(--primary-color);width:32px;height:32px}.insight-label{font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem}.insight-value{font-size:1rem;font-weight:600;color:var(--text-primary)}.recent-entries-card{background:var(--bg-color);border-radius:16px;padding:1.5rem;box-shadow:var(--shadow-sm)}.recent-entries-card h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.no-entries{text-align:center;padding:2rem;color:var(--text-secondary)}.entries-list{display:flex;flex-direction:column;gap:1rem;max-height:400px;overflow-y:auto}.entry-item{padding:1rem;background:var(--card-bg);border-radius:12px;border:2px solid transparent;transition:all .2s ease}.entry-item:hover{border-color:var(--primary-color);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.entry-main{margin-bottom:.5rem}.entry-mood-energy{font-size:.875rem;color:var(--text-primary);margin-bottom:.25rem}.entry-date{font-size:.75rem;color:var(--text-secondary)}.entry-factors{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.factor-tag{font-size:.75rem;padding:.25rem .5rem;background:#6366f11a;color:var(--primary-color);border-radius:6px;font-weight:500}.load-more-btn{padding:.75rem 1.5rem;background:var(--card-bg);border:2px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-weight:600;cursor:pointer;transition:all .2s ease;width:100%;margin-top:.5rem}.load-more-btn:hover{border-color:var(--primary-color);background:#6366f10d}@media (max-width: 1024px){.mood-tracker-content,.charts-row{grid-template-columns:1fr}.mood-grid,.energy-grid{grid-template-columns:repeat(3,1fr)}.insights-grid{grid-template-columns:1fr}}@media (max-width: 768px){.mood-tracker-page{padding:1rem}.mood-tracker-container,.mood-form-section{padding:1.5rem}.mood-grid,.energy-grid,.factors-grid{grid-template-columns:repeat(2,1fr)}}.form-actions{display:flex;gap:1rem;justify-content:flex-end}.entry-main{position:relative;display:flex;flex-direction:column;gap:.5rem}.entry-actions{position:absolute;top:0;right:0;display:flex;gap:.5rem}.icon-btn{padding:.5rem;border:none;background:transparent;color:var(--text-secondary);cursor:pointer;border-radius:8px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.icon-btn:hover{background:var(--bg-color);transform:scale(1.1)}.edit-btn:hover{color:#3b82f6;background:#eff6ff}.delete-btn:hover{color:#ef4444;background:#fef2f2}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease}.delete-modal{background:#fff;border-radius:16px;padding:2rem;max-width:400px;width:100%;animation:slideUp .3s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.modal-header h2{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin:0}.close-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.close-btn:hover{background:var(--bg-color);color:var(--text-primary)}.delete-message{color:var(--text-secondary);margin:1.5rem 0;line-height:1.6}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.delete-confirm-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#ef4444;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.delete-confirm-btn:hover{background:#dc2626;transform:translateY(-2px)}.cancel-btn{padding:.75rem 1.5rem;background:transparent;color:var(--text-secondary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn:hover{border-color:var(--text-secondary);background:var(--bg-color)}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.emotion-insights-page{max-width:1400px;margin:0 auto;padding:2rem;background:var(--bg-color);min-height:100vh}.page-header{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.page-header h1{font-size:2.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.75rem;display:flex;align-items:center;gap:1rem}.page-header p{color:var(--text-secondary);font-size:1.125rem;line-height:1.6}.mood-overview{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.mood-overview h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.mood-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.stat-card{background:var(--bg-color);border-radius:12px;padding:1.5rem;text-align:center;border:2px solid var(--border-color);transition:all .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary-color)}.stat-label{font-size:.875rem;color:var(--text-secondary);margin-bottom:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:2rem;font-weight:700;color:var(--primary-color)}.stat-value.trend-improving{color:#10b981;display:flex;align-items:center;justify-content:center;gap:.5rem}.stat-value.trend-declining{color:#ef4444;display:flex;align-items:center;justify-content:center;gap:.5rem}.stat-value.trend-stable{color:var(--text-secondary)}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.empty-state svg{color:var(--text-secondary);opacity:.5;margin-bottom:1rem}.empty-state p{font-size:1rem}.mood-distribution{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.mood-distribution h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.distribution-chart{display:flex;flex-direction:column;gap:1rem}.distribution-bar{background:var(--bg-color);border-radius:8px;padding:1rem}.bar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.mood-emoji{font-size:1.5rem;font-weight:600}.bar-count{font-size:.875rem;color:var(--text-secondary);font-weight:500}.bar-container{width:100%;height:24px;background:var(--card-bg);border-radius:12px;overflow:hidden;position:relative}.bar-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:12px;transition:width .5s ease}.weekly-pattern{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.weekly-pattern h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.weekly-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:1rem;align-items:flex-end;height:300px;padding:1rem;background:var(--bg-color);border-radius:12px}.week-day{display:flex;flex-direction:column;align-items:center;gap:.5rem;height:100%}.day-name{font-size:.75rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase}.day-score-bar{flex:1;width:100%;background:var(--card-bg);border-radius:8px 8px 0 0;position:relative;display:flex;align-items:flex-end;min-height:100px}.score-fill{width:100%;background:linear-gradient(180deg,var(--primary-color),var(--secondary-color));border-radius:8px 8px 0 0;transition:height .5s ease;min-height:20px}.day-score{font-size:.875rem;font-weight:600;color:var(--text-primary)}.day-count{font-size:.75rem;color:var(--text-secondary)}.correlations-section{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.correlations-section h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.correlations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.correlation-card{background:var(--bg-color);border-radius:12px;padding:1.5rem;border:2px solid var(--border-color);transition:all .2s ease}.correlation-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.correlation-card.positive{border-left:4px solid #10b981}.correlation-card.negative{border-left:4px solid #ef4444}.correlation-icon{width:48px;height:48px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:1rem}.correlation-title{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.correlation-finding{font-size:.875rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.correlation-description{font-size:.875rem;color:var(--text-secondary);line-height:1.6}.journal-insights-section{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.journal-insights-section h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.journal-insight-card{background:var(--bg-color);border-radius:12px;padding:1.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;align-items:center}.journal-stat{text-align:center}.journal-stat .stat-label{font-size:.875rem;color:var(--text-secondary);margin-bottom:.5rem;font-weight:600}.journal-stat .stat-value{font-size:1.5rem;font-weight:700;color:var(--primary-color)}.journal-stat .stat-value.sentiment-positive{color:#10b981}.journal-stat .stat-value.sentiment-negative{color:#ef4444}.journal-stat .stat-value.sentiment-neutral{color:var(--text-secondary)}.journal-insight{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--card-bg);border-radius:8px;border-left:3px solid var(--primary-color)}.journal-insight svg{color:var(--primary-color);flex-shrink:0}.journal-insight p{color:var(--text-secondary);font-size:.875rem;line-height:1.6;margin:0}.insights-section{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.insights-section h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.insights-list{display:flex;flex-direction:column;gap:1rem}.insight-card{background:var(--bg-color);border-radius:12px;padding:1.5rem;border-left:4px solid var(--primary-color);transition:all .2s ease}.insight-card:hover{transform:translate(4px);box-shadow:var(--shadow-sm)}.insight-card.positive{border-left-color:#10b981}.insight-card.caution{border-left-color:#f59e0b}.insight-card.info{border-left-color:var(--primary-color)}.insight-title{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.insight-description{font-size:.875rem;color:var(--text-secondary);line-height:1.6}.recommendations-section{background:var(--card-bg);border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-md)}.recommendations-section h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem}.recommendations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.recommendation-card{background:var(--bg-color);border-radius:12px;padding:1.5rem;border:2px solid var(--border-color);transition:all .2s ease}.recommendation-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary-color)}.recommendation-card h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.recommendation-card p{font-size:.875rem;color:var(--text-secondary);margin-bottom:1rem;line-height:1.6}.recommendation-card ul{list-style:none;padding:0;margin:0}.recommendation-card li{font-size:.875rem;color:var(--text-secondary);padding:.5rem 0 .5rem 1.5rem;position:relative;line-height:1.6}.recommendation-card li:before{content:"•";position:absolute;left:0;color:var(--primary-color);font-weight:700;font-size:1.25rem}@media (max-width: 768px){.emotion-insights-page{padding:1rem}.page-header h1{font-size:2rem}.mood-stats-grid{grid-template-columns:1fr}.weekly-chart{grid-template-columns:repeat(7,1fr);gap:.5rem;height:250px}.correlations-grid,.recommendations-grid,.journal-insight-card{grid-template-columns:1fr}}.profile-page{max-width:1000px;margin:0 auto;padding:2rem}.page-header{margin-bottom:2rem}.profile-content{display:flex;flex-direction:column;gap:2rem}.profile-card{background:var(--card-bg);border-radius:16px;padding:2rem;text-align:center;box-shadow:var(--shadow-md)}.profile-avatar{width:96px;height:96px;margin:0 auto 1.5rem;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.profile-card h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.profile-email{color:var(--text-secondary);font-size:1rem;margin-bottom:1.5rem}.profile-stats{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.stat-item{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.75rem;background:var(--bg-color);border-radius:8px;color:var(--text-secondary);font-size:.9375rem}.stat-item svg{color:var(--primary-color)}.profile-section{background:var(--card-bg);border-radius:16px;padding:2rem;box-shadow:var(--shadow-md)}.profile-section h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.settings-list{display:flex;flex-direction:column;gap:.75rem}.settings-item{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:var(--bg-color);border:2px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left}.settings-item:hover{border-color:var(--primary-color);background:#6366f10d;transform:translate(4px)}.settings-item svg{color:var(--primary-color)}.achievements-list{display:flex;flex-wrap:wrap;gap:1rem}.achievement-badge{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;background:var(--bg-color);border:2px solid var(--primary-color);border-radius:8px;color:var(--text-primary);font-weight:500}.achievement-badge svg{color:var(--primary-color)}.profile-actions{margin-top:1rem}.logout-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1rem 1.5rem;background:#ef4444;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.logout-btn:hover{background:#dc2626;transform:translateY(-2px);box-shadow:0 4px 12px #ef44444d}.email-settings-card{margin-top:1.5rem;padding:1.5rem;background:var(--bg-color);border-radius:12px;border:2px solid var(--border-color)}.email-settings-card h4{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.email-settings-card h4 svg{color:var(--primary-color)}.email-setting-item{margin-bottom:1.5rem}.email-setting-item:last-child{margin-bottom:0}.email-setting-item label{display:block;font-size:.9375rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.email-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer}.email-toggle input[type=checkbox]{width:20px;height:20px;cursor:pointer}.email-toggle span{font-size:.9375rem;color:var(--text-primary);font-weight:500}.email-input,.email-select{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:.9375rem;color:var(--text-primary);background:var(--card-bg);transition:border-color .2s ease}.email-input:focus,.email-select:focus{outline:none;border-color:var(--primary-color)}.email-types-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.email-types-section label{display:block;font-size:.9375rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.email-types-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.email-type-toggle{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--card-bg);border-radius:8px;border:2px solid var(--border-color);cursor:pointer;transition:all .2s ease}.email-type-toggle:hover{border-color:var(--primary-color);background:#6366f10d}.email-type-toggle input[type=checkbox]{width:18px;height:18px;cursor:pointer}.email-type-toggle span{font-size:.875rem;color:var(--text-primary);font-weight:500}.email-test-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.test-email-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.875rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.test-email-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}@media (max-width: 768px){.profile-page{padding:1rem}.profile-stats{gap:.75rem}}.profile-avatar-container{position:relative;display:inline-block}.profile-avatar{width:120px;height:120px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;margin:0 auto 1rem;position:relative;cursor:pointer;overflow:hidden;transition:all .3s ease}.profile-avatar:hover{transform:scale(1.05)}.profile-avatar:hover .avatar-overlay{opacity:1}.profile-image{width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease;border-radius:50%}.image-options-menu{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:.5rem;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;padding:.5rem;min-width:200px;z-index:1000;animation:slideDown .2s ease}.option-btn{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:transparent;border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;color:var(--text-primary);transition:all .2s ease;text-align:left}.option-btn:hover{background:var(--bg-color)}.option-btn.remove{color:#ef4444}.option-btn.remove:hover{background:#fef2f2}.option-btn.cancel{color:var(--text-secondary);border-top:1px solid var(--border-color);margin-top:.5rem;padding-top:1rem}@keyframes slideDown{0%{opacity:0;transform:translate(-50%) translateY(-10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}html[dir=rtl] .option-btn{text-align:right}.notification-settings{padding:1.5rem;max-width:900px;margin:0 auto}.notification-settings-header{margin-bottom:2rem}.notification-settings-title{display:flex;align-items:center;gap:.75rem;font-size:1.75rem;font-weight:700;color:var(--text-primary, #1a1a1a);margin:0 0 .5rem}.notification-settings-title svg{color:var(--primary-color, #667eea)}.notification-settings-description{color:var(--text-secondary, #666);font-size:1rem;line-height:1.6;margin:0}.notification-status-card{background:var(--card-bg, white);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 2px 8px #00000014;border:1px solid var(--border-color, #e5e7eb)}.notification-status-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.notification-status-label{font-weight:600;color:var(--text-primary, #1a1a1a);font-size:1rem}.status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;white-space:nowrap}.status-badge-success{background:#dcfce7;color:#059669}.status-badge-danger{background:#fee2e2;color:#dc2626}.status-badge-warning{background:#fef3c7;color:#d97706}.notification-alert{display:flex;gap:1rem;padding:1.25rem;border-radius:12px;margin-bottom:1.5rem;animation:slideInDown .3s ease-out}@keyframes slideInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-danger{background:#fef2f2;border:1px solid #fecaca}.alert-danger svg{flex-shrink:0;color:#dc2626}.alert-danger strong{color:#991b1b;display:block;margin-bottom:.25rem}.alert-danger p{color:#7f1d1d;margin:0;font-size:.9375rem;line-height:1.5}.alert-warning{background:#fffbeb;border:1px solid #fde68a}.alert-warning svg{flex-shrink:0;color:#f59e0b}.alert-warning strong{color:#92400e;display:block;margin-bottom:.25rem}.alert-warning p{color:#78350f;margin:0;font-size:.9375rem;line-height:1.5}.notification-card{background:var(--card-bg, white);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 2px 8px #00000014;border:1px solid var(--border-color, #e5e7eb);transition:all .2s ease}.notification-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.notification-card-title{font-size:1.125rem;font-weight:700;color:var(--text-primary, #1a1a1a);margin:0 0 .75rem}.notification-card-text{color:var(--text-secondary, #666);font-size:.9375rem;line-height:1.6;margin:0 0 1rem}.notification-button{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:10px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.notification-button:disabled{opacity:.5;cursor:not-allowed}.notification-button.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.notification-button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.notification-button.primary:active:not(:disabled){transform:translateY(0)}.notification-button.secondary{background:var(--card-bg, white);color:var(--text-primary, #1a1a1a);border:2px solid var(--border-color, #e5e7eb)}.notification-button.secondary:hover:not(:disabled){background:#f9fafb;border-color:#667eea;color:#667eea}.notification-preference{padding:1rem 0;border-bottom:1px solid var(--border-color, #e5e7eb)}.notification-preference:last-child{border-bottom:none}.notification-checkbox{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.9375rem;color:var(--text-primary, #1a1a1a)}.notification-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#667eea}.notification-checkbox span{flex:1}.notification-actions{display:flex;gap:1rem;flex-wrap:wrap}.token-display{display:flex;gap:.5rem;margin-top:1rem;align-items:stretch}.token-code{flex:1;padding:1rem;background:#f8f9fa;border:1px solid var(--border-color, #e5e7eb);border-radius:8px;font-family:Monaco,Menlo,Courier New,monospace;font-size:.75rem;color:#4b5563;word-break:break-all;line-height:1.5;max-height:100px;overflow-y:auto}.token-copy-button{display:flex;align-items:center;justify-content:center;padding:.75rem 1rem;background:var(--primary-color, #667eea);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.token-copy-button:hover{background:#5568d3;transform:scale(1.05)}.token-copy-button:active{transform:scale(.98)}.notification-info{display:flex;gap:.75rem;padding:1rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px;margin-top:1.5rem}.notification-info svg{flex-shrink:0;color:#0284c7}.notification-info p{color:#0c4a6e;font-size:.875rem;line-height:1.5;margin:0}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.notification-settings{padding:1rem}.notification-settings-title{font-size:1.5rem}.notification-status-card,.notification-card{padding:1.25rem}.notification-alert{padding:1rem;flex-direction:column;gap:.75rem}.notification-actions{flex-direction:column}.notification-button{width:100%;justify-content:center}.token-display{flex-direction:column}.token-copy-button{width:100%}.notification-status-row{flex-direction:column;align-items:flex-start}}@media (min-width: 769px) and (max-width: 1024px){.notification-settings{padding:1.25rem}}[dir=rtl] .notification-settings-title,[dir=rtl] .notification-checkbox,[dir=rtl] .notification-status-row,[dir=rtl] .notification-alert{flex-direction:row-reverse}@media (prefers-color-scheme: dark){.notification-status-card,.notification-card{background:#1f2937;border-color:#374151}.notification-settings-title{color:#f9fafb}.notification-settings-description,.notification-card-text{color:#d1d5db}.notification-status-label,.notification-card-title{color:#f9fafb}.token-code{background:#111827;border-color:#374151;color:#d1d5db}.notification-button.secondary{background:#1f2937;color:#f9fafb;border-color:#374151}.notification-button.secondary:hover:not(:disabled){background:#374151}}.notification-button:focus,.notification-checkbox input:focus,.token-copy-button:focus{outline:2px solid #667eea;outline-offset:2px}@media (prefers-reduced-motion: reduce){.notification-card:hover{transform:none}.notification-button.primary:hover:not(:disabled){transform:none}.token-copy-button:hover{transform:none}.spinning,.notification-alert{animation:none}}@media print{.notification-button,.notification-actions,.token-copy-button{display:none}}.notifications-page{max-width:1000px;margin:0 auto;padding:2rem}.page-header{margin-bottom:2rem;display:flex;align-items:center;gap:1rem}.page-header h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0;display:flex;align-items:center;gap:.75rem}.page-header p{color:var(--text-secondary);font-size:1rem;margin-top:.5rem}.notifications-list{display:flex;flex-direction:column;gap:1rem}.no-notifications{text-align:center;padding:4rem 2rem;color:var(--text-secondary)}.no-notifications svg{color:var(--text-secondary);opacity:.5;margin-bottom:1rem}.notification-item{display:flex;gap:1rem;padding:1.5rem;background:var(--card-bg);border-radius:12px;box-shadow:var(--shadow-md);border-left:4px solid var(--border-color);transition:all .2s ease}.notification-item:hover{transform:translate(4px);box-shadow:var(--shadow-lg)}.notification-item.unread{background:#6366f10d;border-left-color:var(--primary-color)}.notification-icon{flex-shrink:0;margin-top:.25rem}.notification-content{flex:1}.notification-title{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.notification-message{font-size:.9375rem;color:var(--text-secondary);line-height:1.6;margin-bottom:.5rem}.notification-time{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-secondary);opacity:.7}.notification-time svg{width:14px;height:14px}.notification-actions{display:flex;gap:.5rem;align-items:flex-start}.send-email-btn{padding:.5rem;background:transparent;border:none;border-radius:6px;color:var(--primary-color);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.send-email-btn:hover:not(:disabled){background:#6366f11a;transform:scale(1.1)}.send-email-btn:disabled{opacity:.5;cursor:not-allowed}.spinner-small{width:14px;height:14px;border:2px solid rgba(99,102,241,.3);border-top-color:var(--primary-color);border-radius:50%;animation:spin .8s linear infinite}.send-all-emails-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s ease}.send-all-emails-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.mark-read-btn,.delete-btn{padding:.5rem;background:transparent;border:none;border-radius:6px;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.mark-read-btn:hover{background:#10b9811a;color:#10b981}.delete-btn:hover{background:#ef44441a;color:#ef4444}@media (max-width: 768px){.notifications-page,.notification-item{padding:1rem}.notification-actions{flex-direction:column}}.personal-information-page{max-width:1000px;margin:0 auto;padding:2rem;background:var(--bg-color);min-height:100vh}.page-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.header-content{display:flex;align-items:center;gap:1rem}.header-content svg{color:var(--primary-color)}.page-header h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.page-header p{color:var(--text-secondary);font-size:1rem}.personal-info-content{background:var(--card-bg);border-radius:16px;padding:2.5rem;box-shadow:var(--shadow-md)}.info-section-card{max-width:900px}.section-header{margin-bottom:2rem}.section-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem;display:flex;align-items:center;gap:.75rem}.section-header p{color:var(--text-secondary);font-size:.9375rem;line-height:1.6}.personal-info-form{display:flex;flex-direction:column;gap:2rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.form-group label{font-size:.9375rem;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:.5rem}.form-group label svg{color:var(--primary-color)}.form-group input[type=number],.form-group input[type=text],.form-group .select-input{padding:.875rem;border:2px solid var(--border-color);border-radius:8px;font-size:.9375rem;color:var(--text-primary);background:var(--card-bg);transition:all .2s ease;font-family:inherit}.form-group input[type=number]:focus,.form-group input[type=text]:focus,.form-group .select-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f11a}.form-group input::placeholder{color:var(--text-secondary);opacity:.6}.form-group.full-width{grid-column:1 / -1}.form-hint{font-size:.8125rem;color:var(--text-secondary);opacity:.7;margin-top:.25rem}.form-actions{display:flex;align-items:center;gap:1rem;padding-top:1.5rem;border-top:2px solid var(--border-color)}.save-btn{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:200px}.save-btn:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}.save-btn:disabled{opacity:.7;cursor:not-allowed}.save-btn svg{color:#fff}.save-success-message{padding:.75rem 1.5rem;background:#10b9811a;border:2px solid #10b981;border-radius:8px;color:#10b981;font-weight:600;font-size:.9375rem;display:flex;align-items:center;gap:.5rem;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@media (max-width: 768px){.personal-information-page{padding:1rem}.personal-info-content{padding:1.5rem}.form-grid{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column;align-items:stretch}.save-btn{width:100%}}.about-page{max-width:1200px;margin:0 auto;padding:2rem}.mission-section{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);margin-bottom:3rem}.mission-section h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.mission-statement{font-size:1.125rem;color:var(--text-primary);margin-bottom:1rem;line-height:1.7}.mission-section p{color:var(--text-secondary);line-height:1.7}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:3rem}.feature-card{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md);transition:all .2s ease}.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.feature-icon{width:64px;height:64px;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:1.5rem}.feature-card h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.feature-card p{color:var(--text-secondary);line-height:1.6}.highlights-section{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md)}.highlights-section h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.highlights-grid{display:flex;flex-direction:column;gap:1.5rem}.highlight-item{display:flex;gap:1.5rem;padding:1.5rem;background:var(--bg-color);border-radius:8px}.highlight-item svg{color:var(--primary-color);flex-shrink:0}.highlight-item h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.highlight-item p{color:var(--text-secondary);line-height:1.6;margin:0}@media (max-width: 768px){.features-grid{grid-template-columns:1fr}}.contact-page{max-width:1200px;margin:0 auto;padding:2rem}.contact-content{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;align-items:start}.contact-form-section{background:var(--card-bg);border-radius:12px;padding:2.5rem;box-shadow:var(--shadow-md)}.form-section-header{margin-bottom:2rem}.form-section-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.form-section-header p{color:var(--text-secondary);font-size:1rem}.contact-sidebar{display:flex;flex-direction:column;gap:2rem}.other-ways-card,.faq-section{background:var(--card-bg);border-radius:12px;padding:2rem;box-shadow:var(--shadow-md)}.other-ways-card h2,.faq-section h2{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.contact-method{margin-top:1rem}.contact-method-header{display:flex;gap:1rem;align-items:flex-start;margin-bottom:.75rem}.contact-method-header svg{color:var(--primary-color);flex-shrink:0;margin-top:.25rem}.contact-method-header h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.contact-link{color:var(--primary-color);text-decoration:none;font-weight:500;transition:color .2s ease}.contact-link:hover{color:var(--primary-dark);text-decoration:underline}.contact-method-note{color:var(--text-secondary);font-size:.875rem;margin-top:.5rem;padding-left:2.5rem}.faq-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.faq-header svg{color:var(--primary-color)}.faq-list{display:flex;flex-direction:column;gap:1.5rem}.faq-item{padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.faq-item:last-child{border-bottom:none;padding-bottom:0}.faq-question{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.faq-answer{color:var(--text-secondary);line-height:1.7;margin:0}.contact-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:var(--text-primary);font-size:.875rem}.form-group input,.form-group textarea{padding:.875rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .2s ease;background:#fff}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color)}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-secondary);opacity:.7}.submit-btn{padding:1rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease;width:100%}.submit-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #6366f14d}@media (max-width: 968px){.contact-content{grid-template-columns:1fr}.contact-form-section,.other-ways-card,.faq-section{padding:1.5rem}}@media (max-width: 768px){.contact-page{padding:1rem}.form-section-header h2{font-size:1.5rem}.contact-form-section{padding:1.25rem}.form-group input,.form-group textarea{font-size:.95rem}.submit-btn{padding:.875rem 1.5rem}.contact-method-note{padding-left:0}.faq-question{font-size:1rem}}@media (max-width: 480px){.contact-page{padding:.75rem}.form-section-header h2{font-size:1.25rem}.contact-form-section,.other-ways-card,.faq-section{padding:1rem}}.storage-warning{position:fixed;top:0;left:0;right:0;z-index:9999;background:linear-gradient(135deg,#fef3c7,#fde68a);border-bottom:2px solid #f59e0b;padding:12px 20px;box-shadow:0 2px 8px #0000001a}.storage-warning-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:12px}.storage-warning-text{flex:1;font-size:13px;color:#78350f;line-height:1.5}.storage-warning-text strong{font-weight:600;color:#92400e}.storage-warning-dismiss{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#78350f;transition:color .2s;border-radius:4px}.storage-warning-dismiss:hover{color:#92400e;background:#92400e1a}.storage-warning-dismiss:active{transform:scale(.95)}body:has(.storage-warning) .main-content{margin-top:50px}@media (max-width: 768px){.storage-warning{padding:10px 15px}.storage-warning-content{flex-direction:column;align-items:flex-start;gap:8px}.storage-warning-dismiss{align-self:flex-end;position:absolute;top:10px;right:15px}.storage-warning-text{font-size:12px;padding-right:30px}}.analytics-container{padding:30px;max-width:1400px;margin:0 auto}.analytics-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;gap:20px;flex-wrap:wrap}.analytics-title{display:flex;align-items:center;gap:12px;font-size:32px;margin:0 0 8px;color:#1f2937}.analytics-subtitle{color:#6b7280;margin:0;font-size:16px}.analytics-actions{display:flex;gap:12px;flex-wrap:wrap}.time-range-select{padding:10px 16px;border:2px solid #e5e7eb;border-radius:10px;background:#fff;color:#1f2937;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.time-range-select:hover{border-color:#6366f1}.time-range-select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.refresh-btn,.vercel-analytics-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;border:2px solid #e5e7eb;border-radius:10px;background:#fff;color:#1f2937;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}.refresh-btn:hover,.vercel-analytics-btn:hover{background:#f9fafb;border-color:#6366f1;color:#6366f1}.vercel-analytics-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.vercel-analytics-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.realtime-banner{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:16px 24px;border-radius:12px;display:flex;align-items:center;gap:12px;margin-bottom:30px;font-size:16px;box-shadow:0 4px 12px #10b98133}.pulse-icon{animation:pulse 2s infinite}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.analytics-stat-card{background:#fff;border-radius:16px;padding:24px;display:flex;gap:16px;box-shadow:0 1px 3px #0000001a;transition:all .2s}.analytics-stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-title{margin:0 0 8px;color:#6b7280;font-size:14px;font-weight:500}.stat-value{margin:0 0 8px;font-size:28px;font-weight:700;color:#1f2937}.stat-trend{margin:0;font-size:13px;font-weight:600}.stat-trend.positive{color:#10b981}.stat-trend.negative{color:#ef4444}.analytics-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:20px;margin-bottom:30px}.analytics-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 1px 3px #0000001a}.analytics-card-large{grid-column:1 / -1}.card-title{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:18px;color:#1f2937}.top-pages-list{display:flex;flex-direction:column;gap:16px}.top-page-item{display:grid;grid-template-columns:40px 1fr 200px;gap:16px;align-items:center;padding:12px;border-radius:10px;background:#f9fafb;transition:all .2s}.top-page-item:hover{background:#f3f4f6;transform:translate(4px)}.page-rank{width:32px;height:32px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}.page-info{min-width:0}.page-path{margin:0 0 4px;font-weight:600;color:#1f2937;font-size:15px}.page-stats{margin:0;font-size:13px;color:#6b7280}.page-bar-container{background:#e5e7eb;height:8px;border-radius:4px;overflow:hidden}.page-bar{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;transition:width .3s}.device-chart{display:flex;flex-direction:column;gap:24px;align-items:center}.donut-chart{position:relative;width:200px;height:200px}.donut{width:100%;height:100%}.donut-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.donut-label{margin:0;font-size:14px;color:#6b7280;font-weight:600}.device-legend{display:flex;flex-direction:column;gap:12px;width:100%}.legend-item{display:flex;align-items:center;gap:12px;padding:10px;background:#f9fafb;border-radius:8px}.legend-item span{flex:1;color:#6b7280;font-size:14px}.legend-item strong{color:#1f2937;font-size:16px}.countries-list{display:flex;flex-direction:column;gap:12px}.country-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f9fafb;border-radius:10px;transition:all .2s}.country-flag{font-size:24px}.country-name{flex:1;font-size:14px;color:#1f2937;font-weight:500}.country-visitors{font-weight:700;color:#6366f1}.browsers-list{display:flex;flex-direction:column;gap:16px}.browser-item{display:flex;flex-direction:column;gap:8px}.browser-info{display:flex;justify-content:space-between;align-items:center}.browser-name{font-size:14px;font-weight:500;color:#1f2937}.browser-percentage{font-size:14px;font-weight:700;color:#6366f1}.browser-bar-container{background:#e5e7eb;height:8px;border-radius:4px;overflow:hidden}.browser-bar{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;transition:width .3s}.analytics-info-banner{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #93c5fd;border-radius:12px;padding:20px 24px;display:flex;gap:16px;align-items:flex-start}.info-icon{font-size:24px;flex-shrink:0}.analytics-info-banner h4{margin:0 0 8px;color:#1e40af;font-size:16px}.analytics-info-banner p{margin:0;color:#1e40af;font-size:14px;line-height:1.6}.analytics-info-banner a{color:#1d4ed8;font-weight:600;text-decoration:none;margin-left:8px}.analytics-info-banner a:hover{text-decoration:underline}.analytics-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 20px;gap:20px}.analytics-loading p{color:#6b7280;font-size:16px}@media (max-width: 1024px){.analytics-row{grid-template-columns:1fr}}@media (max-width: 768px){.analytics-container{padding:20px}.analytics-header{flex-direction:column}.analytics-actions{width:100%;flex-direction:column}.time-range-select,.refresh-btn,.vercel-analytics-btn{width:100%;justify-content:center}.analytics-grid{grid-template-columns:1fr}.top-page-item{grid-template-columns:40px 1fr;gap:12px}.page-bar-container{grid-column:1 / -1}.analytics-title,.stat-value{font-size:24px}}.wellness-report-container{padding:30px;max-width:1200px;margin:0 auto}.report-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;flex-wrap:wrap;gap:20px}.report-header-content{display:flex;gap:16px;align-items:flex-start}.report-icon-wrapper{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.report-title{margin:0 0 8px;font-size:32px;color:#1f2937}.report-subtitle{margin:0;color:#6b7280;font-size:16px}.report-actions{display:flex;gap:12px;flex-wrap:wrap}.period-select{padding:10px 16px;border:2px solid #e5e7eb;border-radius:10px;background:#fff;color:#1f2937;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.period-select:hover{border-color:#6366f1}.download-btn,.share-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s;font-size:14px}.download-btn:hover,.share-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.download-btn:disabled,.share-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.share-btn.whatsapp{background:linear-gradient(135deg,#25d366,#128c7e)}.share-btn.whatsapp:hover{box-shadow:0 4px 12px #25d36666}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.overall-score-card{background:#fff;border-radius:20px;padding:40px;margin-bottom:30px;box-shadow:0 4px 20px #00000014;display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:center}.score-circle-container{position:relative;width:200px;height:200px;margin:0 auto}.score-circle{width:100%;height:100%}.score-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.score-number{font-size:48px;font-weight:700;color:#1f2937;line-height:1}.score-label{font-size:14px;color:#6b7280;margin-top:8px;font-weight:600}.score-details h2{margin:0 0 8px;font-size:24px;color:#1f2937}.score-details p{margin:0 0 24px;color:#6b7280;font-size:14px}.score-breakdown{display:flex;flex-direction:column;gap:16px}.score-item{display:grid;grid-template-columns:100px 1fr 50px;gap:12px;align-items:center}.category-name{font-size:14px;font-weight:600;color:#1f2937;text-transform:capitalize}.score-bar-container{background:#e5e7eb;height:10px;border-radius:5px;overflow:hidden}.score-bar{height:100%;border-radius:5px;transition:width .5s ease}.score-value{font-size:14px;font-weight:700;color:#1f2937;text-align:right}.report-section{background:#fff;border-radius:16px;padding:30px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.section-title{display:flex;align-items:center;gap:10px;margin:0 0 24px;font-size:20px;color:#1f2937}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.insight-card{padding:20px;border-radius:12px;display:flex;gap:16px;align-items:flex-start;border:2px solid}.insight-card.insight-success{background:#ecfdf5;border-color:#10b981}.insight-card.insight-warning{background:#fef3c7;border-color:#f59e0b}.insight-card.insight-info{background:#dbeafe;border-color:#3b82f6}.insight-icon{flex-shrink:0;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center}.insight-success .insight-icon{background:#10b981;color:#fff}.insight-warning .insight-icon{background:#f59e0b;color:#fff}.insight-info .insight-icon{background:#3b82f6;color:#fff}.insight-content h4{margin:0 0 8px;font-size:16px;color:#1f2937}.insight-content p{margin:0;font-size:14px;color:#4b5563;line-height:1.5}.achievements-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.achievement-card{background:#f9fafb;padding:24px;border-radius:12px;text-align:center;transition:all .2s;border:2px solid transparent}.achievement-card.earned{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.achievement-card.locked{opacity:.5}.achievement-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.achievement-icon{width:64px;height:64px;margin:0 auto 16px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#6366f1}.achievement-card.earned .achievement-icon{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.achievement-card h4{margin:0 0 8px;font-size:16px;color:#1f2937}.achievement-card p{margin:0 0 12px;font-size:13px;color:#6b7280}.earned-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:20px;font-size:12px;font-weight:600}.recommendations-list{display:flex;flex-direction:column;gap:16px}.recommendation-card{display:flex;gap:16px;padding:20px;border-radius:12px;background:#f9fafb;border-left:4px solid;transition:all .2s}.recommendation-card.priority-high{border-color:#ef4444;background:#fef2f2}.recommendation-card.priority-medium{border-color:#f59e0b;background:#fffbeb}.recommendation-card.priority-low{border-color:#3b82f6;background:#eff6ff}.recommendation-card:hover{transform:translate(4px);box-shadow:0 2px 8px #0000001a}.rec-icon{flex-shrink:0;width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff;color:#6366f1}.rec-content{flex:1}.rec-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;flex-wrap:wrap;gap:8px}.rec-content h4{margin:0;font-size:16px;color:#1f2937}.priority-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.priority-badge.high{background:#fee2e2;color:#991b1b}.priority-badge.medium{background:#fef3c7;color:#78350f}.priority-badge.low{background:#dbeafe;color:#1e40af}.rec-content p{margin:0 0 8px;font-size:14px;color:#4b5563;line-height:1.5}.rec-category{font-size:12px;color:#6b7280;font-weight:600}.report-footer{background:linear-gradient(135deg,#667eea,#764ba2);padding:30px;border-radius:16px;color:#fff;display:flex;gap:20px;align-items:center}.footer-icon{flex-shrink:0;width:64px;height:64px;background:#fff3;border-radius:12px;display:flex;align-items:center;justify-content:center}.footer-content h4{margin:0 0 8px;font-size:20px}.footer-content p{margin:0;font-size:14px;line-height:1.6;opacity:.95}.report-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:100px 20px;gap:20px}.spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.report-loading p{color:#6b7280;font-size:16px}@media (max-width: 1024px){.overall-score-card{grid-template-columns:1fr;text-align:center}}@media (max-width: 768px){.wellness-report-container{padding:20px}.report-header{flex-direction:column}.report-actions{width:100%}.period-select,.download-btn{width:100%;justify-content:center}.overall-score-card{padding:24px}.report-section{padding:20px}.report-title{font-size:24px}.insights-grid,.achievements-grid{grid-template-columns:1fr}.report-footer{flex-direction:column;text-align:center}}.data-backup-container{padding:30px;max-width:1200px;margin:0 auto}.backup-header{display:flex;gap:16px;align-items:flex-start;margin-bottom:30px}.backup-icon-wrapper{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.backup-title{margin:0 0 8px;font-size:32px;color:#1f2937}.backup-subtitle{margin:0;color:#6b7280;font-size:16px}.backup-message{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:12px;margin-bottom:24px;font-weight:500}.backup-message.success{background:#ecfdf5;border:2px solid #10b981;color:#065f46}.backup-message.error{background:#fef2f2;border:2px solid #ef4444;color:#991b1b}.backup-message.info{background:#eff6ff;border:2px solid #3b82f6;color:#1e40af}.backup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:30px}.backup-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000001a;transition:all .2s}.backup-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.backup-card.highlight{border:2px solid #6366f1}.backup-card-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;color:#6366f1}.backup-card-header h3{margin:0;font-size:18px;color:#1f2937}.backup-card-body{display:flex;flex-direction:column;gap:16px}.backup-description{margin:0;color:#6b7280;font-size:14px;line-height:1.6}.backup-info{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f9fafb;border-radius:8px}.info-item{display:flex;justify-content:space-between;align-items:center}.info-value{font-size:13px;font-weight:600;color:#1f2937}.info-value.success{color:#10b981}.info-value.warning{color:#f59e0b}.backup-features{display:flex;flex-direction:column;gap:8px}.feature-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#4b5563}.feature-item svg{color:#10b981;flex-shrink:0}.backup-warning{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;font-size:13px;color:#92400e;font-weight:600}.backup-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border:none;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.backup-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.backup-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.backup-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.backup-btn.secondary{background:#f3f4f6;color:#1f2937;border:2px solid #e5e7eb}.backup-btn.download{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.backup-btn.upload{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.backup-tips{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;border-radius:16px;padding:24px}.backup-tips h4{margin:0 0 16px;color:#1e40af;font-size:18px}.backup-tips ul{margin:0;padding-left:20px;color:#1f2937}.backup-tips li{margin-bottom:8px;line-height:1.6}.backup-tips strong{color:#1e40af}@media (max-width: 768px){.data-backup-container{padding:20px}.backup-header{flex-direction:column}.backup-title{font-size:24px}.backup-grid{grid-template-columns:1fr}}.wearable-sync-container{padding:30px;max-width:1400px;margin:0 auto}.wearable-header{display:flex;gap:16px;align-items:flex-start;margin-bottom:30px}.wearable-icon-wrapper{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.wearable-title{margin:0 0 8px;font-size:32px;color:#1f2937}.wearable-subtitle{margin:0;color:#6b7280;font-size:16px}.wearable-message{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:12px;margin-bottom:24px;font-weight:500}.wearable-message.success{background:#ecfdf5;border:2px solid #10b981;color:#065f46}.wearable-message.error{background:#fef2f2;border:2px solid #ef4444;color:#991b1b}.wearable-message.info{background:#eff6ff;border:2px solid #3b82f6;color:#1e40af}.section-title{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:20px;color:#1f2937}.connected-section{margin-bottom:40px}.connected-devices-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.connected-device-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000001a;border:2px solid #10b981;transition:all .2s}.connected-device-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.device-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.device-icon-name{display:flex;gap:12px;align-items:center}.device-emoji{font-size:32px}.device-header h4{margin:0 0 4px;font-size:18px;color:#1f2937}.device-status{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;margin:0}.device-status.connected{color:#10b981}.disconnect-btn{padding:8px;background:#fee2e2;border:none;border-radius:8px;color:#dc2626;cursor:pointer;transition:all .2s}.disconnect-btn:hover{background:#fecaca;transform:scale(1.1)}.device-info{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;padding:12px;background:#f9fafb;border-radius:8px}.info-row{display:flex;justify-content:space-between;align-items:center}.info-label{font-size:13px;color:#6b7280;font-weight:500}.info-value{font-size:13px;color:#1f2937;font-weight:600}.device-data-types{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.data-type-badge{display:flex;align-items:center;gap:4px;padding:6px 12px;background:#eff6ff;border:1px solid #3b82f6;border-radius:12px;font-size:12px;font-weight:600;color:#1e40af;text-transform:capitalize}.data-type-badge-small{display:flex;align-items:center;gap:4px;padding:4px 10px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;font-size:11px;font-weight:600;color:#4b5563;text-transform:capitalize}.sync-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 20px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s}.sync-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.available-section{margin-bottom:40px}.available-devices-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.available-device-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000001a;border:2px solid #e5e7eb;transition:all .2s;display:flex;flex-direction:column}.available-device-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#6366f1}.available-device-card.connected{border-color:#10b981;background:#f0fdf4}.device-card-header{text-align:center;margin-bottom:16px}.device-emoji-large{font-size:48px;display:block;margin-bottom:12px}.device-card-header h4{margin:0;font-size:18px;color:#1f2937}.device-description{margin:0 0 16px;color:#6b7280;font-size:14px;line-height:1.5;flex:1}.connect-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;margin-bottom:12px}.connect-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.connect-btn.connected-state{background:#10b981;cursor:not-allowed;opacity:.8}.setup-guide{margin:0;font-size:12px;color:#9ca3af;display:flex;align-items:center;gap:6px;justify-content:center}.manual-import-section{margin-bottom:40px}.manual-import-card{background:#fff;border-radius:16px;padding:30px;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.import-info{flex:1;min-width:300px}.import-info p{margin:0 0 8px;color:#4b5563;line-height:1.6}.import-info p:first-child{font-size:16px;color:#1f2937}.import-btn{display:flex;align-items:center;gap:8px;padding:14px 28px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:10px;font-weight:600;font-size:15px;cursor:pointer;transition:all .2s;flex-shrink:0}.import-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.wearable-info{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;border-radius:16px;padding:24px}.wearable-info h4{margin:0 0 16px;color:#1e40af;font-size:18px}.wearable-info ul{margin:0;padding-left:20px;color:#1f2937}.wearable-info li{margin-bottom:10px;line-height:1.6}.wearable-info strong{color:#1e40af}@media (max-width: 768px){.wearable-sync-container{padding:20px}.wearable-header{flex-direction:column}.wearable-title{font-size:24px}.connected-devices-grid,.available-devices-grid{grid-template-columns:1fr}.manual-import-card{flex-direction:column;align-items:stretch}.import-btn{width:100%;justify-content:center}}.debug-section{margin-top:2rem;padding-top:2rem;border-top:2px dashed var(--border-color)}.debug-toggle-btn{padding:.75rem 1.5rem;background:#f3f4f6;color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:.9rem}.debug-toggle-btn:hover{background:#e5e7eb;border-color:var(--text-secondary)}.debug-panel{margin-top:1.5rem;padding:1.5rem;background:#fafafa;border:2px solid #e5e7eb;border-radius:12px}.debug-panel h4{margin:0 0 1rem;color:var(--text-primary);font-size:1.1rem}.debug-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.debug-item{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.debug-item strong{font-size:.85rem;color:var(--text-secondary)}.debug-value{font-size:1.25rem;font-weight:700;color:#667eea}.debug-data-preview{margin-top:1rem;padding:1rem;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.debug-data-preview strong{display:block;margin-bottom:.75rem;color:var(--text-primary);font-size:.9rem}.debug-code{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:8px;overflow-x:auto;font-size:.85rem;line-height:1.6;margin:0;font-family:Courier New,monospace}.force-refresh-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:1rem}.force-refresh-btn:hover{background:#5568d3;transform:translateY(-2px)}.notification-prompt{position:fixed;bottom:2rem;right:2rem;z-index:9999;animation:slideInUp .4s cubic-bezier(.4,0,.2,1)}@keyframes slideInUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.notification-prompt-content{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:16px;box-shadow:0 12px 32px #667eea66,0 4px 12px #0000001a;max-width:400px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease}.notification-prompt-content:hover{transform:translateY(-4px);box-shadow:0 16px 40px #667eea80,0 6px 16px #00000026}.notification-prompt-content>svg:first-child{flex-shrink:0;width:28px;height:28px;animation:bellRing 2s ease-in-out infinite}@keyframes bellRing{0%,to{transform:rotate(0)}10%,30%{transform:rotate(-10deg)}20%,40%{transform:rotate(10deg)}50%{transform:rotate(0)}}.notification-prompt-content>div{flex:1}.notification-prompt-content h4{margin:0 0 .25rem;font-size:1rem;font-weight:700;color:#fff;letter-spacing:-.01em}.notification-prompt-content p{margin:0;font-size:.875rem;color:#ffffffe6;line-height:1.4}.notification-prompt-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.ios-install-prompt .notification-prompt-content{max-width:500px;padding:24px;flex-direction:column;align-items:flex-start}.ios-instructions{text-align:left;width:100%}.ios-steps{margin:16px 0;padding-left:20px;list-style:decimal;font-size:14px;line-height:1.8;color:#fffffff2}.ios-steps li{margin-bottom:8px;padding-left:8px}.ios-note{margin-top:16px;padding:12px;background:#fff3;border-left:4px solid rgba(255,255,255,.5);border-radius:8px;font-size:13px;color:#fffffff2;font-weight:500;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}[dir=rtl] .ios-instructions{text-align:right}[dir=rtl] .ios-steps{padding-right:20px;padding-left:0}[dir=rtl] .ios-steps li{padding-right:8px;padding-left:0}[dir=rtl] .ios-note{border-left:none;border-right:4px solid rgba(255,255,255,.5)}.btn-enable{padding:.625rem 1.25rem;background:#fff;color:#667eea;border:none;border-radius:10px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;box-shadow:0 2px 8px #0000001a}.btn-enable:hover{background:#fffffff2;transform:scale(1.05);box-shadow:0 4px 12px #00000026}.btn-enable:active{transform:scale(.98)}.btn-dismiss{padding:.5rem;background:#fff3;color:#fff;border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.btn-dismiss:hover{background:#ffffff4d;transform:scale(1.1)}.btn-dismiss:active{transform:scale(.95)}.btn-dismiss svg{width:18px;height:18px}@media (max-width: 768px){.notification-prompt{bottom:1rem;right:1rem;left:1rem}.notification-prompt-content{max-width:100%;padding:1rem 1.25rem}.notification-prompt-content h4{font-size:.9375rem}.notification-prompt-content p{font-size:.8125rem}.btn-enable{padding:.5rem 1rem;font-size:.875rem}}[dir=rtl] .notification-prompt{left:2rem;right:auto}@media (max-width: 768px){[dir=rtl] .notification-prompt{left:1rem;right:1rem}}@media (prefers-color-scheme: dark){.notification-prompt-content{background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:0 12px 32px #5a67d880,0 4px 12px #0000004d}.notification-prompt-content:hover{box-shadow:0 16px 40px #5a67d899,0 6px 16px #0006}}.btn-enable:focus,.btn-dismiss:focus{outline:2px solid rgba(255,255,255,.8);outline-offset:2px}@media (prefers-reduced-motion: reduce){.notification-prompt{animation:none}.notification-prompt-content>svg:first-child{animation:none}.notification-prompt-content:hover,.btn-enable:hover,.btn-dismiss:hover{transform:none}}.voice-journal-page{max-width:1000px;margin:0 auto;padding:2rem;animation:fadeIn .3s ease-in}.browser-support-error{text-align:center;padding:4rem 2rem;background:#fff;border-radius:16px;border:2px solid #fbbf24;color:#92400e}.browser-support-error svg{color:#f59e0b;margin-bottom:1rem}.browser-support-error h2{font-size:1.5rem;margin:1rem 0}.browser-support-error p{color:#78350f;line-height:1.6}.voice-recorder-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:2rem;color:#fff;margin-bottom:2rem;box-shadow:0 8px 16px #667eea4d}.recorder-header h2{font-size:1.5rem;margin:0 0 8px;color:#fff}.recorder-header p{margin:0;opacity:.9;font-size:.95rem}.recorder-controls{margin:2rem 0;text-align:center}.record-btn{display:inline-flex;flex-direction:column;align-items:center;gap:12px;padding:2rem 3rem;background:#fff;color:#667eea;border:none;border-radius:20px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 8px 16px #0003}.record-btn:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 12px 24px #0000004d}.recording-active{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.recording-indicator{display:flex;align-items:center;gap:12px;padding:1rem 2rem;background:#fff3;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pulse-dot{width:12px;height:12px;background:#ef4444;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.3)}}.recording-time{font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums}.recording-buttons{display:flex;gap:12px}.control-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;border:2px solid white;border-radius:12px;background:transparent;color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.control-btn:hover{background:#fff;color:#667eea;transform:translateY(-2px)}.control-btn.stop{background:#fff;color:#667eea}.control-btn.stop:hover{background:#10b981;color:#fff;border-color:#10b981}.emotion-detection{margin-top:2rem;padding:1.5rem;background:#ffffff26;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideInUp .3s ease-out}.emotion-header{display:flex;align-items:center;gap:8px;margin-bottom:1rem;font-weight:600;font-size:1.05rem}.emotion-result{display:flex;align-items:center;gap:16px;padding:1rem 1.5rem;background:#fff;border-radius:12px;border-left:4px solid}.emotion-emoji{font-size:48px}.emotion-details{display:flex;flex-direction:column;gap:4px}.emotion-name{font-size:1.2rem;font-weight:700;color:#1a1a1a;text-transform:capitalize}.emotion-confidence{font-size:.9rem;color:#6b7280;font-weight:600}.live-transcript{margin-top:1.5rem;padding:1.5rem;background:#ffffff26;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideInUp .3s ease-out}.transcript-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-weight:600;font-size:1.05rem}.transcript-content{padding:1rem;background:#fff;color:#1a1a1a;border-radius:8px;line-height:1.8;min-height:100px;max-height:200px;overflow-y:auto}.voice-entries-section{margin-top:3rem}.voice-entries-section h2{font-size:1.5rem;color:#1a1a1a;margin-bottom:1.5rem}.no-entries{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;border:2px dashed #d1d5db;color:#6b7280}.no-entries svg{margin-bottom:1rem}.entries-list{display:grid;gap:1.5rem}.voice-entry-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;transition:all .2s;animation:slideInUp .3s ease-out}.voice-entry-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-2px)}.entry-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.entry-emotion{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;color:#fff;font-weight:600;font-size:.9rem}.entry-emotion .emotion-emoji{font-size:20px}.entry-date{color:#6b7280;font-size:.85rem}.entry-transcript{padding:1rem;background:#f9fafb;border-radius:8px;margin-bottom:1rem;line-height:1.6;color:#374151}.entry-transcript p{margin:0}.entry-meta{display:flex;gap:16px;margin-bottom:1rem;font-size:.9rem;color:#6b7280}.entry-duration,.entry-confidence{font-weight:600}.entry-actions{display:flex;gap:8px}.play-btn,.delete-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;border:none}.play-btn{background:#667eea;color:#fff;flex:1}.play-btn:hover{background:#5568d3;transform:translateY(-2px)}.play-btn.playing{background:#f59e0b}.delete-btn{background:#fee2e2;color:#dc2626}.delete-btn:hover{background:#dc2626;color:#fff}html[dir=rtl] .recorder-controls,html[dir=rtl] .emotion-header,html[dir=rtl] .transcript-header{direction:rtl;text-align:right}html[dir=rtl] .recording-buttons,html[dir=rtl] .entry-actions{flex-direction:row-reverse}@media (max-width: 768px){.voice-journal-page{padding:1rem}.voice-recorder-card{padding:1.5rem}.record-btn{padding:1.5rem 2rem}.recording-buttons{flex-direction:column;width:100%}.control-btn{width:100%;justify-content:center}.entry-header{flex-direction:column;align-items:flex-start;gap:8px}.entry-actions{width:100%}.play-btn,.delete-btn{flex:1}}.cbt-therapy-page{max-width:1200px;margin:0 auto;padding:2rem;animation:fadeIn .3s ease-in}.cbt-info-banner{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;display:flex;align-items:flex-start;gap:16px;box-shadow:0 4px 12px #8b5cf64d}.cbt-info-banner strong{display:block;font-size:1.1rem;margin-bottom:6px}.cbt-info-banner p{margin:0;opacity:.95;line-height:1.6}.cbt-tabs{display:flex;gap:12px;margin-bottom:2rem;border-bottom:2px solid #e5e7eb;overflow-x:auto}.cbt-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.cbt-tab:hover{color:#8b5cf6;background:#8b5cf60d}.cbt-tab.active{color:#8b5cf6;border-bottom-color:#8b5cf6;background:#8b5cf60d}.cbt-content{animation:slideInUp .3s ease-out}.content-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:2rem}.content-header h2{font-size:1.5rem;color:#1a1a1a;margin:0 0 8px}.content-header p{color:#6b7280;margin:0;line-height:1.6}.cbt-primary-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.cbt-primary-btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px #8b5cf64d}.cbt-primary-btn.large{padding:14px 32px;font-size:1.05rem;width:100%;justify-content:center;margin-top:2rem}.cbt-secondary-btn{padding:10px 20px;background:#fff;color:#6b7280;border:1px solid #d1d5db;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.cbt-secondary-btn:hover{background:#f9fafb;border-color:#8b5cf6;color:#8b5cf6}.cbt-empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;border:2px dashed #d1d5db;color:#6b7280}.cbt-empty-state svg{margin-bottom:1rem;color:#9ca3af}.thought-records-list{display:grid;gap:1.5rem}.thought-record-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;transition:all .2s}.thought-record-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-2px)}.record-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.record-date{color:#6b7280;font-size:.85rem;font-weight:600}.delete-icon-btn{padding:6px;background:transparent;border:none;color:#dc2626;cursor:pointer;border-radius:6px;transition:all .2s}.delete-icon-btn:hover{background:#fee2e2}.record-section{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #f3f4f6}.record-section:last-child{border-bottom:none;margin-bottom:0}.record-section.alternative{background:#f0fdf4;padding:1rem;border-radius:8px;border-bottom:none;border:2px solid #10b981}.record-section h4{font-size:.9rem;color:#8b5cf6;font-weight:700;text-transform:uppercase;margin:0 0 8px;letter-spacing:.5px}.record-section p{color:#374151;line-height:1.6;margin:0}.emotion-indicator{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;background:#fef3c7;border-radius:8px}.emotion-label{font-weight:600;color:#92400e;min-width:100px}.intensity-bar{flex:1;height:8px;background:#fde68a;border-radius:4px;overflow:hidden}.intensity-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#dc2626);transition:width .3s}.intensity-fill.positive{background:linear-gradient(90deg,#10b981,#059669)}.intensity-value{font-weight:700;color:#92400e;min-width:40px;text-align:right}.grounding-techniques{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.technique-card{background:#fff;border-radius:12px;border:2px solid #e5e7eb;padding:1.5rem;transition:all .2s;text-align:center}.technique-card.featured{grid-column:1 / -1;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#0ea5e9}.technique-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:#8b5cf6}.technique-icon{font-size:48px;margin-bottom:1rem}.technique-card h3{font-size:1.2rem;color:#1a1a1a;margin:0 0 8px}.technique-card p{color:#6b7280;line-height:1.6;margin:0 0 1rem}.technique-steps{display:flex;flex-direction:column;gap:8px;margin-top:1rem}.step-item{padding:10px 12px;background:#8b5cf60d;border-left:3px solid #8b5cf6;border-radius:4px;text-align:left;color:#374151;font-weight:500}.exercise-history{background:#fff;border-radius:12px;padding:1.5rem;border:1px solid #e5e7eb}.exercise-history h3{font-size:1.1rem;color:#1a1a1a;margin:0 0 1rem}.history-list{display:flex;flex-direction:column;gap:8px}.history-item{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#f9fafb;border-radius:8px}.history-date{margin-left:auto;color:#6b7280;font-size:.85rem}.relaxation-guide{background:#fff;border-radius:12px;padding:2rem;border:1px solid #e5e7eb}.pmr-instructions h3{font-size:1.3rem;color:#1a1a1a;margin:0 0 12px}.pmr-instructions>p{color:#6b7280;line-height:1.6;margin:0 0 2rem}.muscle-groups{display:grid;gap:1rem;margin-bottom:2rem}.muscle-group-card{display:flex;align-items:center;gap:16px;padding:1rem 1.5rem;background:linear-gradient(135deg,#faf5ff,#f3e8ff);border-radius:10px;border:2px solid #e9d5ff;transition:all .2s}.muscle-group-card:hover{border-color:#8b5cf6;transform:translate(8px)}.group-emoji{font-size:32px}.group-info h4{font-size:1rem;color:#1a1a1a;margin:0 0 6px}.group-info p{color:#6b7280;font-size:.9rem;margin:0;line-height:1.5}.activation-plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.activation-card{background:#fff;border-radius:12px;border:2px solid #e5e7eb;padding:1.5rem;transition:all .2s}.activation-card.completed{background:#f0fdf4;border-color:#10b981;opacity:.8}.activation-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.activation-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.checkbox-btn{width:28px;height:28px;border-radius:50%;border:2px solid #d1d5db;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#fff}.checkbox-btn:hover{border-color:#10b981;background:#f0fdf4}.activation-card.completed .checkbox-btn{background:#10b981;border-color:#10b981}.activity-title{font-size:1.1rem;color:#1a1a1a;margin:0 0 12px;font-weight:700}.activation-card.completed .activity-title{text-decoration:line-through;color:#6b7280}.activity-schedule{display:flex;gap:12px;margin-bottom:1rem;font-size:.9rem;color:#6b7280;flex-wrap:wrap}.activity-metrics{display:flex;flex-direction:column;gap:12px}.metric{display:flex;flex-direction:column;gap:6px}.metric-label{font-size:.85rem;color:#6b7280;font-weight:600}.metric-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.metric-fill{height:100%;background:linear-gradient(90deg,#8b5cf6,#6366f1);transition:width .3s}.metric span:last-child{font-size:.85rem;color:#8b5cf6;font-weight:700;text-align:right}.cbt-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-in;padding:1rem}.cbt-modal{background:#fff;border-radius:16px;padding:2rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px #0000004d;animation:slideInUp .3s ease-out}.cbt-modal h2{font-size:1.5rem;color:#1a1a1a;margin:0 0 8px}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;color:#374151;margin-bottom:8px;font-size:.95rem}.form-group input[type=text],.form-group input[type=time],.form-group select,.form-group textarea{width:100%;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;transition:all .2s;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.form-group input[type=range]{width:100%;accent-color:#8b5cf6}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.modal-actions{display:flex;gap:12px;margin-top:2rem;justify-content:flex-end}html[dir=rtl] .cbt-info-banner,html[dir=rtl] .content-header{direction:rtl;text-align:right}html[dir=rtl] .step-item{border-left:none;border-right:3px solid #8b5cf6;text-align:right}html[dir=rtl] .history-date{margin-left:0;margin-right:auto}html[dir=rtl] .muscle-group-card:hover{transform:translate(-8px)}@media (max-width: 768px){.cbt-therapy-page{padding:1rem}.cbt-tabs{gap:8px}.cbt-tab{padding:10px 14px;font-size:.9rem}.content-header{flex-direction:column;gap:1rem}.cbt-primary-btn{width:100%;justify-content:center}.grounding-techniques{grid-template-columns:1fr}.technique-card.featured{grid-column:1}.form-row,.activation-plans-grid{grid-template-columns:1fr}.cbt-modal{padding:1.5rem}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}.social-feed-page{max-width:1200px;margin:0 auto;padding:2rem;animation:fadeIn .3s ease-in}.social-tabs{display:flex;gap:12px;margin:2rem 0;border-bottom:2px solid #e5e7eb;overflow-x:auto}.social-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap;position:relative}.social-tab:hover{color:#667eea;background:#667eea0d}.social-tab.active{color:#667eea;border-bottom-color:#667eea;background:#667eea0d}.pending-badge{position:absolute;top:4px;right:4px;background:#ef4444;color:#fff;border-radius:10px;padding:2px 6px;font-size:.75rem;font-weight:700}.social-info-banner{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;display:flex;align-items:flex-start;gap:16px;box-shadow:0 4px 12px #667eea4d}.social-info-banner strong{font-size:1.1rem;display:block;margin-bottom:6px}.social-info-banner p{margin:0;opacity:.95;line-height:1.6}.feed-filters{display:flex;align-items:center;gap:8px;margin-bottom:2rem;padding:1rem;background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow-x:auto}.filter-btn{padding:8px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:20px;color:#6b7280;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s;white-space:nowrap}.filter-btn:hover{background:#f3f4f6;border-color:#667eea;color:#667eea}.filter-btn.active{background:#667eea;color:#fff;border-color:#667eea}.posts-list{display:flex;flex-direction:column;gap:1.5rem}.post-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:1.5rem;transition:all .2s;animation:slideInUp .3s ease-out}.post-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-2px)}.post-header{margin-bottom:1rem}.post-user-info{display:flex;align-items:center;gap:12px}.user-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.user-name{font-weight:700;color:#1a1a1a;font-size:1rem}.post-meta{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#6b7280;margin-top:4px}.meta-separator{color:#d1d5db}.privacy-indicator{display:flex;align-items:center;gap:4px}.post-type-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:20px;color:#fff;font-size:.85rem;font-weight:600;margin-bottom:12px}.post-title{font-size:1.2rem;font-weight:700;color:#1a1a1a;margin:0 0 8px}.post-description{color:#4b5563;line-height:1.6;margin:0 0 12px}.post-stats-grid{display:flex;gap:12px;flex-wrap:wrap}.stat-badge{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.stat-label{color:#6b7280;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-value{color:#1a1a1a;font-weight:700;font-size:1.1rem}.post-actions{display:flex;gap:12px;padding-top:12px;border-top:1px solid #f3f4f6;margin-top:12px}.action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-weight:600;cursor:pointer;transition:all .2s;font-size:.9rem}.action-btn:hover{background:#f3f4f6;border-color:#667eea;color:#667eea}.action-btn.liked{color:#ef4444;border-color:#fecaca;background:#fef2f2}.post-comments{margin-top:12px;padding-top:12px;border-top:1px solid #f3f4f6}.comment-item{padding:8px 12px;background:#f9fafb;border-radius:8px;margin-bottom:8px;font-size:.9rem;color:#374151;line-height:1.5}.comment-item strong{color:#1a1a1a}.view-more-comments{color:#667eea;font-weight:600;font-size:.85rem;border:none;background:none;cursor:pointer;padding:4px 0}.view-more-comments:hover{text-decoration:underline}.friends-section,.achievements-section{animation:slideInUp .3s ease-out}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.section-header h2{font-size:1.5rem;color:#1a1a1a;margin:0 0 6px}.section-header p{color:#6b7280;margin:0}.achievement-summary{display:flex;align-items:center;gap:8px;padding:10px 18px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:20px;color:#92400e;font-weight:700}.add-friend-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.add-friend-btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px #667eea4d}.friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.friend-card{background:#fff;border-radius:12px;border:2px solid #e5e7eb;padding:1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;transition:all .2s}.friend-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-4px);border-color:#667eea}.friend-avatar-large{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:36px;margin-bottom:12px}.friend-name{font-size:1.1rem;font-weight:700;color:#1a1a1a;margin:0 0 12px}.friend-stats{display:flex;flex-direction:column;gap:8px;width:100%;margin-bottom:12px}.friend-stat{display:flex;align-items:center;justify-content:center;gap:6px;color:#f97316;font-size:.9rem;font-weight:600}.friend-pending-badge{padding:6px 12px;background:#fef3c7;color:#92400e;border-radius:12px;font-size:.85rem;font-weight:600;margin-bottom:12px}.friend-action-btn{padding:8px 16px;border-radius:8px;border:none;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px;justify-content:center}.friend-action-btn.connected{background:#dcfce7;color:#16a34a;width:100%}.friend-pending-actions{display:flex;gap:8px;width:100%}.friend-action-btn.accept{flex:1;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.friend-action-btn.decline{flex:1;background:#fee2e2;color:#dc2626}.friend-action-btn:hover{transform:scale(1.05)}.achievements-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}.achievement-card{background:#fff;border-radius:12px;border:2px solid #e5e7eb;padding:1.5rem;text-align:center;transition:all .2s;position:relative;overflow:hidden}.achievement-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);opacity:0;transition:opacity .2s}.achievement-card:hover:before{opacity:1}.achievement-card.earned{border-color:#fbbf24;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.achievement-card.locked{opacity:.65}.achievement-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.achievement-icon{font-size:56px;margin-bottom:12px;display:inline-block;transition:transform .3s}.achievement-card:hover .achievement-icon{transform:scale(1.1) rotate(5deg)}.achievement-card.locked .achievement-icon{filter:grayscale(100%)}.achievement-title{font-size:1.1rem;font-weight:700;color:#1a1a1a;margin:0 0 8px}.achievement-description{color:#6b7280;font-size:.9rem;line-height:1.5;margin:0 0 12px}.achievement-progress{display:flex;align-items:center;gap:8px;margin-bottom:8px}.progress-bar{flex:1;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s}.progress-text{font-size:.85rem;font-weight:700;color:#667eea;min-width:45px;text-align:right}.achievement-earned-badge{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;background:#fbbf2433;color:#92400e;font-weight:700;font-size:.85rem;border-radius:8px}.achievement-locked-badge{display:flex;align-items:center;justify-content:center;gap:6px;color:#9ca3af;font-weight:600;font-size:.85rem}html[dir=rtl] .post-user-info,html[dir=rtl] .social-info-banner,html[dir=rtl] .feed-filters{direction:rtl;text-align:right}html[dir=rtl] .action-btn{flex-direction:row-reverse}html[dir=rtl] .pending-badge{right:auto;left:4px}html[dir=rtl] .achievement-card:before{left:0;right:0}.social-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-in;padding:1rem}.social-modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 40px #0000004d;animation:slideInUp .3s ease-out}.social-modal h2{font-size:1.5rem;color:#1a1a1a;margin:0 0 8px}.modal-subtitle{color:#6b7280;margin:0 0 1.5rem;line-height:1.6}.search-input-group{margin-bottom:1.5rem}.friend-search-input{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;transition:all .2s}.friend-search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-results{margin-bottom:1.5rem}.search-results h3{font-size:.9rem;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px}.search-result-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#f9fafb;border-radius:10px;margin-bottom:8px;transition:all .2s}.search-result-item:hover{background:#f3f4f6;transform:translate(4px)}.result-user-info{display:flex;align-items:center;gap:12px;flex:1}.result-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.result-name{font-weight:700;color:#1a1a1a;font-size:.95rem}.result-email{color:#6b7280;font-size:.85rem}.mutual-friends{color:#667eea;font-size:.8rem;font-weight:600;margin-top:2px}.send-request-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s}.send-request-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.no-results{text-align:center;padding:2rem;color:#6b7280;font-size:.95rem}.modal-actions{margin-top:1.5rem;display:flex;justify-content:flex-end}.modal-close-btn{padding:10px 20px;background:#f3f4f6;color:#374151;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.modal-close-btn:hover{background:#e5e7eb}@media (max-width: 768px){.social-feed-page{padding:1rem}.social-tabs{gap:8px}.social-tab{padding:10px 14px;font-size:.9rem}.feed-filters{padding:.75rem}.filter-btn{padding:6px 12px;font-size:.85rem}.section-header{flex-direction:column;align-items:flex-start;gap:12px}.add-friend-btn{width:100%;justify-content:center}.friends-grid,.achievements-grid{grid-template-columns:1fr}.post-actions{flex-wrap:wrap}.action-btn{flex:1;min-width:80px;justify-content:center}.friend-pending-actions{flex-direction:column}.friend-action-btn.accept,.friend-action-btn.decline{width:100%}}.user-stats-page{max-width:1200px;margin:0 auto;padding:2rem;animation:fadeIn .3s ease-in}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.refresh-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.refresh-btn:hover{background:#5568d3;transform:translateY(-2px)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border-radius:12px;padding:1.5rem;display:flex;align-items:center;gap:1rem;border:2px solid #e5e7eb;transition:all .2s;animation:slideInUp .3s ease-out}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.stat-card.primary{border-color:#667eea;background:linear-gradient(135deg,#f5f7ff,#eef2ff)}.stat-card.success{border-color:#10b981;background:linear-gradient(135deg,#f0fdf4,#dcfce7)}.stat-card.warning{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.stat-card.info{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.stat-icon{width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-card.primary .stat-icon{background:#667eea;color:#fff}.stat-card.success .stat-icon{background:#10b981;color:#fff}.stat-card.warning .stat-icon{background:#f59e0b;color:#fff}.stat-card.info .stat-icon{background:#3b82f6;color:#fff}.stat-content{flex:1}.stat-value{font-size:2rem;font-weight:700;color:#1a1a1a;line-height:1;margin-bottom:6px}.stat-label{font-size:1rem;font-weight:600;color:#6b7280}.stat-sublabel{font-size:.85rem;color:#9ca3af;margin-top:4px}.firebase-info-banner{background:linear-gradient(135deg,#fff7ed,#ffedd5);border:2px solid #fb923c;border-radius:12px;padding:1.5rem;margin-bottom:2rem;display:flex;align-items:flex-start;gap:16px}.firebase-icon{font-size:48px}.firebase-info-banner strong{display:block;color:#9a3412;font-size:1.1rem;margin-bottom:6px}.firebase-info-banner p{color:#7c2d12;margin:0 0 12px;line-height:1.6}.firebase-details{display:flex;gap:8px;flex-wrap:wrap;font-size:.85rem;color:#9a3412;font-weight:600}.section-card{background:#fff;border-radius:12px;padding:2rem;margin-bottom:2rem;border:1px solid #e5e7eb;animation:slideInUp .3s ease-out}.section-card h2{display:flex;align-items:center;gap:12px;font-size:1.3rem;color:#1a1a1a;margin:0 0 1.5rem}.empty-state{text-align:center;padding:3rem 2rem;color:#6b7280;background:#f9fafb;border-radius:8px}.country-list{display:flex;flex-direction:column;gap:1rem}.country-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#f9fafb;border-radius:8px;transition:all .2s}.country-item:hover{background:#f3f4f6;transform:translate(4px)}.country-info{display:flex;align-items:center;gap:12px}.country-flag{font-size:32px}.country-name{font-weight:600;color:#1a1a1a}.country-stats{display:flex;align-items:center;gap:12px}.country-bar{width:150px;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.country-bar-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s}.country-count{font-weight:700;color:#667eea;min-width:80px;text-align:right}.active-users-list{display:flex;flex-direction:column;gap:12px}.active-user-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f9fafb;border-radius:8px;transition:all .2s}.active-user-item:hover{background:#f3f4f6;transform:translate(4px)}.user-rank{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#fbbf24,#f59e0b);display:flex;align-items:center;justify-content:center;font-size:20px}.user-details{flex:1}.user-email{font-weight:600;color:#1a1a1a;font-size:.95rem}.user-country{color:#6b7280;font-size:.85rem;margin-top:2px}.user-activity-count{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#fff;border-radius:20px;font-weight:700;color:#667eea;font-size:.9rem}.signups-chart{display:flex;align-items:flex-end;gap:8px;height:200px;padding:1rem 0}.chart-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:40px}.bar-fill{width:100%;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:4px 4px 0 0;transition:height .3s;min-height:4px}.bar-label{font-size:.75rem;color:#6b7280;font-weight:600;text-align:center;transform:rotate(-45deg);white-space:nowrap}.bar-count{font-size:.85rem;font-weight:700;color:#667eea}.integration-guide{background:#fff;border-radius:12px;padding:2rem;border:2px solid #e5e7eb}.integration-guide h3{font-size:1.2rem;color:#1a1a1a;margin:0 0 1.5rem}.guide-steps{display:grid;gap:1rem}.guide-step{display:flex;gap:16px;padding:1rem;background:#f9fafb;border-radius:8px;border-left:4px solid #667eea}.step-number{width:32px;height:32px;border-radius:50%;background:#667eea;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.step-content h4{font-size:1rem;color:#1a1a1a;margin:0 0 6px}.step-content p{color:#6b7280;margin:0;line-height:1.6;font-size:.9rem}html[dir=rtl] .country-item:hover,html[dir=rtl] .active-user-item:hover{transform:translate(-4px)}html[dir=rtl] .guide-step{border-left:none;border-right:4px solid #667eea}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.user-stats-page{padding:1rem}.stats-grid{grid-template-columns:1fr}.stat-card{padding:1rem}.stat-icon{width:48px;height:48px}.stat-value{font-size:1.5rem}.country-bar{width:100px}.signups-chart{overflow-x:auto}.chart-bar{min-width:30px}.bar-label{font-size:.65rem}.firebase-info-banner{flex-direction:column;text-align:center}.firebase-details{justify-content:center}.section-card{padding:1.5rem}}.app{display:flex;width:100%;min-height:100vh;min-height:-webkit-fill-available;position:relative;overflow-x:hidden;-webkit-overflow-scrolling:touch;flex:1}.app>.language-switcher{display:none}.main-content{flex:1;margin-left:var(--sidebar-width);transition:margin-left .3s ease;padding:var(--container-padding);min-width:0;width:100%;max-width:100%;box-sizing:border-box}html[dir=rtl] .main-content{margin-left:0;margin-right:var(--sidebar-width)}.main-content.sidebar-closed{margin-left:var(--sidebar-collapsed-width)}html[dir=rtl] .main-content.sidebar-closed{margin-left:0;margin-right:var(--sidebar-collapsed-width)}@media (max-width: 768px){.main-content{margin-left:0!important;margin-right:0!important;padding:4rem 1rem 5rem;padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right));padding-bottom:max(5rem,calc(5rem + env(safe-area-inset-bottom)));width:100%;min-height:100vh;min-height:-webkit-fill-available;position:relative;z-index:1;-webkit-overflow-scrolling:touch;transform:translateZ(0);-webkit-transform:translateZ(0)}.main-content.sidebar-open,html[dir=rtl] .main-content{margin-left:0;margin-right:0}}@media (max-width: 480px){.main-content{padding:4rem .75rem 5rem}}@media (min-width: 769px) and (max-width: 1024px){.main-content{padding:2rem 1.5rem}}@media (min-width: 1441px){.main-content{padding:2.5rem 3rem;max-width:var(--max-content-width);margin-left:auto;margin-right:auto}.sidebar{width:300px}}@media (min-width: 1921px){.main-content{padding:3rem 4rem}.sidebar{width:320px}}@media (max-width: 896px) and (orientation: landscape){.main-content{padding:3.5rem 1rem 1rem}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #6366f1;--primary-dark: #4f46e5;--secondary-color: #8b5cf6;--accent-color: #ec4899;--bg-color: #f8fafc;--card-bg: #ffffff;--text-primary: #1e293b;--text-secondary: #64748b;--border-color: #e2e8f0;--success-color: #10b981;--sidebar-width: 280px;--sidebar-collapsed-width: 60px;--max-content-width: 1400px;--container-padding: clamp(1rem, 3vw, 2rem);--font-size-xs: clamp(.75rem, 1.5vw, .875rem);--font-size-sm: clamp(.875rem, 1.8vw, 1rem);--font-size-base: clamp(1rem, 2vw, 1.125rem);--font-size-lg: clamp(1.125rem, 2.5vw, 1.25rem);--font-size-xl: clamp(1.25rem, 3vw, 1.5rem);--font-size-2xl: clamp(1.5rem, 4vw, 2rem);--font-size-3xl: clamp(2rem, 5vw, 2.5rem);--spacing-xs: clamp(.25rem, .5vw, .5rem);--spacing-sm: clamp(.5rem, 1vw, .75rem);--spacing-md: clamp(.75rem, 1.5vw, 1rem);--spacing-lg: clamp(1rem, 2vw, 1.5rem);--spacing-xl: clamp(1.5rem, 3vw, 2rem);--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04)}html{scroll-behavior:smooth;height:-webkit-fill-available}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-color);color:var(--text-primary);line-height:1.6;overflow-x:hidden;width:100%;max-width:100vw;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;position:relative}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{width:100%;min-height:100vh;min-height:-webkit-fill-available;position:relative;display:flex;flex-direction:column}.responsive-container{width:100%;max-width:var(--max-content-width);margin:0 auto;padding:var(--container-padding)}.responsive-grid{display:grid;gap:var(--spacing-lg);grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.responsive-grid-2{display:grid;gap:var(--spacing-lg);grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}img{max-width:100%;height:auto;display:block}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--bg-color)}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}button{font-family:inherit;cursor:pointer;border:none;background:none}button:focus{outline:2px solid var(--primary-color);outline-offset:2px}a{color:inherit;text-decoration:none}a:focus{outline:2px solid var(--primary-color);outline-offset:2px;border-radius:2px}input,textarea,select{font-family:inherit;font-size:inherit}input:focus,textarea:focus,select:focus{outline:2px solid var(--primary-color);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.fade-in{animation:fadeIn .3s ease-out}.slide-in{animation:slideIn .3s ease-out}@media (max-width: 480px){:root{--sidebar-width: 260px;--sidebar-collapsed-width: 0px;--container-padding: .75rem}body{font-size:14px}button{min-height:44px;min-width:44px}::-webkit-scrollbar{width:4px;height:4px}}@media (min-width: 481px) and (max-width: 768px){:root{--sidebar-width: 280px;--sidebar-collapsed-width: 0px}body{font-size:15px}button{min-height:44px;min-width:44px}::-webkit-scrollbar{width:6px;height:6px}}@media (min-width: 769px) and (max-width: 1024px){:root{--sidebar-width: 280px}body{font-size:16px}}@media (min-width: 1025px) and (max-width: 1440px){:root{--sidebar-width: 280px}body{font-size:16px}}@media (min-width: 1441px) and (max-width: 1920px){:root{--sidebar-width: 300px;--max-content-width: 1600px}}@media (min-width: 1921px){:root{--sidebar-width: 320px;--max-content-width: 1800px}body{font-size:18px}}@media (max-width: 768px){button,a,input[type=button],input[type=submit]{min-height:44px;min-width:44px}button:focus:not(:focus-visible),a:focus:not(:focus-visible),input:focus:not(:focus-visible),textarea:focus:not(:focus-visible),select:focus:not(:focus-visible){outline:none}}
