.shared-note-trigger{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:0;background:transparent;padding:8px;font:inherit;font-size:12px;cursor:pointer;flex-shrink:0;color:inherit;min-height:40px}.shared-note-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e7ded6;border-radius:16px;color:#342c26;background:white;box-shadow:0 12px 60px #0003;overflow:hidden}.shared-note-dialog[open]{display:flex;flex-direction:column}.shared-note-dialog::backdrop{background:#0006}.shared-note-dialog *{box-sizing:border-box}.shared-note-dialog footer,.shared-note-dialog header{display:flex;gap:12px;align-items:center;padding:12px 16px;flex-shrink:0}.shared-note-dialog header{justify-content:space-between;border-bottom:1px solid #eee}.shared-note-dialog h2{font-size:16px;margin:0}.shared-note-dialog header p{font-size:12px;margin:4px 0 0;overflow-wrap:anywhere}.shared-note-dialog button{font:inherit;font-size:13px;padding:8px 12px;min-height:40px;border:1px solid #ddd;border-radius:8px;background:white;cursor:pointer}.shared-note-dialog button:disabled{opacity:.5;cursor:default}.shared-note-content{overflow-y:auto;padding:16px;min-height:0;overflow-wrap:anywhere}.shared-note-content label{display:block;font-size:13px}.shared-note-content input,.shared-note-content textarea{display:block;width:100%;min-width:0;padding:10px;border:1px solid #b9b1a9;border-radius:8px;font:inherit;margin:5px 0 12px}.shared-note-content textarea{resize:vertical}.shared-note-content fieldset{min-width:0;border:1px solid #eee;border-radius:8px;margin:12px 0;padding:12px}.shared-note-meta{font-size:12px;color:#6b625b}.shared-note-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.shared-note-content a{color:#236b67;text-decoration:underline;overflow-wrap:anywhere}.shared-note-content [role=alert]{padding:12px;border:1px solid #cf7655;border-radius:8px;color:#823715;font-size:13px}.shared-note-dialog footer{border-top:1px solid #eee;flex-wrap:wrap}.shared-note-actions{display:flex;gap:8px;flex-wrap:wrap}.shared-note-actions input{max-width:260px}.shared-note-window{position:fixed;z-index:140;display:flex;flex-direction:column;min-width:0;color:#342c26;background:#fff;border:1px solid #e7ded6;box-shadow:0 12px 48px #0003;overflow:hidden;outline:none}.shared-note-window,.shared-note-window *{box-sizing:border-box}.shared-note-window.is-floating{border-radius:12px}.shared-note-window.is-maximized{inset:12px;width:auto;height:auto}.shared-note-window.is-minimized{left:auto;top:auto;right:16px;bottom:16px;width:min(300px,calc(100vw - 32px));height:auto;border-radius:12px}.shared-note-window.is-sheet{left:0;right:0;top:var(--shared-note-vv-top,0);width:100%;max-width:100vw;height:var(--shared-note-vv-height,100dvh);border:0;border-radius:0;box-shadow:none}@supports not (height:100dvh){.shared-note-window.is-sheet{height:var(--shared-note-vv-height,100vh)}}.shared-note-titlebar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;border-bottom:1px solid #eee;flex-shrink:0;background:#fbf8f5;min-width:0}.shared-note-window.is-floating:not(.is-maximized):not(.is-minimized) .shared-note-titlebar{cursor:move;touch-action:none;user-select:none}.shared-note-window.is-minimized .shared-note-titlebar{cursor:pointer;border-bottom:0}.shared-note-title{min-width:0}.shared-note-title h2{font-size:15px;margin:0}.shared-note-title p{font-size:12px;margin:2px 0 0;color:#6b625b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shared-note-window-buttons{display:flex;gap:4px;flex-shrink:0}.shared-note-window button{font:inherit;font-size:13px;padding:8px 12px;min-height:40px;border:1px solid #ddd;border-radius:8px;background:#fff;color:inherit;cursor:pointer}.shared-note-window-buttons button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:0;border-color:transparent;background:transparent}.shared-note-window-buttons button:hover{background:#efe8e1}.shared-note-window button:disabled{opacity:.5;cursor:default}.shared-note-window button:focus-visible,.shared-note-window input:focus-visible,.shared-note-window summary:focus-visible,.shared-note-window textarea:focus-visible{outline:2px solid #236b67;outline-offset:2px}.shared-note-window .shared-note-content{flex:1 1 auto;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding:12px 16px;min-height:0;overflow-wrap:anywhere}.shared-note-window .shared-note-content[hidden]{display:none}.shared-note-window .shared-note-content>*{flex-shrink:0}.shared-note-window .shared-note-content label{display:block;font-size:13px}.shared-note-window .shared-note-content input{display:block;width:100%;min-width:0;padding:10px;border:1px solid #b9b1a9;border-radius:8px;font:inherit;font-size:16px;margin:5px 0 12px}.shared-note-window .shared-note-content .shared-note-editor{flex:1 0 auto;display:flex;min-height:180px}.shared-note-window .shared-note-editor textarea{flex:1;display:block;width:100%;min-width:0;min-height:180px;margin:0;padding:12px;border:1px solid #d6cdc5;border-radius:8px;font:inherit;font-size:16px;line-height:1.7;resize:none;background:#fff;color:inherit}.shared-note-window .shared-note-meta{font-size:12px;color:#6b625b;margin:4px 0 8px}.shared-note-window .shared-note-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.shared-note-window .shared-note-content a{color:#236b67;text-decoration:underline;overflow-wrap:anywhere}.shared-note-window [role=alert]{padding:10px 12px;margin:0 0 8px;border:1px solid #cf7655;border-radius:8px;color:#823715;font-size:13px}.shared-note-window [role=alert] p{margin:0 0 8px}.shared-note-window fieldset{min-width:0;border:1px solid #eee;border-radius:8px;margin:12px 0;padding:12px}.shared-note-window .shared-note-links summary{cursor:pointer;font-size:13px;padding:6px 0}.shared-note-window .shared-note-actions{display:flex;gap:8px;flex-wrap:wrap}.shared-note-window .shared-note-actions input{max-width:260px}.shared-note-footer{display:flex;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid #eee;flex-shrink:0;padding:8px 16px max(8px,env(safe-area-inset-bottom))}.shared-note-status{margin:0;font-size:12px;color:#6b625b;min-width:0;overflow-wrap:anywhere}.shared-note-resize{position:absolute;right:0;bottom:0;width:18px;height:18px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 50%,#c9bfb6 0,#c9bfb6 60%,transparent 0,transparent 70%,#c9bfb6 0,#c9bfb6 80%,transparent 0)}.shared-note-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shared-note-window.is-floating:not(.is-maximized) .shared-note-footer{padding-right:24px}