.prose img,.html-content img{object-fit:contain;border-radius:4px;max-width:100%;height:auto;margin:.5rem auto;box-shadow:0 1px 3px #0000001a;visibility:visible!important;opacity:1!important;display:block!important}.card-grid-view .content-card img,.card-grid-view .line-clamp-2 img,.card-grid-view .line-clamp-3 img,.card-grid-view .line-clamp-1 img{object-fit:contain;margin:.25rem auto;visibility:visible!important;opacity:1!important;width:auto!important;max-width:50px!important;height:auto!important;max-height:10px!important;display:block!important}.card-grid-view .space-y-2{max-height:100%;overflow:hidden}.card-table-view td img,.card-table-view .line-clamp-1 img,.card-table-view .line-clamp-2 img{object-fit:contain;vertical-align:middle;margin:0 .25rem 0 0;visibility:visible!important;opacity:1!important;width:auto!important;max-width:80px!important;height:auto!important;max-height:40px!important;display:inline-block!important}.card-mobile-view .content-card img{object-fit:contain;margin:.25rem 0;width:auto!important;max-width:100px!important;height:auto!important;max-height:60px!important;display:block!important}.card-preview-modal img,.card-preview-modal .prose img,.card-preview-modal .html-content img{object-fit:contain;margin:.75rem auto;width:auto!important;max-width:90%!important;height:auto!important;max-height:200px!important}.study-card img,.study-card .prose img,.study-card .html-content img{object-fit:contain;cursor:pointer;margin:1rem auto;width:auto!important;max-width:80%!important;height:auto!important;max-height:250px!important}.expandable-image-container{max-width:100%;display:inline-block;position:relative}.expandable-image-container img{max-width:100%;height:auto;display:block}.card-grid-view .content-card{flex-direction:column;display:flex;overflow:visible}.card-grid-view .prose,.card-grid-view .html-content{word-wrap:break-word;overflow-wrap:break-word;overflow:visible}.line-clamp-1,.line-clamp-2,.line-clamp-3{overflow:visible!important}:is(.line-clamp-1:has(img),.line-clamp-2:has(img),.line-clamp-3:has(img)){flex-direction:column;display:flex;-webkit-line-clamp:unset!important}.card-grid-view .prose img,.card-table-view .prose img{z-index:1!important;display:inline-block!important;position:relative!important}.prose img{margin-top:0!important;margin-bottom:0!important}.card-grid-view .prose,.card-table-view .prose{max-height:none!important;overflow:visible!important}.card-mobile-view .content-card,.card-preview-modal .modal-body,.study-card .flashcard-content{overflow:hidden}.content-card img{width:auto!important;max-width:100%!important;height:auto!important}.html-content{width:100%}.card-table-view .html-content{justify-content:flex-start;align-items:center;display:flex}.card-grid-view .html-content,.card-mobile-view .html-content,.card-preview-modal .html-content,.study-card .html-content{display:block}.card-table-view td{vertical-align:middle}.card-table-view .html-content{justify-content:flex-start;align-items:center;min-height:50px;display:flex}.expandable-image-container{margin:0 auto;max-width:100%!important}.expandable-image-container img{max-width:100%!important}.expand-icon{color:#fff;cursor:pointer;z-index:10;background:#0009;border-radius:4px;padding:6px;transition:all .2s;position:absolute;top:8px;right:8px}.expand-icon:hover{background:#000c;transform:scale(1.1)}.image-modal-overlay{z-index:9999;cursor:zoom-out;background:#000000e6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.image-modal-content{justify-content:center;align-items:center;max-width:95vw;max-height:95vh;display:flex;position:relative}.image-modal-content img{object-fit:contain;width:auto;max-width:95vw;height:auto;max-height:95vh;display:block}.image-modal-close{color:#fff;cursor:pointer;z-index:10000;background:#fff3;border:1px solid #ffffff4d;border-radius:4px;justify-content:center;align-items:center;padding:8px 12px;transition:all .2s;display:flex;position:absolute;top:-40px;right:0}.image-modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.image-modal-overlay *{pointer-events:auto}.ProseMirror .node-resizableImage{max-width:100%;line-height:0;display:inline-block}.ProseMirror .node-resizableImage img{max-width:100%;height:auto;display:block}.ProseMirror .node-resizableImage.ProseMirror-selectednode{outline-offset:2px;outline:2px solid #3b82f6}
