:root{--saie-top:env(safe-area-inset-top,0px);--saie-right:env(safe-area-inset-right,0px);--saie-bottom:env(safe-area-inset-bottom,0px);--saie-left:env(safe-area-inset-left,0px)}.modal-viewport{position:fixed;inset:0;overflow-y:auto}body.keyboard-open .modal-viewport-center{align-items:flex-start}.modal-panel-max-h{max-height:calc(100dvh - .5rem - var(--saie-top) - var(--saie-bottom))}.modal-panel-max-h-full{max-height:calc(100dvh - var(--saie-top) - var(--saie-bottom))}@media (min-width:640px){.modal-panel-max-h{max-height:calc(100dvh - 1.5rem - var(--saie-top) - var(--saie-bottom))}.modal-panel-max-h-full{max-height:calc(100dvh - 2rem - var(--saie-top) - var(--saie-bottom))}}.dropdown-scrollbar{-ms-overflow-style:auto}.dropdown-scrollbar::-webkit-scrollbar{display:block;width:10px;height:10px}.dropdown-scrollbar::-webkit-scrollbar-track{background:transparent}.dropdown-scrollbar::-webkit-scrollbar-thumb{background-color:rgb(203 213 225);border-radius:9999px;border:3px solid transparent;background-clip:content-box}.dropdown-scrollbar::-webkit-scrollbar-thumb:hover{background-color:rgb(148 163 184)}.overflow-wrap-anywhere{overflow-wrap:anywhere}.mentis-content ol,.mentis-content ul{list-style-position:inside}.mentis-content li{overflow-wrap:anywhere;min-width:0}.has-focus-ring:focus-visible,input.has-focus-ring:focus-visible,select.has-focus-ring:focus-visible,textarea.has-focus-ring:focus-visible{outline:none!important}input[type=checkbox].has-focus-ring:focus-visible,input[type=radio].has-focus-ring:focus-visible{outline:2px solid rgb(var(--color-focus-ring))!important;outline-offset:2px!important}.safe-area-top{padding-top:var(--saie-top)}.safe-area-bottom{padding-bottom:var(--saie-bottom)}.safe-area-left{padding-left:var(--saie-left)}.safe-area-right,.safe-area-x{padding-right:var(--saie-right)}.safe-area-x{padding-left:var(--saie-left)}.safe-area-y{padding-top:var(--saie-top);padding-bottom:var(--saie-bottom)}.safe-area-all{padding:var(--saie-top) var(--saie-right) var(--saie-bottom) var(--saie-left)}.memory-grid-content{display:flex;align-items:center;justify-content:center;overflow:hidden}.memory-grid-content img,.memory-grid-content video{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.ProseMirror:focus{outline:none}.ProseMirror span[style*=color] b,.ProseMirror span[style*=color] em,.ProseMirror span[style*=color] i,.ProseMirror span[style*=color] strong,.prose span[style*=color] b,.prose span[style*=color] em,.prose span[style*=color] i,.prose span[style*=color] strong{color:inherit!important}.ProseMirror pre{background:#f3f4f6;color:#1f2937;border-radius:.5rem;font-family:JetBrainsMono,Monaco,Courier New,monospace;padding:.75rem 1rem;margin:1rem 0}.ProseMirror pre code{background:none;color:inherit;font-size:.875rem;padding:0}.ProseMirror{cursor:text}