:root{font-family:Arial,Helvetica,sans-serif;color:#363632;background:#fafaf8;font-size:13px;font-synthesis:none;--line:#e5e5e0;--muted:#92928b;--accent:#565e4c}
#saved-label{font-size:10px;color:var(--muted);padding:12px 10px 4px;border-top:1px solid var(--line);margin-top:4px}#saved-boards{max-height:180px;overflow-y:auto}#saved-boards button{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#marquee{position:fixed;pointer-events:none;border:1px solid #8a927f;background:#8a927f12;z-index:5}.multiple .note .resize{display:none}.note.section-header .note-text{font-weight:700}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.25;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid #7f8a73;outline-offset:3px}button:hover:not(:disabled){background:#efefeb}button{border-radius:5px}button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.icon-button{width:34px;height:34px;display:grid;place-items:center}.icon-button[aria-pressed=true]{background:#e8ebe3;color:#303e25}
#canvas{position:fixed;inset:0;overflow:hidden;outline:none;touch-action:none;cursor:default;background-image:radial-gradient(#d6d6cf .65px,transparent .65px);background-size:24px 24px}#canvas.panning{cursor:grabbing}#world{position:absolute;left:0;top:0;transform-origin:0 0}.note{position:absolute;width:220px;min-height:164px;padding:24px 24px 30px;border-radius:2px;background:var(--paper);box-shadow:0 2px 3px #28281c0b,0 10px 22px #28281c05;cursor:grab;outline:1.5px solid transparent;outline-offset:3px;user-select:none}.note.selected{outline-color:#8a927f;z-index:2}.note.editing{cursor:text;z-index:3}.note-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4;min-height:96px;outline:none;font-size:22px;letter-spacing:-.025em}.note-text:empty:before{content:'A thought…';color:#0005}.note-text[contenteditable=true]{cursor:text;user-select:text}.note .resize{position:absolute;right:4px;bottom:4px;width:15px;height:15px;cursor:nwse-resize;opacity:0;background:linear-gradient(135deg,transparent 58%,#0003 60%,#0003 65%,transparent 67%,transparent 76%,#0003 78%,#0003 83%,transparent 85%)}.note.selected .resize{opacity:1}
header{position:fixed;top:20px;left:24px;right:22px;height:34px;display:flex;align-items:center;gap:12px;pointer-events:none}header>*{pointer-events:auto}#title{border:0;background:#fafaf8;width:180px;max-width:34vw;text-overflow:ellipsis;font-size:14px;font-weight:500;padding:7px 0}#title:focus{outline:none;border-bottom:1px solid #bbb}#save-status{font-size:11px;color:var(--muted);white-space:nowrap}.header-actions{margin-left:auto;display:flex;gap:8px;align-items:center;background:#fafaf8;border-radius:5px}.header-actions>button{height:34px;padding:0 10px}#markdown{font-family:ui-monospace,monospace;color:#77786e}#copy{font-size:12px}#more{font-size:22px}
#tools,#zoom{position:fixed;bottom:24px;height:44px;display:flex;align-items:center;padding:4px;background:#fdfdfb;border:1px solid var(--line);border-radius:7px;box-shadow:0 2px 6px #00000003}#tools{left:24px;gap:2px}.divider{height:18px;border-left:1px solid var(--line);margin:0 7px}#colors{display:flex;gap:8px;padding:0 4px}.swatch{width:17px;height:17px;padding:0;border-radius:50%;background:var(--paper);border:1px solid #00000012}.swatch:hover{background:var(--paper)!important;transform:scale(1.12)}.swatch[aria-pressed=true]{outline:1px solid #767b6c;outline-offset:3px}#hint{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);font-size:11px;color:#a0a098;pointer-events:none;white-space:nowrap}#zoom{right:24px;gap:3px;box-shadow:none}#zoom button{height:32px;min-width:30px;font-size:17px}#fit{font-size:11px!important;min-width:46px!important;color:#77786e}#empty{position:fixed;left:50%;top:47%;transform:translate(-50%,-50%);color:#aaa99f;pointer-events:none;font-size:14px}.popover{position:fixed;right:24px;top:62px;width:216px;padding:5px;border:1px solid var(--line);background:#fdfdfb;border-radius:7px;box-shadow:0 6px 24px #00000009;z-index:20}.popover button{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:11px 10px;font-size:12px}.popover span{color:#a3a39b;font-size:11px}
#source{position:fixed;right:22px;top:70px;bottom:84px;width:min(420px,calc(100vw - 44px));background:#fdfdfb;border:1px solid var(--line);border-radius:7px;box-shadow:0 5px 30px #00000007;z-index:10;display:flex;flex-direction:column}#source[hidden]{display:none}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-bottom:1px solid var(--line);font-size:13px}.panel-heading button{font-size:22px;width:26px;height:26px;color:#8b8b83}#source-text{resize:none;border:0;outline:none;flex:1;width:100%;padding:18px;background:none;font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.panel-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-top:1px solid var(--line);gap:12px}.panel-footer span{font-size:10px;color:var(--muted)}.panel-footer button{padding:7px 12px;border:1px solid var(--line)}dialog{border:1px solid var(--line);padding:0;border-radius:8px;width:min(480px,calc(100vw - 32px));color:inherit;background:#fafaf8;box-shadow:0 15px 80px #0001}dialog::backdrop{background:#fafaf8bb;backdrop-filter:blur(3px)}dialog dl{display:grid;grid-template-columns:1fr auto;gap:13px 20px;padding:8px 24px 12px;font-size:12px}dialog dd{margin:0;color:#84847b;font-size:11px;text-align:right}dialog p{padding:0 24px;font-size:11px;line-height:1.7;color:#898980}dialog p:last-child{padding-bottom:12px}#link-text{width:calc(100% - 40px);height:110px;margin:20px;border:1px solid var(--line);background:white;font-size:11px;padding:10px;resize:none}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:#363b32;color:#fff;padding:10px 15px;border-radius:5px;font-size:12px;max-width:calc(100vw - 40px);z-index:50;text-align:center}body.space #canvas{cursor:grab}
@media(max-width:1150px){#hint{display:none}}@media(max-width:620px){header{left:16px;right:12px;top:12px;gap:7px}#title{width:105px}#save-status{display:none}.header-actions{gap:0}#tools{left:12px;bottom:16px;gap:0}#zoom{right:12px;bottom:72px}.divider{margin:0 5px}#colors{gap:7px}.popover{right:12px;top:54px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .1s}.note{transition:outline-color .1s}}
#save-status{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #c9d3c0;border-radius:5px;background:#edf2e7;color:#425333;font-size:12px;font-weight:600;line-height:16px;white-space:nowrap}#save-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#6b8657;flex:none}#save-status[data-state=error]{color:#8c3f30;background:#fbebe6;border-color:#e2bdb2}#save-status[data-state=error]::before{background:#ae5441}#save-status[data-state=pending],#save-status[data-state=loading]{color:#78612d;background:#f8f2df;border-color:#e2d6b5}#save-status[data-state=pending]::before,#save-status[data-state=loading]::before{background:#a98b42}#copy{background:#3f4938;color:#fff;font-size:12px;font-weight:600;min-width:86px;padding:0 13px}.header-actions #copy:hover:not(:disabled){background:#505d47}.header-actions{gap:8px}header #title{flex:1;max-width:240px;min-width:30px}.header-actions #copy:disabled{opacity:.7}@media(max-width:620px){header{gap:5px}.header-actions{gap:4px}header #title{width:50px;max-width:80px}#save-status{font-size:10px;padding:7px 6px;gap:4px}#save-status::before{width:5px;height:5px}#copy{font-size:11px;min-width:72px;padding:0 8px}.header-actions>button{padding-left:7px;padding-right:7px}}

.document-list{padding:10px 14px;max-height:45vh;overflow:auto}.document-list button{display:block;width:100%;padding:12px 10px;text-align:left;overflow-wrap:anywhere;font-size:12px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 24px;border-top:1px solid var(--line)}.dialog-actions button{padding:8px 10px;border:1px solid var(--line);font-size:11px}#save-status{cursor:pointer}#maps-dialog{width:min(540px,calc(100vw - 32px))}
@media(max-width:620px){#save-status{max-width:142px;white-space:normal;text-align:left;line-height:12px}.header-actions>button#save-status{height:auto;min-height:30px}.header-actions{gap:2px}}
