/* NOTE_INSERT_20261021 */
[data-note-insert-ready] .editor-toolbar[data-note-format-legacy] {display:none!important}
.note-insert-button {display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap}
.note-insert-plus {display:inline-grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#5987ff;color:white;font-size:20px;line-height:1}
.note-insert-menu {position:fixed;z-index:1200;width:178px;box-sizing:border-box;padding:5px 0;border:1px solid #dcdfe5;border-radius:8px;background:#fff;box-shadow:0 6px 24px #25355424;color:#526079;font:14px/1.5 Arial,"Microsoft YaHei",sans-serif;overflow-y:auto}
.note-insert-menu[hidden],.note-insert-dialog [hidden] {display:none!important}
.note-insert-menu>button {display:flex;align-items:center;gap:16px;width:100%;height:40px;padding:0 17px;border:0;border-radius:0;color:inherit;background:transparent;text-align:left;cursor:pointer;font:inherit}
.note-insert-menu>button:hover,.note-insert-menu>button:focus-visible {background:#f0f4ff;color:#315fd8;outline:0}
.note-insert-menu svg {width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.note-insert-menu .note-insert-arrow {margin-left:auto;font-size:14px;color:#929ba8}
.note-insert-dialog {width:min(1040px,94vw);max-height:90dvh;box-sizing:border-box;padding:22px;border:1px solid #dce2eb;border-radius:14px;color:#26354b;background:#fff;box-shadow:0 20px 80px #10223b38;font:14px/1.55 Arial,"Microsoft YaHei",sans-serif;overflow:auto}
.note-insert-dialog::backdrop {background:#14243d50}
.note-insert-dialog h2 {margin:0 0 14px;font-size:20px}
.note-insert-dialog label {display:flex;align-items:center;gap:8px;margin:8px 0;flex-wrap:wrap}
.note-insert-dialog input:not([type=color]):not([type=checkbox]),.note-insert-dialog select,.note-insert-dialog textarea {box-sizing:border-box;max-width:100%;padding:8px 10px;border:1px solid #d9e1ed;border-radius:6px;color:#26354b;background:white;font:inherit}
.note-insert-dialog input[type=text],.note-insert-dialog input[type=url],.note-insert-dialog input[type=password] {flex:1;min-width:140px}
.note-insert-dialog textarea {display:block;width:100%;min-height:180px;resize:vertical}
.note-insert-dialog button {min-height:34px;padding:5px 12px;border:1px solid #d9e1ed;border-radius:6px;color:#405471;background:white;cursor:pointer;font:inherit}
.note-insert-dialog button:hover {background:#f1f5ff}
.note-insert-dialog button:disabled {opacity:.5;cursor:default}
.note-insert-actions,.note-insert-controls {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.note-insert-actions {justify-content:flex-end;border-top:1px solid #edf0f5;padding-top:12px}
.note-insert-primary {background:#426ff4!important;color:white!important;border-color:#426ff4!important}
.note-insert-message {margin:10px 0 0;color:#73819a;white-space:pre-wrap}
.note-insert-message[data-error=true] {color:#b54545}
.note-insert-grid {display:grid;grid-template-columns:repeat(10,20px);gap:3px;padding:10px 0}
.note-insert-grid>button {min-height:20px;height:20px;padding:0;border-radius:2px}
.note-insert-grid>button[data-on=true] {background:#dfeaff;border-color:#6689ed}
.note-insert-emoji {display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:5px;max-height:330px;overflow:auto;margin-top:10px}
.note-insert-emoji button {font-size:23px}
.note-insert-preview {min-height:160px;max-height:52dvh;overflow:auto;background:#f9fbfe;border:1px solid #e0e6ef;border-radius:8px;margin-top:12px}
.note-insert-preview>svg {display:block;max-width:100%;height:auto;min-width:500px;user-select:none;touch-action:none}
.note-insert-preview [data-graph-node] {cursor:pointer;outline:0}
.note-insert-preview [data-graph-node]:focus {filter:drop-shadow(0 0 3px #638aff)}
.note-insert-whiteboard-canvas {display:block;width:100%;height:auto;background:white;touch-action:none;cursor:crosshair}
.note-insert-two {display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.5fr);gap:14px}
.note-insert-two textarea {height:360px;font-family:Consolas,monospace}
.rich-writing .note-insert-source {display:none!important}
.rich-writing .note-insert-block {margin:18px 0;border:1px solid #e0e6f0;border-radius:8px;padding:10px;background:white;max-width:100%}
.rich-writing .note-insert-block>img {display:block;max-width:100%;height:auto;margin:0 auto;cursor:default}
.rich-writing .note-insert-block>figcaption {margin-top:6px;color:#8590a2;font-size:12px;text-align:center}
.rich-writing .note-insert-external>a {display:block;padding:14px;color:#315fd8;overflow-wrap:anywhere;text-decoration:none;background:#f7f9ff;border-radius:6px}
.rich-writing .note-insert-callout {border-left:4px solid #6b93f2;background:#edf3ff;padding:14px 18px;margin:14px 0;border-radius:4px}
.note-insert-outline-tab {position:fixed;z-index:70;border:1px solid #dbe3f0;border-radius:0 8px 8px 0;width:30px;height:35px;padding:0;background:white;color:#59708f;cursor:pointer}
.note-insert-outline-tab[hidden] {display:none!important}
@media(max-width:700px){.note-insert-two{grid-template-columns:1fr}.note-insert-dialog{padding:15px}.note-insert-preview>svg{min-width:450px}}
