.app-header{background:linear-gradient(90deg,#500707,#2e0303);border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:0;z-index:100;box-shadow:0 2px 4px #0000001a}.header-container{max-width:98%;margin:0 auto;padding:0 1rem;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;height:70px;gap:2rem}.header-logo{justify-self:start}.logo-text{font-size:2rem;font-weight:700;color:#fff;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3);letter-spacing:-.05em}.header-search{justify-self:center;width:100%;max-width:500px}.search-container{position:relative;display:flex;align-items:center}.search-input{width:100%;padding:.75rem 3rem .75rem 1rem;border:1px solid rgba(255,255,255,.2);border-radius:25px;background:#ffffff1a;color:#fff;font-size:1rem;transition:all .2s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.search-input::placeholder{color:#ffffffb3}.search-input:focus{outline:none;border-color:#fff6;background:#ffffff26;box-shadow:0 0 0 3px #ffffff1a}.search-button{position:absolute;right:.5rem;background:none;border:none;color:#fffc;cursor:pointer;padding:.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.search-button:hover{color:#fff;background:#ffffff1a}.header-profile{position:relative;justify-self:end}.profile-trigger{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;border-radius:25px;cursor:pointer;transition:all .2s;background:#ffffff1a;border:1px solid rgba(255,255,255,.2)}.profile-trigger:hover{background:#ffffff26;border-color:#ffffff4d}.profile-avatar{width:32px;height:32px;border-radius:50%;background:maroon;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:1rem;border:2px solid rgba(255,255,255,.3)}.profile-name{color:#fff;font-weight:500;font-size:.9rem}.profile-arrow{color:#fffc;transition:transform .2s}.profile-arrow.rotated{transform:rotate(180deg)}.profile-dropdown{position:absolute;top:100%;right:0;background:#fff;border-radius:8px;box-shadow:0 10px 25px #00000026;border:1px solid #e2e8f0;min-width:200px;overflow:hidden;z-index:1000}.dropdown-item{width:100%;padding:.75rem 1rem;border:none;background:none;text-align:left;cursor:pointer;display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#374151;transition:background-color .2s}.dropdown-item:hover{background:#f9fafb}.dropdown-item svg{color:#6b7280}.dropdown-divider{height:1px;background:#e5e7eb;margin:.25rem 0}.logout-item{color:#dc2626}.logout-item:hover{background:#fef2f2}.logout-item svg{color:#dc2626}.logout-item:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.header-container{padding:0 .5rem;gap:1rem;height:60px;grid-template-columns:auto 1fr auto}.logo-text{font-size:1.5rem}.header-search{max-width:none;margin:0 1rem}.search-input{font-size:.875rem;padding:.625rem 2.5rem .625rem .875rem}.profile-name{display:none}.profile-trigger{padding:.5rem;gap:0}}@media (max-width: 480px){.header-container{gap:.5rem;grid-template-columns:auto 1fr auto}.logo-text{font-size:1.25rem}.header-search{margin:0 .5rem}.search-input{padding:.5rem 2.25rem .5rem .75rem}}.search-dropdown{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:#fff;border-radius:8px;box-shadow:0 10px 25px #00000026;border:1px solid #e2e8f0;max-height:400px;overflow-y:auto;z-index:1000}.search-dropdown-header{padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;background:#f9fafb;border-bottom:1px solid #e5e7eb}.search-dropdown-item{padding:.75rem 1rem;cursor:pointer;transition:background-color .2s;color:#374151}.search-dropdown-item:hover{background:#f9fafb}.search-loading,.search-empty{text-align:center;color:#6b7280;font-size:.875rem;padding:1.5rem 1rem;cursor:default}.search-empty:hover{background:transparent}.user-result{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem}.user-result-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:1rem;flex-shrink:0}.user-result-info{flex:1;min-width:0}.user-result-username{font-weight:600;color:#1f2937;font-size:.875rem;display:flex;align-items:center;gap:.375rem}.verified-badge{color:#3b82f6;flex-shrink:0}.user-result-type{font-size:.75rem;color:#6b7280;margin-top:.125rem}.search-dropdown::-webkit-scrollbar{width:6px}.search-dropdown::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0 8px 8px 0}.search-dropdown::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.search-dropdown::-webkit-scrollbar-thumb:hover{background:#94a3b8}.side-navigation{position:fixed;left:0;top:70px;height:calc(100vh - 70px);width:250px;background:linear-gradient(180deg,#500707,#2e0303);border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;transition:width .3s ease;z-index:50;overflow:hidden}.side-navigation.collapsed{width:70px}.nav-header{padding:1rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;min-height:60px}.brand-area{flex:1;display:flex;align-items:center}.brand-title{color:#fff;font-size:1.25rem;font-weight:700;margin:0;letter-spacing:.5px;background:linear-gradient(135deg,#fff,#e7c6c6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.collapse-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fffc;padding:.5rem;border-radius:8px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0}.collapse-btn:hover{background:#ffffff26;color:#fff}.collapse-btn svg{transition:all .2s ease}.nav-content{flex:1;padding:1rem 0;overflow-y:auto;overflow-x:hidden}.nav-list{list-style:none;padding:0;margin:0}.nav-item{margin-bottom:.25rem}.nav-link{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:none;background:none;color:#fffc;text-decoration:none;cursor:pointer;transition:all .2s;font-size:.9rem;font-weight:500;text-align:left;position:relative}.nav-link:hover{background:#ffffff1a;color:#fff}.nav-link.active{background:#ffffff26;color:#fff;border-right:3px solid #800000}.nav-link.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:maroon}.nav-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.nav-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-badge{background:#e7c6c6;color:#490e0e;font-size:1rem;font-weight:600;padding:.125rem .375rem;border-radius:10px;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nav-footer{padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}.nav-divider{height:1px;background:#ffffff1a;margin:.5rem 1rem}.side-navigation.collapsed .nav-link{justify-content:center;padding:.75rem}.side-navigation.collapsed .nav-label,.side-navigation.collapsed .nav-badge{display:none}.side-navigation.collapsed .nav-header{justify-content:center;padding:1rem .5rem}.nav-content::-webkit-scrollbar{width:4px}.nav-content::-webkit-scrollbar-track{background:#ffffff0d}.nav-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:2px}.nav-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (max-width: 768px){.side-navigation{top:60px;height:calc(100vh - 60px);width:70px}.side-navigation .nav-label,.side-navigation .nav-badge{display:none}.side-navigation .nav-link{justify-content:center;padding:.75rem}.side-navigation .nav-header{display:none}.side-navigation .nav-content{padding-top:0}}@media (max-width: 480px){.side-navigation{width:60px}.nav-link{padding:.625rem}}.side-navigation.collapsed .nav-link[title]:hover:after{content:attr(title);position:absolute;left:calc(100% + .5rem);top:50%;transform:translateY(-50%);background:#1f2937;color:#fff;padding:.5rem .75rem;border-radius:6px;font-size:.875rem;white-space:nowrap;z-index:1000;box-shadow:0 4px 6px #0000001a}.side-navigation.collapsed .nav-link[title]:hover:before{content:"";position:absolute;left:calc(100% + .25rem);top:50%;transform:translateY(-50%);border:4px solid transparent;border-right-color:#1f2937;z-index:1000}.app-layout{min-height:100vh;background:#f0f0f0}.layout-content{padding:1rem;transition:margin-left .3s ease;min-height:calc(100vh - 70px)}.layout-content.sidebar-expanded{margin-left:250px}.layout-content.sidebar-collapsed{margin-left:70px}@media (max-width: 768px){.layout-content.sidebar-expanded,.layout-content.sidebar-collapsed{margin-left:70px;padding:1rem;min-height:calc(100vh - 60px)}}@media (max-width: 480px){.layout-content.sidebar-expanded,.layout-content.sidebar-collapsed{margin-left:60px;padding:.5rem}}.report-popup-overlay{position:fixed;inset:0;background:#0003;display:flex;justify-content:center;align-items:center;z-index:9999;padding:20px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:overlay-fade-in .3s ease-out;overflow:hidden}@keyframes overlay-fade-in{0%{background:#0000;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}to{background:#0003;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}}.report-popup-container{width:100%;max-width:500px;max-height:90vh;display:flex;justify-content:center;align-items:center}.report-popup{background:#fff;border-radius:16px;width:100%;max-height:85vh;overflow:hidden;box-shadow:0 25px 50px -12px #00000040,0 8px 24px #00000026;border:1px solid #e2e8f0;animation:popup-slide-up .3s ease-out;display:flex;flex-direction:column;position:relative}@keyframes popup-slide-up{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.report-popup-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;position:relative;flex-shrink:0}.header-content h3{margin:0 0 8px;color:#2d3748;font-size:1.5rem;font-weight:700;line-height:1.2}.header-content p{margin:0;color:#718096;font-size:.9rem;line-height:1.4}.close-btn{background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#718096;font-size:1.25rem;transition:all .2s ease;flex-shrink:0;margin-left:16px}.close-btn:hover{background:#edf2f7;color:#2d3748;border-color:#cbd5e0}.report-popup-content{padding:24px;overflow-y:auto;flex:1;background:#fff;max-height:calc(85vh - 120px)}.report-target{background:#fff5f5;border:1px solid #fed7d7;border-radius:12px;padding:16px;margin-bottom:24px;display:flex;flex-direction:column;gap:4px}.target-label{font-size:.875rem;color:#718096;font-weight:500}.target-content{font-size:.95rem;color:#2d3748;font-weight:600;word-break:break-word}.report-form{display:flex;flex-direction:column;gap:24px}.form-section{display:flex;flex-direction:column;gap:12px}.section-label{font-size:1rem;font-weight:600;color:#2d3748;line-height:1.4}.optional-text{font-weight:400;color:#718096;font-size:.9rem}.reason-options{display:flex;flex-direction:column;gap:8px}.reason-option{display:flex;align-items:center;padding:16px;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .2s ease;background:#fff;position:relative;min-height:56px;box-sizing:border-box}.reason-option:hover{border-color:#dc2626;background:#fef2f2;transform:none}.reason-option.selected{border-color:#dc2626;background:#fef2f2;box-shadow:0 0 0 1px #dc2626;transform:none}.reason-input{margin-right:12px;transform:scale(1.2);accent-color:#dc2626}.reason-text{flex:1;font-size:.95rem;color:#2d3748;font-weight:500;line-height:1.4}.reason-option.selected .reason-text{color:#dc2626}.description-textarea{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-family:inherit;font-size:.95rem;resize:vertical;transition:all .2s ease;background:#fff;color:#2d3748;min-height:100px;line-height:1.5;box-sizing:border-box}.description-textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a;background:#fff;transform:none}.description-textarea::placeholder{color:#a0aec0}.form-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:16px;border-top:1px solid #e2e8f0;margin-top:8px;flex-shrink:0}.btn{padding:12px 24px;border:none;border-radius:12px;cursor:pointer;font-weight:600;font-size:.95rem;transition:all .2s ease;min-width:120px;display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;transform:none!important}.btn:disabled{cursor:not-allowed;opacity:.6;transform:none!important}.btn-cancel{background:#f7fafc;color:#718096;border:1px solid #e2e8f0}.btn-cancel:hover:not(:disabled){background:#edf2f7;color:#2d3748;border-color:#cbd5e0;transform:none}.btn-submit{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 2px 8px #dc26264d}.btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#b91c1c,#991b1b);box-shadow:0 4px 12px #dc262666;transform:none}.btn-submit:active:not(:disabled){transform:none}.loading-spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 640px){.report-popup-overlay{padding:16px;background:#00000026;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.report-popup-container{max-height:95vh}.report-popup{border-radius:12px;max-height:95vh}.report-popup-header{padding:20px;flex-direction:column;gap:12px}.close-btn{position:absolute;top:20px;right:20px;margin-left:0}.report-popup-content{padding:20px;max-height:calc(95vh - 140px)}.form-actions{flex-direction:column-reverse}.btn{min-width:auto;width:100%}}.reason-option,.btn,.close-btn,.description-textarea{transform:none!important;will-change:auto}.report-popup *{box-sizing:border-box}@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)){.report-popup-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}}.report-button{background:none;border:none;color:#666;cursor:pointer;padding:5px 10px;border-radius:4px;font-size:.9em;transition:background-color .2s}.report-button:hover{background-color:#f5f5f5;color:#d32f2f}.activity-dashboard{width:100%;margin-bottom:2rem}.activity-dashboard-loading{text-align:center;padding:2rem;color:#6b7280}.dashboard-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:stretch}.dashboard-left-column{display:flex;flex-direction:column;gap:1rem}.stats-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.stat-card{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 1px 3px #0000001a;text-align:center;border-left:4px solid #800000;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 2px 6px #0000001a}.stat-number{font-size:2rem;font-weight:700;color:maroon;margin-bottom:.25rem;line-height:1}.stat-label{color:#6b7280;font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.section-title{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;color:maroon}.section-title svg{flex-shrink:0}.section-title h2{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.streak-badge{margin-left:auto;padding:.25rem .75rem;background:maroon;color:#fff;border-radius:12px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.streak-section{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000001a;border-left:4px solid #800000}.streak-main{text-align:center;margin-bottom:.75rem}.streak-current{font-size:3.5rem;font-weight:700;color:maroon;line-height:1;margin-bottom:.5rem}.streak-secondary{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;color:#6b7280;font-weight:500}.streak-secondary span{white-space:nowrap}.streak-warning{display:flex;align-items:center;gap:.5rem;background:#fef3c7;border:1px solid #fbbf24;border-radius:8px;padding:.625rem;font-size:.8rem;color:#92400e}.streak-warning svg{flex-shrink:0;color:#f59e0b;width:16px;height:16px}.calendar-section{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000001a;border-left:4px solid #800000;display:flex;flex-direction:column;height:100%}.calendar-legend{display:flex;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#374151;font-weight:600}.legend-dot{width:12px;height:12px;border-radius:50%;display:inline-block;border:2px solid white;box-shadow:0 1px 3px #0003}.legend-dot.login{background:#dc2626}.legend-dot.goal{background:#10b981}.legend-dot.challenge{background:#3b82f6}.calendar-grid{width:100%;flex:1;display:flex;flex-direction:column}.calendar-header{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:2px}.calendar-day-name{text-align:center;font-weight:600;font-size:.7rem;color:#6b7280;padding:.25rem;text-transform:uppercase}.calendar-body{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;flex:1}.calendar-day{border:1px solid #e5e7eb;border-radius:4px;padding:.25rem;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#fff;transition:all .2s;min-height:32px}.calendar-day:hover{border-color:maroon;box-shadow:0 1px 4px #80000033}.calendar-day.other-month{opacity:.3}.calendar-day.today{background:#8000000d;border:2px solid #800000;font-weight:700}.day-number{font-size:.75rem;color:#374151;line-height:1}.day-indicators{display:flex;gap:2px;margin-top:2px}.indicator{width:6px;height:6px;border-radius:50%;display:inline-block;box-shadow:0 1px 2px #0003}.indicator.login{background:#dc2626}.indicator.goal{background:#10b981}.indicator.challenge{background:#3b82f6}.deadlines-section{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:0 1px 3px #0000001a;border-left:4px solid #800000}.deadlines-list{display:flex;flex-direction:column;gap:.5rem}.deadline-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f9fafb;border-radius:8px;border-left:3px solid transparent;cursor:pointer;transition:all .2s}.deadline-item:hover{background:#f3f4f6;transform:translate(4px);box-shadow:0 2px 4px #0000000d}.deadline-icon{flex-shrink:0;color:maroon;display:flex;align-items:center;justify-content:center}.deadline-icon svg{width:18px;height:18px}.deadline-content{flex:1;min-width:0}.deadline-title{font-weight:600;color:#1f2937;margin-bottom:.25rem;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deadline-meta{display:flex;gap:.5rem;font-size:.75rem;color:#6b7280}.deadline-type{text-transform:capitalize;padding:.125rem .375rem;background:#e5e7eb;border-radius:4px;font-weight:500}.deadline-urgency{flex-shrink:0;display:flex;align-items:center}.urgency-dot{width:10px;height:10px;border-radius:50%}.urgency-high .urgency-dot{background:#dc2626;box-shadow:0 0 6px #dc262666}.urgency-medium .urgency-dot{background:#f59e0b;box-shadow:0 0 6px #f59e0b66}.urgency-low .urgency-dot{background:#059669;box-shadow:0 0 6px #05966966}.empty-deadlines{text-align:center;padding:1.5rem;color:#6b7280;font-size:.875rem}.empty-deadlines p{margin:0}@media (max-width: 1024px){.dashboard-layout{grid-template-columns:1fr}.dashboard-left-column{gap:1rem}}@media (max-width: 768px){.dashboard-left-column,.stats-row{gap:.75rem}.stat-card{padding:.75rem}.stat-number{font-size:1.5rem}.streak-section,.calendar-section,.deadlines-section{padding:1rem}.streak-current{font-size:2.5rem}.streak-secondary{font-size:.8rem}.calendar-day-name{font-size:.65rem}.day-number{font-size:.7rem}.calendar-day{min-height:28px}.deadline-item{padding:.75rem}}@media (max-width: 480px){.stats-row{grid-template-columns:1fr}.streak-current{font-size:2rem}.streak-secondary{flex-direction:column;gap:.25rem}.streak-secondary span:nth-child(2){display:none}.calendar-body{gap:1px}.calendar-day{padding:.125rem;min-height:24px}.day-number{font-size:.65rem}.indicator{width:4px;height:4px}.section-title h2{font-size:1.1rem}}.daily-advice-section{margin-bottom:2rem}.daily-advice-card{background:linear-gradient(135deg,#fff,#f8fafc);border-radius:16px;padding:2rem;box-shadow:0 4px 6px #0000000d,0 10px 15px #0000001a;border:1px solid #e5e7eb;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.daily-advice-card:hover{transform:translateY(-2px);box-shadow:0 6px 8px #00000014,0 12px 20px #0000001f}.daily-advice-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,maroon,#a00000,maroon)}.advice-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;gap:1rem}.advice-title-group{display:flex;align-items:flex-start;gap:1rem;flex:1}.advice-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:linear-gradient(135deg,maroon,#a00000);border-radius:12px;color:#fff;flex-shrink:0;box-shadow:0 4px 6px #80000033}.advice-header h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0 0 .5rem;line-height:1.2}.advice-date{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#6b7280;font-weight:500}.advice-date svg{color:maroon}.refresh-btn{display:flex;align-items:center;gap:.5rem;background:#fff;border:2px solid #e5e7eb;color:maroon;padding:.625rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.refresh-btn:hover:not(:disabled){background:maroon;color:#fff;border-color:maroon;transform:translateY(-1px);box-shadow:0 2px 4px #80000033}.refresh-btn:active:not(:disabled){transform:translateY(0)}.refresh-btn:disabled{opacity:.6;cursor:not-allowed}.refresh-btn svg{width:18px;height:18px}.advice-content{margin-bottom:1.5rem}.advice-text{color:#374151;line-height:1.75;font-size:1rem}.advice-text p{margin-bottom:1rem;white-space:pre-wrap}.advice-text p:last-child{margin-bottom:0}.advice-text p:has(strong),.advice-text p:contains("URGENT"){background:#fef3c7;border-left:4px solid #f59e0b;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem}.advice-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid #e5e7eb}.advice-badge{display:flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.badge-dot{width:8px;height:8px;background:maroon;border-radius:50%;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.1)}}.daily-advice-card.loading{min-height:200px}.advice-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #f3f4f6;border-top-color:maroon;border-radius:50%;animation:spin 1s linear infinite}.advice-loading p{color:#6b7280;font-size:.875rem;font-weight:500}.daily-advice-card.error{border-color:#fecaca;background:linear-gradient(135deg,#fef2f2,#fff)}.advice-error{padding:2rem;text-align:center}.advice-error p{color:#dc2626;font-size:.875rem;font-weight:500}.daily-advice-card.disabled{border-color:#e5e7eb;background:linear-gradient(135deg,#f9fafb,#fff)}.daily-advice-card.disabled:before{background:linear-gradient(90deg,#9ca3af,#6b7280,#9ca3af)}.advice-icon.disabled{background:linear-gradient(135deg,#6b7280,#9ca3af);opacity:.7}.advice-disabled-content{padding:2rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.disabled-message{color:#6b7280;font-size:1rem;line-height:1.6;margin:0;max-width:500px}.enable-btn{background:maroon;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.enable-btn:hover{background:#600000;transform:translateY(-1px);box-shadow:0 4px 6px #80000033}.enable-btn:active{transform:translateY(0)}@media (max-width: 768px){.daily-advice-card{padding:1.5rem}.advice-header{flex-direction:column;gap:1rem}.advice-title-group{width:100%}.refresh-btn{width:100%;justify-content:center}.advice-icon{width:40px;height:40px}.advice-header h2{font-size:1.25rem}.advice-text{font-size:.9375rem}}@media (max-width: 480px){.daily-advice-card{padding:1.25rem}.advice-title-group{flex-direction:column;gap:.75rem}.advice-icon{width:36px;height:36px}.advice-header h2{font-size:1.125rem}.advice-date{font-size:.8125rem}.advice-text{font-size:.875rem}.advice-badge{font-size:.6875rem}}.home-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:#6b7280}.home-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;text-align:center;color:#6b7280}.home-error h2{color:#dc2626;margin-bottom:1rem}.home-error p{margin-bottom:1.5rem}.empty-state{text-align:center;max-width:unset;padding:2rem;color:#6b7280;background:#f9fafb;border-radius:8px;border:2px dashed #d1d5db}.empty-state p{margin-bottom:1rem;font-size:1rem}.stats-section{margin-bottom:2rem}.stats-section h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.stat-card{background:#fff;padding:1.5rem;border-radius:20px;box-shadow:0 1px 3px #0000001a;text-align:center;border-left:4px solid #800000}.stat-number{font-size:2.5rem;font-weight:700;color:maroon;margin-bottom:.5rem}.stat-label{color:#6b7280;font-size:.875rem;font-weight:500}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.5rem}.section-header h2{font-size:1.5rem;font-weight:700;color:#1f2937}.action-btn{background:maroon;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.action-btn:hover{background:#600000}.goals-section{margin-bottom:2rem}.home-goals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.goal-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.goal-card:hover{box-shadow:0 4px 6px #0000001a}.goal-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.goal-card-header h4{font-size:1.1rem;font-weight:600;color:#1f2937;margin:0;flex:1}.goal-status-badge{font-size:.75rem;font-weight:500;padding:.25rem .5rem;border-radius:12px;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.goal-status-badge.active{background:#dcfce7;color:#166534}.goal-status-badge.completed{background:#dbeafe;color:#1e40af}.goal-status-badge.inactive{background:#f3f4f6;color:#6b7280}.goal-status-badge.restarted{background:#fef3c7;color:#92400e}.goal-progress{display:flex;flex-direction:column;margin-top:8px;gap:.5rem}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:maroon;border-radius:4px;transition:width .3s ease}.progress-text{font-size:.875rem;color:#6b7280;text-align:right}.challenges-section{margin-bottom:2rem}.challenges-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.home-challenge-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.home-challenge-card:hover{box-shadow:0 4px 6px #0000001a}.home-challenge-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.home-challenge-header h4{font-size:1.1rem;font-weight:600;color:#1f2937;margin:0;flex:1}.home-challenge-badge{font-size:.75rem;font-weight:500;padding:.25rem .5rem;border-radius:12px;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.home-challenge-badge.joined{background:#dcfce7;color:#166534}.home-challenge-badge.available{background:#f3f4f6;color:#6b7280}.home-challenge-progress{display:flex;flex-direction:column;margin-top:8px;gap:.5rem}.home-challenge-meta{display:flex;justify-content:space-between;font-size:.875rem;color:#6b7280;margin-top:.5rem}.home-challenge-spacer{height:2.75rem}.participants,.days-left{font-size:.875rem;color:#6b7280}.join-btn{background:#059669;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s;width:100%;margin-top:.5rem}.join-btn:hover{background:#047857}.join-btn:disabled{background:#9ca3af;cursor:not-allowed}.forum-section{margin-bottom:2rem}.forum-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.thread-card{background:#fbfbfb;padding:1.5rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;border-left:4px solid #800000;transition:transform .2s ease,box-shadow .2s ease}.thread-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.thread-card h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.thread-meta{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:.5rem;font-size:.875rem;color:#6b7280}.thread-meta span{display:flex;align-items:center;gap:.25rem}.thread-date{font-size:.75rem;color:#9ca3af}.nutrition-section{margin-bottom:2rem}.nutrition-section .section-header{margin-bottom:1rem!important;padding-bottom:1rem!important}.nutrition-header{margin-bottom:.5rem!important;padding-bottom:0!important}.nutrition-form{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.nutrition-input{flex:1;min-width:250px;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.nutrition-input:focus{outline:none;border-color:maroon}.nutrition-input:disabled{background:#f3f4f6;cursor:not-allowed}.nutrition-error{background:#fee2e2;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #dc2626}.nutrition-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.food-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 1px 3px #0000001a;border-left:4px solid #800000;transition:transform .2s ease,box-shadow .2s ease}.food-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.food-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #f3f4f6}.food-card h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.5rem;text-transform:capitalize}.brand-name,.brand-owner{display:inline-block;font-size:.875rem;font-weight:500;color:#6b7280;background:#f3f4f6;padding:.25rem .75rem;border-radius:12px;margin-top:.5rem}.brand-name{color:maroon;background:#fee2e2}.serving-info{font-size:.875rem;color:#6b7280;background:#f9fafb;padding:.5rem .75rem;border-radius:6px;margin-bottom:1rem;font-weight:500}.food-details{display:flex;flex-direction:column;gap:1rem}.food-detail{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.food-detail:last-child{border-bottom:none}.food-detail.macro{padding:.75rem;background:#fef3c7;border-radius:6px;border:none;margin-bottom:.5rem}.food-detail.macro .detail-label{color:#92400e;font-weight:600}.food-detail.macro .detail-value{color:#92400e;font-size:1rem}.nutrients-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem;margin-top:.5rem}.nutrients-grid .food-detail{padding:.5rem;border-bottom:none;background:#f9fafb;border-radius:4px;flex-direction:column;align-items:flex-start;gap:.25rem}.detail-label{font-size:.875rem;font-weight:500;color:#6b7280}.detail-value{font-size:.875rem;font-weight:600;color:#1f2937}.ingredients{margin-top:1rem;padding-top:1rem;border-top:2px solid #f3f4f6;font-size:.875rem;color:#6b7280;line-height:1.6}.ingredients-label{font-weight:600;color:#1f2937}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.goals-grid,.challenges-grid,.forum-grid,.nutrition-results{grid-template-columns:1fr}.nutrition-form{flex-direction:column}.nutrition-input{min-width:100%}.nutrients-grid{grid-template-columns:1fr}.goal-tabs{gap:.25rem}.goal-tab{padding:.5rem .75rem;font-size:.8rem}.goal-card-header{flex-direction:column;align-items:flex-start;gap:.5rem}.goal-status-badge{align-self:flex-start}.quote-section{padding:2rem 1.5rem}.quote-section:after{font-size:3rem;left:1rem}.quote-text{font-size:1.25rem}}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}.section-header{flex-direction:column;gap:1rem;align-items:stretch}.goal-tabs{flex-wrap:wrap;gap:.25rem}.goal-tab{flex:1;min-width:fit-content;justify-content:center}.quote-section{padding:1.5rem 1rem;margin-bottom:2rem}.quote-section:after{font-size:2.5rem;left:.5rem}.quote-text{font-size:1.125rem;margin-bottom:1rem}.quote-author{font-size:.875rem}}.quote-section{background:linear-gradient(135deg,#fff,#f8fafc);color:#1f2937;padding:1.5rem 2.5rem;border-radius:16px;margin-bottom:1.5rem;text-align:center;box-shadow:0 4px 6px #0000000d,0 10px 15px #0000001a;border:1px solid #e5e7eb;position:relative;overflow:hidden}.quote-section:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,maroon,#a00000,maroon)}.quote-section:after{content:'"';position:absolute;top:1rem;left:2rem;font-size:4rem;color:maroon;opacity:.1;font-family:serif;line-height:1}.quote-text{font-size:1.375rem;font-style:italic;font-weight:400;margin-bottom:1.5rem;line-height:1.6;color:#374151;position:relative;z-index:1;max-width:800px;margin-left:auto;margin-right:auto}.quote-author{font-size:.95rem;font-weight:600;color:maroon;position:relative;z-index:1;letter-spacing:.025em}.auth-container{min-height:100vh;display:flex;background:#ae909093}.auth-logo-section{flex:2;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#500707,#2e0303);position:relative;overflow:hidden}.logo-content{text-align:center;color:#fff;z-index:2;max-width:600px;padding:2rem}.main-logo{font-size:8rem;font-weight:700;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3);letter-spacing:-.05em;line-height:.9}.logo-tagline{font-size:1.5rem;margin:1rem 0 3rem;opacity:.9;font-weight:300}.auth-form-section{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;background:#fff}.auth-card{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:2rem;width:100%;max-width:600px}.auth-header{text-align:center;margin-bottom:2rem}.auth-title{font-size:1.5rem;font-weight:700;color:maroon;margin-bottom:.5rem}.auth-subtitle{color:#6b7280;font-size:1.1rem}.auth-tabs{display:flex;gap:.5rem;background:#f3f4f6;border-radius:8px;padding:4px;margin-bottom:2rem}.auth-tab{flex:1;padding:.75rem;border:none;background:transparent;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.auth-tab.active{background:#fff;color:maroon;box-shadow:0 1px 3px #0000001a}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.auth-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.75rem;border-radius:6px;font-size:.875rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group label{font-weight:500;color:#374151;font-size:.875rem}.form-group input,.form-group select{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:maroon;box-shadow:0 0 0 3px #8000001a}.form-group input:disabled,.form-group select:disabled{background:#f9fafb;cursor:not-allowed}.auth-submit{background:maroon;color:#fff;border:none;padding:.875rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.auth-submit:hover:not(:disabled){background:#600000}.auth-submit:disabled{background:#9ca3af;cursor:not-allowed}.auth-features{margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2);text-align:left}.auth-features h3{color:#fff;margin-bottom:1rem;font-size:1.3rem;font-weight:600}.auth-features ul{list-style:none;padding:0;margin:0}.auth-features li{padding:.75rem 0;color:#ffffffe6;font-size:1.1rem;display:flex;align-items:center;gap:.5rem}.auth-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:#6b7280}.terms-checkbox-group{margin:.5rem 0}.terms-checkbox-label{display:flex;align-items:flex-start;gap:.75rem;font-size:.875rem;color:#374151;cursor:pointer;line-height:1.5}.terms-checkbox{margin-top:.2rem;width:1rem;height:1rem;cursor:pointer;accent-color:#800000;flex-shrink:0}.terms-checkbox:disabled{cursor:not-allowed;opacity:.5}.terms-link{background:none;border:none;color:maroon;text-decoration:underline;cursor:pointer;font-size:inherit;padding:0;font-weight:500;transition:color .2s}.terms-link:hover{color:#600000}.terms-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.terms-modal-content{background:#fff;border-radius:12px;box-shadow:0 25px 50px -12px #00000040;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column}.terms-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb}.terms-modal-header h2{margin:0;font-size:1.5rem;color:maroon;font-weight:600}.terms-modal-close{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;line-height:1;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s,color .2s}.terms-modal-close:hover{background:#f3f4f6;color:#374151}.terms-modal-body{padding:2rem;overflow-y:auto;flex:1}.terms-effective-date{color:#6b7280;font-size:.875rem;margin-bottom:1.5rem}.terms-section{margin-bottom:1.5rem}.terms-section h3{color:maroon;font-size:1.1rem;font-weight:600;margin-bottom:.75rem}.terms-section p{color:#374151;line-height:1.6;margin-bottom:.5rem}.terms-section ul{margin:.5rem 0 .5rem 1.5rem;color:#374151}.terms-section li{margin-bottom:.5rem;line-height:1.6}.terms-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;color:#6b7280;font-size:.875rem;font-style:italic}.terms-modal-footer{display:flex;gap:1rem;padding:1.5rem 2rem;border-top:1px solid #e5e7eb;justify-content:flex-end}.terms-accept-button{background:maroon;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.terms-accept-button:hover{background:#600000}.terms-close-button{background:transparent;color:#6b7280;border:1px solid #d1d5db;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s,border-color .2s}.terms-close-button:hover{background:#f3f4f6;border-color:#9ca3af}@media (max-width: 768px){.auth-container{flex-direction:column}.auth-logo-section{flex:none;min-height:40vh;padding:2rem 1rem}.main-logo{font-size:4rem}.logo-tagline{font-size:1.2rem}.auth-features{display:none}.auth-form-section{flex:none;padding:1rem}.auth-card{padding:1.5rem;box-shadow:none;border-radius:0}.auth-title{font-size:1.3rem}.form-row{grid-template-columns:1fr}.terms-modal-content{max-height:95vh;margin:.5rem}.terms-modal-header,.terms-modal-body,.terms-modal-footer{padding:1rem}.terms-modal-header h2{font-size:1.25rem}.terms-section h3{font-size:1rem}.terms-modal-footer{flex-direction:column}.terms-accept-button,.terms-close-button{width:100%}}@media (max-width: 480px){.main-logo{font-size:3rem}.logo-tagline{font-size:1rem}.auth-logo-section{min-height:30vh}}.goal-page-loading,.goal-page-error{display:flex;justify-content:center;align-items:center;height:100%;font-size:1.2rem}.goal-page-content{padding:2rem;max-width:1200px;margin:0 auto}.add-goal-btn svg{color:#fff!important;stroke:#fff!important;stroke-width:2.5}.add-goal-btn{background:linear-gradient(135deg,#500707,maroon);border:none;color:#fff;font-weight:600;padding:.75rem 1.5rem;border-radius:8px;transition:all .2s;box-shadow:0 4px 6px -1px #8000001a;margin-left:auto;flex-shrink:0;align-self:flex-start}.add-goal-btn:hover{background:linear-gradient(135deg,#600808,#900000);transform:translateY(-1px);box-shadow:0 8px 15px -3px #80000033}.goal-form{padding:0;margin:.5rem;gap:1rem}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.goals-page-goals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.goal-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;transition:all .2s;overflow:hidden;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;height:100%}.goal-card:hover{border-color:#d1d5db;box-shadow:0 10px 25px -3px #0000001a}.goal-card-header{margin:0;flex-shrink:0;min-height:80px;display:flex;align-items:flex-start}.goal-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;width:100%}.goal-title-wrapper{display:flex;flex-direction:column;gap:.5rem}.goal-title{font-size:1.4rem;font-weight:700;color:#1f2937;margin:0;line-height:1.3}.mentor-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f6;border-radius:12px;font-size:.7rem;font-weight:600;color:#1e40af;width:fit-content}.mentor-badge-text{white-space:nowrap}.goal-status-badge{padding:.375rem .875rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;flex-shrink:0}.goal-status-badge.active{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.goal-status-badge.completed{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #3b82f6}.goal-status-badge.inactive{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444}.goal-description{line-height:1.5;margin-bottom:1rem}.goal-progress{margin-bottom:1.5rem}.goal-card-actions{display:flex;flex-direction:column;gap:1rem;margin-top:auto}.goal-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #f3f4f6;overflow-x:visible;border-bottom:4px solid #800000}.goal-tab{background:none;border:none;padding:.75rem 1rem;border-radius:8px 8px 0 0;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease;white-space:nowrap;display:flex;align-items:center;gap:.5rem;position:relative}.goal-tab:hover{background:#f9fafb;color:#374151}.goal-tab.active{background:maroon;color:#fff;font-weight:600}.goal-tab.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:maroon}.goal-count{font-size:.75rem;background:#fff3;padding:.125rem .375rem;border-radius:10px;font-weight:500}.goal-tab:not(.active) .goal-count{background:#e5e7eb;color:#6b7280}.goal-dialog{max-width:600px;width:90vw;max-height:90vh;overflow-y:auto}.goal-card-content{display:flex;flex-direction:column;gap:1rem;flex:1;padding-top:0}.goal-dates{display:flex;gap:1rem;flex-wrap:wrap}@media (max-width: 768px){.goal-page-content{padding:1rem}.header-content{flex-direction:column;align-items:stretch;gap:1rem}.page-title{font-size:2rem}.form-grid,.goals-grid{grid-template-columns:1fr}.goal-title-section{flex-direction:column;align-items:flex-start;gap:.5rem}.update-controls{flex-direction:column;align-items:stretch}.action-buttons{justify-content:stretch}.action-buttons button{flex:1}.stats-grid{grid-template-columns:1fr}.goal-dates{flex-direction:column;gap:.5rem}.goal-dialog{width:95vw;max-height:85vh}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}@keyframes bounce{0%,20%,53%,80%,to{transform:translateZ(0)}40%,43%{transform:translate3d(0,-8px,0)}70%{transform:translate3d(0,-4px,0)}90%{transform:translate3d(0,-2px,0)}}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}.forum-loading{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.2rem;color:#6b7280;animation:pulse 2s ease-in-out infinite;position:relative}.forum-loading:before{content:"";position:absolute;width:40px;height:40px;border:4px solid #f3f4f6;border-top:4px solid #800000;border-radius:50%;animation:spin 1s linear infinite;margin-right:1rem}.loading-skeleton{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:2rem;padding:0 .5rem}.skeleton-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;height:200px;position:relative;overflow:hidden}.skeleton-card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);animation:shimmer 1.5s ease-in-out infinite}.skeleton-title{height:24px;background:#f3f4f6;border-radius:4px;margin-bottom:1rem;width:70%}.skeleton-description{height:16px;background:#f3f4f6;border-radius:4px;margin-bottom:.5rem;width:100%}.skeleton-description:last-child{width:80%}.forum-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;text-align:center;color:#6b7280;animation:fadeInUp .6s ease-out}.forum-error h2{color:#dc2626;margin-bottom:1rem;animation:bounce 1s ease-out}.forum-error p{margin-bottom:1.5rem;animation:fadeInUp .8s ease-out .2s both}.empty-state{text-align:center;padding:2rem;color:#6b7280;background:#f9fafb;border-radius:12px;border:2px dashed #d1d5db;transition:all .3s ease;animation:fadeInUp .6s ease-out;position:relative;overflow:hidden}.empty-state:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent,rgba(128,0,0,.05),transparent);animation:shimmer 3s ease-in-out infinite}.empty-state:hover{border-color:maroon;background:#fafafa;transform:scale(1.02);box-shadow:0 8px 25px #0000001a}.empty-state p{margin-bottom:1rem;font-size:1rem;position:relative;z-index:1}.forum-content{padding:2rem;max-width:1200px;margin:0 auto;animation:fadeInUp .8s ease-out}.forum-content .section-header{margin-bottom:2rem;width:100%;animation:slideInFromLeft .6s ease-out}.forum-content .header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.forum-content .header-text{flex:1}.forum-content .page-title{font-size:2.5rem;font-weight:700;color:maroon;margin-bottom:.5rem;transition:all .3s ease;cursor:default;position:relative;text-shadow:0 1px 2px rgba(0,0,0,.1)}.forum-content .page-title:hover{color:#a00000;transform:scale(1.02);text-shadow:0 2px 4px rgba(128,0,0,.3)}.forum-content .page-subtitle{font-size:1.1rem;color:#6b7280;margin:0;transition:color .3s ease}.forum-content .page-subtitle:hover{color:#374151}.forums-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:2rem;padding:0 .5rem}.forum-card{cursor:pointer;transition:all .4s cubic-bezier(.175,.885,.32,1.275);border:1px solid #e5e7eb;height:100%;background-color:#fff;border-radius:12px;overflow:hidden;padding:1.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;position:relative;animation:fadeInUp .6s ease-out;animation-fill-mode:both}.forum-card:nth-child(1){animation-delay:.1s}.forum-card:nth-child(2){animation-delay:.2s}.forum-card:nth-child(3){animation-delay:.3s}.forum-card:nth-child(4){animation-delay:.4s}.forum-card:nth-child(5){animation-delay:.5s}.forum-card:nth-child(6){animation-delay:.6s}.forum-card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transition:left .5s}.forum-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 40px -12px #00000040,0 8px 16px -8px #0000001a;border-color:maroon;background:linear-gradient(135deg,#fff,#fafafa)}.forum-card:hover:before{left:100%}.forum-card:active{transform:translateY(-6px) scale(1.01);transition:all .1s ease}.forum-card.clicked{transform:translateY(-4px) scale(.98);box-shadow:0 4px 15px #8000004d;border-color:maroon}.forum-card-title{display:flex;align-items:center;gap:.5rem;transition:all .3s ease}.title-icon{color:maroon;transition:all .3s ease;opacity:.7}.forum-card:hover .title-icon{opacity:1;transform:rotate(180deg) scale(1.2);color:#a00000}.forum-card:hover .forum-card-title{color:maroon}.forum-description{color:#6b7280;margin-bottom:2rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;line-height:1.6;font-size:.95rem}.forum-stats{display:flex;flex-wrap:wrap;gap:1.25rem;margin-top:auto;color:#6b7280;font-size:.875rem;padding-top:1.25rem;border-top:1px solid #f3f4f6;transition:all .3s ease}.stat-item{display:flex;align-items:center;gap:.5rem;padding:.25rem .5rem;border-radius:6px;transition:all .3s ease;cursor:pointer}.stat-item:hover{background-color:#f3f4f6;color:#374151;transform:translateY(-1px)}.stat-icon{width:16px;height:16px;color:#9ca3af;transition:all .3s ease}.stat-item:hover .stat-icon{color:maroon;transform:scale(1.1);animation:bounce .6s ease}.action-btn{background-color:maroon;color:#fff;transition:all .3s cubic-bezier(.175,.885,.32,1.275);position:relative;overflow:hidden;border:none;border-radius:8px;padding:.75rem 1.5rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 15px #8000004d}.action-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.action-btn:hover{background-color:#6b0000;transform:translateY(-2px) scale(1.05);box-shadow:0 8px 25px #80000066}.action-btn:hover:before{left:100%}.action-btn:active{transform:translateY(0) scale(1.02);box-shadow:0 4px 15px #8000004d;transition:all .1s ease}.forum-card,.action-btn,.stat-item{will-change:transform}@media (prefers-reduced-motion: reduce){.forum-card,.action-btn,.stat-item,.forum-content .page-title,.forum-loading,.empty-state{animation:none!important;transition:none!important}.forum-card:hover{transform:none!important}}@media (max-width: 768px){.forum-content .header-content{flex-direction:column}.forums-grid{grid-template-columns:1fr;gap:1.5rem}.forum-content{padding:1rem;animation-duration:.6s}.forum-content .page-title{font-size:2rem}.forum-card{padding:1.25rem}.forum-card:hover{transform:translateY(-4px) scale(1.01)}}@media (max-width: 480px){.forum-content .page-title{font-size:1.75rem}.forum-content .page-subtitle{font-size:1rem}.forum-stats{flex-direction:column;gap:.5rem}.forum-card{padding:1rem}.forum-card:hover{transform:translateY(-2px) scale(1.005)}.action-btn{padding:.5rem 1rem;font-size:.875rem}}.clickable-username{color:#2563eb;cursor:pointer;transition:color .2s ease,text-decoration .2s ease;font-weight:500}.clickable-username:hover{color:#1d4ed8;text-decoration:underline}.comment-author{display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all .3s ease;padding:4px 8px;border-radius:6px;margin-right:auto}.comment-author:hover{background-color:#f8fafc}.comment-author:hover .clickable-username{color:#1d4ed8;text-decoration:underline}.comment-author:hover .w-4.h-4{color:#2563eb}.meta-item{display:flex;align-items:center;gap:.5rem}.meta-item .clickable-username{margin-left:.25rem}.author-name{color:inherit;font-weight:500;transition:color .2s ease,text-decoration .2s ease}.comment-card .comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.comment-card .comment-author{display:flex;align-items:center;gap:.5rem}.comment-card.ml-8{border-left:3px solid #dbeafe;margin-left:2rem}.comment-card.ml-8 .comment-author:hover{background-color:#eff6ff}@keyframes usernamePulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.comment-author:hover .clickable-username{animation:usernamePulse .3s ease}.individual-forum-content{max-width:1200px;margin:0 auto;padding:2rem;animation:fadeInUp .6s ease-out}.section-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border)}.header-content{display:flex;align-items:center;justify-content:space-between;gap:1rem}.header-text{flex:1;text-align:center}.page-title{font-size:2.5rem;font-weight:700;color:maroon;margin:0 0 .5rem;transition:all .3s ease;text-shadow:0 1px 2px rgba(0,0,0,.1);cursor:default}.page-title:hover{color:#a00000;transform:scale(1.02);text-shadow:0 2px 4px rgba(128,0,0,.3)}.page-subtitle{font-size:1.1rem;color:var(--muted-foreground);margin:0}.header-actions{min-width:150px}.back-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:.5rem;transition:all .2s ease}.back-btn:hover{transform:translate(-2px);box-shadow:0 4px 12px #0000001a}.threads-list{display:flex;flex-direction:column;gap:1rem}.thread-card{background:var(--card);border:1px solid var(--border);border-radius:.75rem;padding:0;cursor:pointer;transition:all .3s ease;animation:slideInUp .5s ease-out both;will-change:transform;position:relative;overflow:hidden}.thread-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--primary),var(--accent));transform:scaleX(0);transition:transform .3s ease;transform-origin:left}.thread-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a;border-color:var(--primary)}.thread-card:hover:before{transform:scaleX(1)}.thread-card.clicked{transform:scale(.98);box-shadow:0 4px 15px #00000026;border-color:var(--primary)}.thread-card.clicked:before{transform:scaleX(1)}.thread-title{margin:0;padding:1.5rem 1.5rem .5rem}.title-content{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.75rem}.pin-icon{color:var(--warning);transform:rotate(45deg);flex-shrink:0}.lock-icon{color:var(--destructive);flex-shrink:0}.title-text{font-size:1.25rem;font-weight:600;color:var(--foreground);line-height:1.4;flex:1;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;min-width:0}.thread-meta{display:flex;align-items:center;gap:1rem;font-size:.875rem;color:var(--muted-foreground)}.author,.date{display:flex;align-items:center;gap:.25rem}.thread-card .card-content{padding:0 1.5rem 1.5rem}.thread-content{color:var(--muted-foreground);line-height:1.6;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.thread-stats{display:flex;align-items:center;gap:1.5rem;padding-top:1rem;border-top:1px solid var(--border);flex-wrap:wrap}.stat-item{display:flex;align-items:center;gap:.25rem;font-size:.875rem;color:var(--muted-foreground);transition:color .2s ease}.stat-item:hover{color:var(--primary)}.stat-icon{width:14px;height:14px}.last-activity{margin-left:auto}.empty-state{text-align:center;padding:4rem 2rem;color:var(--muted-foreground)}.empty-icon{margin:0 auto 1rem;color:var(--muted-foreground);opacity:.5}.empty-state h3{font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:var(--foreground)}.empty-state p{font-size:1rem;margin-bottom:2rem}.forum-error{text-align:center;padding:4rem 2rem;color:var(--muted-foreground)}.forum-error h2{color:var(--destructive);margin-bottom:1rem}.forum-error p{margin-bottom:2rem}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.modal-container{width:100%;max-width:650px;margin:2rem;animation:slideInUp .4s cubic-bezier(.34,1.56,.64,1)}.thread-create-modal{background:var(--card);border:1px solid var(--border);box-shadow:0 25px 50px #00000040,0 0 0 1px #ffffff0d;border-radius:16px;overflow:hidden;position:relative}.close-btn-top-right{position:absolute;top:1rem;right:1rem;z-index:10;padding:.5rem;border-radius:8px;transition:all .2s ease;background:transparent;border:1px solid transparent;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.close-btn-top-right:hover{background:var(--destructive/10);border-color:var(--destructive/20);color:var(--destructive);transform:scale(1.05)}.modal-title{display:flex;align-items:center;margin:0;padding:1.5rem 3rem 1rem 1.5rem;background:linear-gradient(135deg,var(--card) 0%,var(--muted/20) 100%);border-bottom:1px solid var(--border)}.modal-title .title-content{display:flex;align-items:center;gap:.75rem;color:var(--foreground);font-size:1.25rem;font-weight:600}.modal-title .title-content svg{color:var(--primary)}.thread-form{display:flex;flex-direction:column;gap:2rem;padding:2rem}.form-group{display:flex;flex-direction:column;gap:.75rem;position:relative}.form-label{display:flex;align-items:center;gap:.75rem;font-weight:600;color:var(--foreground);font-size:.9rem;margin-bottom:.25rem}.form-label svg{color:var(--primary)}.form-input,.form-textarea{padding:1rem;border:2px solid var(--border);border-radius:12px;background:var(--background);color:var(--foreground);font-size:.9rem;transition:all .3s cubic-bezier(.4,0,.2,1);resize:vertical;font-family:inherit}.form-input:focus,.form-textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px rgba(var(--primary-rgb),.1),0 4px 12px #0000001a;transform:translateY(-1px)}.form-input.error,.form-textarea.error{border-color:var(--destructive);background:rgba(var(--destructive-rgb),.05)}.form-input.error:focus,.form-textarea.error:focus{box-shadow:0 0 0 4px rgba(var(--destructive-rgb),.1),0 4px 12px rgba(var(--destructive-rgb),.1)}.form-textarea{min-height:140px;font-family:inherit;line-height:1.6}.error-message{color:var(--destructive);font-size:.8rem;margin-top:.5rem;display:flex;align-items:center;gap:.5rem;font-weight:500}.error-message:before{content:"⚠";font-size:.9rem}.char-count{font-size:.8rem;color:var(--muted-foreground);text-align:right;margin-top:.25rem;font-weight:500}.form-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1.5rem;border-top:1px solid var(--border);margin-top:.5rem}.cancel-btn,.submit-btn{display:flex;align-items:center;gap:.75rem;padding:.875rem 2rem;border-radius:10px;font-weight:600;font-size:.9rem;transition:all .3s cubic-bezier(.4,0,.2,1);border:2px solid transparent}.cancel-btn{background:var(--muted);color:var(--muted-foreground);border-color:var(--border)}.cancel-btn:hover{background:var(--muted/80);border-color:var(--muted-foreground/30);transform:translateY(-1px)}.submit-btn{background:linear-gradient(135deg,var(--primary) 0%,var(--primary/80) 100%);color:var(--primary-foreground);box-shadow:0 4px 12px rgba(var(--primary-rgb),.3)}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px rgba(var(--primary-rgb),.4)}.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.form-input.error,.form-textarea.error{animation:shake .3s ease-in-out}.form-input:focus,.form-textarea:focus{position:relative}.form-input:focus:after,.form-textarea:focus:after{content:"";position:absolute;inset:-2px;border-radius:inherit;background:linear-gradient(45deg,var(--primary),var(--primary/50));z-index:-1;opacity:.3;filter:blur(4px)}@media (max-width: 768px){.individual-forum-content{padding:1rem}.header-content{flex-direction:column;gap:1rem}.header-actions{min-width:auto;width:100%}.page-title{font-size:2rem}.thread-stats{gap:1rem}.last-activity{margin-left:0;width:100%}.modal-container{margin:1rem;max-width:95vw}.thread-form{padding:1.5rem;gap:1.5rem}.close-btn-top-right{top:.75rem;right:.75rem;width:28px;height:28px}.modal-title{padding:1.25rem 2.5rem .75rem 1.5rem}.modal-title .title-content{font-size:1.1rem}.form-actions{flex-direction:column;gap:.75rem}.cancel-btn,.submit-btn{width:100%;justify-content:center;padding:1rem 2rem}}@media (max-width: 480px){.thread-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.thread-stats{flex-direction:column;align-items:flex-start;gap:.75rem}.page-title{font-size:1.75rem}}.thread-card,.modal-overlay,.modal-container{will-change:transform}@media (prefers-reduced-motion: reduce){.thread-card,.back-btn,.modal-overlay,.modal-container,.form-input,.form-textarea{animation:none;transition:none}.thread-card:hover,.thread-card.clicked{transform:none}}.thread-page{max-width:900px;margin:0 auto;padding:24px;gap:24px;display:flex;flex-direction:column;background:linear-gradient(135deg,#f8fafc,#f1f5f9);min-height:100vh}.thread-header{margin-bottom:24px}.back-button{display:flex;align-items:center;gap:8px;transition:all .2s ease;border-radius:8px;padding:8px 12px}.back-button:hover{background:#b91c1c1a;color:#b91c1c}.thread-card{padding:32px;margin-bottom:32px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;box-shadow:0 10px 25px -5px #0000001a,0 4px 6px -2px #0000000d;border-radius:16px;transition:all .3s ease}.thread-card:hover{box-shadow:0 20px 40px -10px #00000026,0 8px 16px -4px #0000001a;transform:translateY(-2px)}.thread-content{display:flex;flex-direction:column;gap:20px}.thread-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.thread-title{font-size:28px;font-weight:700;margin:0;line-height:1.2;background:linear-gradient(135deg,#1e293b,#475569);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 4px rgba(0,0,0,.1);flex:1;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;min-width:0}.thread-badges{display:flex;gap:10px;flex-shrink:0}.badge{padding:6px 12px;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #0000001a;transition:all .2s ease}.badge:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.badge.pinned{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}.badge.locked{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.thread-meta{display:flex;flex-wrap:wrap;gap:20px;color:#64748b;font-size:14px;padding:16px 20px;background:#f8fafccc;border-radius:12px;border:1px solid #e2e8f0}.meta-item{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:8px;transition:all .2s ease}.meta-item:hover{background:#3b82f61a;color:#3b82f6}.thread-body{margin-top:12px;padding:20px;background:#ffffffb3;border-radius:12px;border:1px solid #e2e8f0;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;max-width:100%}.thread-body p{line-height:1.7;margin:0;white-space:pre-wrap;font-size:16px;color:#374151;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.thread-actions{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.comments-section{margin-top:40px;padding:24px;background:#fff9;border-radius:16px;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.comments-title{font-size:24px;font-weight:700;margin-bottom:24px;background:linear-gradient(135deg,#1e293b,#475569);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.comments-title:before{content:"";width:4px;height:24px;background:linear-gradient(135deg,#b91c1c,#991b1b);border-radius:2px}.comments-list{display:flex;flex-direction:column;gap:20px}.comment-card{padding:24px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;box-shadow:0 6px 16px -4px #0000001a,0 2px 4px -1px #0000000d;border-radius:12px;transition:all .3s ease;position:relative;overflow:hidden;word-wrap:break-word}.comment-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(135deg,#b91c1c,#991b1b);opacity:0;transition:opacity .3s ease}.comment-card:hover{box-shadow:0 12px 24px -6px #00000026,0 4px 8px -2px #0000001a;transform:translateY(-2px)}.comment-card:hover:before{opacity:1}.comment-content{display:flex;flex-direction:column;gap:16px}.comment-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.comment-author{display:flex;align-items:center;gap:8px;font-weight:600;padding:6px 12px;background:#3b82f61a;border-radius:20px;transition:all .2s ease}.comment-author:hover{background:#3b82f633;transform:translateY(-1px)}.author-name{color:#1e293b;font-size:14px}.comment-date{color:#64748b;font-size:13px;padding:4px 8px;background:#64748b1a;border-radius:8px}.comment-body{padding:16px 20px;background:#fffc;border-radius:10px;border:1px solid #e2e8f0;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;max-width:100%}.comment-body p{margin:0;line-height:1.6;white-space:pre-wrap;font-size:15px;color:#374151;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.comment-footer{margin-top:12px;display:flex;justify-content:space-between;align-items:center}.comment-stats{display:flex;gap:16px}.stat-item{display:flex;align-items:center;gap:6px;color:#64748b;font-size:13px;padding:4px 8px;background:#64748b1a;border-radius:8px;transition:all .2s ease}.stat-item:hover{background:#3b82f61a;color:#3b82f6}.comment-actions,.vote-buttons{display:flex;align-items:center;gap:8px}.vote-button{padding:4px 8px;border-radius:6px;transition:all .2s ease;border:1px solid transparent}.vote-button:hover{background-color:#f3f4f6;border-color:#d1d5db}.vote-button.voted{background-color:#fef2f2;border-color:#fecaca}.upvote-button.voted{background-color:#fef2f2;border-color:#fecaca;color:#dc2626}.downvote-button.voted{background-color:#eff6ff;border-color:#bfdbfe;color:#2563eb}.like-count{font-size:14px;font-weight:500;color:#374151;min-width:20px;text-align:center}.vote-button:disabled{opacity:.5;cursor:not-allowed}.edit-button:hover{background-color:#eff6ff;border-color:#bfdbfe;color:#3b82f6}.delete-button:hover{background-color:#fef2f2;border-color:#fecaca;color:#dc2626}.reply-button:hover{background-color:#f0f9ff;border-color:#bae6fd;color:#0284c7}.subcomments-button:hover{background-color:#f8fafc;border-color:#cbd5e1;color:#475569}.owner-actions{display:flex;align-items:center;gap:8px}.edit-mode{display:flex;flex-direction:column;gap:12px}.edit-textarea{width:100%;padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:15px;line-height:1.6;resize:vertical;min-height:100px;font-family:inherit;transition:border-color .2s ease}.edit-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.edit-textarea:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.7}.edit-actions{display:flex;gap:8px;justify-content:flex-end}.save-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-weight:500;transition:all .2s ease}.save-button:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 4px 8px #10b9814d}.save-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.cancel-button{background:#fff;color:#6b7280;border:1px solid #d1d5db;padding:8px 16px;border-radius:6px;font-weight:500;transition:all .2s ease}.cancel-button:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af;color:#374151}.cancel-button:disabled{opacity:.5;cursor:not-allowed}.no-comments{text-align:center;padding:60px 40px;color:#64748b;display:flex;flex-direction:column;align-items:center;gap:16px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;border:2px dashed #cbd5e1;margin-top:20px}.no-comments p{font-size:16px;font-weight:500;margin:0}.loading,.error{text-align:center;padding:60px 40px;color:#64748b;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px;border:1px solid #e2e8f0;margin-top:20px;font-size:16px;font-weight:500}.error{color:#dc2626;background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fecaca}@media (max-width: 768px){.thread-page{padding:16px;gap:20px}.thread-card{padding:20px;margin-bottom:20px}.thread-title{font-size:24px}.thread-title-section{flex-direction:column;align-items:flex-start;gap:16px}.thread-meta{gap:12px;padding:12px 16px}.thread-body{padding:16px}.comments-section{padding:16px;margin-top:24px}.comments-title{font-size:20px;margin-bottom:16px}.comment-card{padding:16px}.comment-header{flex-direction:column;align-items:flex-start;gap:8px}.comment-body{padding:12px 16px}.no-comments,.loading,.error{padding:40px 20px}}@keyframes subcommentFormSlideIn{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes subcommentFormPulse{0%,to{box-shadow:0 6px 16px -4px #00000014,0 3px 6px -2px #0000000a}50%{box-shadow:0 8px 20px -4px #1e40af1f,0 4px 8px -2px #1e40af14}}.subcomment-form-card{transition:all .3s ease}.subcomment-form-card:hover{animation:subcommentFormPulse 2s ease-in-out infinite;transform:scale(1)!important}.subcomment-form-card textarea:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important;background:#fff!important}.subcomment-form-card button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #1e40af59!important}.subcomment-form-card button:active{transform:translateY(0)}.subcomment-form-card .opacity-70{animation:fadeInUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(5px)}to{opacity:.7;transform:translateY(0)}}.notifications-page-content{max-width:1200px;margin:0 auto;padding:2rem}.header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.page-title{font-size:2.5rem;font-weight:700;color:var(--foreground);margin-bottom:.5rem}.page-subtitle{font-size:1.125rem;color:var(--muted-foreground);margin:0}.mark-all-read-btn{white-space:nowrap;padding:12px 24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{transition:all .2s ease-in-out;border:1px solid var(--border)}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.stat-card-header{display:flex;align-items:center;padding:1.5rem 1.5rem .5rem}.stat-icon{color:var(--primary)}.stat-title{font-size:.875rem;font-weight:500;color:var(--muted-foreground);margin:0}.stat-content{padding:.5rem 1.5rem 1.5rem}.stat-value{font-size:2rem;font-weight:700;color:var(--foreground)}.notification-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:1px solid var(--border);padding-bottom:.5rem}.notification-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;background:none;border-radius:.5rem;font-weight:500;color:var(--muted-foreground);cursor:pointer;transition:all .2s ease}.notification-tab:hover{background-color:var(--muted);color:var(--foreground)}.notification-tab.active{background-color:var(--primary);color:var(--primary-foreground)}.notification-count{font-size:.875rem;opacity:.8}.notifications-list{display:flex;flex-direction:column;gap:1rem}.notification-card{transition:all .2s ease-in-out;border:1px solid var(--border)}.notification-card.unread{border-left:4px solid var(--primary);background-color:var(--muted)}.notification-card:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.notification-card-content{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.5rem!important}.notification-message-section{flex:1}.notification-message{font-size:1rem;color:var(--foreground);margin-bottom:.5rem;line-height:1.5}.notification-date{font-size:.875rem;color:var(--muted-foreground)}.notification-actions{display:flex;gap:.5rem;flex-shrink:0}.empty-state{text-align:center;padding:4rem 2rem;border:2px dashed var(--border);border-radius:.75rem;background-color:var(--muted)}.notifications-page-loading,.notifications-page-error{text-align:center;padding:3rem;font-size:1.125rem;color:var(--muted-foreground)}.notifications-page-error{color:var(--destructive);border:1px solid var(--destructive);border-radius:.5rem}.notification-card.cursor-pointer{cursor:pointer;transition:all .2s ease-in-out}.notification-card.cursor-pointer:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:var(--primary)}.notification-card.cursor-pointer:active{transform:translateY(0)}.notification-detail-modal{max-height:80vh;overflow-y:auto;z-index:1000}[data-radix-dialog-content]{z-index:1001!important}[data-radix-dialog-overlay]{z-index:1000!important}.notification-detail-modal .notification-icon{transition:transform .2s ease}.notification-detail-modal .notification-icon:hover{transform:scale(1.1)}.notification-detail-modal .card{transition:all .2s ease}.notification-detail-modal .card:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.status-read{color:var(--green-600)}.status-unread{color:var(--orange-600)}.notification-type-achievement{color:var(--yellow-500)}.notification-type-badge{color:var(--purple-500)}.notification-type-challenge{color:var(--blue-500)}.notification-type-progress{color:var(--green-500)}.notification-type-goal{color:var(--orange-500)}.notification-type-feedback{color:var(--indigo-500)}.notification-type-system{color:var(--gray-500)}.notification-type-message{color:var(--cyan-500)}.notification-type-like{color:var(--red-500)}.notification-type-comment{color:var(--blue-500)}.notification-type-reply{color:var(--green-500)}.notification-type-tag{color:var(--pink-500)}.notification-type-warning{color:var(--red-500)}@media (max-width: 768px){.notifications-page-content{padding:1rem}.header-content{flex-direction:column;align-items:stretch;gap:1rem}.page-title{font-size:2rem}.notification-card-content{flex-direction:column;align-items:stretch;gap:1rem}.notification-actions{align-self:flex-end}.stats-grid{grid-template-columns:1fr}.notification-tabs{flex-direction:column}.notification-tab{justify-content:center}.notification-detail-modal{max-height:95vh;margin:1rem}.notification-detail-modal .grid{grid-template-columns:1fr}}@media (max-width: 480px){.notification-actions{flex-direction:column;width:100%}.notification-actions .button{width:100%;justify-content:center}}.profile-content{display:flex;flex-direction:column;gap:16px;max-width:960px;margin:0 auto;padding:0 16px}.profile-hero{background:linear-gradient(180deg,#500707,#2e0303);border-radius:12px;padding:24px;color:#fff}.profile-hero-inner{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:16px}.hero-left{display:flex;flex-direction:column;align-items:center;gap:10px}.hero-center{display:flex;flex-direction:column;gap:6px;align-items:flex-end;text-align:right;padding-right:24px}.hero-right{display:flex;justify-content:flex-end}.avatar-circle{width:128px;height:128px;border-radius:9999px;overflow:hidden;background:#fde68a;display:flex;align-items:center;justify-content:center;border:2px solid rgba(0,0,0,.05)}.avatar-circle img{width:100%;height:100%;object-fit:cover}.avatar-fallback{font-size:32px;font-weight:700;color:#92400e}.avatar-actions{display:flex;gap:8px;width:100%;justify-content:center}.avatar-actions.column{flex-direction:column;align-items:center}.avatar-buttons{display:flex;gap:8px}.profile-username{font-size:24px;font-weight:800;color:#fff;margin:0}.username-badge{font-size:12px;padding:2px 8px;border-radius:9999px;background:#fff3;color:#fff;width:fit-content;border:1px solid rgba(255,255,255,.3)}.profile-section{margin-top:8px}.profile-card{overflow:hidden;border:1px solid rgba(128,0,0,.18);border-radius:12px}.profile-card-header{padding:16px 20px!important;border-bottom:1px solid rgba(0,0,0,.04)}.goals-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-card-content{padding:20px!important}.info-item{display:flex;flex-direction:column;gap:4px;padding:4px 2px}.info-item .label{font-size:12px;color:#6b7280}.info-item .value{font-size:14px;color:#111827}.info-actions{grid-column:span 2;display:flex;justify-content:center;margin-top:12px;padding-top:12px;border-top:1px solid rgba(0,0,0,.05)}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field.full{grid-column:span 2}.actions{grid-column:span 2;display:flex;justify-content:flex-end;gap:8px}@media (max-width: 768px){.profile-hero-inner{grid-template-columns:1fr;justify-items:center}.hero-left{flex-direction:column}.hero-center{padding-right:12px}.info-grid,.edit-grid{grid-template-columns:1fr}.field.full,.actions{grid-column:span 1}}.goals-grid{display:grid;grid-template-columns:1fr;gap:12px}.goal-card{border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:12px;background:#fff}.goal-card{cursor:pointer;transition:box-shadow .15s ease,transform .05s ease}.goal-card:hover{box-shadow:0 2px 10px #00000014}.goal-header{display:flex;justify-content:space-between;align-items:center}.goal-title-with-badge{display:flex;align-items:center;gap:8px}.goal-header h4{margin:0;font-size:16px;font-weight:700}.mentor-icon-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f6;border-radius:50%;color:#1e40af;flex-shrink:0}.goal-status{font-size:12px;padding:2px 8px;border-radius:9999px;background:#f3f4f6;color:#374151;border:1px solid #e5e7eb;text-transform:capitalize}.goal-desc{color:#6b7280;font-size:13px;margin-top:4px}.goal-progress{margin-top:8px}.progress-bar{width:100%;height:8px;background:#f3f4f6;border-radius:9999px;overflow:hidden}.progress-fill{height:100%;background:#10b981}.progress-text{margin-top:4px;font-size:12px;color:#6b7280}.goal-detail{display:grid;grid-template-columns:1fr;gap:8px}.goal-detail .detail-row{display:grid;grid-template-columns:140px 1fr;gap:12px}.goal-detail .label{color:#6b7280;font-size:12px}.goal-detail .value{color:#111827;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.nav-btn{background:#500707!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;cursor:pointer}.nav-btn:hover{background:#6b0a0a!important}.danger-btn{background:#b91c1c!important;border-color:#7f1d1d!important;color:#fff!important;cursor:pointer}.danger-btn:hover{background:#dc2626!important}.info-status{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px 14px}.info-status .value{font-size:14px;color:#111827}.empty-goals{text-align:center;padding:24px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.empty-goals .empty-icon{width:56px;height:56px;border-radius:9999px;background:#f3f4f6;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;color:#6b7280}.empty-goals .empty-title{font-size:16px;font-weight:700;margin:6px 0}.empty-goals .empty-desc{font-size:13px;color:#6b7280;margin-bottom:12px}.info-item.half{grid-column:span 1}.info-item.full{grid-column:span 2}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.mentorship-grid{display:flex;flex-wrap:wrap;gap:12px}.mentorship-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:box-shadow .15s ease,transform .05s ease;width:160px;flex:0 0 160px}.mentorship-item:hover{box-shadow:0 2px 10px #00000014}.mentorship-avatar{width:64px;height:64px;border-radius:9999px;overflow:hidden;background:#fde68a;display:flex;align-items:center;justify-content:center;border:2px solid rgba(0,0,0,.05)}.mentorship-avatar img{width:100%;height:100%;object-fit:cover}.mentorship-name{font-size:13px;color:#111827;font-weight:600}.mentorship-role-label{font-size:12px;color:#6b7280}.pending-requests-list{display:flex;flex-direction:column;gap:12px;width:100%}.pending-request-item{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px 16px;width:100%;box-sizing:border-box}.pending-left{display:flex;align-items:center;gap:12px;cursor:pointer}.pending-avatar{width:48px;height:48px;border-radius:9999px;overflow:hidden;background:#f3f4f6;display:flex;align-items:center;justify-content:center}.pending-name{font-size:14px;font-weight:700;color:#111827;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-text{flex:1 1 auto;font-size:13px;color:#6b7280;padding:0 12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-actions{display:flex;gap:8px}.info-item.full .pending-requests-list{width:100%}@media (max-width: 768px){.pending-name{max-width:140px}}.settings-content{max-width:900px;margin:0 auto;padding:2rem}.settings-loading{display:flex;align-items:center;justify-content:center;min-height:50vh;font-size:1.2rem;color:#6b7280}.settings-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e5e7eb}.settings-title-group{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.settings-title-group svg{color:maroon}.settings-header h1{font-size:2rem;font-weight:700;color:#1f2937;margin:0}.settings-subtitle{color:#6b7280;font-size:1rem;margin:0;margin-left:3rem}.save-success-banner{display:flex;align-items:center;gap:.75rem;background:#dcfce7;border:1px solid #86efac;border-left:4px solid #22c55e;color:#166534;padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;font-weight:500;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.save-success-banner svg{flex-shrink:0;color:#22c55e}.settings-sections{display:flex;flex-direction:column;gap:2rem}.settings-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.section-header svg{color:maroon}.section-header h2{font-size:1.5rem;font-weight:600;color:#1f2937;margin:0}.section-description{color:#6b7280;font-size:.875rem;margin:0 0 1.5rem;padding-left:2rem}.setting-item{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;padding:1.5rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease}.setting-item:hover{background:#f3f4f6;border-color:#d1d5db}.setting-info{flex:1}.setting-info h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.setting-info p{font-size:.875rem;color:#6b7280;line-height:1.6;margin:0}.setting-control{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex-shrink:0}.toggle-switch{position:relative;display:inline-block;width:52px;height:28px;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;inset:0;background-color:#d1d5db;border-radius:28px;transition:all .3s ease}.toggle-slider:before{content:"";position:absolute;height:22px;width:22px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:all .3s ease;box-shadow:0 2px 4px #0003}.toggle-switch input:checked+.toggle-slider{background-color:maroon}.toggle-switch input:checked+.toggle-slider:before{transform:translate(24px)}.toggle-switch input:focus+.toggle-slider{box-shadow:0 0 0 3px #8000001a}.toggle-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.settings-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.cancel-btn{background:#fff;border:2px solid #e5e7eb;color:#6b7280;padding:.75rem 1.5rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn:hover{background:#f9fafb;border-color:#d1d5db;color:#374151}.save-btn{background:maroon;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.save-btn:hover:not(:disabled){background:#600000;transform:translateY(-1px);box-shadow:0 4px 6px #80000033}.save-btn:active:not(:disabled){transform:translateY(0)}.save-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.settings-content{padding:1.5rem}.settings-header h1{font-size:1.75rem}.settings-subtitle{margin-left:2.5rem;font-size:.875rem}.settings-section{padding:1.5rem}.setting-item{flex-direction:column;gap:1rem}.setting-control{flex-direction:row;justify-content:space-between;width:100%}.settings-actions{flex-direction:column-reverse}.cancel-btn,.save-btn{width:100%;justify-content:center}}@media (max-width: 480px){.settings-content{padding:1rem}.settings-header{padding-bottom:1rem}.settings-title-group{flex-direction:column;align-items:flex-start;gap:.5rem}.settings-subtitle{margin-left:0}.settings-section{padding:1.25rem}.section-header h2{font-size:1.25rem}.setting-item{padding:1.25rem}.setting-info h3{font-size:1rem}}.contact-content{max-width:1200px;margin:0 auto;padding:0 16px}.contact-hero{text-align:center;padding:40px 0;background:linear-gradient(180deg,#500707,#2e0303);border-radius:12px;color:#fff;margin-bottom:32px}.contact-hero h1{font-size:2.5rem;font-weight:800;margin:0 0 8px}.contact-hero p{font-size:1.1rem;opacity:.9;margin:0}.contact-section{display:grid;grid-template-columns:2fr 1fr;gap:32px;margin-bottom:40px}.contact-card{background:#fff;border:1px solid rgba(128,0,0,.18);border-radius:12px;padding:32px;box-shadow:0 2px 8px #00000014}.contact-card h2{margin:0 0 24px;color:#500707;font-size:1.5rem}.contact-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#374151;font-size:14px}.form-group input,.form-group textarea{padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:border-color .15s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#500707;box-shadow:0 0 0 3px #5007071a}.form-group textarea{resize:vertical;min-height:120px}.submit-btn{background:#500707;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .15s ease;margin-top:8px}.submit-btn:hover{background:#6b0a0a}.contact-info{display:flex;flex-direction:column;gap:24px}.contact-info h3{margin:0 0 16px;color:#500707;font-size:1.25rem}.info-item{display:flex;align-items:flex-start;gap:16px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.info-icon{font-size:1.5rem;flex-shrink:0}.info-content h4{margin:0 0 4px;color:#374151;font-size:1rem}.info-content p{margin:0;color:#6b7280;font-size:.9rem}@media (max-width: 768px){.contact-section{grid-template-columns:1fr;gap:24px}.contact-hero h1{font-size:2rem}.contact-card{padding:24px}}@media (max-width: 480px){.contact-content{padding:0 12px}.contact-hero{padding:32px 0}.contact-card{padding:20px}.info-item{flex-direction:column;text-align:center;gap:12px}}.submit-message{padding:12px;border-radius:4px;margin-bottom:20px;text-align:center}.submit-message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.submit-message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.glossary-content{max-width:1200px;margin:0 auto;padding:0 16px}.glossary-hero{text-align:center;padding:40px 0;background:linear-gradient(180deg,#500707,#2e0303);border-radius:12px;color:#fff;margin-bottom:32px}.glossary-hero h1{font-size:2.5rem;font-weight:800;margin:0 0 8px}.glossary-hero p{font-size:1.1rem;opacity:.9;margin:0}.glossary-controls{margin-bottom:32px}.search-section{margin-bottom:24px}.glossary-search{width:100%;padding:14px 18px;border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;transition:all .2s ease;background:#fff}.glossary-search:focus{outline:none;border-color:maroon;box-shadow:0 0 0 3px #8000001a}.glossary-search::placeholder{color:#9ca3af}.category-filters{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.category-btn{background:#fff;border:2px solid #e5e7eb;padding:10px 20px;border-radius:24px;font-size:.9rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.category-btn:hover{border-color:maroon;color:maroon;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.category-btn.active{background:maroon;color:#fff;border-color:maroon}.category-count{background:#0000001a;padding:2px 8px;border-radius:12px;font-size:.8rem;font-weight:700}.category-btn.active .category-count{background:#fff3}.glossary-results{margin-bottom:40px}.results-count{font-size:.95rem;color:#6b7280;margin-bottom:20px;font-weight:500;text-align:center}.terms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.term-card{background:#fff;border:1px solid rgba(128,0,0,.18);border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;border-left:4px solid #800000}.term-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001f;border-color:maroon}.term-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px}.term-title{font-size:1.25rem;font-weight:700;color:#500707;margin:0;flex:1;line-height:1.3}.category-badge{font-size:.7rem;font-weight:600;padding:6px 12px;border-radius:16px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;flex-shrink:0}.category-badge.exercise{background:#dbeafe;color:#1e40af}.category-badge.nutrition{background:#dcfce7;color:#166534}.category-badge.wellness{background:#fce7f3;color:#9f1239}.category-badge.training{background:#fef3c7;color:#92400e}.category-badge.anatomy{background:#f3e8ff;color:#6b21a8}.term-definition{font-size:.95rem;line-height:1.7;color:#374151;margin:0}.no-results{text-align:center;padding:60px 20px;background:#f9fafb;border-radius:12px;border:2px dashed #d1d5db}.no-results-icon{font-size:4rem;margin-bottom:20px;opacity:.5}.no-results h3{font-size:1.5rem;font-weight:700;color:#374151;margin:0 0 8px}.no-results p{font-size:1rem;color:#6b7280;margin:0}@media (max-width: 768px){.glossary-hero h1{font-size:2rem}.glossary-hero p{font-size:1rem}.terms-grid{grid-template-columns:1fr}.category-filters{justify-content:flex-start}.category-btn{font-size:.85rem;padding:8px 16px}.term-header{flex-direction:column;align-items:flex-start;gap:10px}.category-badge{align-self:flex-start}}@media (max-width: 480px){.glossary-content{padding:0 12px}.glossary-hero{padding:32px 16px}.glossary-hero h1{font-size:1.75rem}.term-card{padding:20px}.term-title{font-size:1.1rem}.term-definition{font-size:.9rem}.category-filters{gap:8px}.category-btn{font-size:.8rem;padding:6px 12px}.category-count{padding:2px 6px;font-size:.75rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.term-card{animation:fadeIn .3s ease-out}/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.relative{position:relative}.static{position:static}.top-0{top:var(--spacing-0)}.top-3{top:var(--spacing-3)}.top-4{top:var(--spacing-4)}.right-3{right:var(--spacing-3)}.right-4{right:var(--spacing-4)}.bottom-0{bottom:var(--spacing-0)}.bottom-4{bottom:var(--spacing-4)}.left-0{left:var(--spacing-0)}.z-10{z-index:10}.z-\[150\]{z-index:150}.z-\[200\]{z-index:200}.container{width:100%}.mx-auto{margin-inline:auto}.mt-1{margin-top:var(--spacing-1)}.mt-2{margin-top:var(--spacing-2)}.mt-4{margin-top:var(--spacing-4)}.mr-1{margin-right:var(--spacing-1)}.mr-2{margin-right:var(--spacing-2)}.mr-4{margin-right:var(--spacing-4)}.mb-2{margin-bottom:var(--spacing-2)}.mb-3{margin-bottom:var(--spacing-3)}.mb-4{margin-bottom:var(--spacing-4)}.mb-6{margin-bottom:var(--spacing-6)}.mb-8{margin-bottom:var(--spacing-8)}.ml-1{margin-left:var(--spacing-1)}.ml-8{margin-left:var(--spacing-8)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-2{height:var(--spacing-2)}.h-3{height:var(--spacing-3)}.h-4{height:var(--spacing-4)}.h-5{height:var(--spacing-5)}.h-6{height:var(--spacing-6)}.h-8{height:var(--spacing-8)}.h-12{height:var(--spacing-12)}.h-full{height:100%}.max-h-\[80vh\]{max-height:80vh}.min-h-\[80px\]{min-height:80px}.min-h-\[90px\]{min-height:90px}.min-h-\[120px\]{min-height:120px}.w-1{width:var(--spacing-1)}.w-2{width:var(--spacing-2)}.w-3{width:var(--spacing-3)}.w-4{width:var(--spacing-4)}.w-5{width:var(--spacing-5)}.w-6{width:var(--spacing-6)}.w-8{width:var(--spacing-8)}.w-10{width:var(--spacing-10)}.w-12{width:var(--spacing-12)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing-1)}.gap-3{gap:var(--spacing-3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-1)*var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-2)*var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-3)*var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-4)*var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing-6)*var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing-6)*calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px;border-radius:var(--radius-full)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-r{border-top-right-radius:var(--radius);border-bottom-right-radius:var(--radius)}.rounded-r-sm{border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-\[\#e5e7eb\]{border-color:#e5e7eb}.bg-muted\/20{background-color:#f1f5f933}@supports (color:color-mix(in lab,red,red)){.bg-muted\/20{background-color:color-mix(in oklab,var(--color-muted)20%,transparent)}}.bg-muted\/30{background-color:#f1f5f94d}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--color-muted)30%,transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-8{padding:var(--spacing-8)}.px-2{padding-inline:var(--spacing-2)}.px-3{padding-inline:var(--spacing-3)}.px-4{padding-inline:var(--spacing-4)}.px-8{padding-inline:var(--spacing-8)}.py-1{padding-block:var(--spacing-1)}.py-2{padding-block:var(--spacing-2)}.py-3{padding-block:var(--spacing-3)}.py-6{padding-block:var(--spacing-6)}.pt-0{padding-top:var(--spacing-0)}.pt-3{padding-top:var(--spacing-3)}.pt-4{padding-top:var(--spacing-4)}.pl-3{padding-left:var(--spacing-3)}.text-center{text-align:center}.leading-none{--tw-leading:1;line-height:1}.whitespace-nowrap{white-space:nowrap}.text-emerald-600{color:var(--color-emerald-600)}.text-primary{color:var(--color-primary)}.italic{font-style:italic}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.placeholder\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-destructive-800:hover{background-color:var(--color-destructive-800)}.hover\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\:bg-primary\/90:hover{background-color:#800000e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f1f5f9cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary)80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--color-ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:scale-\[0\.98\]:active{scale:.98}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:var(--color-accent)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--color-muted-foreground)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:var(--spacing-4);height:var(--spacing-4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}:root,:host{--color-background:#fff;--color-card:#fff;--color-card-foreground:#0f172a;--color-primary:maroon;--color-primary-foreground:#f8fafc;--color-secondary:#f1f5f9;--color-secondary-foreground:#0f172a;--color-muted:#f1f5f9;--color-muted-foreground:#64748b;--color-accent:#f1f5f9;--color-accent-foreground:#0f172a;--color-destructive:maroon;--color-destructive-foreground:#f8fafc;--color-destructive-800:#7b1419;--color-input:#e2e8f0;--color-ring:maroon;--color-emerald-500:#6ccba8;--color-emerald-600:#28bf8b;--spacing-0:0px;--spacing-1:.25rem;--spacing-2:.5rem;--spacing-3:.75rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-8:2rem;--spacing-10:2.5rem;--spacing-12:3rem;--radius-sm:.125rem;--radius:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-full:9999px;--font-size-sm:.875rem;--font-size-lg:1.125rem;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}:root{--background:#fff;--foreground:#0f172a;--card:#fff;--card-foreground:#0f172a;--popover:#fff;--popover-foreground:#0f172a;--primary:maroon;--primary-foreground:#f8fafc;--secondary:#f1f5f9;--secondary-foreground:#0f172a;--muted:#f1f5f9;--muted-foreground:#64748b;--accent:#f1f5f9;--accent-foreground:#0f172a;--destructive:#c84343;--destructive-800:#7b1419;--destructive-foreground:#f8fafc;--border:#e2e8f0;--input:#e2e8f0;--ring:maroon;--emerald-500:#6ccba8;--emerald-600:#28bf8b;--radius:.5rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes zoom-in-95{0%{transform:scale(.95)}to{transform:scale(1)}}@keyframes zoom-out-95{0%{transform:scale(1)}to{transform:scale(.95)}}@keyframes slide-in-from-left-1\/2{0%{transform:translate(-50%)translate(-50%)}to{transform:translate(-50%)}}@keyframes slide-in-from-top-48{0%{transform:translateY(-50%)translateY(-48%)}to{transform:translateY(-50%)}}@keyframes slide-out-to-left-1\/2{0%{transform:translate(-50%)}to{transform:translate(-50%)translate(-50%)}}@keyframes slide-out-to-top-48{0%{transform:translateY(-50%)}to{transform:translateY(-50%)translateY(-48%)}}*{box-sizing:border-box;margin:0;padding:0}html,body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100%;color:var(--foreground);background-color:var(--background);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5}#root{height:100%}button,input,textarea,select{font-family:inherit;font-size:inherit;line-height:inherit}a{color:inherit;text-decoration:none}:focus{outline:2px solid var(--ring);outline-offset:2px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded{border-radius:var(--radius)!important}.p-6{padding:var(--spacing-6)!important}.p-4{padding:var(--spacing-4)!important}.p-3{padding:var(--spacing-3)!important}.p-2{padding:var(--spacing-2)!important}.px-3{padding-left:var(--spacing-3)!important;padding-right:var(--spacing-3)!important}.py-2{padding-top:var(--spacing-2)!important;padding-bottom:var(--spacing-2)!important}.px-4{padding-left:var(--spacing-4)!important;padding-right:var(--spacing-4)!important}.gap-4{gap:var(--spacing-4)!important}.gap-2{gap:var(--spacing-2)!important}.space-y-1\.5>*+*{margin-top:var(--spacing-1)!important}.h-10{height:2.5rem!important}.text-sm{font-size:var(--font-size-sm)!important}.text-lg{font-size:var(--font-size-lg)!important}.shadow-sm{box-shadow:var(--shadow-sm)!important}.shadow-lg{box-shadow:var(--shadow-lg)!important}.border{border-style:solid!important;border-width:1px!important}.bg-background{background-color:var(--background)!important}.bg-primary{background-color:var(--primary)!important}.bg-secondary{background-color:var(--secondary)!important}.bg-destructive{background-color:var(--destructive)!important}.bg-card{background-color:var(--card)!important}.bg-emerald-500{background-color:var(--emerald-500)!important}.bg-emerald-600{background-color:var(--emerald-600)!important}.bg-destructive-800,.hover\:bg-destructive-800:hover{background-color:var(--destructive-800)!important}.hover\:bg-accent:hover{background-color:var(--accent)!important}.hover\:bg-emerald-600:hover{background-color:var(--emerald-600)!important}.text-primary-foreground{color:var(--primary-foreground)!important}.text-secondary-foreground{color:var(--secondary-foreground)!important}.text-destructive-foreground{color:var(--destructive-foreground)!important}.text-card-foreground{color:var(--card-foreground)!important}.text-muted-foreground{color:var(--muted-foreground)!important}.border-input{border-color:var(--input)!important}.border-border{border-color:var(--border)!important}.focus-visible\:ring-2:focus-visible{outline:2px solid var(--ring)!important;outline-offset:2px!important}.focus-visible\:ring-ring:focus-visible{outline-color:var(--ring)!important}.focus-visible\:ring-offset-2:focus-visible{outline-offset:2px!important}.fixed{position:fixed!important}.inset-0{inset:0!important}.z-50{z-index:50!important}.bg-black\/80{background-color:#000c!important}.bg-black\/50{background-color:#00000080!important}.left-\[50\%\]{left:50%!important}.top-\[50\%\]{top:50%!important}.translate-x-\[-50\%\]{transform:translate(-50%)!important}.translate-y-\[-50\%\]{transform:translateY(0)!important}.grid{display:grid!important}.w-full{width:100%!important}.max-w-lg{max-width:32rem!important}.animate-spin{animation:1s linear infinite spin}.animate-slide-up{animation:.3s ease-out slide-up}@keyframes slide-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}[data-radix-dialog-overlay]{-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important;background-color:#000000bf!important;animation:.2s ease-out fade-in!important}[data-radix-dialog-content]{background-color:var(--background)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;animation:.2s ease-out zoom-in-95!important;box-shadow:0 25px 50px -12px #00000040!important}.goal-dialog,.progress-dialog{background-color:var(--background)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;box-shadow:0 25px 50px -12px #00000040!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.challenge-page-loading,.challenge-page-error{display:flex;justify-content:center;align-items:center;height:100%;font-size:1.2rem}.challenge-page-content{padding:2rem;max-width:1200px;margin:0 auto}.section-header{margin-bottom:2rem;width:100%;align-content:center}.header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;width:100%}.page-title{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem;background:linear-gradient(135deg,#500707,maroon);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-subtitle{font-size:1.1rem;color:#6b7280;margin:0}.add-challenge-btn{background:linear-gradient(135deg,#500707,maroon);border:none;color:#fff;font-weight:600;padding:.75rem 1.5rem;border-radius:8px;transition:all .2s;box-shadow:0 4px 6px -1px #8000001a;margin-left:auto;flex-shrink:0;align-self:flex-start}.add-challenge-btn:hover{background:linear-gradient(135deg,#600808,#900000);transform:translateY(-1px);box-shadow:0 8px 15px -3px #80000033}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.form-actions-left,.form-actions-right{display:flex;gap:1rem}.challenges-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.challenge-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;transition:all .2s;overflow:hidden;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;height:auto;padding:1.5rem}.challenge-card.no-description.no-progress .challenge-card-content{justify-content:space-between;padding-top:0;padding-bottom:0}.challenge-card:hover{border-color:#d1d5db;box-shadow:0 10px 25px -3px #0000001a}.challenge-card-header{margin:0 0 1rem;flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start}.challenge-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;width:100%;margin-bottom:.5rem}.challenge-title{font-size:1.4rem;font-weight:700;color:#1f2937;margin:0;line-height:1.3}.challenge-status-badge{padding:.375rem .875rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;flex-shrink:0}.challenge-status-badge.active{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.challenge-status-badge.completed{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #3b82f6}.challenge-status-badge.upcoming{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b}.challenge-status-badge.inactive{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444}.challenge-meta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;width:100%}.coach-badge{font-size:.75rem;color:#6b7280;font-weight:500;background:#f3f4f6;padding:.25rem .5rem;border-radius:12px}.participant-count{font-size:.75rem;color:#6b7280;font-weight:500;display:flex;align-items:center;gap:.25rem;background:#f3f4f6;padding:.25rem .5rem;border-radius:12px}.difficulty-badge{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:12px;text-transform:capitalize}.difficulty-badge.difficulty-beginner{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.difficulty-badge.difficulty-intermediate{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b}.difficulty-badge.difficulty-advanced{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444}.challenge-description{line-height:1.5;margin-bottom:1rem}.challenge-progress{margin-bottom:1.5rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.progress-label{font-size:.875rem;font-weight:600;color:#374151}.progress-percentage{font-size:.875rem;font-weight:700;color:#500707}.progress-bar{width:100%;height:10px;background-color:#f3f4f6;border-radius:6px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#500707,maroon);transition:width .4s ease-in-out;border-radius:6px}.progress-text{font-size:.875rem;color:#6b7280;text-align:center;font-weight:500}.challenge-card-actions{display:flex;flex-direction:column;gap:1rem;margin-top:auto;min-height:2.5rem}.challenge-card.minimal-actions .challenge-card-actions{gap:.5rem;justify-content:center;margin-top:.5rem}.progress-update{display:flex;flex-direction:column;gap:.5rem}.update-label{font-size:.875rem;font-weight:600;color:#374151}.update-controls{display:flex;gap:.75rem;align-items:center}.progress-input{flex:1;min-width:0}.action-buttons{display:flex;justify-content:flex-end;gap:.75rem}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;border:2px dashed #d1d5db}.empty-state h3{color:#374151;margin-bottom:.5rem}.empty-state p{color:#6b7280;margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.challenge-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #f3f4f6;overflow-x:visible;border-bottom:4px solid #800000}.challenge-tab{background:none;border:none;padding:.75rem 1rem;border-radius:8px 8px 0 0;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease;white-space:nowrap;display:flex;align-items:center;gap:.5rem;position:relative}.challenge-tab:hover{background:#f9fafb;color:#374151}.challenge-tab.active{background:maroon;color:#fff;font-weight:600}.challenge-tab.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:maroon}.challenge-count{font-size:.75rem;background:#fff3;padding:.125rem .375rem;border-radius:10px;font-weight:500}.challenge-tab:not(.active) .challenge-count{background:#e5e7eb;color:#6b7280}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;transition:all .2s}.stat-card:hover{border-color:#500707;box-shadow:0 4px 12px #5007071a}.stat-card-header{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:1rem 1.5rem .5rem}.stat-title{font-size:1rem;font-weight:600;color:#6b7280;margin:0}.stat-icon{width:1.25rem;height:1.25rem;color:#500707}.stat-content{padding:0}.stat-value{font-size:2rem;font-weight:700;color:#500707}.challenge-dialog{max-width:600px;width:90vw;max-height:90vh;overflow-y:auto}.challenge-form{padding:0;margin:.5rem;gap:1rem}.progress-dialog{max-width:400px;width:90vw}.detail-modal{max-width:1400px!important;width:60vw!important;max-height:85vh!important;overflow-y:auto}[role=dialog] .detail-modal,div[data-state=open] .detail-modal,.detail-modal[data-state=open]{max-width:1400px!important;width:60vw!important}.challenge-card-content{display:flex;flex-direction:column;gap:1rem;flex:1;padding-top:0}.challenge-card.no-description .challenge-card-content,.challenge-card.minimal-actions .challenge-card-content{gap:.75rem}.challenge-card.no-description .challenge-dates{margin-top:.5rem;margin-bottom:.5rem}.challenge-dates{display:flex;gap:1rem;flex-wrap:wrap}.date-item{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:#6b7280}.date-icon{width:.75rem;height:.75rem;color:#500707}.unit-suggestion{font-size:.75rem;color:#6b7280;margin-top:.25rem}.challenge-highlighted{animation:challenge-highlight 2s ease-in-out}@keyframes challenge-highlight{0%{box-shadow:0 0 #800000b3;transform:scale(1)}50%{box-shadow:0 0 30px 10px #80000066;transform:scale(1.02)}to{box-shadow:0 0 #80000000;transform:scale(1)}}.progress-form{padding:1rem 0}.progress-info{font-size:.875rem;color:#6b7280;margin-top:.5rem}.progress-info p{margin:.25rem 0}.progress-info .new-progress{font-weight:600;color:#500707}.leaderboard{margin-top:1rem}.leaderboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.leaderboard-title{font-size:1.25rem;font-weight:600;color:#1f2937}.ranking-criteria{display:flex;gap:.5rem}.criteria-button{padding:.25rem .75rem;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.75rem;cursor:pointer;transition:all .2s}.criteria-button.active{background:#500707;color:#fff;border-color:#500707}.leaderboard-list{display:flex;flex-direction:column;gap:.5rem}.leaderboard-entry{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.leaderboard-entry.current-user{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.entry-rank{font-weight:700;color:#500707;min-width:2rem}.entry-user{flex:1;font-weight:500;color:#1f2937}.entry-progress{font-size:.875rem;color:#6b7280}.challenge-detail-title{display:flex;align-items:center;gap:.75rem;font-size:1.5rem;font-weight:700;color:#1f2937}.challenge-detail-content{display:flex;flex-direction:row;gap:3rem;max-height:70vh;overflow-y:auto}.challenge-info-column{flex:1;display:flex;flex-direction:column;gap:1.5rem;min-width:350px;max-width:50%}.leaderboard-column{flex:1;display:flex;flex-direction:column;gap:1rem;min-width:400px;max-width:50%;overflow:hidden}.challenge-info-section{display:flex;flex-direction:column;gap:1.5rem}.challenge-description{font-size:1rem;line-height:1.6;color:#4b5563;margin-bottom:1rem}.challenge-meta-grid{display:grid;grid-template-columns:1fr;gap:1rem}.meta-item{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.meta-icon{width:1.25rem;height:1.25rem;color:#500707;flex-shrink:0}.meta-label{display:block;font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.meta-value{display:block;font-size:.875rem;font-weight:500;color:#1f2937}.user-progress-section{padding:1.5rem;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:12px;border:1px solid #f59e0b}.section-title{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.progress-display{display:flex;flex-direction:column;gap:1rem}.progress-stats{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.progress-current{font-size:1.25rem;font-weight:700;color:#1f2937}.progress-percentage{font-size:1.125rem;font-weight:600;color:#500707}.user-rank{font-size:1rem;font-weight:600;color:#f59e0b;background:#fffc;padding:.25rem .75rem;border-radius:20px}.leaderboard-section{display:flex;flex-direction:column;gap:1rem}.leaderboard-column .leaderboard-list{max-height:50vh;overflow-y:auto;overflow-x:hidden;width:100%}.leaderboard-header{margin-bottom:1rem}.leaderboard-loading,.leaderboard-empty{text-align:center;padding:2rem;color:#6b7280}.leaderboard-empty{display:flex;flex-direction:column;align-items:center}.leaderboard-list{display:flex;flex-direction:column;gap:0;max-height:300px;overflow-y:auto}.leaderboard-entry{display:flex;align-items:center;padding:.75rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s;margin-bottom:.5rem;width:100%;box-sizing:border-box}.leaderboard-entry:hover{background:#f3f4f6;border-color:#d1d5db}.leaderboard-entry.current-user{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a}.entry-rank{display:flex;align-items:center;font-weight:700;color:#500707;min-width:2.5rem;font-size:1.1rem;flex-shrink:0}.entry-user{flex:1;font-weight:500;color:#1f2937;display:flex;align-items:center;gap:.5rem;font-size:.95rem;margin:0 .75rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.you-badge{background:#3b82f6;color:#fff;font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:12px}.entry-progress{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;min-width:6.5rem;flex-shrink:0}.progress-value{font-weight:600;color:#1f2937;font-size:.875rem}.progress-percent{font-size:.75rem;color:#6b7280;font-weight:500}@media (max-width: 768px){.challenge-page-content{padding:1rem}.header-content{flex-direction:column;align-items:stretch;gap:1rem}.page-title{font-size:2rem}.form-grid,.challenges-grid{grid-template-columns:1fr}.challenge-title-section,.challenge-meta{flex-direction:column;align-items:flex-start;gap:.5rem}.update-controls{flex-direction:column;align-items:stretch}.action-buttons{justify-content:stretch}.action-buttons button{flex:1}.stats-grid{grid-template-columns:1fr}.challenge-dates{flex-direction:column;gap:.5rem}.challenge-dialog,.detail-modal{width:95vw;max-height:85vh}.challenge-detail-content{flex-direction:column}.challenge-info-column,.leaderboard-column{flex:none}.leaderboard-column .leaderboard-list{max-height:40vh}.challenge-card-header{min-height:auto}.ranking-criteria{flex-wrap:wrap}.challenge-meta-grid{grid-template-columns:1fr}.progress-stats{flex-direction:column;align-items:center;text-align:center}.entry-progress{align-items:center}}.chat-page-content{margin:0 auto;padding:0;display:flex;flex-direction:column;height:calc(100vh - 90px);max-height:calc(100vh - 90px)}.chat-page-loading{display:flex;justify-content:center;align-items:center;height:50vh;font-size:1.1rem;color:#666}.section-header{margin-bottom:2rem}.header-content{display:flex;justify-content:space-between;align-items:center}.page-title{font-size:2rem;font-weight:700;color:#1a1a1a;margin:0 0 .5rem}.page-subtitle{font-size:.95rem;color:#666;margin:0}.chat-toggle{display:flex;gap:.5rem;margin-bottom:2rem;justify-content:center}.toggle-btn{min-width:150px;transition:all .3s ease}.toggle-btn.ai-active{background:linear-gradient(135deg,#667eea,#764ba2)!important;border:none!important;box-shadow:0 4px 15px #667eea66!important;color:#fff!important}.chat-container{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.chat-layout{display:grid;grid-template-columns:350px 1fr;gap:1.5rem;flex:1;min-height:0}.chat-sidebar{height:100%;min-height:0;overflow:hidden}.chat-list-card{height:100%;display:flex;flex-direction:column}.chat-list-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;flex-shrink:0;position:relative}.chat-list-title-section{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.chat-list-title{font-size:1.1rem;font-weight:600;margin:0}.add-chat-btn{width:36px;height:36px;padding:0;border-radius:50%}.add-chat-btn.ai-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;box-shadow:0 4px 15px #667eea66;transition:all .3s ease;position:relative;overflow:hidden}.add-chat-btn.ai-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.add-chat-btn.ai-btn:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.add-chat-btn.ai-btn:hover:before{left:100%}.chat-list-content{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column;position:relative}.user-selection-popup{position:absolute;inset:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:50;display:flex;flex-direction:column;margin:.5rem}.user-selection-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.user-selection-title{font-size:1.1rem;font-weight:600;margin:0}.user-list{flex:1;overflow-y:auto;padding:.25rem;max-height:200px}.user-list-loading,.user-list-empty{display:flex;justify-content:center;align-items:center;height:200px;color:#666}.user-item{display:flex;align-items:center;padding:.5rem .75rem;border-radius:6px;cursor:pointer;transition:background-color .2s}.user-item:hover{background-color:#f3f4f6}.user-avatar{width:32px;height:32px;border-radius:50%;background-color:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;color:#374151;margin-right:.75rem;flex-shrink:0;font-size:.875rem}.user-name{font-weight:500}.chat-list{flex:1;overflow-y:auto}.chat-list-loading,.chat-list-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;height:300px;color:#666;text-align:center}.chat-item{display:flex;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background-color .2s}.chat-item:hover{background-color:#f9fafb}.chat-item.active{background-color:#eff6ff;border-right:3px solid #3b82f6}.chat-item.ai-chat-item.active{background-color:#ecfdf5;border-right:3px solid #10b981}.chat-item-avatar{width:48px;height:48px;border-radius:50%;background-color:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;color:#374151;margin-right:1rem;flex-shrink:0}.chat-item-avatar.ai-avatar{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#667eea;border:2px solid #667eea;animation:ai-pulse 2s ease-in-out infinite}@keyframes ai-pulse{0%,to{box-shadow:0 0 #667eea66}50%{box-shadow:0 0 0 8px #667eea00}}.chat-item-content{flex:1;min-width:0}.chat-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.chat-item-name{font-weight:600;font-size:.875rem;margin:0;color:#1f2937}.chat-item-time{font-size:.7rem;color:#6b7280;flex-shrink:0}.chat-item-message{display:flex;justify-content:space-between;align-items:center}.chat-item-last-message{font-size:.8rem;color:#6b7280;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.chat-item-unread-badge{background-color:#ef4444;color:#fff;font-size:.75rem;padding:.125rem .5rem;border-radius:12px;font-weight:600;flex-shrink:0;margin-left:.5rem}.chat-main{height:100%;min-height:0;overflow:hidden}.chat-main-card{height:100%;display:flex;flex-direction:column;overflow:hidden}.chat-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.chat-header-content{display:flex;align-items:center}.chat-header-avatar{width:48px;height:48px;border-radius:50%;background-color:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;color:#374151;margin-right:1rem;flex-shrink:0}.chat-header-avatar.ai-avatar{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#667eea;border:2px solid #667eea;animation:ai-pulse 2s ease-in-out infinite}.chat-header-name{font-size:1.1rem;font-weight:600;margin:0 0 .25rem;color:#1f2937}.chat-header-status{display:flex;align-items:center;font-size:.8rem;color:#6b7280}.status-indicator{width:8px;height:8px;border-radius:50%;margin-right:.5rem}.status-indicator.online{background-color:#10b981}.status-indicator.offline{background-color:#6b7280}.chat-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;min-height:0}.chat-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;color:#6b7280;text-align:center}.message{margin-bottom:1rem;display:flex}.message.sent{justify-content:flex-end}.message.received{justify-content:flex-start}.message-content{max-width:70%;padding:.75rem 1rem;border-radius:18px;position:relative}.message.sent .message-content{background-color:maroon;color:#fff;border-bottom-right-radius:4px}.message.received .message-content{background-color:#f3f4f6;color:#1f2937;border-bottom-left-radius:4px}.message.received.ai-message .message-content{background-color:#ecfdf5;border:1px solid #d1fae5}.message-text{font-size:.875rem;line-height:1.4;word-wrap:break-word}.message-text .challenge-link{color:#3b82f6;text-decoration:underline;font-weight:600;transition:all .2s ease;cursor:pointer;display:inline-flex;align-items:center;gap:.25rem}.message-text .challenge-link:hover{color:#2563eb;text-decoration:none;transform:translateY(-1px)}.message.sent .message-text .challenge-link{color:#fbbf24;text-decoration:underline}.message.sent .message-text .challenge-link:hover{color:#f59e0b}.message-time{font-size:.7rem;margin-top:.25rem;opacity:.7;display:flex;align-items:center;justify-content:flex-end}.message.received .message-time{justify-content:flex-start}.message-status{margin-left:.25rem}.ai-typing{padding:.5rem 0}.typing-indicator{display:flex;align-items:center;gap:.25rem}.typing-indicator span{width:8px;height:8px;border-radius:50%;background-color:#10b981;animation:typing 1.4s infinite ease-in-out}.typing-indicator span:nth-child(1){animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}@keyframes typing{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-input-container{padding:1.5rem;border-top:1px solid #e5e7eb;flex-shrink:0}.chat-input-form{display:flex;gap:.75rem;align-items:center}.challenge-picker-btn{width:44px;height:44px;padding:0;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#f59e0b,#d97706);border:none;color:#fff;box-shadow:0 4px 15px #f59e0b4d;transition:all .3s ease}.challenge-picker-btn:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b80}.challenge-picker-btn:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);box-shadow:none;transform:none;cursor:not-allowed}.challenge-picker-btn.ai-btn{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d}.challenge-picker-btn.ai-btn:hover:not(:disabled){background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:0 6px 20px #667eea80}.chat-input{flex:1;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:24px;font-size:.875rem;outline:none;transition:border-color .2s}.chat-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.chat-input:disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.chat-send-btn{width:44px;height:44px;padding:0;border-radius:50%;flex-shrink:0}.chat-send-btn.ai-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;box-shadow:0 4px 15px #667eea66;transition:all .3s ease;position:relative;overflow:hidden}.chat-send-btn.ai-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.chat-send-btn.ai-btn:hover:not(:disabled){background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.chat-send-btn.ai-btn:hover:not(:disabled):before{left:100%}.chat-send-btn.ai-btn:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);box-shadow:none;transform:none}.chat-empty-state{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;color:#6b7280;text-align:center}.chat-empty-state .ai-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;box-shadow:0 4px 15px #667eea66;transition:all .3s ease;position:relative;overflow:hidden}.chat-empty-state .ai-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.chat-empty-state .ai-btn:hover{background:linear-gradient(135deg,#5a67d8,#6b46c1);transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.chat-empty-state .ai-btn:hover:before{left:100%}.connection-error{margin-top:1rem;padding:1rem;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;text-align:center}.challenge-picker-dialog{max-width:700px;width:90vw;max-height:85vh;overflow:hidden;display:flex;flex-direction:column}.challenge-picker-title{display:flex;align-items:center;gap:.75rem;font-size:1.5rem;font-weight:700;color:#1f2937}.challenge-search{position:relative;margin-bottom:1rem}.challenge-search .search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:1.25rem;height:1.25rem;color:#6b7280;pointer-events:none}.challenge-search .search-input{width:100%;padding:.75rem 1rem .75rem 3rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;outline:none;transition:border-color .2s;background-color:#fff;color:#1f2937}.challenge-search .search-input::placeholder{color:#9ca3af}.challenge-search .search-input:focus{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.challenge-picker-list{display:flex;flex-direction:column;gap:1rem;max-height:60vh;overflow-y:auto;padding:.5rem}.picker-loading,.picker-empty{display:flex;justify-content:center;align-items:center;padding:3rem;color:#6b7280;text-align:center}.picker-challenge-item{padding:1.25rem;border:2px solid #e5e7eb;border-radius:12px;background:#fff;cursor:pointer;transition:all .2s ease}.picker-challenge-item:hover{border-color:#f59e0b;box-shadow:0 4px 12px #f59e0b26;transform:translateY(-2px)}.picker-challenge-header{margin-bottom:.75rem}.picker-challenge-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem}.picker-challenge-title{font-size:1.125rem;font-weight:700;color:#1f2937;margin:0;line-height:1.3}.picker-status-badge{padding:.25rem .75rem;border-radius:16px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;flex-shrink:0}.picker-status-badge.active{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.picker-status-badge.upcoming{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b}.picker-status-badge.inactive{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444}.picker-challenge-type{font-size:.875rem;color:#6b7280;font-weight:500;display:flex;align-items:center;gap:.25rem;margin:0}.picker-challenge-description{font-size:.875rem;color:#4b5563;line-height:1.5;margin-bottom:.75rem}.picker-challenge-meta{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:.75rem}.picker-meta-item{font-size:.75rem;color:#6b7280;display:flex;align-items:center;gap:.25rem;background:#f3f4f6;padding:.25rem .5rem;border-radius:12px}.picker-difficulty{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:12px;text-transform:capitalize}.picker-difficulty.beginner{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #10b981}.picker-difficulty.intermediate{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b}.picker-difficulty.advanced{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #ef4444}@media (max-width: 1024px){.chat-layout{grid-template-columns:300px 1fr}}@media (max-width: 768px){.chat-container{height:calc(100vh - 200px)}.chat-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.chat-sidebar{height:300px}.page-title{font-size:2rem}.header-content{flex-direction:column;align-items:flex-start;gap:1rem}.chat-toggle{justify-content:flex-start}.toggle-btn{min-width:120px}}@media (max-width: 480px){.chat-page-content{padding:0 .5rem}.chat-container{height:calc(100vh - 180px)}.page-title{font-size:1.75rem}.page-subtitle{font-size:1rem}.chat-layout{gap:1rem}.chat-sidebar{height:250px;max-height:250px}.chat-main{max-height:calc(100vh - 320px)}.chat-list-header,.chat-header,.chat-input-container{padding:1rem}.chat-messages{padding:1rem;max-height:calc(100vh - 350px)}.chat-item{padding:.75rem 1rem}.message-content{max-width:85%}.user-selection-popup{margin:.25rem}.challenge-picker-dialog{width:95vw;max-height:90vh}.picker-challenge-title-section,.picker-challenge-meta{flex-direction:column;align-items:flex-start}.challenge-picker-btn,.chat-send-btn{width:40px;height:40px}}.chat-report-button{background-color:var(--sidebar-bg-color, #1e293b);color:#fff;border:1px solid var(--sidebar-border-color, #334155);padding:8px 16px;border-radius:6px;font-size:.9em;transition:all .2s ease;cursor:pointer}.chat-report-button:hover{background-color:var(--sidebar-hover-color, #374151);color:#d32f2f;transform:translateY(-1px)}.chat-header-report-button{margin-left:auto;background-color:var(--sidebar-bg-color, #1e293b);color:#fff;border:1px solid var(--sidebar-border-color, #334155);padding:6px 12px;border-radius:4px;font-size:.8em;transition:all .2s ease;cursor:pointer}.chat-header-report-button:hover{background-color:var(--sidebar-hover-color, #374151);color:#d32f2f}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%}.header-text{flex:1}.chat-header-content{display:flex;align-items:center;gap:12px;width:100%}.chat-header-info{flex:1}.section-header{margin-bottom:20px}
