.content-image-button{cursor:zoom-in;vertical-align:middle;background:0 0;border:0;max-width:100%;padding:0;display:inline-block}.content-image-button:focus-visible{outline:2px solid var(--brand-accent);outline-offset:3px}.content-image-button img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:420px;display:block}.note-reply-composer .content-image-button img{max-height:min(160px,24dvh)}.note-reply .content-image-button img{max-height:280px}.content-image-preview{border:1px solid var(--border);max-width:94vw;max-height:94dvh;color:var(--foreground);background:var(--surface);border-radius:12px;margin:auto;padding:16px}.content-image-preview::backdrop{background:#0000008c}.content-image-preview>button{background:var(--foreground);color:var(--surface);border-radius:8px;margin:0 0 12px auto;padding:8px 12px;display:block}.content-image-preview>img{object-fit:contain;max-width:min(1600px,86vw);max-height:76dvh;display:block}.note-editor,.note-editor-loading{border:1px solid var(--border);background:var(--surface);border-radius:4px;min-width:0;max-width:100%;min-height:146px}.note-editor[data-invalid=true]{border-color:var(--danger)}.note-editor-toolbar{border-bottom:1px solid var(--border);align-items:center;gap:2px;min-height:36px;padding:3px 5px;display:flex;overflow-x:auto}.note-editor-button{width:28px;height:28px;color:var(--muted-fg);cursor:pointer;background:0 0;border:0;border-radius:3px;flex:0 0 28px;place-items:center;padding:0;display:grid}.note-editor-button svg{width:15px;height:15px}.note-editor-button:hover:not(:disabled),.note-editor-button.is-active{background:var(--accent);color:var(--foreground)}.note-editor-button:disabled{opacity:.35;cursor:default}.note-editor-divider{background:var(--border);flex:0 0 1px;align-self:stretch;margin:4px 3px}.note-editor-content{min-height:108px;color:var(--foreground);font-family:var(--font-serif);outline:none;padding:10px 12px;font-size:14px;line-height:1.7}.note-editor-content>:first-child{margin-top:0}.note-editor-content>:last-child{margin-bottom:0}.note-editor-content p,.note-editor-content blockquote,.note-editor-content pre,.note-editor-content ul,.note-editor-content ol{margin:0 0 8px}.note-editor-content p{white-space:pre-wrap;overflow-wrap:anywhere}.note-editor-content ul,.note-editor-content ol{padding-left:1.75em;list-style-position:outside}.note-editor-content ul{list-style-type:disc}.note-editor-content ul ul{list-style-type:circle}.note-editor-content ul ul ul{list-style-type:square}.note-editor-content ol{list-style-type:decimal}.note-editor-content li{display:list-item}.note-editor-content li>p{margin-bottom:4px}.note-editor-content :is(h1,h2,h3,h4,h5,h6){white-space:pre-wrap;overflow-wrap:anywhere;margin:1em 0 .4em;font-weight:650;line-height:1.4}.note-editor-content h1{font-size:1.8em}.note-editor-content h2{font-size:1.55em}.note-editor-content h3{font-size:1.3em}.note-editor-content h4{font-size:1.15em}.note-editor-content h5{font-size:1.05em}.note-editor-content h6{font-size:1em}.note-editor-content strong{font-weight:700}.note-editor-content em{font-style:italic}.note-editor-content :is(s,del){text-decoration:line-through}.note-editor-content a{color:var(--primary);text-underline-offset:.15em;text-decoration:underline}.note-editor-content code{background:var(--accent);border-radius:3px;padding:.1em .25em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.note-editor-content pre{background:var(--accent);white-space:pre;border-radius:4px;padding:8px 10px;overflow-x:auto}.note-editor-content pre code{background:0 0;padding:0}.note-editor-content hr{border:0;border-top:1px solid var(--border);margin:12px 0}.note-editor-content blockquote{border-left:2px solid var(--border);color:var(--muted-fg);padding-left:10px}.note-editor-content table{border-collapse:collapse;width:100%;margin:8px 0}.note-editor-content td,.note-editor-content th{border:1px solid var(--border);vertical-align:top;min-width:70px;padding:5px 7px}.note-editor-error{border-top:1px solid var(--danger);color:var(--danger);margin:0;padding:7px 10px;font-size:11px}.note-editor-style{min-width:70px;max-width:95px;color:inherit;background:0 0;border:0;font-size:12px}.note-editor-table-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;padding:4px 8px;display:flex}.note-editor-table-toolbar button{padding:3px 6px;font-size:12px}.note-editor-table-toolbar button:disabled{opacity:.4}.note-editor-math{cursor:pointer;padding:0 2px}.note-editor-math.ProseMirror-selectednode{outline:2px solid var(--primary)}.note-editor-content .selectedCell{background:var(--accent)}.note-editor-preserved-content{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px}.note-editor-upload{flex-wrap:wrap;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.note-content-image{margin:12px 0}.note-content-image img{max-width:100%;height:auto;display:block}
