.finance-source-preview .finance-existing-editor{box-sizing:border-box;min-height:100%;padding:12px;display:flex;flex-direction:column;gap:8px;background:#f8f8f4}
.finance-source-preview .finance-existing-editor p{margin:4px 0}
.finance-source-preview .finance-editor-controls{display:flex;flex-wrap:wrap;gap:8px}
.finance-source-preview .finance-editor-surface{position:relative;display:table;max-width:calc(100% - 44px);margin:22px auto;touch-action:none}
.finance-source-preview .finance-editor-surface img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto}
.finance-source-preview .finance-editor-surface svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;touch-action:none}
.finance-source-preview .finance-editor-surface polygon{fill:rgba(0,155,255,.13);stroke:#0075bd;stroke-width:5;vector-effect:non-scaling-stroke}
.finance-source-preview .finance-editor-surface ellipse{fill:#fff;stroke:#0075bd;stroke-width:6;vector-effect:non-scaling-stroke;cursor:grab}
.finance-source-preview .finance-editor-surface ellipse:focus{outline:3px solid #e66300}
.finance-source-preview .finance-existing-editor [hidden]{display:none!important}
.finance-source-preview .finance-editor-result{text-align:center}
.finance-source-preview .finance-editor-result img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;margin:auto}
