.writer-image-node{margin-block:1.5rem;width:100%;min-width:0}.writer-image-line{position:relative;display:flex;justify-content:center;width:100%}.writer-image-node[data-align=left] .writer-image-line{justify-content:start}.writer-image-node[data-align=right] .writer-image-line{justify-content:end}.writer-image-node .writer-image-frame{margin:0;width:var(--writer-image-width);max-width:100%;min-width:0}.writer-image-media{position:relative}.writer-image-node img{display:block;max-width:100%;width:100%;height:auto;border-radius:5px}.writer-image-node figcaption{margin-top:.45rem;color:var(--muted);font-size:.85rem;line-height:1.45;overflow-wrap:anywhere}.writer-image-node figcaption small,.writer-image-node figcaption span{display:block}.writer-image-node figcaption small{font-size:.8rem}.writer-image-node[data-selected] .writer-image-media{outline:2px solid #315bd2;border-radius:5px}.writer-image-grip{position:absolute;width:24px;height:24px;padding:0;border:0;background:transparent;touch-action:none}.writer-image-grip:before{content:"";display:block;margin:auto;width:10px;height:10px;border:2px solid #315bd2;background:white;border-radius:3px}.writer-image-grip.is-left{left:-11px}.writer-image-grip.is-right{right:-11px}.writer-image-grip.is-bottom{bottom:-11px}.writer-image-grip.is-top{top:-11px}.writer-image-grip.is-left.is-top,.writer-image-grip.is-right.is-bottom{cursor:nwse-resize}.writer-image-grip.is-left.is-bottom,.writer-image-grip.is-right.is-top{cursor:nesw-resize}.writer-image-actions{position:fixed;z-index:60;left:50%;bottom:24px;transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:2px;width:max-content;max-width:calc(100vw - 24px);padding:6px;background:var(--surface,white);color:var(--navy);border:1px solid var(--line);border-radius:8px;box-shadow:0 3px 12px #142b5026;line-height:1}.writer-image-actions button{padding:3px 9px;border:0;min-height:36px;color:inherit;background:transparent;border-radius:5px;cursor:pointer;font-size:13px;font-weight:600;display:inline-flex;align-items:center}.writer-image-actions button:hover,.writer-image-actions button[aria-pressed=true]{background:#e7eeff;color:#2246a4}.writer-image-divider{width:1px;background:var(--line)}.writer-image-actions output{align-self:center;color:var(--muted);font-size:.8rem}.writer-image-modal{box-sizing:border-box;width:min(470px,calc(100% - 28px));max-height:calc(100dvh - 30px);padding:0;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface,white);color:var(--navy);box-shadow:0 18px 60px #1527453d}.writer-image-modal::backdrop{background:#111f39a6}.writer-image-modal-footer,.writer-image-modal-head{padding:14px 20px;display:flex;align-items:center;gap:12px}.writer-image-modal-head{justify-content:space-between;border-bottom:1px solid var(--line)}.writer-image-modal-head h2{margin:0;font-size:1.25rem}.writer-image-modal-head button{background:transparent;border:0;padding:8px;color:inherit;cursor:pointer}.writer-image-modal-body{display:grid;gap:12px;padding:16px 20px}.writer-image-modal-body label:not(.writer-image-consent){display:grid;gap:4px;margin:0}.writer-image-modal-body input:not([type=checkbox]){width:100%}.writer-image-preview{width:100%;height:100px;object-fit:contain}.writer-image-consent{display:flex;align-items:flex-start;gap:8px;font-size:.86rem}.writer-image-consent input{flex:none;width:17px;height:17px}.writer-image-modal-footer{justify-content:flex-end;border-top:1px solid var(--line)}.writer-image-modal-footer .button{min-height:36px}.tiptap{display:flow-root}.writer-image-node[data-wrap]{width:var(--writer-image-float);margin-block:.35rem .75rem}.writer-image-node[data-wrap=left]{float:left;margin-right:1.25rem}.writer-image-node[data-wrap=right]{float:right;margin-left:1.25rem}.writer-image-node[data-wrap] .writer-image-frame{width:100%}@media (max-width:640px){.writer-image-node[data-wrap]{float:none;width:100%;margin-inline:0}}