.editor-toolbar{flex-wrap:wrap}.editor-find-bar{border-bottom:1px solid var(--line);color:var(--secondary);align-items:center;gap:6px;padding:8px 14px;display:flex}.editor-find-bar input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;flex:1;padding:7px 4px}.editor-find-bar>span{white-space:nowrap;font-size:11px}.editor-drop-target{outline:3px dashed var(--accent);outline-offset:-6px}.editor-detected-links{flex-wrap:wrap;gap:7px;padding-top:14px;display:flex}.editor-detected-links a{border:1px solid var(--line);max-width:100%;color:var(--secondary);border-radius:7px;align-items:center;gap:5px;padding:6px 8px;font-size:12px;text-decoration:none;display:inline-flex}.editor-detected-links span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-detected-links a:hover{color:var(--ink);background:var(--surface)}.editor-image-open{cursor:zoom-in;background:0 0;border:0;border-radius:12px;width:100%;padding:0;display:block;overflow:hidden}.attachments figcaption{justify-content:space-between;align-items:center;gap:6px;display:flex}.attachments figcaption>span{overflow-wrap:anywhere}.editor-image-order{flex-shrink:0;display:flex}.editor-undo{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.editor-undo>span{margin-right:auto}.editor-undo button{align-items:center;gap:4px;display:inline-flex}.editor-info{align-items:center;gap:8px;display:flex}.editor-info span{flex:1}.editor-image-preview,.editor-copy-dialog{color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:0;box-shadow:0 20px 80px #0004}.editor-image-preview::backdrop,.editor-copy-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#12151088}.editor-image-preview{width:min(1100px,100vw - 30px);max-width:none;height:min(850px,100dvh - 30px);max-height:none;overflow:hidden}.editor-preview-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;height:57px;padding:10px 14px;display:flex}.editor-preview-header>span{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.editor-preview-header>div{flex-shrink:0;align-items:center;gap:2px;display:flex}.editor-zoom-reset{min-width:44px;padding:7px 3px;font-size:12px}.editor-preview-scroll{background:#141715;width:100%;height:calc(100% - 57px);overflow:auto}.editor-preview-frame{justify-content:center;align-items:center;min-width:100%;min-height:100%;padding:18px;display:flex}.editor-preview-frame img{object-fit:contain;width:100%;height:100%;display:block}.editor-preview-scroll>p{text-align:center;color:#fff;padding:30px}.editor-copy-dialog{width:min(510px,100vw - 28px);max-height:calc(100dvh - 36px);padding:22px}.editor-copy-dialog h2{font-size:20px}.editor-dialog-intro{color:var(--secondary);margin:12px 0 18px;font-size:13px;line-height:1.6}.editor-copy-fields{gap:10px;display:grid}.editor-copy-field{border:1px solid var(--line);border-radius:10px;padding:13px}.editor-copy-field>label{align-items:center;gap:9px;font-size:14px;font-weight:600;display:flex}.editor-copy-field input{accent-color:var(--accent)}.editor-copy-field>p{color:var(--secondary);white-space:pre-wrap;overflow-wrap:anywhere;max-height:80px;margin:8px 0 0 25px;font-size:12px;line-height:1.65;overflow:auto}.editor-copy-field .editor-copy-image-hint{max-height:none;margin-left:0;font-size:12px}.editor-copy-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.editor-copy-images label{grid-template-columns:18px minmax(0,1fr);align-items:start;gap:5px;display:grid}.editor-copy-images .attachment-image{object-fit:contain;background:var(--accent-wash);border-radius:6px;width:100%;height:90px}.editor-copy-images label>span{overflow-wrap:anywhere;color:var(--secondary);grid-column:2;font-size:11px}.editor-download{color:var(--secondary);align-items:center;gap:4px;margin-top:7px;font-size:11px;display:flex}.editor-copy-fallback p{color:var(--secondary);font-size:12px;line-height:1.65}.editor-copy-fallback textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-height:110px;color:var(--ink);font:inherit;border-radius:7px;padding:10px;font-size:13px}.editor-copy-footer{border-top:1px solid var(--line);align-items:center;gap:8px;margin-top:18px;padding-top:15px;display:flex}.editor-copy-footer>span{color:var(--secondary);margin-right:auto;font-size:12px}@media (max-width:500px){.editor-copy-dialog{padding:17px}.editor-copy-footer{flex-wrap:wrap}.editor-find-bar,.editor-preview-header{padding-inline:8px}.editor-preview-header>span{max-width:100px}.editor-preview-frame{padding:8px}}
