.editor-insert-menu,.editor-object-dialog,.editor-surface-status{font:14px/1.5 system-ui,sans-serif;color:var(--text,#183b32);background:var(--surface,#fff);border:1px solid var(--border,#cbdad5);border-radius:12px;box-shadow:0 10px 35px #12352b26}
.editor-insert-menu{position:fixed;z-index:1100;width:min(320px,calc(100vw - 16px));max-height:min(360px,60vh);overflow:auto;padding:6px}
.editor-insert-menu[hidden],.editor-block-handle[hidden],.editor-surface-status[hidden]{display:none!important}
.editor-insert-menu button{display:block;width:100%;text-align:left;border:0;border-radius:7px;background:transparent;color:inherit;padding:10px 12px;min-height:44px;font:inherit;cursor:pointer}
.editor-insert-menu button[aria-selected=true],.editor-insert-menu button:hover{background:var(--surface-soft,#e7f2ed)}
.editor-block-handle{position:fixed;z-index:30;box-sizing:border-box;width:30px;min-width:30px;padding:0;height:36px;border:1px solid var(--border,#cbdad5);border-radius:6px;background:var(--surface,#fff);color:inherit;cursor:grab;font-size:22px}
.editor-object-dialog{padding:20px;max-width:min(580px,calc(100vw - 24px));max-height:85dvh;overflow:auto}
.editor-object-dialog::backdrop{background:#122a2455}.editor-object-dialog h2{font-size:18px;margin:0 0 16px}
.editor-object-dialog label{display:grid;gap:4px;margin:10px 0;font-weight:500}.editor-object-dialog input:not([type=checkbox]),.editor-object-dialog select{min-height:40px;min-width:0;max-width:100%;border:1px solid var(--border,#cbdad5);border-radius:6px;padding:6px 8px;background:var(--surface,#fff);color:inherit;font:inherit}
.editor-object-dialog button,.editor-object-dialog a{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--border,#cbdad5);border-radius:8px;padding:7px 12px;margin:4px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer;text-decoration:none}
.editor-object-dialog button:hover{background:var(--surface-soft,#e7f2ed)}.editor-object-dialog button:focus-visible,.editor-insert-menu button:focus-visible,.editor-mention:focus-visible,.editor-block-handle:focus-visible{outline:2px solid var(--accent,#187b64);outline-offset:2px}
.editor-context-actions{display:flex;flex-wrap:wrap;gap:4px}.editor-context-actions label,.editor-context-actions p{flex-basis:100%}
.editor-surface-status{position:fixed;z-index:1200;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:10px 16px;pointer-events:none}
.word-editor-content .editor-mention{display:inline;border-radius:4px;padding:1px 4px;background:var(--surface-soft,#e7f2ed);color:var(--accent,#155b48);cursor:pointer;overflow-wrap:anywhere}
.word-editor-content .editor-columns{display:flex;gap:20px;margin:12px 0;align-items:flex-start}.word-editor-content .editor-column{flex:1;min-width:0;border:1px dashed var(--border,#cbdad5);padding:10px;border-radius:8px}
.word-editor-content .editor-toggle{border:1px solid var(--border,#cbdad5);border-radius:8px;margin:10px 0;padding:8px 12px}.word-editor-content .editor-toggle-title{display:block;width:100%;text-align:left;font:inherit;font-weight:600;background:none;color:inherit;border:0;min-height:36px;cursor:pointer}.word-editor-content .editor-toggle-content[hidden]{display:none!important}
.word-editor-content .editor-image{margin:12px auto;max-width:100%}.word-editor-content .editor-image[data-alignment=left]{margin-left:0}.word-editor-content .editor-image[data-alignment=right]{margin-right:0}.word-editor-content .editor-image-viewport{position:relative;overflow:hidden}.word-editor-content .editor-image-viewport img{display:block;margin:0}.word-editor-content .editor-image-viewport svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.word-editor-content .editor-image figcaption{text-align:center;font-size:.9em;color:var(--muted,#58716a);margin-top:6px}
.word-editor-content .editor-media,.word-editor-content .editor-object-card{border:1px solid var(--border,#cbdad5);border-radius:10px;padding:14px;margin:12px 0;overflow-wrap:anywhere}.word-editor-content .editor-media video,.word-editor-content .editor-media audio{display:block;max-width:100%;width:100%;margin-bottom:8px}.word-editor-content .editor-object-card{cursor:pointer;background:var(--surface-soft,#f1f6f3)}
@media(max-width:680px){#wordEditorHost .word-editor-content{padding-left:44px!important}.word-editor-content .editor-columns{flex-direction:column}.word-editor-content .editor-column{width:100%;box-sizing:border-box}.editor-block-handle{height:44px;width:30px}.editor-object-dialog{padding:14px}.editor-object-dialog button{flex-grow:1}}
