.discussion-thread{display:flex;align-items:flex-start;gap:1rem;width:100%}.discussion-avatar{flex-shrink:0;display:flex;align-items:center;justify-content:center}.discussion-content{flex:1;min-width:0;display:flex;flex-direction:column}.discussion-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.discussion-title{flex:1;margin:0;line-height:1.4}.discussion-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.875rem;color:#6b7280}.discussion-content-text{margin-bottom:1rem;line-height:1.6}.discussion-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.discussion-stats{justify-content:space-between;flex-wrap:wrap}.discussion-actions,.discussion-stats{display:flex;align-items:center;gap:1rem}.thread-post{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border-radius:.5rem;background-color:white;border:1px solid #e5e7eb;margin-bottom:1rem}.thread-post.solution{border:2px solid #bbf7d0;background-color:#f0fdf4}.post-avatar{flex-shrink:0}.post-content{flex:1;min-width:0}.post-header{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem}.post-author{font-weight:500;color:#111827}.post-date{color:#6b7280;font-size:.875rem}.post-badge{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500}.post-badge.solution{background-color:#dcfce7;color:#166534}.post-badge.instructor{background-color:#dbeafe;color:#1e40af}.post-badge.pinned{background-color:#fef3c7;color:#92400e}.post-badge.closed{background-color:#fee2e2;color:#991b1b}.post-badge.mentions{background-color:#dbeafe;color:#1e40af}.reply-form{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background-color:white;border:1px solid #e5e7eb;border-radius:.5rem;margin-top:1rem}.reply-input{flex:1;min-height:80px;padding:.75rem;border:1px solid #d1d5db;border-radius:.375rem;resize:vertical}.reply-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#2563eb;color:white;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.reply-button:hover:not(:disabled){background-color:#1d4ed8}.reply-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:640px){.discussion-thread{gap:.75rem}.reply-form,.thread-post{gap:.75rem;padding:.75rem}.discussion-stats{flex-direction:column;align-items:flex-start;gap:.5rem}}.discussion-loading{display:flex;align-items:center;justify-content:center;padding:2rem}.discussion-loading-spinner{width:2rem;height:2rem;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.discussion-empty{text-align:center;padding:2rem;color:#6b7280}.discussion-empty-icon{width:3rem;height:3rem;margin:0 auto 1rem;color:#d1d5db}.thread-post:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.reply-input:focus{border-color:#2563eb}.reply-button:focus,.reply-input:focus{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.1)}