.document-view{box-shadow:none;background-color:#fff;max-width:800px;margin:0 auto;padding:0}.document-header{border-bottom:1px solid #f0f1f5;margin-bottom:0;padding:.75rem 1.5rem}.document-note-form-container{border-bottom:1px solid #f0f1f5;margin-bottom:.5rem;padding:1rem 0}.document-note-form-container .note-form-layout{padding:0;display:flex}.document-note-form{width:100%;margin:0}.document-note-input{border:1px solid var(--border-color,#e0e0e0);resize:vertical;border-radius:8px;width:100%;min-height:100px;padding:1rem;font-family:inherit;font-size:1rem;line-height:1.5;transition:border-color .2s,box-shadow .2s;box-shadow:0 1px 3px #0000000d}.document-note-input:focus{border-color:var(--primary-color,#4f46e5);box-shadow:0 0 0 3px var(--primary-color-lighter,#4f46e533);outline:none}.document-post-button{background-color:var(--primary-color,#4f46e5);color:#fff;cursor:pointer;border:none;border-radius:20px;padding:.5rem 1.25rem;font-size:.9rem;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #4f46e540}.document-post-button:hover{background-color:var(--primary-color-dark,#4338ca);box-shadow:0 2px 8px #4f46e540}.document-post-button:active{box-shadow:0 1px 4px #4f46e54d}.document-post-button:disabled{background-color:var(--disabled-color,#a0a0a0);cursor:not-allowed;box-shadow:none;opacity:.7}.document-title-container{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.topic-follow-button{cursor:pointer;color:#9ca3af;background-color:#0000;border:none;border-radius:40px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.topic-follow-button:hover{color:#f59e0b;background-color:#fbd350ac}.topic-follow-button.active{color:#f59e0b}.topic-follow-button.active svg{fill:#f59e0b}.topic-settings-button{cursor:pointer;color:#9ca3af;background-color:#0000;border:none;border-radius:4px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.topic-settings-button:hover{color:#3b82f6;background-color:#f3f4f6}.document-icon{color:#4b5563;align-items:center;display:flex}.document-title{color:#454b58;margin-bottom:0;font-size:1.3rem;font-weight:600}.document-meta{color:#6b7280;font-size:.875rem}.document-description{margin-top:0;font-style:italic}.document-entries{flex-direction:column;margin-top:0;display:flex}.document-note-container{cursor:pointer;background-color:#fff;border-bottom:1px solid #f0f1f5;border-radius:0;transition:all .2s;position:relative;overflow:hidden}.document-note-container:hover{background-color:#00000005}.document-wrapper{width:100%}.document-view .document-note-container .minimal-style{box-sizing:border-box;width:calc(100% - 3rem);margin:.5rem 1rem}.document-content{padding:.5rem 0}.document-text{color:#1f2937;white-space:pre-wrap;cursor:text;margin-bottom:1rem;font-size:1.1rem;line-height:1.7}.document-note-footer{color:#6b7280;justify-content:space-between;align-items:center;padding:.5rem 0;font-size:.75rem;display:flex}.document-note-meta{align-items:center;gap:.75rem;display:flex}.document-author{align-items:center;gap:.25rem;display:flex}.document-author-avatar{background-color:#e5e7eb;border-radius:50%;width:18px;height:18px;overflow:hidden}.document-author-avatar img{object-fit:cover;width:100%;height:100%}.avatar-placeholder{color:#fff;background-color:#3b82f6;justify-content:center;align-items:center;width:100%;height:100%;font-size:10px;font-weight:700;display:flex}.document-date{color:#9ca3af}.document-actions-wrapper{justify-content:flex-start;align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.document-actions-buttons{gap:.5rem;display:flex}.document-edit-button,.document-like-button{color:#4b5563;cursor:pointer;background-color:#0000;border:none;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;transition:all .2s}.document-edit-button:hover,.document-like-button:hover{color:#111827;background-color:#e5e7eb}.document-position-controls{opacity:0;z-index:5;gap:.25rem;transition:opacity .2s;display:flex;position:absolute;top:.5rem;right:.5rem}.document-note-container:hover .document-position-controls{opacity:1}.move-up-button,.move-down-button{color:#4b5563;vertical-align:middle;cursor:pointer;background-color:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.move-up-button:hover,.move-down-button:hover{color:#111827;background-color:#e5e7eb}.move-up-button:disabled,.move-down-button:disabled{opacity:.5;cursor:not-allowed}.empty-document{text-align:center;color:#6b7280;background-color:#f9fafb;border:1px dashed #d1d5db;border-radius:8px;margin:4rem 1rem 1.5rem;padding:2rem 1rem}.empty-document p{margin:.5rem 0}.empty-document .empty-state-note-form{background-color:#fff;border-radius:8px;max-width:600px;margin-top:1.5rem;margin-left:auto;margin-right:auto;padding:1rem;box-shadow:0 2px 4px #0000000d}.document-actions{justify-content:center;margin-top:2rem;display:flex}.load-more-button{color:#4b5563;cursor:pointer;background-color:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:all .2s}.load-more-button:hover{background-color:#e5e7eb}.load-more-button:disabled{opacity:.5;cursor:not-allowed}.document-text[role=button]{cursor:pointer}.document-edit-hint{color:#fff;opacity:0;pointer-events:none;z-index:10;background-color:#0009;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:opacity .2s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.document-note-container:hover .document-edit-hint{opacity:1}.archive-confirm-overlay{z-index:1050;background-color:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.archive-confirm-dialog{background-color:#fff;border-radius:8px;width:90%;max-width:450px;padding:1.5rem;box-shadow:0 4px 12px #00000026}.archive-confirm-dialog h3{color:#1f2937;margin-top:0;font-size:1.25rem}.archive-confirm-dialog p{color:#4b5563;margin-bottom:1.5rem}.archive-confirm-buttons{justify-content:flex-end;gap:.75rem;display:flex}.archive-confirm-buttons .cancel-button{color:#4b5563;cursor:pointer;background-color:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:all .2s}.archive-confirm-buttons .cancel-button:hover{background-color:#e5e7eb}.archive-confirm-buttons .confirm-button{color:#fff;cursor:pointer;background-color:#ef4444;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:all .2s}.archive-confirm-buttons .confirm-button:hover{background-color:#dc2626}
