#note-image-status{font-size:12px;color:var(--muted);white-space:nowrap}
.note-image-drag::after{content:'파일을 놓으세요';position:absolute;inset:8px;display:grid;place-items:center;background:#eef6ffe8;border:2px solid #6d9cce;pointer-events:none;z-index:15;font:600 17px Pretendard,sans-serif}
.note-image-source{display:none!important}
.note-image-zone{box-sizing:border-box;padding:4px 0 8px}
.note-image-block.note-block-card{display:flex;flex-direction:column;border:1px solid var(--line,#e9e9e7);border-radius:3px;color:var(--muted,#787774);box-shadow:0 1px 3px #00000004}
.note-image-block>img{display:block;flex:1;min-height:0;width:100%;object-fit:contain;background:#f7f7f5;cursor:zoom-in}
.note-image-block>img[hidden]{display:none}
.note-image-block>img:focus-visible{outline:2px solid #779487;outline-offset:-2px}
.note-image-block .note-block-heading{height:32px;background:#fff;border-top:1px solid var(--line,#e9e9e7);border-bottom:0}
.note-image-block.is-collapsed .note-block-heading{border-top:0}
.note-image-block .note-block-title{font-size:12px;font-weight:500;color:inherit}
.note-image-block:not(.is-collapsed) .note-block-actions{margin-right:23px}
.note-image-error>img{opacity:.4}
#note-image-preview{padding:0;border:0;border-radius:4px;max-width:96vw;max-height:96dvh;width:max-content;background:#171717;color:#fff;overflow:auto}
#note-image-preview::backdrop{background:#000c}
#note-image-preview header{display:flex;gap:20px;align-items:center;justify-content:flex-end;padding:8px 12px}
#note-image-preview header a{color:#ddd;font:13px Pretendard,sans-serif;text-decoration:none}
#note-image-preview-close{background:transparent;border:0;color:white;font-size:25px;cursor:pointer;width:34px;height:34px}
#note-image-preview-photo{display:block;max-width:94vw;max-height:calc(94dvh - 50px);object-fit:contain}
@media(max-width:600px){#note-image-status{font-size:10px;max-width:100px;overflow:hidden;text-overflow:ellipsis}#note-image-preview{max-width:100vw;border-radius:0}}
/* Monaco's text hit layer otherwise covers interactive view zones. */
.monaco-editor .view-zones:has(.note-image-zone,.note-attachment-zone,.note-comment-zone,.note-textbox-zone){z-index:4;pointer-events:none}
.note-image-zone,.note-attachment-zone{pointer-events:auto;user-select:none}
