.mm-notes{position:absolute;inset:0;z-index:18;pointer-events:none;overflow:hidden;font-family:Arial,'Malgun Gothic',sans-serif}
.mm-note{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;transform-origin:0 0;border:1px solid var(--note-border);border-radius:5px 5px 14px 5px;background:var(--note-bg);color:var(--note-text);box-shadow:1px 7px 18px #25324425;pointer-events:auto;outline:none;transition:box-shadow .15s;overflow:hidden}
.mm-note.is-selected{outline:2px solid #4a9fc7;outline-offset:3px;z-index:2}
.mm-note:focus-visible{outline:3px solid #4a9fc7;outline-offset:3px}
.mm-note-header{height:40px;flex:0 0 40px;display:flex;align-items:center;gap:3px;padding:0 7px;border-bottom:1px solid currentColor;background:#ffffff12;cursor:grab;border-bottom-color:color-mix(in srgb,var(--note-text) 12%,transparent);touch-action:none;user-select:none}
.mm-note button{font:inherit;color:inherit;cursor:pointer}
.mm-note-header button{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;padding:0;border:0;border-radius:5px;background:transparent;font-size:19px}
.mm-note-header button:hover,.mm-note-header button:focus-visible{background:#ffffff55}
.mm-note-header button[data-note-action="pin"]{font-size:13px;transform:rotate(-25deg);opacity:.5}
.mm-note-header button[aria-pressed="true"]{transform:rotate(0);opacity:1;background:#ffffff66}
.mm-note-header button[data-note-action="delete"]{font-size:12px}
.mm-note-caption{font-size:11px;letter-spacing:.06em;opacity:.65;flex:1;pointer-events:none}
.mm-note-text{box-sizing:border-box;display:block;flex:1;width:100%;min-height:0;resize:none;outline:none;border:0;box-shadow:none;border-radius:0;background:transparent;color:inherit;padding:15px 17px 8px;font:14px/1.8 Arial,'Malgun Gothic',sans-serif;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
.mm-note-text::-webkit-scrollbar{display:none;width:0;height:0}
.mm-note-text::placeholder{color:inherit;opacity:.45}
.mm-note-footer{display:flex;align-items:center;justify-content:space-between;min-height:28px;padding-left:15px;font-size:10px;flex-shrink:0}
.mm-note-footer span{opacity:.55;pointer-events:none}
.mm-note-resize{width:28px;height:28px;border:0;border-radius:0 0 13px 0;background:repeating-linear-gradient(135deg,transparent 0 3px,currentColor 3px 4px,transparent 4px 7px) bottom right/17px 17px no-repeat;clip-path:polygon(100% 15%,100% 100%,15% 100%);cursor:nwse-resize!important;opacity:.5;touch-action:none}
.mm-note.is-pinned .mm-note-header{cursor:default}
.mm-note-folded{display:none}
.mm-note.is-collapsed{border-radius:7px;box-shadow:1px 4px 12px #25324422}
.mm-note.is-collapsed :is(.mm-note-header,.mm-note-text,.mm-note-footer){display:none}
.mm-note.is-collapsed .mm-note-folded{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;height:100%;padding:0 15px;border:0;background:transparent;text-align:left;touch-action:none}
.mm-note-folded span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600}
.mm-note-folded small{font-size:10px;white-space:nowrap;opacity:.65}
.mm-note.is-pinned.is-collapsed .mm-note-folded::before{content:'●';font-size:7px;opacity:.55}
.mm-note-add{position:absolute;right:20px;bottom:18px;pointer-events:auto;border:1px solid #bda87055;border-radius:7px;background:#fff0bbdf;color:#62543b;padding:8px 12px;font:12px Arial,'Malgun Gothic',sans-serif;box-shadow:0 3px 8px #25324412;cursor:pointer}
.mm-note-menu{position:fixed;z-index:1200;box-sizing:border-box;max-width:min(300px,calc(100vw - 16px));max-height:70dvh;overflow:auto;display:flex;flex-direction:column;gap:3px;border:1px solid #d5c8a8;border-radius:10px;padding:8px;background:#fffdf5;color:#51452f;box-shadow:0 10px 35px #17243740;font:12px/1.5 Arial,'Malgun Gothic',sans-serif}
.mm-note-menu strong{font-size:10px;opacity:.6;padding:4px 9px}
.mm-note-menu button{border:0;background:transparent;text-align:left;padding:8px 10px;border-radius:5px;color:inherit;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.mm-note-menu button:hover,.mm-note-menu button:focus-visible{background:#f4e8c6}
.mm-note-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.mm-note-links path{fill:none;stroke:#e7b94d;stroke-width:1.5;stroke-dasharray:4 6;filter:drop-shadow(0 0 3px #fff2ac)}
.mm-note.mm-note-lit{box-shadow:0 0 0 2px #ffe59a,0 0 14px 5px #ffda6d99,1px 7px 18px #25324425}
.mindmap-node.mm-note-lit{outline:2px solid #ffe59a!important;outline-offset:3px;filter:brightness(1.22) drop-shadow(0 0 6px #ffda6dcc)!important;box-shadow:inset 0 0 22px #fff4bf80,0 0 13px #ffdf8f99!important}
.mindmap-node.mm-note-lit>.mm-node-shape{filter:brightness(1.2) drop-shadow(0 0 5px #ffdf8f)}
.mindmap-node.mm-custom-shape.mm-note-lit{outline:0!important;box-shadow:none!important}
.mindmap-node.mm-custom-shape.mm-note-lit>.mm-node-shape>path{stroke:#ffe59a;stroke-width:2.5}
.mm-note-connect-status{position:absolute;top:16px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e1c16b;border-radius:8px;background:#fff4cf;color:#66512b;font-size:12px;pointer-events:auto;box-shadow:0 4px 16px #25324420;z-index:4}
.mm-note-connect-status[hidden]{display:none}
.mm-note-connect-status button{white-space:nowrap;border:0;background:none;color:inherit;cursor:pointer}
.mm-note-connecting .mindmap-node{cursor:crosshair}
#mmColorPalette[data-target="note"] :is(.mm-note-hide,[data-edge-color]){display:none}
@media(pointer:coarse){.mm-note-header{height:44px;flex-basis:44px}.mm-note-header button{width:36px;height:36px}.mm-note-menu button{min-height:40px}.mm-note-resize{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.mm-note{transition:none}}
