.tiptap-gallery{margin:1.5rem 0}.tiptap-gallery .tiptap-gallery-file-input{display:none}.tiptap-gallery .tiptap-gallery-dropzone{cursor:pointer;background:#fafbfc;border:1.5px dashed #dde3ea;border-radius:12px;outline:none;flex-direction:column;align-items:center;gap:.5rem;padding:3rem 2rem;transition:border-color .2s;display:flex}.tiptap-gallery .tiptap-gallery-dropzone:hover,.tiptap-gallery .tiptap-gallery-dropzone:focus-visible{border-color:#0f2f5a}.tiptap-gallery .tiptap-gallery-drop-icon{color:#94a3b8;width:2rem;height:2rem}.tiptap-gallery .tiptap-gallery-drop-text{color:#64748b;text-align:center;font-size:.875rem}.tiptap-gallery .tiptap-gallery-drop-text strong{color:#0f172a;font-weight:600}.tiptap-gallery .tiptap-gallery-drop-subtext{color:#94a3b8;font-size:.75rem}.tiptap-gallery .tiptap-gallery-uploading{color:#64748b;flex-direction:column;align-items:center;gap:.75rem;font-size:.875rem;display:flex}.tiptap-gallery .tiptap-gallery-spinner{width:1.5rem;height:1.5rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.tiptap-gallery .tiptap-gallery-grid{grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}@media (max-width:640px){.tiptap-gallery .tiptap-gallery-grid{grid-template-columns:repeat(2,1fr)}}.tiptap-gallery .tiptap-gallery-item{flex-direction:column;gap:.25rem;display:flex}.tiptap-gallery .tiptap-gallery-thumb{aspect-ratio:4/3;background:#f0f4f8;border-radius:6px;position:relative;overflow:hidden}.tiptap-gallery .tiptap-gallery-thumb:hover .tiptap-gallery-remove{opacity:1}.tiptap-gallery .tiptap-gallery-remove{color:#fff;cursor:pointer;opacity:0;background:#000000a6;border:none;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;padding:0;transition:opacity .15s,background .15s;display:flex;position:absolute;top:4px;right:4px}.tiptap-gallery .tiptap-gallery-remove:hover{background:#dc2626e6}.tiptap-gallery .tiptap-gallery-remove-icon{width:12px;height:12px}.tiptap-gallery .tiptap-gallery-caption{color:#64748b;background:0 0;border:none;border-bottom:1px solid #0000;outline:none;width:100%;padding:.15rem 0;font-size:.72rem;transition:border-color .15s}.tiptap-gallery .tiptap-gallery-caption:focus{border-bottom-color:#dde3ea}.tiptap-gallery .tiptap-gallery-caption::placeholder{color:#cbd5e1}.tiptap-gallery .tiptap-gallery-add-slot{aspect-ratio:4/3;cursor:pointer;color:#94a3b8;border:1.5px dashed #dde3ea;border-radius:6px;outline:none;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;font-size:.72rem;font-weight:500;transition:border-color .2s,color .2s;display:flex}.tiptap-gallery .tiptap-gallery-add-slot:hover,.tiptap-gallery .tiptap-gallery-add-slot:focus-visible{color:#0f2f5a;border-color:#0f2f5a}.tiptap-gallery .tiptap-gallery-add-icon{width:1.25rem;height:1.25rem}.tiptap-gallery .tiptap-gallery-error{color:#ef4444;text-align:center;margin-top:.5rem;font-size:.75rem}.tiptap-gallery .tiptap-gallery-error--grid{grid-column:1/-1;margin-top:0}.tiptap.ProseMirror .tiptap-gallery-thumb img{object-fit:cover;border-radius:0;outline:none;width:100%;max-width:none;height:100%;margin:0;display:block}.ProseMirror-selectednode .tiptap-gallery .tiptap-gallery-dropzone{border-color:#0f2f5a}
