.node-preview.sticky-preview{width:var(--note-preview-width);border:1px solid var(--border);color:var(--text);background:color-mix(in srgb, var(--soft) 16%, var(--panel));border-radius:3px 3px 9px;padding:6px;box-shadow:0 8px 22px #0003}.sticky-preview.active-preview{border-color:var(--accent)}.space-note-preview .pin-node-preview,.space-note-preview .preview-notes>h3,.space-note-preview .sticky-resize{display:none}.sticky-preview>:is(.preview-header,.preview-note-header){justify-content:space-between;align-items:center;gap:4px;margin:0 0 4px;display:flex}.preview-note-header[hidden]{display:none}.sticky-preview:not(.note-icon-preview)>.preview-note-header{box-shadow:0 5px 8px -6px #0005}.sticky-preview .preview-title-row{flex:1;align-items:center;gap:4px;min-width:0;margin:0}.sticky-preview .node-connection-handle{flex-basis:24px;height:24px;margin:0;padding:6px}.sticky-preview .preview-actions{flex:none}.sticky-preview .preview-actions button{color:var(--muted)}.sticky-preview .preview-actions button:hover{color:var(--text);background:var(--soft)}.sticky-preview .pin-node-preview[aria-pressed=true],.pin-node-position[aria-pressed=true]{color:var(--accent);background:var(--soft)}.pin-node-position svg{transform:rotate(35deg)}.sticky-preview .preview-title{margin:0;font-size:17px;font-weight:600}.sticky-preview .preview-summary{color:var(--muted);margin-bottom:8px}.sticky-preview.expanded-preview .preview-reading{flex-direction:column;padding:0;display:flex}.sticky-preview.expanded-preview .preview-reading>:not(.preview-expanded-content){flex:none}.sticky-preview.expanded-preview .preview-expanded-content,.sticky-preview.expanded-preview .preview-notes{flex-direction:column;flex:1;min-height:80px;display:flex}.sticky-preview.expanded-preview .preview-description{flex-direction:column;flex:1;min-height:0;padding-bottom:0;display:flex}.sticky-preview .sticky-surface{background:0 0;border:0;border-radius:0;min-height:80px;padding:4px}.sticky-preview.expanded-preview .sticky-surface{flex:1;min-height:0;max-height:none;overflow:auto;height:auto!important}.sticky-preview .sticky-note.has-note-color .sticky-surface{border-radius:3px}.sticky-preview .sticky-tools{border-top:1px solid var(--border);background:0 0;margin:0;padding:4px 0}.sticky-preview .preview-resize-handle{color:var(--muted);background:0 0}.node-preview:not(.expanded-preview) .preview-note-toolbar{display:none}.node-preview .preview-note-toolbar{padding-right:22px}.sticky-preview.has-note-color{border-top-color:var(--note-color);background:color-mix(in srgb, var(--note-color) 12%, var(--panel))}.sticky-preview .sticky-note.has-note-color .sticky-surface{background:0 0}.sticky-preview .notes-color-menu>summary{min-width:28px;min-height:28px}.sticky-preview .note-color-picker .color-picker-toggle{width:28px;min-width:28px;height:28px;min-height:28px;padding:2px}.sticky-preview .notes-color-swatch{width:100%;height:100%;min-height:0}.sticky-preview .preview-title[contenteditable=true]{cursor:text;-webkit-user-select:text;user-select:text;touch-action:auto;min-width:1ch;caret-color:var(--text);outline:none;flex:0 auto}.sticky-preview .preview-title[contenteditable=true]:focus{box-shadow:inset 0 -1px var(--accent)}.preview-title-message{flex:none}.has-preview-content-choice .preview-actions{gap:2px}.has-preview-content-choice .preview-actions .expand-node-preview{display:none}.node-preview-controls.has-preview-content-choice:has(.preview-content-picker button[data-preview-content=note][aria-pressed=true]) .preview-actions .expand-node-preview{display:inline-flex}.preview-actions-divider{background:var(--border);flex:none;width:1px;height:18px;margin-inline:2px}.preview-content-picker{flex:none;align-items:center;gap:2px;display:flex}.preview-content-picker svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.preview-content-picker button{color:var(--muted)}.preview-content-picker button:hover,.preview-content-picker button[aria-pressed=true]{color:var(--text);background:var(--soft)}.node-preview[data-preview-content]:not([data-preview-content=image]) .preview-image{display:none}.node-preview.preview-content-note:not(.expanded-preview) .sticky-surface{min-height:80px;max-height:140px;overflow:auto;height:140px!important}.node-preview.preview-content-note .preview-notes>h3{display:none}.node-preview.preview-content-note .preview-note-toolbar{display:block}.preview-content-empty{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.preview-content-note .sticky-resize{display:none}.node-preview .preview-header{flex:none}.has-preview-content-choice .preview-actions{flex-wrap:nowrap}.has-preview-content-choice .preview-actions button{flex:0 0 28px}.preview-actions>button>svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.node-preview .preview-title[contenteditable=true],.node-preview .preview-summary[contenteditable=true]{cursor:text;-webkit-user-select:text;user-select:text;touch-action:auto;caret-color:var(--text);outline:none}.node-preview .preview-summary[contenteditable=true]:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.inline-editing-preview .preview-title:focus,.inline-editing-preview .preview-summary:focus{box-shadow:inset 0 -1px var(--accent)}.inline-editing-preview .edit-node-preview{background:var(--soft)}.inline-editing-preview .preview-image{display:none}.inline-editing-preview .preview-image-editor{margin:6px 0}.node-preview-controls{border:1px solid var(--border);background:var(--panel);width:max-content;color:var(--text);pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:9px;padding:5px 6px;position:absolute;box-shadow:0 5px 18px #0003}.node-preview-controls .preview-header{margin:0}.node-preview-controls .preview-actions{flex-wrap:nowrap;gap:2px}.note-preview-controls{pointer-events:none!important}.note-preview-controls .preview-actions>button{pointer-events:auto}.node-preview-controls .preview-content-choice{display:flex}.node-preview-controls .preview-content-choice[hidden],.image-preview-controls :is(.edit-node-preview,.pin-node-preview){display:none}.node-preview-controls .preview-actions button{flex:0 0 32px;width:32px;min-width:32px;height:32px;min-height:32px}.node-preview-controls .preview-actions button>svg{width:18px;height:18px}.node-preview-controls .node-connection-handle{margin:0}.node-preview-controls.has-preview-content-choice .preview-actions{grid-template-rows:auto auto;grid-template-columns:repeat(6,32px);grid-auto-flow:column;align-items:center;gap:2px;display:grid}.node-preview-controls.has-preview-content-choice:has(.preview-content-picker button[data-preview-content=note][aria-pressed=true]) .preview-actions{grid-template-columns:repeat(7,32px)}.node-preview-controls.has-preview-content-choice .preview-actions>button{grid-row:1}.node-preview-controls.has-preview-content-choice .preview-actions>.node-connection-handle{grid-area:1/1/3;align-self:center}.node-preview-controls.has-preview-content-choice .preview-actions-divider{display:none}.node-preview-controls.has-preview-content-choice .preview-content-choice{border-top:1px solid var(--border);grid-area:2/2/auto/-1;justify-content:center;padding-top:2px}.link-preview-controls .node-connection-handle span{border:0;border-radius:0;width:22px;height:22px}.link-preview-controls .node-connection-handle svg{fill:currentColor;width:22px;height:22px;display:block}@media (pointer:coarse){.node-preview-controls .preview-actions button{flex-basis:40px;width:40px;min-width:40px;height:40px;min-height:40px}.node-preview-controls.has-preview-content-choice .preview-actions{grid-template-columns:repeat(6,40px)}.node-preview-controls.has-preview-content-choice:has(.preview-content-picker button[data-preview-content=note][aria-pressed=true]) .preview-actions{grid-template-columns:repeat(7,40px)}}.node-preview.planet-node-preview:not(.sticky-preview){padding:12px}.node-preview.image-node-preview{overflow:clip}.image-node-preview .preview-title{min-width:0}.image-node-preview .preview-image-frame .image-frame-picker{margin:0}.image-node-preview .preview-image-frame .image-frame-options{justify-content:center;gap:4px}.image-preview-controls .choose-image-frame[aria-expanded=true]{color:var(--accent);background:var(--soft)}.node-preview-controls.inline-editing-preview .edit-node-preview{color:var(--accent)}.sticky-preview .preview-description{padding-bottom:0}.space-note-preview:not(.expanded-preview) .preview-note-header{margin-bottom:0}.space-note-preview:not(.expanded-preview):not(.note-icon-preview),.space-note-preview:not(.expanded-preview) :is(.preview-reading,.preview-expanded-content,.preview-description,.sticky-surface){overflow:clip}.node-preview:is(.space-note-preview,.link-node-preview).note-icon-preview{background:radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--note-color,var(--selection-color)) 65%, white), color-mix(in srgb, var(--note-color,var(--selection-color)) 25%, var(--panel)) 75%);border-radius:50%;min-width:0;padding:0;overflow:visible;box-shadow:inset -4px -5px 8px #0003,0 3px 10px #0002}.node-preview.note-icon-preview :is(.preview-header,.preview-note-header,.preview-reading){display:none}.preview-note-marker{border-radius:inherit;width:100%;height:100%;color:var(--text);cursor:grab;place-items:center;display:grid;position:relative}.preview-note-marker[hidden]{display:none}.preview-note-marker:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.preview-note-marker svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.preview-marker-caption{width:max-content;max-width:194px;color:var(--text);background:var(--panel);border-radius:5px;align-items:center;padding:2px 4px 2px 0;display:flex;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 2px 6px #0003}.preview-marker-caption .node-connection-handle{flex:0 0 28px;height:28px;margin:0;padding:8px}.node-preview:is(.space-note-preview,.link-node-preview) .preview-marker-caption .node-connection-handle{display:none}.preview-note-marker-title{cursor:grab;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:160px;padding:4px 2px;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden}.node-preview.link-node-preview{width:max-content;min-width:160px;color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:9px;padding:8px 10px;overflow:clip;box-shadow:0 5px 16px #0003}.link-node-preview.active-preview{border-color:var(--accent)}.link-node-preview>.preview-header{align-items:center;gap:6px;margin:0;display:flex}.link-node-preview .preview-title-row{flex:1;align-items:center;gap:6px;min-width:0;margin:0}.link-node-preview .preview-title{max-width:240px;color:var(--text);margin:0;font-size:17px;font-weight:600}.link-node-preview .preview-actions{flex:none}.link-node-preview .preview-title-row .node-connection-handle{flex-basis:24px;height:24px;margin:0;padding:3px}.link-node-preview .preview-title-row .node-connection-handle span{border:0;border-radius:0;width:18px;height:18px}.link-node-preview .preview-title-row .node-connection-handle svg{fill:currentColor;width:18px;height:18px;display:block}.link-node-preview.note-icon-preview .preview-note-marker svg{width:28px;height:28px}.link-node-preview .preview-reading{padding:0}.link-node-preview .preview-link{margin:3px 0 0;padding:0;list-style:none}.link-node-preview .preview-link a{text-overflow:ellipsis;white-space:nowrap;max-width:310px;color:var(--muted);font-size:12px;display:block;overflow:hidden}.link-node-preview .preview-link a:hover{color:var(--accent)}.note-icon-preview .note-marker-group-category:not([hidden]){width:28px;height:28px;min-height:28px;color:var(--text);background:var(--panel);border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:50%;left:calc(100% + 4px);transform:translateY(-50%)}.note-icon-preview .note-marker-position-pin:not([hidden]){width:28px;height:28px;min-height:28px;color:var(--text);background:var(--panel);border:0;border-radius:6px;place-items:center;padding:5px;display:grid;position:absolute;top:50%;left:calc(100% + 36px);transform:translateY(-50%)}.link-node-preview.note-icon-preview .note-marker-position-pin:not([hidden]){left:calc(100% + 4px)}.link-node-preview.note-icon-preview .note-marker-open-details:not([hidden]){width:28px;height:28px;min-height:28px;color:var(--text);background:var(--panel);border:0;border-radius:6px;place-items:center;padding:5px;display:grid;position:absolute;top:50%;left:calc(100% + 36px);transform:translateY(-50%)}.link-node-preview.note-icon-preview:has(.note-marker-group-category:not([hidden])) .note-marker-position-pin:not([hidden]){left:calc(100% + 36px)}.link-node-preview.note-icon-preview:has(.note-marker-group-category:not([hidden])) .note-marker-open-details:not([hidden]){left:calc(100% + 68px)}.note-marker-open-details svg,.note-marker-position-pin svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.note-icon-preview .note-marker-position-pin[aria-pressed=true]{color:var(--accent)}.workspace-edit-mode{align-items:center;min-width:0;display:inline-flex}.workspace-mode-switch{min-height:38px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:7px;padding:4px 6px;font-size:12px;display:inline-flex}.toolbar .workspace-mode-switch span{font-size:inherit;vertical-align:baseline;margin:0}.workspace-mode-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.workspace-mode-track{border:1px solid var(--border);background:var(--field);border-radius:20px;flex:none;width:32px;height:18px;display:block;position:relative}.workspace-mode-knob{background:var(--muted);border-radius:50%;width:12px;height:12px;transition:transform .15s,background .15s;position:absolute;top:2px;left:2px}.workspace-mode-switch[aria-checked=true] .workspace-mode-knob{background:var(--accent);transform:translate(14px)}.workspace-mode-label{text-align:left;min-width:28px}#app.home-open .app-menu-actions>.workspace-edit-mode{display:none}.compact-workspace-actions .workspace-edit-mode,.notes-reader-menu-actions .workspace-edit-mode{gap:6px;width:100%;padding:8px 12px;display:grid}.compact-workspace-actions .workspace-edit-mode:before,.notes-reader-menu-actions .workspace-edit-mode:before{content:"Editing mode";color:var(--muted);font-size:12px}.compact-workspace-actions .workspace-mode-switch,.notes-reader-menu-actions .workspace-mode-switch{min-height:44px;font-size:14px}.sticky-readonly .sticky-tools,.sticky-readonly .sticky-resize,.sticky-readonly .note-image-resize,.sticky-readonly .note-image-remove{display:none!important}.notes-map-locked .notes-drag-handle,.notes-new[hidden]{display:none}[contenteditable=false].notes-inline-field,.sticky-readonly .sticky-surface{cursor:default}.note-links-reading,.note-links-editing{gap:8px;display:grid}.note-links-reading[hidden],.note-links-editing[hidden]{display:none}.note-links-error{color:var(--danger);font-size:13px}.note-links-editing input,.note-links-editing textarea{max-width:100%}.notes-map-locked .notes-outline li>.notes-drag-handle,.details-panel .node-detail-actions[hidden],.details-panel .node-position-control[hidden]{display:none!important}.notes-inline-field[contenteditable=false]:empty:before{content:none}.model-editor .model-file-field{color:var(--muted);align-items:center;gap:8px;margin:0 0 12px;font-size:12px;display:flex}.model-editor .model-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.model-editor .replace-model-file{flex:none;justify-content:center;align-items:center;width:32px;height:32px;margin-left:auto;padding:6px;display:inline-flex}.model-editor .replace-model-file svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:20px;height:20px}.model-import-preview{background:var(--field);border-radius:8px;height:210px;overflow:hidden}.model-import-preview canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.model-import-preview canvas:active{cursor:grabbing}.model-editor .model-import-hint{color:var(--muted);margin:6px 0 14px;font-size:11px}.model-editor .model-import-size-label{justify-content:space-between;align-items:center;display:flex}.model-editor #model-import-size{padding:0}.model-editor .model-progress{color:var(--muted);margin:8px 0;font-size:12px}@media (width<=700px){.model-import-preview{height:180px}}.workspace-home.notes-home .home-intro{padding-bottom:28px}.notes-home .workspace-cards{flex-direction:column;gap:0;display:flex}.notes-home .workspace-card{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;flex-direction:row;align-items:center}.notes-home .workspace-card:hover{background:var(--soft)}.notes-home .workspace-card-main{justify-content:center;min-height:76px;padding:14px 12px}.notes-home .workspace-card strong{font-size:16px;line-height:1.4}.notes-home .workspace-card-count{margin-top:4px;line-height:1.4}.notes-home .workspace-card-actions{border:0;flex-wrap:nowrap;flex:none;gap:2px;padding:6px}.notes-home .workspace-card-actions button{background:0 0;border:0;border-radius:6px;place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:grid}.notes-home .workspace-card-actions button:hover{background:var(--field)}.notes-home .workspace-card-actions svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.notes-home .workspace-card button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}#app.home-open .toolbar .workspace-file-menu,#home-general-settings{display:none}#app.home-open #home-general-settings{width:44px;height:44px;color:var(--text);border-radius:7px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}#home-general-settings:hover{background:var(--soft)}#home-general-settings:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#home-general-settings svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.home-file-actions{flex-wrap:wrap;gap:8px;max-width:100%;display:flex}.home-open-cloud{border:1px solid var(--border);background:var(--panel)}.workspace-card-actions .workspace-open-actions{margin-left:auto}.workspace-save-file{border:1px solid var(--border);width:36px;height:36px;color:var(--text);background:var(--panel);border-radius:6px;flex:none;place-items:center;padding:0;display:grid}.workspace-save-file svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.workspace-save-file:hover{border-color:var(--text)}.workspace-card-preview{flex:none;width:calc(100% + 48px);height:170px;margin:0 0 8px -24px;display:block;position:relative;overflow:hidden}.workspace-home:not(.notes-home) .workspace-card:hover{background:var(--panel)}.workspace-home:not(.notes-home) .workspace-card-main{background:color-mix(in srgb, var(--map-bg) 40%, var(--panel) 60%);padding-bottom:10px}.workspace-home:not(.notes-home) .workspace-card-actions{padding-block:4px}@media (hover:hover) and (pointer:fine){.workspace-home:not(.notes-home) .workspace-card{--workspace-action-surface:color-mix(in srgb, var(--map-bg) 95%, black);background:var(--workspace-action-surface)}.workspace-home:not(.notes-home) .workspace-card-main{background:var(--panel)}.workspace-home:not(.notes-home) .workspace-card:hover{background:color-mix(in srgb, var(--workspace-action-surface) 95%, var(--accent))}.workspace-home:not(.notes-home) .workspace-card:hover .workspace-card-main{background:color-mix(in srgb, var(--panel) 93%, var(--accent))}.workspace-home:not(.notes-home) .workspace-save-file{background:0 0}}.workspace-card-preview .workspace-mini-map{width:100%;height:100%;margin:0;display:block}.workspace-card-details{width:100%;text-shadow:0 1px 4px var(--map-bg), 0 0 4px var(--map-bg);background:0 0;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding:10px 12px;display:flex;position:absolute;inset:auto 0 0}.workspace-card-details .workspace-card-count,.workspace-card-details .workspace-card-open{margin:0}.workspace-card-details .workspace-card-count{color:var(--text)}.workspace-card{position:relative}.workspace-card-2d-only{border:1px solid var(--border);background:var(--panel);color:var(--muted);white-space:nowrap;border-radius:5px;padding:2px 6px;font-size:10px;font-weight:600;line-height:1.4;position:absolute;top:10px;right:10px}.notes-home .workspace-card-main{padding-right:48px}.workspace-save-choices{gap:8px;margin-top:18px;display:grid}.workspace-save-choices button{border:1px solid var(--border);min-height:44px;color:var(--text);text-align:left;border-radius:7px;padding:10px 14px}.workspace-save-choices button:hover{background:var(--soft)}@media (width<=560px){.home-file-actions{flex-wrap:nowrap;width:100%}.home-file-actions button{flex:1 1 0;min-width:0;padding-inline:8px;font-size:12px}.workspace-home .workspace-card-actions{flex-wrap:nowrap;gap:4px;padding:4px 8px}.workspace-card-actions .workspace-open-actions{flex-wrap:nowrap;flex:1;justify-content:flex-end;gap:2px;min-width:0}.workspace-home .workspace-open-actions button{white-space:nowrap;padding-inline:5px;font-size:11px}}@media (pointer:coarse){.workspace-home:not(.notes-home) .workspace-card-actions button{min-height:40px}.workspace-home:not(.notes-home) .workspace-save-file{width:40px;height:40px}}.category-editor .category-name-color{align-items:stretch;gap:8px;display:flex;position:relative}.category-editor .category-name-color input[name=title]{flex:auto;min-width:0}.category-editor .category-list-heading{border:0;margin:16px 0 4px;padding:0}.group-editor .category-editor-list{flex-flow:column;gap:4px;max-height:240px;display:flex}.group-editor .category-editor-list li{align-items:center;gap:6px;min-width:0;display:flex}.group-editor .category-editor-list button[data-category-id]{flex:1;align-items:center;min-width:0;display:flex}.group-editor .category-editor-list .category-dot{flex:none}.group-editor .category-editor-list button.category-visibility{border:0;flex:none;place-items:center;width:36px;height:36px;padding:8px;display:grid}.category-visibility svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.category-visibility[aria-pressed=false]{color:var(--muted)}.color-picker{flex:none;align-self:stretch;display:inline-flex;position:relative}.color-picker[hidden]{display:none}.color-picker-toggle{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:6px;flex:none;width:44px;min-width:44px;min-height:40px;padding:4px}.color-picker-toggle>span{background:var(--color-picker-color,#a8c98c);border-radius:3px;width:100%;height:100%;min-height:30px;display:block}.color-picker-popup{z-index:30;box-sizing:border-box;border:1px solid var(--border);background:var(--panel);width:min(260px,100vw - 100px);max-height:min(300px,55dvh);color:var(--text);border-radius:8px;padding:12px;position:absolute;bottom:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 5px 20px #0004}.color-picker-popup[hidden]{display:none}.color-picker-popup.opens-down{top:calc(100% + 6px);bottom:auto}.color-picker-popup.color-picker-portal{z-index:1000;position:fixed;bottom:auto;right:auto}.color-picker-presets{flex-wrap:wrap;gap:8px;margin:0;display:flex}.color-picker-swatch{border:2px solid color-mix(in srgb, var(--text) 30%, transparent);background:var(--swatch);cursor:pointer;border-radius:50%;flex:0 0 26px;width:26px;min-width:26px;height:26px;min-height:26px;padding:0}.color-picker-swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.color-picker-custom{justify-content:space-between;align-items:center;gap:8px;margin:10px 0 0;display:flex}.color-picker-custom input[type=color]{cursor:pointer;width:44px;height:36px;min-height:0;padding:3px}.color-picker-extra{margin-top:8px}.group-editor-tabs{border-bottom:1px solid var(--border);gap:4px;margin:-4px 0 20px;display:flex}.group-editor-tabs button{color:var(--muted);border:0;border-bottom:2px solid #0000;flex:1;padding:10px 12px}.group-editor-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--accent)}.group-editor-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.group-editor [role=tabpanel][hidden]{display:none}.category-settings-error{color:var(--danger)}.selection-category-name-color{align-items:stretch;gap:8px;display:flex}.selection-category-name-color>input{flex:auto;min-width:0}:root{color:#edf3ee;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101918;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,a:focus-visible,canvas:focus-visible{outline-offset:4px;outline:2px solid #b6d5a2}button{color:inherit;background:0 0;border:0}.app-header-actions>button>svg,.app-menu-actions>button>svg,.workspace-file-menu>summary>svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px;width:18px;height:18px}[hidden]{display:none!important}#app{flex-direction:column;height:100dvh;min-height:480px;display:flex}.toolbar{border-bottom:1px solid #ffffff10;flex-shrink:0;align-items:center;gap:24px;height:76px;padding:0 32px;display:flex}.brand{color:inherit;letter-spacing:-.8px;align-items:center;gap:10px;font-size:23px;font-weight:600;text-decoration:none;display:flex}.brand img{width:34px;height:34px}.toolbar-divider{background:#ffffff1a;width:1px;height:20px}.workspace-name{color:#93a59b;font-size:13px}.sample-badge{color:#adbbb2;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:8px;margin-left:auto;padding:7px 11px;font-size:11px;display:flex}.sample-badge>span,.status-dot{background:#a8c98c;border-radius:50%;width:5px;height:5px;display:inline-block}.workspace{flex:1;min-height:0;position:relative;overflow:hidden}.graph{isolation:isolate;background:#070c15;position:absolute;inset:0}.graph canvas{touch-action:none;display:block}@media (pointer:coarse){.graph,.graph.graph *,.camera-tools,.camera-tools *,.legend,.legend *,.map-heading,.map-heading *,.gesture-hint,.selection-actions,.selection-actions *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.graph.graph :is(input,textarea,[contenteditable=true],[contenteditable=true] *){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}}.map-heading{pointer-events:none;position:absolute;top:25px;left:36px}.eyebrow{letter-spacing:.17em;color:#8d9e90;margin:0 0 13px;font-size:9px;font-weight:600}h1{letter-spacing:-1.2px;margin:0;font-size:30px;font-weight:400}.map-heading>p:last-child{color:#889a90;margin:10px 0;font-size:12px}.node-browser{z-index:2;background:#17221eea;border:1px solid #ffffff15;border-radius:8px;width:184px;font-size:12px;position:absolute;top:29px;right:30px}.node-browser summary{cursor:pointer;padding:13px 16px;list-style:none}.node-browser summary::-webkit-details-marker{display:none}.node-browser summary span{float:right;color:#a8c98c}.node-browser ul{border-top:1px solid #ffffff10;max-height:50vh;margin:0;padding:4px 12px 12px;list-style:none;overflow:auto}.node-browser li{color:#b2c1b7;padding:7px 3px}.legend{pointer-events:none;position:absolute;bottom:33px;left:36px}.legend ul{color:#a5b5aa;gap:11px;margin:0;padding:0;font-size:11px;list-style:none;display:grid}.category-dot{border-radius:50%;width:7px;height:7px;margin-right:10px;display:inline-block}.camera-tools{background:#17221e;border:1px solid #ffffff18;border-radius:9px;align-items:center;padding:3px;display:flex;position:absolute;bottom:30px;right:30px}.camera-tools button{border-radius:5px;min-width:36px;height:36px;font-size:19px}.camera-tools button:hover{background:#ffffff0a}.camera-tools button:first-child{padding:0 12px}.camera-tools button span{vertical-align:2px;margin-left:4px;font-size:11px}#focus-center{justify-content:center;align-items:center;display:flex}.focus-icon{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px}.floating-import-preview{object-fit:contain;border-radius:6px;width:100%;max-height:260px;margin:12px 0 18px;display:block}.image-source-options{gap:12px;margin-top:22px;display:grid}.image-source-options button{border:1px solid var(--border);background:var(--field);min-height:58px;color:var(--text);text-align:left;border-radius:10px;align-items:center;gap:12px;padding:14px 16px;display:flex}.image-source-options button:hover{border-color:var(--accent);background:var(--soft)}.image-source-options svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linejoin:round;flex:0 0 24px;width:24px;height:24px}.floating-image-handles{pointer-events:none;position:absolute;inset:0}.floating-image-resize{box-sizing:border-box;border:1px solid var(--accent);background:var(--panel);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--accent);pointer-events:auto;cursor:nwse-resize;touch-action:none;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-100%,-100%);box-shadow:0 2px 8px #0005}.floating-model-resize{transform:translate(-50%,-50%)}.floating-image-resize:hover,.floating-image-resize:focus-visible{background:var(--soft);outline:2px solid var(--accent);outline-offset:2px}.floating-image-resize svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:20px;height:20px}@media (pointer:coarse){.floating-image-resize{width:44px;min-width:44px;height:44px;min-height:44px}}@media (width<=600px){.floating-image-resize{--grip-size:clamp(16px, 5vw, 24px);--grip-glyph-size:clamp(10px, 3vw, 15px);box-shadow:none;background:0 0;border:0}.floating-image-resize:before{content:"";width:var(--grip-size);height:var(--grip-size);box-sizing:border-box;border:1px solid var(--accent);background:var(--panel);pointer-events:none;border-radius:5px;grid-area:1/1;box-shadow:0 2px 8px #0005}.floating-image-resize svg{width:var(--grip-glyph-size);height:var(--grip-glyph-size);grid-area:1/1;position:relative}.floating-image-resize:not(.floating-model-resize):before{position:absolute;bottom:0;right:0}.floating-image-resize:not(.floating-model-resize) svg{right:calc((var(--grip-size) - var(--grip-glyph-size)) / 2);bottom:calc((var(--grip-size) - var(--grip-glyph-size)) / 2);position:absolute}.floating-image-resize:hover,.floating-image-resize:focus-visible{background:0 0;outline:none}.floating-image-resize:hover:before,.floating-image-resize:focus-visible:before{background:var(--soft);outline:2px solid var(--accent);outline-offset:2px}}.tool-divider{background:#ffffff15;width:1px;height:18px;margin:0 4px}.gesture-hint{color:#71877a;white-space:nowrap;pointer-events:none;font-size:10px;position:absolute;bottom:32px;left:50%;transform:translate(-50%)}.gesture-hint span{margin:0 7px}.statusbar{color:#8c9f93;border-top:1px solid #ffffff10;flex-shrink:0;justify-content:space-between;align-items:center;height:40px;padding:0 32px;font-size:10px;display:flex}.statusbar p{margin:0}.status-dot{margin-right:7px}.status-mode{letter-spacing:.12em;border-left:1px solid #ffffff1a;margin-left:22px;padding-left:22px;font-size:9px}.map-error{background:#302722;border:1px solid #a58266;border-radius:12px;width:min(90%,450px);padding:24px;line-height:1.6;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.node-browser li{padding:0}.node-browser li button{text-align:left;border-radius:4px;width:100%;padding:9px 6px;font-size:12px}.node-browser li button:hover,.node-browser li button[aria-pressed=true]{color:#e3f2db;background:#ffffff09}.details-panel{z-index:3;background:#17211d;border-left:1px solid #ffffff12;flex-direction:column;width:340px;display:flex;position:absolute;inset:0 0 0 auto}.details-header{justify-content:space-between;align-items:center;padding:22px 24px;display:flex}.details-header .eyebrow{margin:0}.details-header-actions{align-items:center;gap:6px;display:flex}.pin-details{border:1px solid var(--border);min-height:32px;color:var(--muted);border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-size:11px;display:inline-flex}.pin-details svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.pin-details:hover,.pin-details[aria-pressed=true]{color:var(--accent);background:var(--soft);border-color:var(--accent)}@media (width<=900px){.pin-details{min-height:42px}}.close-details{color:#a0b1a5;border-radius:6px;width:32px;height:32px;font-size:25px;line-height:1}.details-body{flex:1;min-height:0;padding:10px 28px 28px;overflow:auto}.detail-category{color:#afc0b3;align-items:center;margin:0 0 20px;font-size:11px;display:flex}.detail-category .category-dot{margin-right:8px}#detail-title{letter-spacing:-.9px;overflow-wrap:anywhere;margin:0 0 16px;font-size:32px;font-weight:400;line-height:1.2}#detail-summary{color:#b3c2b6;font-size:14px;line-height:1.7}.connection-count{color:#a9bdab;border:1px solid #ffffff13;border-radius:5px;padding:7px 10px;font-size:10px;display:inline-block}.detail-notes{border-top:1px solid #ffffff12;margin-top:25px;padding-top:24px}.detail-notes h3{margin:0 0 14px;font-size:12px;font-weight:500}#detail-description{color:#95a99a;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9}.details-footnote{color:#849a89;border-top:1px solid #ffffff0d;margin:0;padding:18px 28px;font-size:10px}.details-open .graph{right:340px}.details-open .node-browser,.details-open .camera-tools{right:370px}.details-open .gesture-hint{left:calc(50% - 170px)}@media (width<=1100px){.gesture-hint{display:none}.details-open .map-heading h1{font-size:25px}}@media (width<=900px){#app{min-height:0}.toolbar{gap:16px;height:62px;padding:0 20px}.brand{font-size:21px}.brand img{width:30px;height:30px}.workspace-name,.toolbar-divider{display:none}.map-heading{top:23px;left:22px}.map-heading h1{font-size:27px}.map-heading .eyebrow{font-size:8px}.node-browser{top:26px;right:22px}.node-browser li button{min-height:42px}.legend{bottom:90px;left:22px}.legend ul{grid-template-columns:auto auto;gap:10px 22px}.legend .eyebrow{display:none}.camera-tools{bottom:24px;right:22px}.camera-tools button{min-width:42px;height:40px}.statusbar{gap:12px;height:36px;padding:0 20px}.status-mode{display:none}.statusbar p:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.statusbar p:last-child{flex-shrink:0}.details-panel{border-top:1px solid #526448;border-left:0;border-radius:18px 18px 0 0;width:100%;height:44%;min-height:250px;inset:auto 0 0;box-shadow:0 -12px 50px #0003}.details-header{padding:12px 22px 4px}.details-body{padding:10px 24px 20px}.detail-category{margin-bottom:10px}#detail-title{margin-bottom:8px;font-size:27px}#detail-summary{margin:8px 0}.detail-notes{margin-top:12px;padding-top:14px}.details-footnote{display:none}.close-details{width:42px;height:42px}.details-open .graph{right:0}.details-open .node-browser{right:22px}.details-open .camera-tools{bottom:max(44% + 14px,264px);right:22px}.details-open .legend{display:none}}@media (width<=560px){.toolbar{padding:0 18px}.sample-badge{font-size:10px}.map-heading{top:23px;left:20px}.map-heading h1{font-size:26px}.map-heading>p:last-child{font-size:11px}.node-browser,.details-open .node-browser{width:142px;font-size:11px;top:116px;right:18px}.node-browser ul{max-height:42vh}.node-browser summary{min-height:44px}.legend{bottom:92px;left:22px}.legend ul{font-size:10px}.camera-tools{bottom:22px;right:18px}.statusbar{padding:0 18px;font-size:9px}}@media (height<=600px) and (width<=900px){.toolbar{height:50px}.map-heading{top:18px}.map-heading h1{font-size:23px}.map-heading .eyebrow,.map-heading>p:last-child,.legend{display:none}.node-browser{width:155px;top:12px}.node-browser ul{max-height:45vh}.camera-tools{bottom:12px}.details-panel{border-top:0;border-left:1px solid #ffffff15;border-radius:0;width:310px;height:100%;min-height:0;inset:0 0 0 auto}.details-open .graph{right:310px}.details-open .map-heading{display:none}.details-open .node-browser{top:12px;right:330px}.details-open .camera-tools{bottom:12px;right:330px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}#workspace-menu{align-items:center;gap:6px;min-width:0;display:flex}#workspace-select{color:#c0cec3;text-overflow:ellipsis;background:0 0;border:0;max-width:230px;padding:8px;font-size:13px}#workspace-select option{background:#17211d}.form-dialog{color:#edf3ee;background:#17211d;border:1px solid #536849;border-radius:16px;width:min(440px,100% - 32px);max-height:90dvh;padding:28px}.form-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#07100cb8}.form-dialog h2{margin:0 0 26px;font-size:25px;font-weight:400}.form-dialog label{color:#b1c2b6;margin:16px 0 8px;font-size:12px;display:block}.form-dialog input,.form-dialog select,.form-dialog textarea{color:#edf3ee;width:100%;font:inherit;background:#0f1a15;border:1px solid #3b4e41;border-radius:6px;padding:11px;font-size:13px}.form-dialog textarea{resize:vertical;min-height:90px}.form-error{color:#f2b09b;font-size:12px}.form-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:25px;display:flex}.form-actions button{border-radius:6px;padding:11px 16px;font-size:12px}.primary-button{color:#18231b;background:#bad5a8;font-weight:600}.empty-map{color:#94aa9b;text-align:center;pointer-events:none;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.notification{pointer-events:none;z-index:100;overflow-wrap:anywhere;background:#302722;border:1px solid #9d7958;border-radius:8px;max-width:90%;padding:12px 18px;font-size:12px;position:fixed;bottom:85px;left:50%;transform:translate(-50%)}@media (width<=700px){.toolbar{gap:10px}.brand span{display:none}#workspace-select{max-width:160px;padding-left:0;font-size:12px}.sample-badge{padding:7px;font-size:9px}}@media (width<=390px){#workspace-select{max-width:120px}}.node-preview{z-index:1;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;width:234px;max-width:calc(100% - 16px);box-shadow:0 15px 45px #0005;box-shadow:0 0 0 3px color-mix(in srgb, var(--selection-color,var(--accent)) 28%, transparent), 0 15px 45px #0005;background:#203128f5;border:2px solid #789068;border-radius:12px;padding:17px 18px 13px;animation:.18s ease-out open-preview;position:absolute}.node-preview:active{cursor:grabbing}.preview-kicker{color:#a5bc9b;letter-spacing:.14em;margin:0 26px 10px 0;font-size:8px}.preview-title{overflow-wrap:anywhere;margin:0 25px 9px 0;font-size:16px;font-weight:500;line-height:1.35}.preview-summary{color:#bdcdbf;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.preview-hint{color:#8aa28e;margin:14px 0 0;font-size:8px}.open-node-notes{color:#cde5b9;border-radius:6px;width:34px;height:34px;font-size:22px;position:absolute;top:8px;right:9px}.open-node-notes:hover{background:#ffffff0d}@keyframes open-preview{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@media (prefers-reduced-motion:reduce){.node-preview{animation:none}}.edit-node-button{color:#c4dab7;border:1px solid #637854;border-radius:6px;margin:14px 0 0;padding:10px 14px;font-size:11px;display:block}.node-editor{width:min(510px,100% - 32px)}#node-summary{min-height:65px}.resources-editor{border-top:1px solid #ffffff16;margin-top:22px;padding-top:18px}.resources-editor summary{cursor:pointer;color:#c6d7be;font-size:13px}.link-editor-row{border:1px solid #3e5342;border-radius:8px;margin:18px 0 8px;padding:4px 14px 14px}.link-editor-row legend{color:#8da890;padding:0 6px;font-size:10px}.link-editor-row textarea{min-height:65px}.add-resource,.remove-resource{color:#c7dbb9;padding:8px 0;font-size:11px}.remove-resource{color:#cfa89c}#node-resources{border-top:1px solid #ffffff12;margin-top:25px;padding-top:20px}#node-resources h3{margin:0 0 14px;font-size:12px;font-weight:500}.resource-card{color:#d8e7cf;border:1px solid #3c5140;border-radius:9px;margin:12px 0;padding:14px;text-decoration:none;display:block}.resource-card:hover{background:#ffffff04;border-color:#8da876}.resource-domain{color:#93ac92;overflow-wrap:anywhere;margin-bottom:8px;font-size:9px;display:block}.resource-card strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.resource-card p{color:#a7bbaa;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0;font-size:11px;line-height:1.7}.preview-link{color:#c9e0b7;margin:12px 0 0;padding:0;font-size:10px;text-decoration:none;list-style:none;display:block;overflow:hidden}.preview-link .resource-link-row{color:inherit;white-space:normal;overflow-wrap:anywhere;padding:2px 0;text-decoration:none;display:block}.preview-link .resource-link-row:hover{text-decoration:underline}.node-options{margin-top:18px}.node-options summary{cursor:pointer;color:var(--text);font-size:13px}.image-editor{border-top:1px solid #ffffff16;margin-top:22px;padding-top:18px}.image-editor summary{cursor:pointer;color:#c6d7be;font-size:13px}.floating-image-editor{border-top:1px solid var(--border);margin-top:22px;padding-top:18px}.floating-image-editor summary{cursor:pointer;color:var(--accent);font-size:13px}.field-hint{color:#8fa593;font-size:10px;line-height:1.6}.form-dialog .checkbox-label{align-items:center;gap:10px;display:flex}.form-dialog .checkbox-label input{width:auto}.preview-image{object-fit:cover;border-radius:7px;width:72px;height:48px;margin:10px 0 12px;display:block}.preview-link,.preview-hint{clear:both}#detail-image{object-fit:contain;background:#0d1812;border-radius:10px;width:100%;max-height:220px;margin:18px 0;display:block}.preview-title-row{align-items:flex-start;gap:6px;margin-left:-8px;display:flex}.preview-title-row .preview-title{margin-right:20px}.node-connection-handle{cursor:crosshair;touch-action:none;border-radius:50%;flex:0 0 28px;height:28px;margin-top:-3px;padding:7px}.node-connection-handle span{background:#a8c98c;border:2px solid #d8e5cf;border-radius:50%;width:12px;height:12px;display:block}.node-connection-handle:hover{background:#ffffff18}.connection-tools{pointer-events:none;z-index:4;position:absolute;inset:0}.connection-wire{width:100%;height:100%;position:absolute;overflow:hidden}.connection-wire path{fill:none;stroke:#c3d4b4;stroke-width:2px;stroke-dasharray:6 5}.connection-wire path.valid-target{stroke:#d5ffac;stroke-width:3px;stroke-dasharray:none}.connection-hint{color:#dfebd7;pointer-events:auto;background:#24342a;border:1px solid #728567;border-radius:9px;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 32px);padding:12px 14px;font-size:12px;display:flex;position:absolute;bottom:80px;left:50%;transform:translate(-50%)}.cancel-connection{color:#c6dab7;flex-shrink:0;text-decoration:underline}@media (width<=900px){.connection-hint{top:176px;bottom:auto}}.manage-categories{color:#c6d9bb;background:#17221e;border:1px solid #5f7554;border-radius:8px;width:100%;padding:11px;font-size:12px}.delete-category{color:#ffceab;border:1px solid #a37a60;border-radius:6px;margin-top:18px;padding:9px 12px}.legend ul{pointer-events:auto;max-height:min(230px,30vh);overflow-y:auto}.legend li{white-space:nowrap;text-overflow:ellipsis;max-width:180px;overflow:hidden}.category-editor-list{flex-wrap:wrap;gap:8px;max-height:180px;margin:20px 0 12px;padding:0;list-style:none;display:flex;overflow:auto}.category-editor-list button{overflow-wrap:anywhere;text-align:left;border:1px solid #43593d;border-radius:7px;max-width:100%;padding:10px 12px;font-size:12px}.category-editor-list button[aria-pressed=true]{background:#31432b;border-color:#bbd6a4}.new-category{color:#c7dfb7;padding:8px 0;font-size:12px}.category-editor h3{border-top:1px solid #ffffff15;margin:20px 0 8px;padding-top:20px;font-size:15px;font-weight:500}@media (width<=380px){.camera-tools button span{display:none}}.node-position-control{color:#c0d3b8;cursor:pointer;align-items:center;gap:7px;margin-top:14px;font-size:12px;display:flex}.node-pinned{accent-color:#b8d59f;margin:0}.pin-hint{margin-top:6px}#open-settings{color:#c3d6b8;flex-shrink:0;padding:0;font-size:20px}#open-settings:hover{background:#27352c}.hide-category-legend .legend{display:none}.category-filters{border:0;border-top:1px solid #ffffff16;margin:24px 0 0;padding:12px 0 16px}.category-filters legend{color:#d3e2c9;padding:0 8px 0 0;font-size:13px}.category-filter-list{max-height:180px;overflow-y:auto}.category-filter-list .category-dot{flex-shrink:0;margin-right:0}.show-all-categories{color:#bfdaa8;padding:10px 0 0;font-size:11px}.view-settings .checkbox-label{font-size:12px;line-height:1.5}.view-settings input[type=checkbox]{accent-color:#b7d39f}@media (width<=390px){#workspace-select{max-width:108px}.toolbar{gap:8px}}.replay-entrance{color:#c1dbae;border:1px solid #637e55;border-radius:7px;width:100%;margin-top:16px;padding:11px;font-size:12px;display:block}.camera-tools .view-mode-button{padding:0 8px;font-size:11px;font-weight:600}.camera-tools .view-mode-button[aria-pressed=true]{color:#efffe8;background:#385047}.camera-tools #open-groups{white-space:nowrap;padding:0 10px;font-size:11px}.group-labels{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.group-bubble-caption{border-left:2px solid var(--group-color);pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;background:#0a1422d9;border-radius:0 9px 9px 0;flex-direction:column;align-items:flex-start;gap:5px;max-width:184px;padding:8px 11px;display:flex;position:absolute;box-shadow:0 4px 18px #0002}.bubble-title-drag-surface{pointer-events:none;touch-action:none;cursor:default;position:absolute;z-index:0!important}.bubble-title-drag-surface[hidden]{display:none}.bubble-title-drag-surface.editable-group{pointer-events:auto}.bubble-title-drag-surface.draggable-group{cursor:grab}.group-bubble-caption.background-globe{opacity:.45;filter:blur(1.3px);pointer-events:none}.group-bubble-caption.selected{box-shadow:0 0 0 1px color-mix(in srgb, var(--group-color) 55%, transparent), 0 4px 18px #0003;background:#162438ee;border-left-width:3px}.selection-actions{position:absolute;bottom:82px;right:30px}.selection-actions button{border:1px solid var(--border);color:var(--text);background:var(--panel);border-radius:7px;align-items:center;gap:7px;padding:9px 12px;font-size:11px;display:inline-flex}.selection-actions button:hover{border-color:var(--accent)}.spread-icon{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 16px;width:16px;height:16px}.group-bubble-caption[hidden]{display:none}.globe-heading{align-items:center;gap:6px;width:100%;display:flex}.leave-globe{pointer-events:auto;color:#c5d4e8;border-radius:5px;flex:0 0 26px;width:26px;height:26px;margin:-3px -5px -3px 0;padding:0;font-size:20px;line-height:1}.leave-globe:hover,.leave-globe:focus-visible{color:#fff;background:#ffffff16}.globe-title{text-overflow:ellipsis;white-space:nowrap;color:#edf4ff;flex:1;min-width:0;max-width:100%;font-size:12px;font-weight:700;line-height:1.35;overflow:hidden}.globe-actions{white-space:nowrap;align-items:center;gap:9px;display:flex}.explore-globe{pointer-events:auto;min-height:24px;color:var(--group-color);text-align:left;padding:3px 0;font-size:10px;font-weight:600}.explore-globe:hover,.explore-globe:focus-visible{color:#fff;text-decoration:underline}@media (width<=600px){.group-bubble-caption{max-width:144px;padding:7px 9px}}.group-editor{width:min(480px,100% - 28px)}.group-editor h2{margin-bottom:16px}.form-dialog .settings-section{border:1px solid var(--border);border-radius:8px;min-width:0;margin:12px 0 0;padding:0}.settings-section>summary{cursor:pointer;min-height:44px;color:var(--text);padding:12px;font-size:13px;font-weight:600}.settings-section[open]>summary{border-bottom:1px solid var(--border);background:var(--soft);border-radius:7px 7px 0 0}.settings-section-content{padding:0 12px 12px}.settings-section-content>.field-hint:last-child{margin-bottom:0}.group-members{border:0;border-top:1px solid #ffffff1a;min-width:0;margin:20px 0 0;padding:12px 0 0}.group-members legend{color:#c8dac0;padding-right:8px;font-size:12px}#group-selection-count{color:#91b6b9;font-size:10px}.group-selection-actions,.group-existing-actions{flex-wrap:wrap;gap:12px;margin:8px 0 12px;display:flex}.group-selection-actions button,.group-existing-actions button{border:1px solid #526951;border-radius:6px;padding:9px 10px;font-size:11px}.group-node-list{max-height:min(210px,27dvh);margin-top:8px;overflow-y:auto}.group-node-list .checkbox-label{min-height:40px;margin:0;padding:8px 4px}.group-node-list .checkbox-label span{overflow-wrap:anywhere;min-width:0}.group-node-list input{accent-color:#b7d39f;flex-shrink:0}.group-node-list label:has(input:disabled){opacity:.45}#ungroup{color:#ffceab;border-color:#926f53}@media (width<=1550px){.gesture-hint{display:none}}@media (width<=700px){.camera-tools{gap:1px;max-width:calc(100% - 24px)}.camera-tools button{min-width:34px}.camera-tools .tool-divider{margin:0 2px}.group-editor{padding:22px}}.node-selection-box{z-index:5;pointer-events:none;background:#67baf322;border:1px solid #88c8ef;position:absolute;box-shadow:0 0 0 1px #08172733}.group-frame{pointer-events:none;border:calc(1px * var(--group-frame-scale,1)) solid #638f96;border-radius:calc(7px * var(--group-frame-scale,1));position:absolute}.group-frame.selected,.group-frame.manipulating{border-color:#a4d2d9}.group-frame-heading{touch-action:none;-webkit-user-select:none;user-select:none;transform-origin:0 0;pointer-events:auto;background:#14242e;border:1px solid #45656c;border-radius:5px;align-items:center;width:max-content;max-width:none;padding:3px 5px;display:flex;position:absolute;top:0;left:12px;transform:translateY(-100%)}.group-frame-heading.draggable-group,.group-bubble-caption.draggable-group{cursor:grab}.group-frame-heading.draggable-group:active,.group-bubble-caption.manipulating{cursor:grabbing}.group-frame-heading:focus-visible,.group-bubble-caption:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.group-frame button{color:#c3e0e4;min-height:28px;padding:5px 8px;font-size:10px}.group-frame-heading button{min-height:34px;padding:7px 10px;font-size:14px}.group-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;max-width:280px;font-weight:600;overflow:hidden}.group-drag-handle:active{cursor:grabbing}.group-frame .arrange-group{color:#a9c5c9;border-left:1px solid #45656c;flex-shrink:0;font-size:12px}.group-frame .focus-group{border-left:1px solid var(--border);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.group-frame .focus-group[aria-pressed=true]{color:var(--accent);background:var(--field)}.group-frame .focus-group svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:17px;height:17px}.group-frame .group-position-lock{flex-basis:34px;width:34px;height:34px;padding:7px}.group-frame .resize-group{--group-grip-size:var(--group-resize-visual-size,20px);width:32px;height:32px;color:var(--accent);pointer-events:auto;cursor:nwse-resize;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:7px;padding:0;position:absolute;bottom:0;right:0}.group-frame .resize-group:before{content:"";width:var(--group-grip-size);height:var(--group-grip-size);box-sizing:border-box;border:1px solid var(--accent);background:var(--panel);pointer-events:none;border-radius:5px;position:absolute;bottom:0;right:0;box-shadow:0 2px 8px #0005}.group-frame .resize-group svg{right:calc(var(--group-grip-size) * .17);bottom:calc(var(--group-grip-size) * .17);width:calc(var(--group-grip-size) * .66);height:calc(var(--group-grip-size) * .66);fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;position:absolute}.group-frame .resize-group:before,.group-frame .resize-group svg{opacity:0;transition:opacity .12s}.group-frame .resize-group:is(:hover,:focus-visible,:active):before,.group-frame .resize-group:is(:hover,:focus-visible,:active) svg{opacity:1}.group-frame .resize-group:focus-visible{outline:none}.group-frame .resize-group:hover:before,.group-frame .resize-group:focus-visible:before{background:var(--soft);outline:2px solid var(--accent);outline-offset:2px}@media (width<=600px){.group-frame .resize-group{--group-grip-size:min(var(--group-resize-visual-size,20px), 3.4vw, 13px);width:44px;height:44px;min-height:44px}}.preview-title{color:#f4f8f3;font-size:17px;font-weight:700;line-height:1.4}.preview-summary{color:#dce8dd;font-size:13px;font-weight:600;line-height:1.65}.preview-kicker{color:#baceb0;font-size:9px;font-weight:600}.preview-link{color:#dcf0cd;font-size:12px;font-weight:600;line-height:1.5}.preview-hint{color:#a4b9a7;font-size:9px}.preview-image{object-fit:contain;width:100%;height:auto}.node-preview{max-height:calc(100% - 16px);overflow-y:auto}#detail-title{color:#f4f8f3;font-weight:700;line-height:1.25}#detail-summary{color:#d4e2d7;font-size:15px;font-weight:600;line-height:1.7}#detail-description{color:#c4d4c9;font-size:15px;font-weight:450;line-height:1.8}.detail-notes h3,#node-resources h3{color:#e7efe3;font-size:13px;font-weight:650}.detail-category{font-size:12px;font-weight:600}.details-body .field-hint{color:#adc2b1;font-size:12px;line-height:1.6}.resource-card strong{font-size:14px;font-weight:650}.resource-card p{color:#c3d5c7;font-size:13px;line-height:1.7}.resource-domain{color:#b1c8b0;font-size:11px}.node-details-controls{border-top:1px solid var(--border);margin-top:24px;padding-top:16px}.node-detail-actions{align-items:stretch;gap:8px;margin-top:14px;display:flex}.node-detail-actions>button{flex:1;min-height:40px;margin:0;padding:10px 12px;font-size:12px;line-height:18px}.danger-button{color:#ffc1b5;border:1px solid #99554b;border-radius:6px;padding:8px 12px}.delete-node-description{overflow-wrap:anywhere;line-height:1.6}.group-theme-picker{align-items:center;gap:10px;margin:8px 0 16px;display:flex}.group-theme-picker input[type=color]{width:44px;height:34px;margin:0;padding:3px}.group-theme-picker [data-theme]{background:var(--swatch);border:2px solid #ffffff40;border-radius:50%;width:26px;height:26px;min-height:0;padding:0}.group-existing-actions{flex-wrap:wrap}.group-frame{border-color:var(--group-color);background:color-mix(in srgb, var(--group-color) 3%, transparent)}.group-frame.selected,.group-frame.manipulating{border-color:var(--group-color);box-shadow:0 0 0 calc(1px * var(--group-frame-scale,1)) color-mix(in srgb, var(--group-color) 45%, transparent)}.group-frame-heading{border-color:color-mix(in srgb, var(--group-color) 60%, #14242e)}.group-frame button{color:var(--group-color)}.group-2d-shortcut{pointer-events:auto;border:1px solid color-mix(in srgb, var(--group-color) 55%, transparent);color:var(--group-color);background:0 0;border-radius:5px;min-height:24px;padding:3px 7px;font-size:10px;font-weight:700}.group-2d-shortcut:hover,.group-2d-shortcut:focus-visible{color:#fff;background:#ffffff12}.world-labels{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.world-labels>.node-previews,.world-labels>.group-labels{z-index:auto}.compact-node-labels{pointer-events:none;position:absolute;inset:0}.compact-node-label{pointer-events:auto;cursor:grab;position:absolute}.node-previews{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.node-previews .node-preview{pointer-events:auto}.preview-header{justify-content:space-between;align-items:center;gap:8px;margin:-7px -9px 8px 0;display:flex}.preview-actions{align-items:center;gap:3px;display:flex}.preview-actions button{border-radius:6px;place-items:center;width:28px;height:28px;min-height:28px;padding:0;display:grid;position:static}.image-preview-controls .node-connection-handle{margin:0}.pin-node-preview{color:var(--accent)}.pin-node-preview svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.pin-node-preview[aria-pressed=true]{background:color-mix(in srgb, var(--selection-color) 20%, transparent)}.pin-node-preview:hover{background:#ffffff14}.preview-title-row .preview-title{flex:1;margin-right:0}.node-preview.floating-image-preview{width:max-content;max-width:min(234px,100% - 16px);padding:8px 12px 6px}.floating-image-preview .preview-title-row{margin-left:-6px}.floating-image-preview .preview-title-row .preview-title{flex:0 auto;min-width:0;margin-bottom:2px}.drag-axis-hint{pointer-events:none;z-index:5;border:1px solid var(--accent);background:var(--panel,#17221e);color:var(--text,#edf3ee);border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700;position:absolute}.globe-title{pointer-events:auto;text-align:left;border-radius:3px;min-width:24px;min-height:28px;padding:2px 0}.globe-title:hover{color:#fff;text-underline-offset:3px;text-decoration:underline}.node-context-menu{z-index:30;border:1px solid var(--border);background:var(--panel);width:224px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--text);border-radius:10px;padding:6px;position:fixed;overflow-y:auto;box-shadow:0 12px 38px #0006}.node-context-heading{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 8px 8px;font-size:11px;font-weight:650;overflow:hidden}.node-context-menu button{text-align:left;border-radius:5px;width:100%;min-height:36px;padding:8px 10px;font-size:12px;display:block}.node-context-menu button:hover,.node-context-menu button:focus-visible{background:var(--soft)}.node-context-menu .context-danger{color:var(--danger);border-top:1px solid var(--border);margin-top:4px}.edit-node-preview{color:var(--accent)}.edit-node-preview svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.preview-image-editor{margin:10px 0}.preview-image-label{color:var(--muted);margin-bottom:5px;font-size:11px;font-weight:600;display:block}.preview-image-drop{border:1px dashed var(--border);background:var(--field);width:100%;min-height:52px;color:var(--muted);border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:11px;display:flex}.preview-image-drop:hover,.image-drag-over .preview-image-drop{border-color:var(--accent);background:var(--soft);color:var(--text)}.preview-image-draft{object-fit:contain;border-radius:4px;width:auto;max-width:100%;height:auto;max-height:96px;display:block}.preview-image-meta{align-items:start;gap:8px;margin-top:5px;display:flex}.preview-image-meta p{color:var(--muted);flex:1;margin:0;font-size:10px;line-height:1.5}.remove-preview-image{color:var(--danger);padding:2px;font-size:11px}.node-browser{width:266px}.node-browser-bar{align-items:center;gap:5px;min-height:44px;padding:5px 7px;display:flex}.node-search-icon,.toggle-node-list svg,.open-listed-note svg,.focus-listed-group svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;flex:none;width:17px;height:17px}.node-search-icon{color:var(--muted);margin-left:3px}.node-search-input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;border-radius:4px;flex:1;padding:7px 3px;font-size:12px}.node-search-input::-webkit-search-cancel-button{display:none}.node-search-input::placeholder{color:var(--muted);opacity:1}.node-browser-bar button{width:28px;height:30px;color:var(--accent);border-radius:4px;flex:none;place-items:center;display:grid}.node-browser-bar button:hover,.toggle-node-list[aria-expanded=true]{background:var(--soft)}.node-search-results{border:1px solid var(--border);background:var(--panel);border-radius:8px;width:max(100%,240px);max-width:calc(100vw - 36px);animation:.14s ease-out search-list-in;position:absolute;top:calc(100% + 5px);right:-1px;box-shadow:0 12px 35px #0004}.node-search-status{color:var(--muted);margin:0;padding:11px 12px;font-size:11px}.node-browser .node-search-results ul{border-color:var(--border);max-height:min(42vh,350px);padding:4px 7px 7px}.node-search-results button span{overflow-wrap:anywhere;font-weight:600;display:block}.node-search-results button small{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin-top:4px;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.node-list-row{align-items:stretch;gap:2px;display:flex}.node-browser .node-list-row>.node-list-title{flex:1;width:auto;min-width:0}.node-browser .node-list-row>.open-listed-note{width:36px;color:var(--accent);flex:0 0 36px;place-items:center;padding:6px;display:grid}.node-browser .node-browser-group>summary{min-height:40px;color:var(--text);align-items:center;gap:8px;padding:10px 6px;font-weight:650;display:flex}.node-browser-group>summary:before{content:"›";font-size:18px}.node-browser-group[open]>summary:before{transform:rotate(90deg)}.node-browser .node-browser-group>summary span{float:none;color:inherit;overflow-wrap:anywhere}.node-browser .node-browser-group>summary .node-group-count{color:var(--muted);margin-left:auto;font-size:11px;font-weight:400}.node-browser .node-browser-group>summary .focus-listed-group{width:32px;min-height:32px;color:var(--accent);flex:0 0 32px;place-items:center;padding:6px;display:grid}@media (pointer:coarse){.node-browser .node-browser-group>summary .focus-listed-group{flex-basis:44px;width:44px;min-height:44px}}.node-browser .node-search-results .node-browser-group>ul{border:0;max-height:none;padding:0 0 5px 12px;overflow:visible}@keyframes search-list-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){.node-browser,.details-open .node-browser{width:190px;max-width:calc(100% - 170px)}.node-search-icon{display:none}}@media (prefers-reduced-motion:reduce){.node-search-results{animation:none}}.node-duplicate-ghost{z-index:10;pointer-events:none;border:1px dashed var(--accent);background:var(--panel);color:var(--text);border-radius:6px;padding:8px 12px;font-size:12px;position:absolute;box-shadow:0 6px 18px #0004}.connection-distances{pointer-events:none;z-index:0;position:absolute;inset:0}.connection-distances>span{color:var(--muted);background:color-mix(in srgb, var(--map-bg) 78%, transparent);opacity:.65;white-space:nowrap;border-radius:3px;align-items:center;gap:2px;padding:2px 4px;font-size:10px;display:inline-flex;position:absolute;transform:translate(-50%,-50%)}.delete-distance-connection{color:#dc3535;pointer-events:auto;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:14px;height:14px;padding:0;display:grid}.delete-distance-connection[hidden]{display:none}.delete-distance-connection svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}.delete-distance-connection:hover,.delete-distance-connection:focus-visible{color:#ff4747}.preview-header .preview-kicker{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.expand-node-preview{color:var(--accent)}.expand-node-preview svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;width:16px;height:16px}.expand-node-preview[aria-pressed=true]{background:var(--soft)}.node-preview.expanded-preview{flex-direction:column;min-height:180px;display:flex;overflow:hidden}.expanded-preview .preview-header{flex:none}.expanded-preview .preview-reading{flex:1;min-height:0;padding:0 3px 18px 0;overflow:auto}.expanded-preview .preview-summary{-webkit-line-clamp:unset;display:block;overflow:visible}.expanded-preview .preview-link{display:none}.preview-expanded-content h3{color:var(--muted);margin:16px 0 8px;font-size:12px;font-weight:700}.preview-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.65}.preview-notes,.preview-resources{-webkit-user-select:text;user-select:text;cursor:text}.preview-resize-handle{cursor:nwse-resize;touch-action:none;width:24px;height:24px;color:var(--accent);background:var(--panel);z-index:2;border-radius:3px;position:absolute;bottom:2px;right:2px}.preview-more-fields{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.preview-more-fields>summary{cursor:pointer;color:var(--accent);font-size:12px;font-weight:600}.preview-link-editor .resources-editor{border:0;margin-top:8px;padding:0}.preview-link-editor .resources-editor>summary{display:none}.preview-link-editor .link-editor-row{border-radius:5px;min-width:0;padding:8px}.preview-link-editor legend{color:var(--muted);font-size:11px}.preview-link-editor .add-resource,.preview-link-editor .remove-resource{padding:6px 0;font-size:11px}.quick-group-dialog{width:340px}.orbit-anchor-marker{z-index:1;width:36px;height:36px;color:var(--accent);background:color-mix(in srgb, var(--map-bg) 78%, transparent);pointer-events:none;border:1px solid #0000;border-radius:50%;padding:2px;position:absolute;transform:translate(-50%,-50%)}.orbit-anchor-marker svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:100%;height:100%;display:block}.group-position-lock{width:30px;height:30px;color:var(--muted);pointer-events:auto;border-radius:5px;flex:0 0 30px;justify-content:center;align-items:center;padding:5px;display:inline-flex}.group-position-lock svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.group-position-lock[aria-pressed=true]{color:var(--text);background:color-mix(in srgb, var(--group-color) 18%, transparent)}.group-position-lock:hover:not(:disabled){background:var(--field)}.group-position-lock:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.group-position-lock:disabled{cursor:default}@media (pointer:coarse){.group-position-lock,.group-frame .group-position-lock{flex-basis:40px;width:40px;height:40px}}.file-save-indicator{color:#e66b6b;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-left:4px;display:inline-flex}.file-save-dot{background:currentColor;border-radius:50%;width:9px;height:9px}.file-save-indicator .file-saving-icon{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;width:16px;height:16px;display:none}.file-save-indicator[data-state=saved]{color:#269d65}.file-save-indicator[data-state=saving]{color:var(--accent)}.file-save-indicator[data-state=saving] .file-save-dot{display:none}.file-save-indicator[data-state=saving] .file-saving-icon{animation:.9s linear infinite file-save-spin;display:block}.statusbar .file-save-indicator{vertical-align:middle;width:16px;height:16px;margin:0 4px 0 0}.notes-list-footer .file-save-indicator{width:16px;height:16px;margin:0}@keyframes file-save-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.file-save-indicator[data-state=saving] .file-saving-icon{animation:none}}:root{--app-bg:#101918;--map-bg:#070c15;--panel:#17221e;--field:#101b17;--node-card:#18251f;--text:#edf3ee;--muted:#a4b5ab;--border:#3c5045;--accent:#bad5a8;--accent-ink:#152619;--soft:#263b2d;--danger:#ffc1b5;color:var(--text);background:var(--app-bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=ocean]{--app-bg:#111c2a;--map-bg:#07101d;--panel:#1a2b3e;--field:#122235;--node-card:#1b2e43;--border:#3f5b76;--muted:#acc1d4;--accent:#91c5ed;--accent-ink:#102839;--soft:#254763}:root[data-theme=plum]{--app-bg:#211828;--map-bg:#100b19;--panel:#2f223b;--field:#241a2e;--node-card:#30253d;--border:#685079;--muted:#c4b2cf;--accent:#d2b0ef;--accent-ink:#2b173a;--soft:#493258}:root[data-theme=amber]{--app-bg:#241d18;--map-bg:#120f0d;--panel:#342b22;--field:#261f19;--node-card:#372e24;--border:#705d44;--muted:#cdbda7;--accent:#ebc18a;--accent-ink:#30200d;--soft:#4e3b23}:root[data-appearance=light]{--app-bg:#f3f6f2;--map-bg:#e8eee8;--panel:#fff;--field:#f4f7f3;--node-card:#fff;--text:#18291f;--muted:#52685a;--border:#becdbf;--accent:#32694a;--accent-ink:#fff;--soft:#dfebdf;--danger:#9c302d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-appearance=light][data-theme=ocean]{--app-bg:#f0f5fa;--map-bg:#e7eef6;--field:#f0f5fa;--text:#142b40;--muted:#526c83;--border:#b7c9db;--accent:#246595;--soft:#dae9f5}:root[data-appearance=light][data-theme=plum]{--app-bg:#f6f1f9;--map-bg:#eee6f3;--field:#f6f1fa;--text:#302039;--muted:#705e7b;--border:#cfbddb;--accent:#7b439d;--soft:#eddef5}:root[data-appearance=light][data-theme=amber]{--app-bg:#faf5ed;--map-bg:#f1eadd;--field:#fbf5ec;--text:#39291b;--muted:#776449;--border:#d7c6a8;--accent:#89571b;--soft:#f2e4cc}body,.toolbar,.statusbar{background:var(--app-bg);color:var(--text)}.graph{background:var(--map-bg)}.toolbar,.statusbar,.sample-badge,.detail-notes,.details-footnote,.resources-editor,.image-editor,#node-resources,.category-filters,.group-members,.category-editor h3{border-color:var(--border)}.toolbar-divider,.tool-divider{background:var(--border)}.node-browser,.camera-tools,.details-panel,.form-dialog,.connection-hint{background:var(--panel);color:var(--text);border-color:var(--border)}.node-preview{background:var(--panel);color:var(--text);border-color:var(--selection-color,var(--accent))}.form-dialog input,.form-dialog select,.form-dialog textarea{background:var(--field);color:var(--text);border-color:var(--border)}.form-dialog label,.form-dialog legend,.resources-editor summary,.image-editor summary,.node-position-control{color:var(--text)}.form-dialog ::placeholder{color:var(--muted);opacity:1}.form-dialog input[type=checkbox],.form-dialog input[type=radio],.form-dialog input[type=range],.node-pinned{accent-color:var(--accent)}#workspace-select,#workspace-select option{color:var(--text);background:var(--app-bg)}.eyebrow,.field-hint,.map-heading>p:last-child,.legend ul,.statusbar,.sample-badge,.preview-kicker,.preview-hint,.details-footnote,.detail-category,.connection-count,.resource-domain,.resource-card p,.node-browser li,#group-selection-count,.details-body .field-hint,.gesture-hint,.workspace-name{color:var(--muted)}.preview-title,#detail-title,.detail-notes h3,#node-resources h3,.preview-summary,#detail-summary,#detail-description{color:var(--text)}.primary-button{background:var(--accent);color:var(--accent-ink)}.manage-categories{color:var(--accent);background:var(--soft);border-color:var(--accent)}.manage-categories:hover{background:var(--panel)}.edit-node-button,.replay-entrance,.category-editor-list button,.group-selection-actions button,.group-existing-actions button{border-color:var(--border);color:var(--text)}.preview-link,.open-node-notes,.add-resource,.new-category,.cancel-connection,.show-all-categories,#open-settings,.node-browser summary span,.resource-card{color:var(--accent)}.resource-card,.link-editor-row{border-color:var(--border)}#detail-image{background:var(--field)}.camera-tools .view-mode-button[aria-pressed=true],.category-editor-list button[aria-pressed=true],.node-browser li button:hover,.node-browser li button[aria-pressed=true]{background:var(--soft);color:var(--text)}.close-details{color:var(--muted)}.close-details:hover{color:var(--text);background:var(--soft)}.camera-tools button:hover,#open-settings:hover,.open-node-notes:hover,.pin-node-preview:hover,.node-connection-handle:hover{background:var(--soft)}.node-connection-handle span{border-color:var(--text)}.resource-card:hover{border-color:var(--accent);background:var(--field)}h1>span{color:var(--accent)}.danger-button,.delete-category,#ungroup,.remove-resource,.form-error{color:var(--danger)}button:focus-visible,a:focus-visible,summary:focus-visible,canvas:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.group-frame-heading,.group-2d-shortcut{background:var(--panel)}.group-frame button,.group-frame .arrange-group,.group-frame .resize-group,.group-2d-shortcut{color:var(--text)}.group-bubble-caption{background:var(--panel);color:var(--text)}.group-bubble-caption.selected{background:var(--soft)}.globe-title,.globe-title:hover{color:var(--text)}.leave-globe{color:var(--muted)}.explore-globe{color:var(--accent)}.explore-globe:hover,.explore-globe:focus-visible{color:var(--text)}.leave-globe:hover,.leave-globe:focus-visible,.group-2d-shortcut:hover,.group-2d-shortcut:focus-visible{color:var(--text);background:var(--soft)}.connection-wire path,.connection-wire path.valid-target{stroke:var(--accent)}.empty-map{color:var(--muted)}.app-header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.app-menu-actions{align-items:center;gap:4px;display:flex}.app-header-actions>button,.app-menu-actions>button{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:6px 10px;font-size:12px;display:flex}.app-header-actions>button:hover,.app-menu-actions>button:hover{background:var(--soft)}.app-header-actions>button>span:first-child{font-size:18px}.app-header-actions .sample-badge{white-space:nowrap;margin-left:8px}.settings-tabs{border-bottom:1px solid var(--border);gap:8px;margin:-10px 0 22px;display:flex}.settings-tabs [role=tab]{color:var(--muted);border-bottom:2px solid #0000;flex:1;padding:12px;font-size:13px;font-weight:600}.settings-tabs [aria-selected=true]{border-color:var(--accent);color:var(--text)}.app-theme-options{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0;padding:0;display:grid}.app-theme-options legend{margin-bottom:12px;font-size:12px}.form-dialog .app-theme-option{border:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:center;gap:8px;margin:0;padding:13px 10px;display:flex}.form-dialog .app-theme-option:has(input:checked){border-color:var(--accent);background:var(--soft)}.form-dialog .app-theme-option input{width:auto;margin:0;padding:0}.theme-swatch{border:1px solid #0002;border-radius:50%;width:17px;height:17px;display:inline-block}.group-color-spectrum{grid-template-columns:repeat(12,1fr);gap:6px;margin:12px 0 22px;display:grid}.group-color-spectrum [data-theme]{aspect-ratio:1;background:var(--swatch);border:1px solid #8888;border-radius:5px;width:100%;padding:0}#group-color-hex{text-transform:uppercase;max-width:160px;font-family:ui-monospace,monospace}.workspace-home{background:var(--map-bg);flex:1;min-height:0;padding:clamp(28px,5vw,72px) max(24px,50% - 560px);overflow:auto}.home-intro{padding-bottom:46px}.home-intro h1{letter-spacing:-1.8px;outline:none;max-width:650px;font-size:clamp(34px,4.5vw,58px);font-weight:600;line-height:1.12}.home-intro>p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.7}.home-actions{flex-wrap:wrap;gap:12px;margin-top:26px;display:flex}.home-actions button{border-radius:8px;padding:13px 18px;font-size:13px}.home-list-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.home-list-heading h2{margin:0;font-size:17px;font-weight:600}.home-list-heading span{color:var(--muted);font-size:11px}.workspace-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px;padding-bottom:30px;display:grid}.workspace-card{text-align:left;border:1px solid var(--border);background:var(--panel);border-radius:13px;flex-direction:column;min-width:0;padding:0;display:flex;overflow:hidden}.workspace-card-main{text-align:left;min-width:0;color:var(--text);background:0 0;border:0;flex-direction:column;flex:1;padding:0 24px 22px;display:flex}.workspace-card-actions{border-top:1px solid var(--border);justify-content:flex-end;padding:10px 16px;display:flex}.workspace-card-actions button{min-height:36px;font-size:12px}.home-empty{color:var(--muted);line-height:1.6}.home-credit{border-top:1px solid var(--border);margin-top:24px;padding-top:12px}.creator-credit{color:var(--muted);flex-wrap:wrap;align-items:center;gap:0 5px;margin:0;font-size:12px;line-height:1.6;display:flex}.creator-copyright{flex-basis:100%}.creator-credit a{min-height:44px;color:var(--text);text-decoration:underline;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border);text-underline-offset:4px;border-radius:3px;align-items:center;gap:6px;font-weight:600;display:inline-flex}.creator-credit a:hover{color:var(--accent);text-decoration-color:currentColor}.creator-credit a span{color:var(--muted);font-size:13px}.settings-app-install{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.settings-app-install h3{color:var(--text);margin:0 0 12px;font-size:14px;font-weight:600}.settings-install-slot .install-app{align-items:center;gap:8px;min-height:44px;display:inline-flex}.settings-install-slot .install-app svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:18px;height:18px}.settings-install-slot .header-action-label{display:inline}.app-about{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.app-about h3{color:var(--text);margin:0;font-size:14px;font-weight:600}.app-version{color:var(--muted);margin:8px 0 4px;font-size:12px}.workspace-card:hover{border-color:var(--accent);background:color-mix(in srgb,var(--panel) 93%,var(--accent))}.workspace-mini-map{background:color-mix(in srgb,var(--map-bg) 80%,var(--panel));width:calc(100% + 48px);height:170px;margin-bottom:20px;margin-left:-24px}.workspace-mini-map line{stroke:var(--muted);stroke-width:1px;opacity:.4}.workspace-mini-map circle{stroke:var(--panel);stroke-width:1px}.workspace-mini-map text{fill:var(--muted);font-size:12px}.workspace-card strong{overflow-wrap:anywhere;font-size:19px;font-weight:600}.workspace-card-heading{align-items:flex-start;gap:8px;width:100%;min-width:0;display:flex}.workspace-card-heading strong{flex:1;min-width:0}.workspace-card-save-state{color:var(--danger);flex:none;align-items:center;gap:5px;margin-top:4px;font-size:11px;font-weight:600;line-height:1.4;display:inline-flex}.workspace-card-save-state[hidden]{display:none}.workspace-card-save-state:before{content:"";background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.workspace-card-save-state[data-state=saving]{color:var(--accent)}.workspace-card-save-state[data-state=saving]:before{background:0 0;border:1.5px solid;border-right-color:#0000;animation:.9s linear infinite file-save-spin}@media (prefers-reduced-motion:reduce){.workspace-card-save-state[data-state=saving]:before{animation:none}}.workspace-card-count{color:var(--muted);margin-top:9px;font-size:12px}.workspace-card-open{color:var(--accent);margin-top:24px;font-size:12px;font-weight:600}.home-open #workspace-select,.home-open .toolbar-divider{display:none}@media (width<=800px){.header-action-label{display:none}.app-header-actions>button,.app-menu-actions>button{min-width:34px;padding:5px}.app-header-actions{gap:4px}.app-header-actions .sample-badge{margin-left:0}}@media (width<=560px){.toolbar{gap:8px;padding:0 12px}#workspace-select{max-width:100px}.app-header-actions .sample-badge{padding:5px;font-size:8px}.workspace-home{padding:34px 22px}.home-intro{padding-bottom:34px}.home-intro h1{font-size:37px}.home-intro>p:not(.eyebrow){font-size:13px}.home-list-heading span{text-align:right;max-width:85px;line-height:1.5}.group-color-spectrum{grid-template-columns:repeat(8,1fr)}}.notification,.map-error{color:var(--text);background:var(--panel);border-color:var(--danger)}#reduced-motion-notice{color:var(--muted)}@media (width<=380px){#workspace-select{max-width:70px}}.home-open #show-workspaces{display:none}.workspace-file-menu{flex-shrink:0;font-size:13px;position:relative}.workspace-file-menu>summary{box-sizing:border-box;cursor:pointer;border-radius:6px;place-items:center;width:36px;height:36px;padding:0;list-style:none;display:grid}.workspace-file-menu>summary::-webkit-details-marker{display:none}.workspace-file-menu[open]>summary,.workspace-file-menu>summary:hover{background:var(--soft)}.workspace-file-actions{z-index:20;border:1px solid var(--border);background:var(--panel);border-radius:9px;width:260px;padding:6px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 12px 32px #0005}.workspace-file-actions button{text-align:left;border-radius:5px;justify-content:space-between;align-items:center;width:100%;min-height:38px;padding:9px;display:flex}.workspace-file-actions button:hover{background:var(--soft)}.workspace-file-actions kbd{color:var(--muted);flex-shrink:0;margin-left:12px;font:10px Segoe UI,sans-serif}.workspace-file-actions p{color:var(--muted);margin:7px 9px;font-size:11px;line-height:1.5}.home-open .workspace-file-actions [data-file-action=save],.home-open .workspace-file-actions [data-file-action=copy-cloud],.home-open .workspace-file-actions>p,#app:not(.home-open) .workspace-file-actions [data-file-action=open],.home-open .workspace-file-actions .file-auto-save{display:none}.workspace-file-actions .file-auto-save{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:9px;display:flex}.workspace-file-actions .file-auto-save input{appearance:none;border:1px solid var(--muted);background:var(--field);cursor:pointer;border-radius:10px;flex:none;width:32px;height:20px;margin:0}.workspace-file-actions .file-auto-save input:before{content:"";background:var(--muted);border-radius:50%;width:12px;height:12px;margin:3px;transition:transform .14s;display:block}.workspace-file-actions .file-auto-save input:checked{background:var(--accent);border-color:var(--accent)}.workspace-file-actions .file-auto-save input:checked:before{background:var(--panel);transform:translate(12px)}.workspace-file-actions .file-auto-save input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.cloud-working-dialog{width:min(520px,100vw - 28px);max-height:min(80vh,720px);overflow:auto}.cloud-provider-actions{grid-template-columns:minmax(0,1fr);gap:8px;margin:18px 0 14px;display:grid}.cloud-provider-actions button,.cloud-file-list button{border:1px solid var(--border);color:var(--text);background:var(--field);cursor:pointer;border-radius:7px;padding:9px 12px}.cloud-provider-actions button{text-align:center;width:100%;min-height:44px;font:inherit;font-size:13px}.cloud-provider-actions button:hover,.cloud-file-list button:hover{background:var(--soft)}.cloud-provider-actions button:focus-visible,.cloud-file-list button:focus-visible,.cloud-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.cloud-working-status{min-height:1.5em;font-size:13px}.cloud-file-list{gap:7px;max-height:36vh;display:grid;overflow:auto}.cloud-file-list button{text-align:left;overflow-wrap:anywhere;width:100%;display:block}.cloud-dialog-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.cloud-dialog-header h2{margin:0}.cloud-working-dialog .cloud-close{width:44px;height:44px;color:var(--text);border-radius:7px;flex:none;place-items:center;padding:0;display:grid}.cloud-working-dialog .cloud-close:hover{background:var(--soft)}.cloud-close svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:18px;height:18px}.file-transfer-status{z-index:35;border:1px solid var(--border);background:var(--panel);width:max-content;max-width:calc(100vw - 28px);color:var(--text);pointer-events:none;overflow-wrap:anywhere;border-radius:9px;margin:0;padding:12px 18px;font-size:13px;line-height:1.5;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0005}.file-transfer-status.file-error{border-color:var(--danger)}.file-loading-screen{z-index:100;background:var(--app-bg);color:var(--text);text-align:center;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.file-loading-screen[hidden]{display:none}.file-loading-screen h2{margin:20px 0 8px;font-size:21px}.file-loading-screen p{color:var(--muted);overflow-wrap:anywhere;max-width:min(420px,85vw)}.file-loading-spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:36px;height:36px;animation:.9s linear infinite file-loading-spin;display:inline-block}@keyframes file-loading-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.file-loading-spinner{animation:none}}.home-open-file{border:1px solid var(--border);background:var(--panel)}.workspace-card-actions{flex-wrap:wrap;justify-content:space-between;gap:12px}.workspace-open-actions{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.workspace-open-notes{border:1px solid var(--border);color:var(--text);background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px 10px;font-weight:600;display:inline-flex}.workspace-open-notes:hover{border-color:var(--text)}.workspace-open-notes svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}@media (width<=700px){.workspace-file-menu>summary{width:44px;height:44px}}@media (width<=560px){#workspace-select{max-width:78px}}.model-rotation{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;padding:0;display:grid}.model-rotation legend{margin-bottom:8px}.model-rotation input{box-sizing:border-box;width:100%;min-width:0}.model-progress{color:var(--muted)}.compact-search-trigger,.compact-workspace-menu,.node-browser-bar .close-node-search,.focus-caption{display:none}.camera-tools #open-groups{place-items:center;padding:0;display:grid}.camera-tools #open-groups .group-menu-label{display:none}.camera-tools #open-groups .group-menu-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;display:block}:root[data-note-presentation=panel] .node-preview:not(.space-note-preview):not(.link-node-preview):not(.inline-editing-preview):not(.choosing-image-frame):not(.hovered-preview):not(.pinned-preview):not(.planet-node-preview.active-preview){display:none}@media (width>=701px) and (height>=501px),(width>=1001px){.compact-workspace-menu{flex-shrink:0;display:block;position:relative}.compact-workspace-menu>summary{cursor:pointer;width:36px;height:36px;color:var(--text);border-radius:6px;place-items:center;list-style:none;display:grid}.compact-workspace-menu>summary::-webkit-details-marker{display:none}.compact-workspace-menu>summary svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px;height:20px}.compact-workspace-menu[open]>summary{background:var(--soft);color:var(--accent)}.compact-workspace-actions{border:1px solid var(--border);background:var(--panel);z-index:20;border-radius:12px;width:240px;max-height:calc(100dvh - 80px);padding:8px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto;box-shadow:0 12px 36px #0005}.compact-workspace-actions>button{text-align:left;width:100%;min-height:44px;color:var(--text);border-radius:7px;align-items:center;gap:12px;padding:10px 12px;display:flex}.compact-workspace-actions>button:hover{background:var(--soft)}.compact-workspace-actions>button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}}.compact-workspace-actions>button[hidden]{display:none}.compact-workspace-actions>button>svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px;width:18px;height:18px}.compact-workspace-actions>button>.header-action-label{display:inline}.toolbar>.workspace-edit-mode{flex-shrink:0;margin-left:auto}.home-open .toolbar>.workspace-edit-mode{display:none}@media (width>=561px) and (width<=900px) and (height>=601px){:root[data-note-presentation=panel] .details-open .graph{bottom:max(44%,250px)}}@media (width<=700px),(width<=1000px) and (height<=500px){#app{min-height:0}.toolbar{z-index:12;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));gap:4px;position:relative}.toolbar .brand{flex:0 0 40px;justify-content:center;width:40px;height:44px}.toolbar .brand img{width:26px;height:26px}.toolbar .brand span,.toolbar-divider{display:none}#workspace-menu{flex:1;overflow:hidden}#workspace-select{width:100%;min-width:0;max-width:none;min-height:44px;padding:0 6px;font-size:14px;font-weight:600}.compact-search-trigger,.compact-workspace-menu>summary{width:44px;height:44px;color:var(--text);border-radius:10px;flex-shrink:0;place-items:center;padding:0;display:grid}.compact-search-trigger svg,.compact-workspace-menu>summary svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:21px;height:21px}.compact-search-trigger svg{width:19px;height:19px}.compact-workspace-menu{flex-shrink:0;display:block}.compact-workspace-menu>summary{cursor:pointer;list-style:none}.compact-workspace-menu>summary::-webkit-details-marker{display:none}.compact-search-trigger[aria-expanded=true],.compact-workspace-menu[open]>summary{background:var(--soft);color:var(--accent)}.compact-workspace-actions{right:max(8px, env(safe-area-inset-right));width:min(272px,100vw - 16px);max-height:calc(100dvh - 80px - env(safe-area-inset-top));overscroll-behavior:contain;border:1px solid var(--border);background:var(--panel);border-radius:14px;padding:8px;position:absolute;top:calc(100% + 8px);overflow-y:auto;box-shadow:0 12px 36px #0005}.compact-workspace-actions>button,.compact-workspace-actions .workspace-file-menu>summary,.compact-workspace-actions .app-header-actions>button,.compact-workspace-actions .app-menu-actions>button{text-align:left;border-radius:7px;justify-content:flex-start;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;font-size:14px;display:flex}.compact-workspace-actions>button:hover{background:var(--soft)}.compact-workspace-actions .group-menu-icon{display:block}.compact-workspace-actions .workspace-file-menu>summary:after{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;margin-left:auto;margin-right:3px;transform:rotate(45deg)}.compact-workspace-actions .workspace-file-menu[open]>summary:after{transform:rotate(225deg)}.compact-workspace-actions .workspace-file-actions{width:100%;box-shadow:none;border:0;border-radius:0;padding:0 4px 4px 30px;position:static}.compact-workspace-actions .workspace-file-actions button{min-height:44px}.compact-workspace-actions kbd{display:none}.compact-workspace-actions .app-header-actions{flex-direction:column;align-items:stretch;gap:0;margin:0;display:flex}.compact-workspace-actions .app-menu-actions{border-top:1px solid var(--border);flex-direction:column;align-items:stretch;gap:0;margin-top:6px;padding-top:6px}.home-open .compact-workspace-actions .app-menu-actions{border-top:0;margin-top:0;padding-top:0}.compact-workspace-actions .app-menu-actions>button{justify-content:flex-start}.compact-workspace-actions .header-action-label{display:inline}.compact-workspace-actions .sample-badge{border:0;border-top:1px solid var(--border);border-radius:0;margin:8px 4px 0;padding:12px 8px 5px;font-size:11px}.home-open #open-groups,.home-open .compact-search-trigger,.home-open .toolbar #show-workspaces,.map-heading,.legend{display:none}.node-browser,.details-open .node-browser{left:max(8px, env(safe-area-inset-left));right:max(6px, env(safe-area-inset-right));z-index:7;border-radius:12px;width:auto;max-width:none;display:none;top:4px;box-shadow:0 8px 30px #0004}.node-browser.compact-search-open{display:block}.node-browser-bar{gap:0;min-height:48px;padding:2px 4px 2px 10px}.node-search-input{min-height:44px;font-size:16px}.node-search-icon{display:none}.node-browser-bar button{width:44px;height:44px}.node-browser-bar .close-node-search{color:var(--muted);font-size:24px;display:grid}.node-search-results{border-radius:12px;width:calc(100% + 2px);max-width:none}.node-browser .node-search-results ul{max-height:min(40dvh,320px)}.node-browser li button{min-height:44px;padding:10px;font-size:14px}.node-browser .node-list-row>.open-listed-note{flex-basis:44px;width:44px}.node-browser .node-browser-group>summary{min-height:44px}.camera-tools,.details-open .camera-tools{left:50%;right:auto;bottom:max(12px, env(safe-area-inset-bottom));border-radius:14px;gap:0;width:max-content;max-width:calc(100% - 16px);padding:3px;transform:translate(-50%);box-shadow:0 5px 20px #0003}.camera-tools button{border-radius:10px;flex-shrink:1;width:44px;min-width:40px;height:44px}.camera-tools .tool-divider{display:none}.camera-tools .tool-divider.group-tool-divider{flex:0 0 1px;display:block}.camera-tools .view-mode-button{font-size:12px}.camera-tools #focus-center{flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:2px;display:flex}.camera-tools #focus-center[hidden]{display:none}.camera-tools .focus-caption{font-size:9px;font-weight:600;line-height:11px;display:block}.selection-actions{right:12px;bottom:calc(max(12px, env(safe-area-inset-bottom)) + 60px)}.selection-actions button{min-height:44px}.connection-hint{top:72px}.details-open .camera-tools{bottom:max(44% + 12px,262px)}}@media (width>=701px) and (width<=1000px) and (height<=500px){.details-panel{border-radius:0;width:310px;height:100%;min-height:0;inset:0 0 0 auto}.details-open .graph{right:310px}.details-open .camera-tools{left:calc(50% - 155px);bottom:max(12px, env(safe-area-inset-bottom));max-width:calc(100% - 326px)}}@media (pointer:coarse) and (width>=701px) and (width<=1366px) and (height>=501px){.node-browser{width:246px;top:14px;right:max(16px, env(safe-area-inset-right))}.details-open .node-browser{width:246px;top:14px}.node-browser-bar{min-height:40px;padding-block:3px}}@media (width<=400px){.camera-tools button{width:38px;min-width:36px}}@media (width<=560px),(width<=1000px) and (height<=500px) and (pointer:coarse){.workspace{--phone-note-height:min(55%, max(44%, 240px))}.node-preview:not(.space-note-preview):not(.link-node-preview):not(.inline-editing-preview):not(.choosing-image-frame):not(.hovered-preview):not(.pinned-preview){display:none}.details-panel{width:100%;height:var(--phone-note-height);border:0;border-top:1px solid var(--border);min-height:0;box-shadow:none;padding-bottom:env(safe-area-inset-bottom);border-radius:16px 16px 0 0;inset:auto 0 0}.details-header{padding:8px 16px 4px}.details-body{padding:8px 18px 24px}.details-open .graph{right:0;bottom:var(--phone-note-height)}.details-open .camera-tools{left:50%;right:auto;bottom:calc(var(--phone-note-height) + 12px);max-width:calc(100% - 16px)}.details-open .selection-actions{bottom:calc(var(--phone-note-height) + 72px)}}@media (width>=561px) and (width<=1000px) and (height<=500px) and (pointer:coarse){.workspace{--phone-note-width:min(340px, 44%)}.details-panel{width:var(--phone-note-width);border-top:0;border-left:1px solid var(--border);border-radius:0;height:100%;inset:0 0 0 auto}.details-open .graph{right:var(--phone-note-width);bottom:0}.details-open .camera-tools{left:calc((100% - var(--phone-note-width)) / 2);bottom:max(12px, env(safe-area-inset-bottom));max-width:calc(100% - var(--phone-note-width) - 16px)}.details-open .selection-actions{right:calc(var(--phone-note-width) + 12px);bottom:calc(max(12px, env(safe-area-inset-bottom)) + 60px)}}#app:not(.home-open):not(.notes-open)>.toolbar{height:60px}.map-heading{top:12px;left:24px}.map-heading>.eyebrow:last-child{margin:0;font-size:9px;display:block}@media (width<=900px){#app:not(.home-open):not(.notes-open)>.toolbar{height:48px}}@media (width<=700px),(width<=1000px) and (height<=500px){#app:not(.home-open):not(.notes-open)>.toolbar{height:calc(44px + env(safe-area-inset-top))}.map-heading{top:8px;left:max(12px, env(safe-area-inset-left));display:block}}@media (height<=600px) and (width<=900px){#app:not(.home-open):not(.notes-open)>.toolbar{height:calc(44px + env(safe-area-inset-top))}}@media (pointer:coarse) and (width<=1366px){#app:not(.home-open):not(.notes-open)>.toolbar{height:calc(44px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}}@media (width<=700px),(pointer:coarse) and (width<=1366px){.camera-tools{padding:2px}.camera-tools button{font-size:17px}.camera-tools .view-mode-button{font-size:11px}.camera-tools #open-groups .group-menu-icon{width:17px;height:17px}.camera-tools #show-map-notes svg,.camera-tools .focus-icon{flex-basis:18px;width:18px;height:18px}.camera-tools #open-settings{font-size:18px}}@media (width<=700px),(width<=1000px) and (height<=500px){.workspace:not(.details-open) .camera-tools{bottom:max(6px, env(safe-area-inset-bottom))}}@media (pointer:coarse) and (width>=701px) and (width<=900px) and (height>=501px){.workspace:not(.details-open) .camera-tools{right:max(18px, env(safe-area-inset-right));bottom:max(14px, env(safe-area-inset-bottom))}}@media (pointer:coarse) and (width>=901px) and (width<=1366px) and (height>=501px){.workspace:not(.details-open) .camera-tools{right:max(24px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom))}}.sticky-note{color:var(--text);white-space:normal;border-radius:6px;max-width:100%;padding-bottom:24px;position:relative}.sticky-surface{min-height:110px;caret-color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;background:var(--field);border-top:3px solid var(--accent);border-radius:5px 5px 0 0;outline:none;padding:14px;font-size:15px;line-height:1.65;overflow:auto}.sticky-surface:focus-visible{box-shadow:inset -2px 0 0 0 var(--accent)}.sticky-surface:empty:before,.sticky-surface[data-empty=true]:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.sticky-surface:focus:before{content:none}.sticky-surface>div:empty,.sticky-surface>p:empty{min-height:1.65em}.sticky-surface a{color:var(--accent);cursor:text;text-decoration:underline}.sticky-surface:not([contenteditable=true]) a{cursor:pointer}.note-code-block{--code-keyword:#c6a0f6;--code-string:#a6d6a0;--code-number:#f3be7c;--code-comment:#91a69d;--code-function:#eadb96;--code-type:#8bd7d5;--code-property:#92c6f4;--code-tag:#ecb2be;border:1px solid color-mix(in srgb, var(--border) 55%, transparent);background:color-mix(in srgb, var(--field) 85%, var(--panel));min-height:1.5em;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;border-radius:9px;margin:12px 0;padding:0;font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;position:relative}:root[data-appearance=light] .note-code-block{--code-keyword:#713ea4;--code-string:#32673d;--code-number:#976125;--code-comment:#65736d;--code-function:#78550b;--code-type:#186e73;--code-property:#245f98;--code-tag:#a13c54}.note-code-header{background:color-mix(in srgb, var(--soft) 45%, var(--panel));min-height:30px;color:var(--muted);white-space:normal;-webkit-user-select:none;user-select:none;cursor:default;border-radius:8px 8px 0 0;align-items:center;gap:4px;padding:5px 8px 5px 12px;font:12px/1.3 system-ui,sans-serif;display:flex}.note-code-language{width:auto;min-width:0;max-width:calc(100% - 68px);color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:3px;margin-right:auto;padding:4px 18px 4px 0}.note-code-language option{background:var(--panel);color:var(--text)}.note-code-language:disabled{opacity:1;cursor:default}.note-code-language:focus-visible,.note-code-copy:focus-visible,.note-code-move:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.note-code-block>code{min-height:1.6em;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 16px;display:block}.note-code-move,.note-code-copy{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:4px;flex-shrink:0;place-items:center;padding:5px;display:grid}.note-code-move{cursor:grab;touch-action:none}.note-code-copy{cursor:pointer}.note-code-move svg,.note-code-copy svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.note-code-move svg{stroke-width:2.5px}.note-code-move:hover,.note-code-copy:hover{color:var(--text);background:color-mix(in srgb, var(--text) 8%, transparent)}.sticky-readonly .note-code-move{display:none}.note-block-dragging .note-code-move{cursor:grabbing}.note-code-keyword{color:var(--code-keyword)}.note-code-string{color:var(--code-string)}.note-code-number{color:var(--code-number)}.note-code-comment{color:var(--code-comment)}.note-code-function{color:var(--code-function)}.note-code-type{color:var(--code-type)}.note-code-property{color:var(--code-property)}.note-code-tag{color:var(--code-tag)}@media (pointer:coarse){.note-code-move,.note-code-copy{width:34px;height:34px}}.sticky-surface ul{margin:0;padding-left:1.3em}.sticky-surface p{margin:0}.sticky-surface img{border-radius:4px;max-width:100%;height:auto;margin:12px 0;display:block}.note-image-block{width:100%;margin:12px 0}.note-inline-image{max-width:100%;margin:0;position:relative}.note-inline-image img{object-fit:contain;object-position:left top;width:100%;height:auto;margin:0}.note-image-resize,.note-image-remove{width:26px;height:26px;color:var(--text);background:var(--panel);border-radius:4px;padding:0;position:absolute;right:0}.note-image-resize{cursor:nwse-resize;touch-action:none;place-items:center;display:grid;bottom:0}.note-image-resize svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:16px;height:16px}.sticky-surface[contenteditable=true] .note-inline-image img{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.note-image-selected .note-inline-image{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.note-block-dragging{opacity:.45}.note-block-copying{opacity:1}.sticky-surface.note-copying,.sticky-surface.note-copying *{cursor:copy!important}.sticky-surface[contenteditable=true] .note-block-dragging .note-inline-image img{cursor:grabbing}.note-image-drop-indicator{background:var(--accent);pointer-events:none;-webkit-user-select:none;user-select:none;z-index:100;border-radius:2px;height:2px;margin:0;position:fixed}.note-image-remove{opacity:0;top:0}.note-inline-image:hover .note-image-remove,.note-inline-image:focus-within .note-image-remove{opacity:1}.sticky-note:not(.sticky-editing) .note-image-remove{display:none}.sticky-surface[contenteditable=true]{cursor:text}.sticky-resize{width:26px;height:24px;color:var(--muted);cursor:nwse-resize;touch-action:none;padding:0;position:absolute;bottom:0;right:0}.sticky-tools{z-index:1;background:var(--soft);border-top:1px solid var(--border);border-radius:0 0 5px 5px;flex-wrap:wrap;align-items:center;gap:2px;padding:5px 4px;display:flex;position:sticky;bottom:0}.sticky-toolbar-host{background:var(--panel);flex:none;min-width:0}.sticky-toolbar-host:empty{display:none}.sticky-toolbar-host:not(:has(>:not([hidden]))){display:none}.sticky-toolbar-host>.sticky-tools{border-radius:0;position:static}.note-last-edited{text-align:right;color:var(--muted);font-size:calc(11px * var(--note-last-edited-scale,1));overflow-wrap:anywhere;flex:none;padding:5px 8px 2px;line-height:1.4;display:block}.note-last-edited[hidden]{display:none}.sticky-toolbar-host>.note-last-edited{border-top:1px solid var(--border)}.sticky-note>.note-last-edited{padding-right:30px}.node-preview .note-last-edited{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sticky-tools button{min-width:30px;min-height:36px;color:var(--text);border:0;border-radius:4px;padding:4px;font-size:15px}.sticky-tools button:hover,.sticky-tools button[aria-pressed=true]{background:var(--field);color:var(--accent)}.sticky-tools .sticky-done{margin-left:auto;padding-inline:6px;font-size:12px;font-weight:600}.sticky-message{color:var(--danger);padding:0 8px;font-size:12px;line-height:1.5}#detail-description{white-space:normal}.note-sheet-handle{text-align:left;min-width:0;color:var(--muted);border:0;flex:1;padding:0}.note-sheet-title{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:650;display:block;overflow:hidden}.note-sheet-grip{display:none}.details-header{flex-shrink:0;gap:10px}.details-body{overscroll-behavior:contain;min-height:0;padding:8px 12px 16px}.details-header{padding-inline:12px}.notes-heading{align-items:center;gap:8px;margin-bottom:12px;display:flex}.notes-heading h3{margin:0}.notes-heading-actions{align-items:center;gap:4px;display:flex}.focus-note-content{color:var(--muted);border-radius:5px;width:32px;height:32px;padding:7px}.focus-note-content:hover,.focus-note-content:focus-visible{color:var(--accent);background:var(--soft)}.focus-note-content svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:18px;height:18px}.details-width-handle{display:none}.leave-note-view{width:32px;height:34px;padding:0;font-size:20px}.details-panel.note-only .details-body{flex-direction:column;display:flex;overflow:hidden}.details-panel.note-only .details-body>:not(.detail-notes),.details-panel.note-only .notes-heading,.details-panel.note-only .focus-note-content,.details-panel.note-only .details-footnote,.details-panel.note-only .sticky-resize{display:none}.details-panel.note-only .detail-notes{border:0;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;display:flex}.details-panel.note-only #detail-description{flex-direction:column;flex:1;min-height:0;padding-bottom:0;display:flex;width:100%!important}.details-panel.note-only .sticky-surface{flex:1;min-height:0;max-height:none;height:auto!important}.sticky-surface img,#detail-image{cursor:zoom-in;touch-action:manipulation}.preview-image{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.preview-image:active{cursor:grabbing}.note-image-viewer{box-sizing:border-box;background:#080c12f7;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;position:fixed;inset:0;overflow:hidden}.note-image-viewer[open]{justify-content:center;align-items:center;display:flex}.note-image-viewer>img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.close-image-viewer{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));color:#fff;z-index:1;background:#1b2430e8;border-radius:50%;width:44px;height:44px;font-size:28px;position:absolute}@media (width>=901px){.details-panel{width:var(--details-width,340px)}.details-open .graph{right:var(--details-width,340px)}.details-open .node-browser,.details-open .camera-tools{right:calc(var(--details-width,340px) + 30px)}.details-open .gesture-hint{left:calc((100% - var(--details-width,340px)) / 2)}.details-width-handle{cursor:ew-resize;touch-action:none;z-index:1;width:10px;display:block;position:absolute;inset:0 auto 0 -5px}.details-width-handle:hover,.details-width-handle:focus-visible{background:color-mix(in srgb, var(--accent) 40%, transparent)}}@media (width<=560px),(width<=1000px) and (height<=500px) and (pointer:coarse){.workspace{--phone-note-height:min(55dvh, max(44dvh, 240px))}.details-panel{z-index:40;width:100%;height:var(--note-sheet-height,var(--phone-note-height));border:0;border-top:1px solid var(--border);min-height:0;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box;border-radius:16px 16px 0 0;transition:height .24s cubic-bezier(.2,.8,.2,1),border-radius .24s;position:fixed;inset:auto 0 0}.details-panel.note-sheet-fullscreen{padding-top:env(safe-area-inset-top);border-radius:0}.details-panel.note-sheet-dragging{transition:none}.details-header{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;padding:8px 12px}.note-sheet-handle{min-height:44px;cursor:inherit}.note-sheet-grip{width:44px;height:24px;padding:0;display:block;position:relative}.note-sheet-grip:after{content:"";background:var(--muted);opacity:.55;border-radius:4px;width:32px;height:4px;position:absolute;top:10px;left:0}.focus-note-content{width:40px;height:40px}.details-header-actions{flex-shrink:0;gap:2px}.details-header-actions button,.notes-heading-actions>button{min-width:40px;min-height:44px}.details-panel .details-body{padding:8px 10px 20px}.sticky-surface{max-height:min(52dvh,440px);font-size:16px}.sticky-note{width:100%!important}.sticky-resize{cursor:ns-resize}.details-width-handle{display:none}.sticky-tools button{min-width:32px;min-height:44px}.details-panel .sticky-tools{box-sizing:border-box;flex-wrap:nowrap;gap:1px;width:100%}.details-panel .sticky-tools button{white-space:nowrap;flex:1 1 0;min-width:0;padding-inline:1px;font-size:clamp(12px,3.6vw,15px)}.details-panel .sticky-tools .sticky-done{flex:none;min-width:38px;margin-left:auto;padding-inline:3px;font-size:11px}.note-inline-image img{max-height:min(32dvh,260px)}.note-image-block{max-width:min(100%, calc(min(32dvh, 260px) * var(--note-image-ratio,1)))}.note-image-resize,.note-image-remove{width:32px;height:32px}.note-image-remove{opacity:1}.details-open .graph{right:0;bottom:var(--phone-note-height)}.details-open .camera-tools{left:50%;right:auto;bottom:calc(var(--phone-note-height) + 12px);max-width:calc(100% - 16px)}.details-open .selection-actions{right:12px;bottom:calc(var(--phone-note-height) + 72px)}}@media (prefers-reduced-motion:reduce){.details-panel{transition:none}}.sticky-note.has-note-color .sticky-surface{border-top-color:var(--note-color);background:color-mix(in srgb, var(--note-color) 9%, var(--field))}.details-header{z-index:2;position:relative}.open-details-notes{width:32px;min-height:32px;color:var(--muted);border-radius:6px;place-items:center;padding:7px;display:grid}.open-details-notes:hover{color:var(--accent);background:var(--soft)}.open-details-notes svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.details-note-message{color:var(--danger);margin:4px 12px;font-size:12px}.details-note-color{touch-action:auto}.note-metadata-text[contenteditable=true]:focus{box-shadow:none;background:0 0;outline:none}.note-metadata-text[aria-label=Note\ summary][data-empty=true]:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}#show-map-notes svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}#show-map-notes{place-items:center;display:grid}.notes-open .compact-search-trigger,.notes-open #open-groups{display:none}.notes-view{background:var(--app-bg);min-height:0;color:var(--text);flex:1;grid-template-columns:300px minmax(0,1fr);display:grid;overflow:hidden}.notes-view[hidden]{display:none}.notes-sidebar{border-right:1px solid var(--border);background:var(--panel);flex-direction:column;min-height:0;padding:20px 14px;display:flex;overflow:hidden}.notes-sidebar>:not(.notes-outline){flex-shrink:0}.notes-outline{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.notes-list-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding-top:8px;display:flex}.notes-list-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.notes-list-heading h1{margin:0;font-size:23px}.notes-content-filter{white-space:nowrap;cursor:pointer;min-height:44px;color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.notes-content-filter input{appearance:none;border:1px solid var(--muted);background:var(--field);cursor:pointer;border-radius:10px;flex-shrink:0;width:28px;height:18px;margin:0}.notes-content-filter input:before{content:"";background:var(--muted);border-radius:50%;width:10px;height:10px;margin:3px;transition:transform .14s;display:block}.notes-content-filter input:checked{background:var(--accent);border-color:var(--accent)}.notes-content-filter input:checked:before{background:var(--panel);transform:translate(10px)}.notes-workspace-title{color:var(--muted);overflow-wrap:anywhere;margin:-8px 0 16px;font-size:13px}.notes-back-map,.notes-back-list,.notes-reader-map{min-height:44px;color:var(--text);font-size:13px}.notes-reader-map{white-space:nowrap;display:none}.notes-back-map:hover,.notes-reader-map:hover{color:var(--accent)}.notes-filter{border:1px solid var(--border);background:var(--field);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:12px;font-size:16px}.notes-count{color:var(--muted);margin:12px 2px;font-size:12px}.notes-outline details{border-bottom:1px solid var(--border);padding:5px 0}.notes-outline summary{cursor:pointer;border-left:3px solid var(--notes-group-color,var(--accent));align-items:center;gap:8px;min-height:44px;padding:12px 6px;font-weight:700;display:flex}.notes-outline summary:before{content:"›";font-size:20px;transition:transform .15s}.notes-outline details[open]>summary:before{transform:rotate(90deg)}.notes-outline summary::-webkit-details-marker{display:none}.notes-outline summary>span:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.notes-group-count{color:var(--muted);font-size:12px;font-weight:400}.notes-outline h2{color:var(--muted);margin:20px 6px 8px;font-family:inherit;font-size:12px}.notes-outline ul{margin:0;padding:0;list-style:none}.notes-outline details ul{padding-left:12px}.notes-outline li button{text-align:left;width:100%;min-height:44px;color:var(--text);overflow-wrap:anywhere;border-radius:7px;padding:12px 10px;font-size:14px;font-weight:600;line-height:1.45;display:block}.notes-outline li button small{color:var(--muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.notes-outline button[aria-current]{background:var(--field);box-shadow:inset 3px 0 var(--accent);color:var(--accent)}.notes-reader{min-width:0;min-height:0;padding:20px;overflow:hidden}.notes-reader-empty{text-align:center;color:var(--muted);margin:20vh auto}.notes-paper{background:var(--panel);border:1px solid var(--border);border-top:4px solid var(--accent);border-radius:10px;flex-direction:column;height:100%;display:flex;overflow:hidden;box-shadow:0 12px 40px #0002}.notes-paper[hidden]{display:none}.notes-reader-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:4px 12px;display:flex}.notes-reader-scroll{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;padding:16px 20px 24px;display:flex;overflow-y:auto}.notes-reader-scroll>*{flex-shrink:0}#notes-reader-title{overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(24px,3vw,34px);line-height:1.2}.notes-reader-group{color:var(--muted);margin:0 0 18px;font-size:13px}.notes-section-label{font:inherit;color:var(--text);align-items:center;gap:8px;margin:0;font-size:12px;font-weight:650;display:flex}.notes-section-label:before,.notes-section-label:after{content:"";border-top:1px solid var(--border)}.notes-section-label:before{width:12px}.notes-section-label:after{flex:1}.notes-body-label{margin-top:18px}.notes-reader-summary{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:16px;line-height:1.6}.notes-inline-field{cursor:text;border-radius:4px}.notes-inline-field:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.notes-inline-field:focus-visible{outline-offset:4px}.notes-metadata-error{color:var(--danger);font-size:13px}.notes-cover{object-fit:contain;cursor:zoom-in;border-radius:6px;max-width:100%;max-height:300px;margin:12px 0;display:block}.notes-cover[hidden]{display:none}.notes-content.sticky-note{flex-direction:column;flex:1;max-width:100%;padding-bottom:0;display:flex;width:100%!important}.notes-content .sticky-surface{cursor:text;background:0 0;border:0;flex:1;min-height:200px;max-height:none;padding:12px 5px;overflow:visible;width:100%!important;height:auto!important}.notes-content .sticky-resize{display:none}.notes-reader-toolbar .sticky-tools{background:var(--panel)}.notes-reader-links{gap:8px;margin-top:16px;display:grid}.notes-view :focus-visible{outline:2px solid var(--accent);outline-offset:2px}.notes-content .sticky-surface:focus-visible{outline-offset:0;outline:none}@media (width<=1000px){.notes-reader-map{display:block}.notes-reader-heading{flex-wrap:wrap;gap:4px}#app.notes-open:has(.notes-view.note-open)>.toolbar{display:none}.notes-view{display:block}.notes-sidebar{height:100%;padding-bottom:max(20px, env(safe-area-inset-bottom));border:0}.notes-reader,.notes-view.note-open .notes-sidebar{display:none}.notes-view.note-open .notes-reader{z-index:30;background:var(--panel);padding:0;display:block;position:fixed;inset:0}.notes-paper{border:0;border-radius:0}.notes-reader-heading{padding-top:max(4px, env(safe-area-inset-top))}.notes-reader-scroll{padding:16px max(12px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-bottom))}.notes-reader-toolbar{padding-bottom:env(safe-area-inset-bottom)}}.notes-list-actions,.notes-reader-actions{align-items:center;gap:6px;display:flex}.notes-new{border:1px solid var(--border);background:var(--field);width:fit-content;min-height:36px;color:var(--accent);white-space:nowrap;border-radius:7px;flex:none;justify-content:center;align-items:center;padding:6px 9px;font-size:12px;font-weight:600;line-height:1.2;display:inline-flex}.notes-new:hover{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--field))}@media (pointer:coarse){.notes-new{min-height:44px}}.notes-list-heading{gap:6px}.notes-list-actions{gap:2px}.notes-action-message{color:var(--muted);overflow-wrap:anywhere;margin:6px 8px;font-size:12px;line-height:1.5}.notes-outline li{-webkit-user-select:none;user-select:none;border-radius:7px;align-items:stretch;display:flex}.notes-outline li>[data-reader-node-id]{border-left:4px solid var(--note-color,transparent);flex:1;width:auto;min-width:0}.notes-outline li.has-note-color{background:color-mix(in srgb, var(--note-color) 8%, transparent)}.notes-outline li>.notes-drag-handle{width:32px;color:var(--muted);touch-action:none;cursor:grab;flex:0 0 32px;place-items:center;padding:6px;display:grid}.notes-drag-handle svg{fill:none;stroke:currentColor;stroke-width:2.8px;stroke-linecap:round;width:18px;height:18px}.notes-outline [data-note-group-target]{border-radius:6px}.notes-outline h2[data-note-group-target]{min-height:36px;margin:12px 0 4px;padding:10px 6px}.notes-outline .note-drop-target{outline:2px solid var(--accent);outline-offset:-2px;background:var(--field)}.notes-outline .note-dragging{opacity:.4}.notes-drag-ghost{z-index:100;pointer-events:none;background:var(--panel);max-width:min(240px,65vw);color:var(--text);border:1px solid var(--accent);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:10px 14px;font-size:14px;position:fixed;top:0;left:0;overflow:hidden;box-shadow:0 8px 24px #0004}.notes-paper.has-note-color{border-top:4px solid var(--note-color);background:color-mix(in srgb, var(--note-color) 6%, var(--panel))}.notes-paper.has-note-color .notes-content .sticky-surface{background:0 0}@media (pointer:coarse){.notes-outline li>.notes-drag-handle{flex-basis:44px;width:44px}}@media (width<=420px){.notes-back-list{min-width:36px}.notes-back-list span{display:none}.notes-reader-heading{padding-inline:8px}.notes-reader-actions{gap:2px}}.notes-reader-heading{z-index:2;position:relative}.notes-outline .notes-group-new{text-align:center;flex:0 0 30px;width:30px;min-height:30px;padding:0;font-size:20px}.notes-outline details>details{border-bottom:0;margin-left:12px}.notes-reader-menu{display:none;position:relative}.notes-reader-menu>summary{cursor:pointer;border-radius:7px;place-items:center;width:44px;height:44px;list-style:none;display:grid}.notes-reader-menu>summary::-webkit-details-marker{display:none}.notes-reader-menu>summary svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;width:20px;height:20px}.notes-reader-menu[open]>summary{background:var(--soft);color:var(--accent)}.notes-reader-menu-actions{border:1px solid var(--border);background:var(--panel);z-index:4;border-radius:9px;width:min(220px,100vw - 16px);padding:6px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 30px #0004}@media (width<=1000px){.notes-reader-menu{display:block}.notes-reader-toolbar .sticky-tools{padding:4px max(4px, env(safe-area-inset-right)) 4px max(4px, env(safe-area-inset-left));flex-wrap:nowrap;gap:1px}.notes-reader-toolbar .sticky-tools button{white-space:nowrap;flex:1 1 0;min-width:0;min-height:44px;padding:4px 1px;font-size:14px}}.note-links-editing{gap:6px;min-width:0}.note-links-heading{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.note-links-heading h3{font:inherit;margin:0}.note-links-add{min-height:30px;color:var(--accent);border-radius:5px;flex:none;margin-left:auto;padding:4px 8px;font-size:12px}.note-links-add[hidden],.note-link-composer[hidden]{display:none}.note-links-add:hover{background:var(--field)}.note-links-add:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.note-link-list{gap:4px;min-width:0;display:grid}.note-link-entry{min-width:0;position:relative}.note-links-reading{gap:4px;display:grid}.note-links-reading>.resource-card{border:0;border-radius:0;margin:0;padding:10px 0;position:relative}.note-link-entry+.note-link-entry:before,.note-links-reading>.resource-card+.resource-card:before{content:"";border-top:1px solid var(--border);pointer-events:none;position:absolute;top:-2px;left:8px;right:8px}.note-link-entry-head{align-items:center;gap:4px;min-width:0;display:flex}.note-link-label{min-width:0;color:var(--accent);flex:1;align-items:baseline;gap:7px;padding:5px 0;text-decoration:none;display:flex}.note-link-label strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.note-link-label small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.note-links-editing .note-link-edit,.note-links-editing .remove-resource{min-width:30px;min-height:30px;color:var(--muted);border-radius:5px;flex:none;padding:4px;font-size:11px}.note-links-editing .remove-resource{font-size:17px}.note-links-editing .remove-resource:hover{color:var(--danger)}.note-links-editing button:hover{background:var(--field)}.note-link-add-row{align-items:center;gap:6px;display:flex}.note-links-editing .note-link-add-row input{flex:1;min-width:0;margin:0}.note-links-editing .add-resource{min-height:32px;color:var(--accent);border-radius:5px;flex:none;padding:5px 8px;font-size:12px}.note-link-options>summary{cursor:pointer;width:fit-content;color:var(--muted);padding:5px 0;font-size:10px}.note-links-editing .note-link-fields{gap:6px;padding:6px 0;display:grid}.note-links-editing .note-link-fields[hidden]{display:none}.note-links-editing .note-link-fields label{color:var(--muted);gap:3px;margin:0;font-size:10px;display:grid}.note-links-editing input,.note-links-editing textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--field);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:5px;padding:7px 8px;font-size:12px}.note-links-editing textarea{resize:vertical}.note-links-editing :focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (pointer:coarse){.note-links-add,.note-links-editing .note-link-edit,.note-links-editing .remove-resource,.note-links-editing .add-resource{min-width:40px;min-height:40px}.note-link-options>summary{align-content:center;min-height:30px;display:list-item}}.group-drop-hint{z-index:110;pointer-events:none;-webkit-user-select:none;user-select:none;border:1px solid var(--accent);background:var(--panel);max-width:min(300px,100vw - 16px);color:var(--text);overflow-wrap:anywhere;border-radius:9px;align-items:center;gap:7px;padding:8px 11px;font-size:12px;line-height:1.35;display:flex;position:fixed;box-shadow:0 3px 14px #0003}.group-drop-hint[hidden]{display:none}.group-drop-hint:before{content:"+";color:var(--accent);flex:none;font-size:17px;line-height:1}.group-drop-hint.group-drop-success:before{content:"✓"}.group-frame.group-drop-target,.group-bubble-caption.group-drop-target,.notes-outline .group-drop-target{outline:2px solid var(--accent);outline-offset:3px;box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent)}.group-frame.group-drop-target .group-frame-heading{outline:2px solid var(--accent)}.group-drop-confirmed{animation:1s ease-out group-drop-confirm}@keyframes group-drop-confirm{0%,20%{outline:2px solid var(--accent);outline-offset:3px;box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 35%, transparent)}70%{outline:2px solid var(--accent);outline-offset:5px;box-shadow:0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent)}to{outline-offset:5px;outline:2px solid #0000}}@media (prefers-reduced-motion:reduce){.group-drop-confirmed{outline:2px solid var(--accent);outline-offset:3px;animation:none}}.image-grouping-dialog label select{margin-top:8px;display:block}.image-group-category svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.pdf-page-controls{pointer-events:none;z-index:8;position:absolute;inset:0}.pdf-page-controls .pdf-page-resize{box-shadow:none;cursor:nwse-resize;pointer-events:auto;touch-action:none;background:0 0;border:0;padding:0;display:block;position:absolute}.pdf-page-controls .pdf-page-resize[hidden]{display:none}.pdf-page-resize svg{width:var(--pdf-resize-glyph,14px);height:var(--pdf-resize-glyph,14px);fill:none;stroke:var(--accent);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #0009);pointer-events:none;position:absolute;bottom:0;right:0}.pdf-page-resize:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pdf-page-controls button[hidden],.pdf-page-toolbar[hidden]{display:none}.pdf-page-toolbar{opacity:0;pointer-events:none;isolation:isolate;align-items:center;gap:2px;width:max-content;height:auto;padding:6px 7px;transition:opacity .12s;display:flex;position:absolute}.pdf-page-toolbar:before{content:"";box-sizing:border-box;border:1px solid var(--border);background:var(--panel);z-index:-1;pointer-events:none;border-radius:9px;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 5px 18px #0003}.pdf-page-toolbar:is(.is-active,:focus-within){opacity:1;pointer-events:auto}.pdf-page-toolbar :is(.pdf-remove-page,.pdf-page-link-toggle,.pdf-open-properties,.pdf-focus-page,.pdf-group-category,.pdf-connection-port,.pdf-position-pin){flex:0 0 var(--pdf-control-hit-size,26px);width:var(--pdf-control-hit-size,26px);height:var(--pdf-control-hit-size,26px);min-width:var(--pdf-control-hit-size,26px);min-height:var(--pdf-control-hit-size,26px);color:var(--text);cursor:pointer;pointer-events:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:relative;transform:none}.pdf-page-toolbar:is(.is-active,:focus-within) button:not([hidden]){pointer-events:auto}.pdf-page-toolbar button[hidden]{display:none}.pdf-page-toolbar button:hover,.pdf-page-toolbar button:focus-visible{background:var(--soft)}.pdf-page-toolbar .pdf-remove-page{color:#d32f2f}.pdf-page-toolbar :is(.pdf-remove-page,.pdf-page-link-toggle,.pdf-open-properties,.pdf-focus-page,.pdf-group-category,.pdf-position-pin) svg{width:var(--pdf-control-glyph-size,16px);height:var(--pdf-control-glyph-size,16px);fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.pdf-page-link-toggle[aria-pressed=false]{color:var(--muted)}.pdf-position-pin[aria-pressed=true]{color:var(--accent);background:var(--soft)}.pdf-page-links{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.pdf-page-link{stroke:var(--muted);stroke-width:1.5px;opacity:.8;vector-effect:non-scaling-stroke}.pdf-page-toolbar .pdf-connection-port span{pointer-events:none;background:currentColor;border:2px solid #d8e5cf;border-radius:50%;width:12px;height:12px}.pdf-fullscreen-viewer{width:100vw;max-width:none;height:100dvh;max-height:none;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));box-sizing:border-box;color:#fff;background:#080c12f7;border:0;margin:0;position:fixed;inset:0;overflow:hidden}.pdf-fullscreen-viewer::backdrop{background:#080c12f7}.pdf-fullscreen-viewer[open]{display:block}.pdf-viewer-stage{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.pdf-viewer-canvas{background:#fff;max-width:100%;max-height:100%;display:block;box-shadow:0 4px 24px #0008}.pdf-viewer-close{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));z-index:1;color:#fff;cursor:pointer;background:#1b2430e8;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute}.pdf-viewer-close svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px;height:20px}.pdf-viewer-close:focus-visible{outline-offset:2px;outline:2px solid #fff}.pdf-viewer-status{color:#fff;margin:0}.image-frame-picker{border:0;min-width:0;margin:16px 0 0;padding:0}.image-frame-picker legend{color:var(--muted,#b1c2b6);margin-bottom:8px;font-size:12px}.image-frame-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.image-frame-picker .image-frame-choice{border:1px solid var(--border,#3b4e41);background:var(--field,#0f1a15);min-height:56px;color:var(--text,#edf3ee);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:0;padding:5px 4px;font-size:12px;line-height:1.3;display:flex;position:relative}.image-frame-picker .image-frame-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.image-frame-choice svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:30px;height:24px}.image-frame-choice:has(input:checked){border-color:var(--accent,#b6d5a2);background:var(--soft,#26352a);color:var(--accent,#b6d5a2)}.image-frame-choice:has(input:focus-visible){outline:2px solid var(--accent,#b6d5a2);outline-offset:3px}.image-frame-picker:disabled .image-frame-choice{cursor:default;opacity:.6}.image-frame-icons .image-frame-options{flex-wrap:wrap;gap:6px;display:flex}.image-frame-picker.image-frame-icons .image-frame-choice{background:0 0;border:0;width:40px;height:40px;min-height:40px;padding:5px}.image-frame-icons .image-frame-choice:hover{color:var(--accent)}.image-frame-icons .image-frame-choice:has(input:focus-visible){outline:none}.image-frame-icons .image-frame-choice:has(input:focus-visible) svg{outline:1px solid var(--accent);outline-offset:3px;border-radius:3px}@media (pointer:coarse){.image-frame-picker.image-frame-icons .image-frame-choice{width:44px;height:44px;min-height:44px}}.floating-import-preview[data-image-frame=rectangle]{border-radius:0}.floating-import-preview[data-image-frame=rounded]{border-radius:18px}.floating-import-preview[data-image-frame=circle]{aspect-ratio:1;object-fit:cover;border-radius:50%;width:min(100%,260px);height:auto}.link-object-editor{box-sizing:border-box;width:min(380px,100vw - 32px);padding:22px}.link-object-editor h2{margin-bottom:18px;font-size:21px}.link-object-editor input{box-sizing:border-box}.link-object-editor .form-actions{margin-top:20px}.link-object-editor .form-error:empty{display:none}.space-text-name-color{align-items:stretch;gap:8px;display:flex}.space-text-name-color input[name=text]{flex:auto;min-width:0}.pdf-import-dialog{width:min(860px,100vw - 24px);max-height:min(90dvh,850px);padding:0;overflow:hidden}.pdf-import-dialog form{flex-direction:column;max-height:min(90dvh,850px);display:flex}.pdf-import-dialog header{padding:20px 22px 12px}.pdf-import-dialog h2{margin:0 0 6px}.pdf-import-name{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:13px}.pdf-import-dialog .field-hint{margin:6px 0 12px}.pdf-import-actions{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.pdf-import-actions button{border:1px solid var(--border);border-radius:6px;min-height:36px;padding:6px 10px}.pdf-import-count{color:var(--muted);margin-left:auto;font-size:12px}.pdf-import-options{flex-wrap:wrap;align-items:center;gap:8px 22px;margin-top:10px;display:flex}.pdf-import-dialog .pdf-import-group-option{color:var(--text);align-items:center;gap:8px;margin:0;font-size:13px;display:flex}.pdf-import-dialog .pdf-import-group-option input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:0}.pdf-import-pages{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;min-height:120px;padding:4px 22px 18px;display:grid;overflow:auto}.pdf-import-page{border:1px solid var(--border);background:var(--field);cursor:pointer;border-radius:8px;flex-direction:column;min-width:0;padding:8px;display:flex}.pdf-import-page:has(input:checked){border-color:var(--accent)}.pdf-import-preview{min-height:125px;color:var(--muted);place-items:center;font-size:11px;display:grid}.pdf-import-preview canvas{background:#fff;width:auto;max-width:100%;height:auto;max-height:140px;display:block;box-shadow:0 2px 6px #0003}.pdf-import-page-label{min-height:34px;color:var(--text);align-items:center;gap:7px;font-size:12px;display:flex}.pdf-import-page-label input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:0}.pdf-import-error{color:var(--danger);margin:0 22px;font-size:12px}.pdf-import-dialog .form-actions{border-top:1px solid var(--border);background:var(--panel);flex:none;padding:12px 22px 18px}@media (width<=600px){.pdf-import-dialog,.pdf-import-dialog form{max-height:calc(100dvh - 24px)}.pdf-import-dialog header{padding:16px 14px 10px}.pdf-import-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 14px 12px}.pdf-import-dialog .form-actions{padding:10px 14px 14px}}.pdf-import-view-switch{gap:4px;padding:0 22px 10px;display:flex}.pdf-import-view-switch button,.pdf-import-detail-controls button{border:1px solid var(--border);border-radius:6px;min-height:34px;padding:5px 10px}.pdf-import-view-switch button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.pdf-import-pages[hidden],.pdf-import-detail[hidden]{display:none}.pdf-import-detail{flex-direction:column;flex:1;min-height:120px;padding:0 22px 12px;display:flex;overflow:hidden}.pdf-import-detail-controls{flex-wrap:wrap;align-items:center;gap:6px;padding-bottom:8px;font-size:12px;display:flex}.pdf-import-detail-controls label{white-space:nowrap;align-items:center;gap:5px;margin:0 auto 0 4px;display:flex}.pdf-import-detail-controls input{width:18px;height:18px;accent-color:var(--accent);margin:0}.pdf-import-detail-scroll{overscroll-behavior:contain;background:var(--field);border-radius:6px;flex:1;min-height:100px;padding:8px;overflow:auto}.pdf-import-detail-canvas{min-height:150px;color:var(--muted);font-size:12px}.pdf-import-detail-canvas canvas{background:#fff;margin:auto;display:block;box-shadow:0 2px 6px #0003}@media (width<=600px){.pdf-import-view-switch{padding:0 14px 8px}.pdf-import-detail{padding:0 14px 10px}}.details-panel .detail-category{border-top:1px solid var(--border);margin-bottom:4px;padding-top:4px}.details-panel .details-header #detail-title{letter-spacing:-.2px;margin:0;font-size:18px;line-height:1.35}.details-panel .details-header #detail-title[contenteditable=true]{cursor:text;-webkit-user-select:text;user-select:text;touch-action:manipulation}.details-panel .detail-summary-section{margin-top:4px;margin-bottom:8px;padding-top:4px}.details-panel .detail-summary-section>h3{color:var(--muted);margin:0 0 6px;font-size:12px;font-weight:650}.details-panel #detail-summary{margin:0}.details-panel .detail-notes{margin-top:18px;padding-top:16px}.details-panel .notes-heading{justify-content:space-between;margin-bottom:8px}.details-panel .notes-heading>h3{margin:0}.details-panel .toggle-detail-note{min-height:32px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:12px;font-weight:650;display:inline-flex}.details-panel .note-disclosure-indicator{fill:currentColor;flex:none;width:10px;height:10px;display:block}.details-panel .toggle-detail-note[aria-expanded=true] .note-disclosure-indicator{transform:rotate(90deg)}.details-panel .toggle-detail-note[hidden],.details-panel #detail-description[hidden]{display:none}.details-panel #detail-description>.sticky-tools{box-sizing:border-box;flex:none;width:100%}.details-panel:has(#detail-description>.sticky-tools:not([hidden])) .details-footnote{display:none}.details-panel #node-resources{margin-top:6px;padding-top:16px}.details-panel #node-resources>h3{margin-bottom:8px}.details-panel .node-details-controls{border-top:0;margin-top:18px;padding-top:14px}.details-panel:not(.space-note-details) .detail-summary-section{margin-bottom:12px}.details-panel:not(.space-note-details) #node-resources:not([hidden])+.node-details-controls{margin-top:0;padding-top:0}.details-panel:not(.space-note-details) #node-resources[hidden]+.node-details-controls{margin-top:6px;padding-top:0}.details-panel .connection-count{margin:0 0 10px}.details-panel .node-position-control{margin-top:12px}.details-panel .node-details-controls .field-hint{margin:8px 0 0}.details-panel .details-header{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr);gap:6px;display:grid}.details-panel .details-title-row{align-items:center;gap:8px;min-width:0;display:flex}.details-panel .note-sheet-handle{align-items:center;display:flex}.details-panel .note-sheet-title{flex:1;min-width:0}.details-panel .details-header-actions{flex-shrink:0}.details-panel .detail-category select{min-width:0;max-width:100%;font:inherit;color:var(--text);border:1px solid var(--border);background:var(--field);border-radius:5px;margin:0;padding:5px 24px 5px 8px}.details-panel .detail-category select:disabled{color:var(--muted);opacity:1;appearance:none;background:0 0;border-color:#0000;padding-left:0}.details-panel #detail-node-options{gap:8px;margin-bottom:16px;display:grid}.details-panel #detail-node-options>div{gap:8px;display:grid}.details-panel #detail-node-options label:not(.image-frame-choice){color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.details-panel #detail-node-options select{border:1px solid var(--border);background:var(--field);width:100%;min-width:0;color:var(--text);border-radius:5px;margin:0;padding:8px}.details-panel .image-frame-picker{margin:0}.details-panel #detail-node-options input[type=range]{width:100%;accent-color:var(--accent);margin:0}.details-panel #detail-node-options .detail-size-default{justify-content:flex-start;font-size:11px}.details-panel #detail-node-options input[type=checkbox]{margin:0}@media (width<=560px),(width<=1000px) and (height<=500px) and (pointer:coarse){.details-panel .details-header{padding-top:26px}.details-panel .note-sheet-grip{position:absolute;top:0;left:calc(50% - 22px)}.details-panel .note-sheet-handle{min-height:44px}}.details-panel .details-header-actions .detail-action-icon{width:32px;height:32px;min-height:32px;color:var(--muted);border:0;border-radius:5px;place-items:center;padding:7px;display:grid}.details-panel .detail-action-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.details-panel .detail-action-icon.danger-button{color:var(--danger)}.details-panel .detail-action-icon:hover,.details-panel .detail-action-icon:focus-visible{background:var(--soft);color:var(--accent)}@media (width<=560px),(width<=1000px) and (height<=500px) and (pointer:coarse){.details-panel .details-header-actions .detail-action-icon{width:40px;height:44px;min-height:44px}}.details-panel .detail-action-icon[aria-pressed=true]{color:var(--accent);background:var(--soft)}.details-panel .detail-category{display:block}.details-panel .detail-category-content{margin-top:6px;position:relative}.details-panel .detail-category .category-dot{pointer-events:none;margin:0;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.details-panel .detail-category select{width:100%;padding-left:24px}.details-panel .detail-category select:disabled{padding-left:24px}.details-panel #detail-node-options{gap:0}.details-panel #detail-node-options>*{border-top:1px solid var(--border);padding-block:8px}.details-panel #detail-node-options>:last-child{border-bottom:1px solid var(--border)}.details-panel #detail-node-options summary{cursor:pointer;color:var(--text);padding-block:4px;font-size:12px;font-weight:650}.details-panel #detail-node-options .detail-option-content{gap:8px;padding-top:6px;display:grid}.details-panel .detail-category select,.details-panel #detail-node-options select,.details-panel .detail-group-option select{box-sizing:border-box;height:34px;padding-block:5px;font-size:12px;line-height:1.3}.details-panel .detail-category>summary{cursor:pointer;color:var(--text);padding-block:4px;font-size:12px;font-weight:650}.details-panel .detail-group-option>summary .connection-count{float:right;margin:0;padding:2px 6px;font-weight:400;line-height:1.3}.details-panel .detail-category>summary,.details-panel .detail-group-option>summary{min-height:32px;padding-block:0;line-height:32px}.details-panel .edit-detail-categories{float:right;min-height:32px;color:var(--muted);background:0 0;border:0;margin:0;padding:0 6px;font-size:12px;font-weight:400}.details-panel .edit-detail-categories:hover,.details-panel .edit-detail-categories:focus-visible{color:var(--accent);background:var(--soft)}.details-panel .edit-detail-categories:disabled{opacity:.5;cursor:default}.details-panel.space-note-details:not(.note-only) .details-body{flex-direction:column;padding-bottom:8px;display:flex;overflow:hidden}.details-panel.space-note-details:not(.note-only) .details-body>*{flex:none}.details-panel.space-note-details .detail-category{border-top:0;padding-top:0}.details-panel.space-note-details .detail-group-option{border-bottom:1px solid var(--border);padding-bottom:4px}.details-panel.space-note-details:not(.note-only) .detail-notes{border:0;margin:0;padding:6px 0 0}.details-panel.space-note-details:not(.note-only) #detail-description{flex-direction:column;width:100%;min-height:0;padding-bottom:0;display:flex}.details-panel.space-note-details:not(.note-only) #detail-description>*{flex:none}.details-panel.space-note-details:not(.note-only) .sticky-surface{min-height:0}.details-panel.space-note-details:not(.note-only) .sticky-tools{position:static}.details-panel.space-note-details:not(.note-only) .node-details-controls{margin-top:0;padding-top:8px}.details-panel.space-note-details:not(.note-only) #detail-node-options{margin-bottom:0}.details-panel.space-note-details:not(.note-only) .node-position-control{margin-top:8px}.details-panel .sticky-height-only>.sticky-resize{width:100%;height:16px;min-height:16px;color:var(--border);cursor:row-resize;background:0 0;border:0;padding:0;font-size:0;position:relative;inset:auto}.details-panel .sticky-height-only>.sticky-resize:before{content:"";background:currentColor;height:1px;position:absolute;inset:7px 0 auto}.details-panel .sticky-height-only>.sticky-resize:hover,.details-panel .sticky-height-only>.sticky-resize:focus-visible{color:var(--accent)}.details-panel .sticky-height-only>.note-last-edited{padding-right:8px}.details-panel .detail-group-option{border-top:1px solid var(--border);margin-bottom:4px;padding-top:4px}.details-panel .detail-group-option>summary{cursor:pointer;color:var(--text);font-size:12px;font-weight:650}.details-panel .detail-group-option .detail-option-content{padding-top:6px}.details-panel .detail-group-option select{border:1px solid var(--border);background:var(--field);width:100%;min-width:0;color:var(--text);border-radius:5px;margin:0;padding-inline:8px}.details-panel.space-note-details:not(.note-only) .pin-hint{display:none}@media (width<=560px),(width<=1000px) and (height<=500px) and (pointer:coarse){.details-panel.space-note-details:not(.note-only) .detail-category,.details-panel.space-note-details:not(.note-only) .detail-group-option{margin-bottom:4px;padding-top:4px}.details-panel.space-note-details:not(.note-only) .detail-category,.details-panel.space-note-details:not(.note-only) .detail-notes{padding-top:0}.details-panel.space-note-details:not(.note-only) .notes-heading{margin-bottom:4px}.details-panel.space-note-details:not(.note-only) .sticky-surface{padding:6px 10px}}.details-panel .detail-node-image-option,.details-panel .detail-pdf-option{border-top:1px solid var(--border);padding-block:8px}.details-panel .detail-pdf-option h3{margin:0 0 5px;font-size:12px}.details-panel .detail-pdf-option p{color:var(--muted);overflow-wrap:anywhere;margin:3px 0;font-size:12px}.details-panel .detail-pdf-stage{width:100%;margin-top:8px}.details-panel .detail-pdf-stage canvas{border:1px solid var(--border);background:#fff;border-radius:4px;max-width:100%;height:auto;display:block}.details-panel .detail-pdf-page-controls{justify-content:center;align-items:center;gap:10px;margin-top:8px;font-size:12px;display:flex}.details-panel .detail-pdf-page-controls[hidden]{display:none}.details-panel .detail-pdf-page-controls button{min-width:30px}.details-panel .detail-node-image-option>summary{cursor:pointer;min-height:32px;color:var(--text);font-size:12px;font-weight:650;line-height:32px}.details-panel .detail-node-image-option .preview-image-editor{margin:6px 0 0}.details-panel .detail-node-image-option .preview-image-label,.details-panel .detail-node-image-option .preview-image-draft{display:none}.details-panel .detail-node-image-option .retry-detail-image{min-height:32px;color:var(--accent)}.details-panel .detail-floating-image-heading{align-items:center;gap:6px;margin:0 0 8px;display:flex}.details-panel .detail-floating-image-heading h3{margin:0;font-size:12px}.details-panel .toggle-detail-floating-image-url,.details-panel .save-detail-floating-image-url{width:30px;height:30px;min-height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:5px;display:inline-flex}.details-panel .toggle-detail-floating-image-url svg,.details-panel .save-detail-floating-image-url svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.details-panel .toggle-detail-floating-image-url:hover,.details-panel .toggle-detail-floating-image-url[aria-expanded=true],.details-panel .save-detail-floating-image-url:hover{color:var(--accent);background:var(--soft)}.details-panel .toggle-detail-floating-image-url:disabled,.details-panel .save-detail-floating-image-url:disabled{opacity:.45;cursor:default}.details-panel .detail-floating-image-source{margin-top:8px}.details-panel .detail-floating-image-url-row{align-items:center;gap:4px;display:flex}.details-panel .detail-floating-image-url-row input{box-sizing:border-box;width:100%;min-width:0;min-height:30px;margin:0;padding:5px 8px;font-size:12px}@media (pointer:coarse){.details-panel .toggle-detail-floating-image-url,.details-panel .save-detail-floating-image-url{width:40px;height:40px;min-height:40px}}.details-panel .detail-model-image-option{border-top:1px solid var(--border);padding-block:12px}.details-panel .detail-model-image-option h3{margin:0 0 8px;font-size:12px}.details-panel .detail-model-view-control{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.details-panel .detail-model-view-control label{color:var(--muted);margin:0;font-size:12px}.details-panel .detail-model-view-control select{border:1px solid var(--border);background:var(--field);width:auto;min-width:120px;color:var(--text);border-radius:5px;margin:0;padding:5px 24px 5px 8px}.details-panel #detail-model-image{object-fit:contain;width:100%;max-height:280px;display:block}.details-panel .detail-model-image-message{margin:8px 0 0}.details-panel .detail-model-preview-option{border-top:1px solid var(--border);padding-block:12px}.details-panel .detail-model-preview-option h3{margin:0 0 8px;font-size:12px}.details-panel .detail-model-scale-label{color:var(--muted);justify-content:space-between;align-items:center;margin:12px 0 6px;font-size:12px;display:flex}.details-panel #detail-model-scale{width:100%;accent-color:var(--accent);margin:0}.details-panel .detail-model-preview-message,.details-panel .detail-model-preview-hint{margin:8px 0 0}.details-panel .detail-model-image-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.details-panel .detail-model-image-heading h3{margin:0}.details-panel .update-detail-model-views{width:30px;height:30px;min-height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:5px;display:inline-flex}.details-panel .update-detail-model-views svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.details-panel .update-detail-model-views:hover{background:var(--soft);color:var(--accent)}.details-panel .update-detail-model-views:disabled{opacity:.45;cursor:default}@media (pointer:coarse){.details-panel .update-detail-model-views{width:40px;height:40px;min-height:40px}}.details-panel .detail-model-preview-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.details-panel .detail-model-preview-heading h3{margin:0}.details-panel .sync-detail-model{min-height:30px;color:var(--accent);background:0 0;border:0;border-radius:6px;flex:none;padding:5px 8px;font-size:12px}.details-panel .sync-detail-model:hover{background:var(--soft)}.details-panel .sync-detail-model:disabled{opacity:.45;cursor:default}@media (pointer:coarse){.details-panel .sync-detail-model{min-height:40px}}.details-panel .detail-node-pdf-option{border-top:1px solid var(--border);padding-block:8px}.details-panel .detail-node-pdf-option>summary{cursor:pointer;min-height:32px;color:var(--text);font-size:12px;font-weight:650;line-height:32px}.details-panel .detail-node-pdf-content{padding:2px 0 4px}.details-panel .detail-node-pdf-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.details-panel .detail-node-pdf-actions{flex:none;gap:4px;margin-left:auto;display:flex}.details-panel .detail-node-pdf-actions button{min-height:30px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:4px 8px;font-size:12px}.details-panel .detail-node-pdf-actions button:hover{background:var(--soft)}.details-panel .detail-node-pdf-name,.details-panel .detail-node-pdf-empty{min-width:0;color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px}.details-panel .detail-node-pdf-empty{margin-top:4px}.details-panel .detail-node-pdf-preview .detail-pdf-stage{margin-top:8px}.details-panel .details-note-color .color-picker-toggle{width:32px;min-width:32px;height:32px;min-height:32px;padding:4px}.details-panel .details-note-color .color-picker-toggle>span{min-height:0}@media (pointer:coarse){.details-panel .detail-node-pdf-actions button{min-height:40px}.details-panel .details-note-color .color-picker-toggle{width:40px;min-width:40px;height:44px;min-height:44px}}.preview-connection-segments{z-index:0;border-radius:inherit;pointer-events:none;position:absolute;overflow:hidden}.preview-connection-segments path{fill:none;stroke-linecap:round}.node-preview>.preview-header,.node-preview>.preview-reading,.node-preview>.preview-note-toolbar,.node-preview>.preview-title-message{z-index:1;position:relative}.node-preview>.preview-resize-handle{z-index:1}.preview-marker-caption>:not(.preview-connection-segments){z-index:1;position:relative}.graph.hide-object-titles .node-preview:not(.inline-editing-preview):not(.link-node-preview):not(.sticky-preview) .preview-title,.graph.hide-object-titles .node-preview:not(.link-node-preview):not(.sticky-preview) .preview-note-marker-title{display:none}.spatial-indicator{z-index:5;width:100px;color:var(--text);pointer-events:none;-webkit-user-select:none;user-select:none;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px var(--map-bg);flex-direction:column;align-items:center;font-size:10px;line-height:1.5;display:flex;position:absolute;top:90px;right:24px}.spatial-indicator>svg{touch-action:none;width:90px;height:90px;display:block;overflow:visible}.spatial-origin{fill:var(--muted)}.spatial-axis{--axis-color:#bd4155}.spatial-axis.axis-y{--axis-color:#26765d}.spatial-axis.axis-z{--axis-color:#3d63bb}.spatial-axis line{stroke:var(--axis-color);stroke-width:2px}.spatial-axis circle{fill:var(--axis-color);stroke:var(--axis-color);stroke-width:1.5px}.spatial-axis text{fill:#fff;text-shadow:none;font:600 10px Segoe UI,sans-serif}.spatial-axis .spatial-axis-handle{fill:#0000;stroke:none;pointer-events:all;cursor:grab;touch-action:none}.spatial-axis:focus{outline:none}.spatial-axis:focus-visible>circle:not(.spatial-axis-handle),.spatial-axis:hover>circle:not(.spatial-axis-handle),.dragging-axis>circle:not(.spatial-axis-handle){stroke:var(--text);stroke-width:2.5px}.spatial-axis.dragging-axis{opacity:1}.spatial-indicator>svg.dragging,.spatial-indicator>svg.dragging .spatial-axis-handle{cursor:grabbing}.negative-axis line{stroke-dasharray:2 3}.negative-axis circle{fill:var(--panel)}.negative-axis text{fill:var(--text)}.spatial-distance{color:var(--muted)}.spatial-zoom input:disabled{opacity:.45;cursor:default}.spatial-zoom{width:100%;margin-top:5px;position:relative}.spatial-zoom input{appearance:none;pointer-events:auto;cursor:ew-resize;touch-action:none;background:0 0;width:100%;height:24px;margin:0;padding:0;display:block}.spatial-zoom input::-webkit-slider-runnable-track{background:var(--muted);border-radius:2px;height:3px}.spatial-zoom input::-moz-range-track{background:var(--muted);border-radius:2px;height:3px}.spatial-zoom input::-webkit-slider-thumb{appearance:none;background:0 0;border:0;width:12px;height:12px;margin-top:-4.5px}.spatial-zoom input::-moz-range-thumb{box-sizing:border-box;background:0 0;border:0;width:12px;height:12px}.spatial-camera-thumb,.spatial-node-thumb{pointer-events:auto;touch-action:none;cursor:ew-resize;outline:none;place-items:center;width:28px;height:24px;display:grid;position:absolute;transform:translate(-50%,-50%)}.spatial-camera-thumb{color:var(--accent);top:12px}.spatial-camera-thumb svg{pointer-events:none;width:20px;height:20px;display:block;overflow:visible}.spatial-camera-thumb rect,.spatial-camera-thumb circle,.spatial-camera-thumb path{stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;fill:var(--panel)}.spatial-camera-thumb .spatial-camera-lens,.spatial-camera-thumb .spatial-camera-toward{fill:currentColor}.spatial-camera-thumb .spatial-camera-away{fill:none;stroke-linecap:round}.spatial-camera-side[data-side=toward] .spatial-camera-away,.spatial-camera-side[data-side=away] .spatial-camera-toward{display:none}.spatial-node-thumb{top:36px}.spatial-node-dot{box-sizing:border-box;border:1px solid var(--panel);background:var(--text);width:8px;height:8px;box-shadow:0 0 0 1px var(--muted);pointer-events:none;border-radius:50%;display:block}.spatial-node-thumb:before{content:"";background:var(--muted);pointer-events:none;width:1px;height:20px;position:absolute;top:-12px;left:50%;transform:translate(-50%)}.spatial-indicator[data-depth-marker=group] .spatial-zoom-ends,.spatial-indicator[data-mode=node] .spatial-zoom-ends{margin-top:24px}.spatial-node-thumb[hidden]{display:none}.spatial-node-thumb[aria-disabled=true]{opacity:.45;cursor:default}.spatial-camera-thumb:focus-visible svg,.spatial-camera-thumb.dragging-depth svg,.spatial-node-thumb:focus-visible .spatial-node-dot,.spatial-node-thumb.dragging-depth .spatial-node-dot,.spatial-indicator[data-mode=camera] .spatial-zoom input:focus-visible~.spatial-camera-thumb svg,.spatial-indicator[data-mode=node] .spatial-zoom input:focus-visible~.spatial-node-thumb .spatial-node-dot,.spatial-indicator[data-mode=group] .spatial-zoom input:focus-visible~.spatial-node-thumb .spatial-node-dot{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.spatial-node-thumb[data-kind=group] .spatial-node-dot{background:var(--panel);border:2px solid var(--text);width:10px;height:10px}.spatial-start{background:var(--accent);border-radius:1px;width:2px;height:6px;position:absolute;top:3px;transform:translate(-50%)}.spatial-zoom-ends{color:var(--muted);justify-content:space-between;margin-top:0;font-size:9px;line-height:1;display:flex}.spatial-camera-thumb[data-outside=near]:after,.spatial-node-thumb[data-outside=near]:after{content:"‹";pointer-events:none;font-size:12px;position:absolute;top:3px;right:100%}.spatial-camera-thumb[data-outside=far]:after,.spatial-node-thumb[data-outside=far]:after{content:"›";pointer-events:none;font-size:12px;position:absolute;top:3px;left:100%}@media (pointer:coarse){.spatial-axis .spatial-axis-handle{r:18px}.spatial-zoom input{height:32px}.spatial-camera-thumb,.spatial-node-thumb{width:32px;height:32px}.spatial-camera-thumb{top:16px}.spatial-node-thumb{top:48px}.spatial-node-thumb:before{height:28px;top:-16px}.spatial-indicator[data-depth-marker=group] .spatial-zoom-ends,.spatial-indicator[data-mode=node] .spatial-zoom-ends{margin-top:32px}.spatial-start{top:7px}}@media (width<=700px),(width<=1000px) and (height<=500px){.spatial-indicator{width:76px;font-size:9px;line-height:1.3;top:10px;right:8px}.spatial-indicator>svg{width:64px;height:64px}.spatial-zoom{margin-top:1px}.spatial-camera-thumb svg{width:18px;height:18px}}.node-preview[data-preview-content=pdf].expanded-preview .preview-reading{flex-direction:column;display:flex;overflow:hidden}.node-preview[data-preview-content=pdf] .preview-title-row{flex:none}.node-preview .preview-pdf{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden}.node-preview .preview-pdf[hidden]{display:none}.node-preview .preview-pdf .detail-pdf-stage{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;overflow:hidden}.node-preview .preview-pdf canvas{background:#fff;max-width:100%;max-height:100%;display:block;width:auto!important;height:auto!important}.node-preview .preview-pdf .detail-pdf-page-controls[hidden]{display:none}.node-preview .preview-pdf .detail-pdf-status{color:var(--muted);font-size:12px}.node-preview[data-preview-content=image].expanded-preview .preview-reading{flex-direction:column;display:flex;overflow:hidden}.node-preview[data-preview-content=image].expanded-preview .preview-title-row,.node-preview[data-preview-content=image].expanded-preview .preview-image-edit-host{flex:none}.node-preview[data-preview-content=image].expanded-preview .preview-image{object-fit:contain;flex:1;width:100%;height:0;min-height:0;max-height:100%;margin:0;display:block}.node-preview[data-preview-content=image].expanded-preview .preview-image-editor{align-items:center;gap:6px;margin:2px 0;display:flex}.node-preview[data-preview-content=image].expanded-preview .preview-image-label,.node-preview[data-preview-content=image].expanded-preview .preview-image-draft,.node-preview[data-preview-content=image].expanded-preview .preview-image-meta p{display:none}.node-preview[data-preview-content=image].expanded-preview .preview-image-drop{min-height:30px;padding:4px 8px}.node-preview[data-preview-content=image].expanded-preview .preview-image-meta{flex:none;margin:0}.node-preview .preview-pdf-edit-host{flex:none;align-items:center;gap:6px;padding:3px 0 6px;display:flex}.node-preview .preview-pdf-edit-host[hidden]{display:none}.node-preview .preview-pdf-edit-host button{min-height:30px;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:4px 8px;font-size:12px}.node-preview .preview-pdf-edit-host button:hover{background:var(--soft)}@media (pointer:coarse){.node-preview .preview-pdf-edit-host button{min-height:40px}}.view-selection-indicators{pointer-events:none;position:absolute;inset:0}.view-selection-indicator{box-sizing:border-box;pointer-events:none;border:1px solid color-mix(in srgb, var(--accent) 72%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--panel) 40%, transparent);border-radius:6px;position:absolute}.space-add-picker{box-sizing:border-box;border:1px solid var(--border);background:var(--panel);width:342px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);border-radius:16px;margin:0;padding:14px;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 16px 48px #0004}.space-add-picker::backdrop{background:#0002}.space-add-picker header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.space-add-picker h2{margin:0;font-size:16px}.space-add-picker .close-space-add{width:30px;height:30px;color:var(--muted);border-radius:8px;padding:0;font-size:22px}.space-add-options{gap:4px;display:grid}.space-add-option{text-align:left;border:1px solid #0000;border-radius:10px;grid-template-columns:40px 1fr;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px;display:grid}.space-add-option:hover,.space-add-option:focus-visible{background:var(--soft);border-color:var(--accent);outline:none}.space-add-option strong,.space-add-option small{display:block}.space-add-option strong{font-size:14px}.space-add-option small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.4}.space-add-icon{width:40px;height:40px;color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent);border-radius:12px;place-items:center;display:grid}.space-add-icon svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.space-add-error{color:var(--danger);margin:10px 4px 0;font-size:12px}.planar-pen-toolbar{z-index:7;border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex;position:absolute;bottom:12px;left:12px;box-shadow:0 4px 16px #0003}.legend.legend-above-pen{bottom:var(--legend-pen-bottom)}.planar-pen-toolbar[hidden],.planar-pen-options[hidden]{display:none}.planar-pen-options{border:1px solid var(--border);background:var(--panel);border-radius:8px;flex-wrap:nowrap;align-items:center;gap:3px;width:max-content;max-width:calc(100vw - 24px);padding:3px;display:flex;position:absolute;bottom:0;left:calc(100% + 6px);overflow:auto hidden;box-shadow:0 4px 16px #0003}.planar-pen-options>*{flex-shrink:0}.planar-pen-toolbar.pen-palette-above .planar-pen-options{bottom:calc(100% + 6px);left:0}.planar-pen-toolbar button,.planar-pen-toolbar select,.planar-pen-color{box-sizing:border-box;min-width:36px;height:36px;color:var(--text);background:0 0;border:0;border-radius:5px;padding:6px}.planar-pen-toolbar button{cursor:pointer;place-items:center;display:grid}.planar-pen-toolbar button[aria-pressed=true]{background:var(--soft);color:var(--accent)}.planar-pen-toolbar button:disabled{opacity:.4;cursor:default}.planar-pen-toolbar button:hover:not(:disabled),.planar-pen-toolbar select:hover{background:var(--soft)}.planar-pen-toolbar svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:19px;height:19px}.planar-pen-toolbar button{touch-action:manipulation}.planar-pen-toolbar select{min-width:70px;max-width:78px;font:inherit;font-size:12px}.planar-pen-color{cursor:pointer;place-items:center;padding:0;display:grid}.planar-pen-toolbar .color-picker-toggle{border:1px solid var(--border);width:36px;min-height:0;padding:4px}.planar-pen-toolbar .color-picker-toggle>span{min-height:0}@media (pointer:coarse){.planar-pen-toolbar button,.planar-pen-toolbar select,.planar-pen-color{min-width:40px;height:40px}.planar-pen-toolbar .color-picker-toggle{width:40px}}@media (width<=700px){.planar-pen-toolbar{bottom:72px}}@media (width<=380px){.planar-pen-toolbar,.planar-pen-options{gap:0}.planar-pen-toolbar select{min-width:44px;max-width:44px;padding:3px;font-size:10px}}.ink-selection-toolbar{z-index:40;border:1px solid var(--border);background:var(--panel);max-width:calc(100% - 8px);color:var(--text);touch-action:manipulation;border-radius:8px;align-items:center;gap:4px;padding:4px 5px;display:flex;position:absolute;box-shadow:0 4px 16px #0003}.ink-selection-toolbar[hidden]{display:none}.ink-selection-toolbar .color-picker-toggle,.ink-selection-toolbar button{border-radius:5px;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:5px;display:grid}.ink-selection-toolbar .color-picker-toggle>span{min-height:0}.ink-selection-toolbar button:hover{background:var(--soft)}.ink-selection-toolbar input[type=range]{width:100px;min-width:56px;accent-color:var(--accent)}.ink-selection-toolbar .ink-selection-delete{color:var(--danger)}.ink-selection-toolbar svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}@media (pointer:coarse){.ink-selection-toolbar .color-picker-toggle,.ink-selection-toolbar button{width:40px;min-width:40px;height:40px}}.floating-image-resize.floating-image-zoom-grip{width:var(--image-hit-size);min-width:var(--image-hit-size);height:var(--image-hit-size);min-height:var(--image-hit-size);transform:translate(calc(-1 * var(--image-hit-inset)), calc(-1 * var(--image-hit-inset)));box-shadow:none;background:0 0;border:0;overflow:visible}.floating-image-resize.floating-image-zoom-grip:before{content:none}.floating-image-resize.floating-image-zoom-grip svg{left:calc(var(--image-hit-inset) - var(--image-grip-size));top:calc(var(--image-hit-inset) - var(--image-grip-size));width:var(--image-grip-size);height:var(--image-grip-size);stroke-width:3px;filter:drop-shadow(0 1px 2px #0008);position:absolute;bottom:auto;right:auto}.floating-image-resize.floating-image-zoom-grip:hover,.floating-image-resize.floating-image-zoom-grip:focus-visible{background:0 0;outline:none}.floating-image-resize.floating-image-zoom-grip:hover svg,.floating-image-resize.floating-image-zoom-grip:focus-visible svg{filter:drop-shadow(0 0 3px var(--panel)) drop-shadow(0 1px 2px #0008)}.floating-image-resize.floating-image-zoom-grip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.floating-image-resize.floating-model-resize{width:var(--model-hit-size,32px);min-width:var(--model-hit-size,32px);height:var(--model-hit-size,32px);min-height:var(--model-hit-size,32px)}.floating-image-resize.floating-model-resize svg{width:min(20px, calc(var(--model-hit-size,32px) * .625));height:min(20px, calc(var(--model-hit-size,32px) * .625))}.space-text-resize-layer{pointer-events:none;position:absolute;inset:0}.space-text-resize{border:1px solid var(--accent);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--accent);background:var(--panel);cursor:nwse-resize;pointer-events:auto;touch-action:none;border-radius:5px;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-100%,-100%);box-shadow:0 2px 6px #0003}.space-text-resize:hover,.space-text-resize:focus-visible{background:var(--soft);outline:2px solid var(--accent);outline-offset:1px}.space-text-resize svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:100%;height:100%}@media (pointer:coarse){.space-text-resize{width:44px;min-width:44px;height:44px;min-height:44px}}.space-text-properties{border:1px solid var(--accent);width:24px;min-width:24px;height:24px;min-height:24px;color:var(--accent);background:var(--panel);cursor:pointer;pointer-events:auto;touch-action:manipulation;border-radius:5px;place-items:center;padding:3px;display:grid;position:absolute;box-shadow:0 2px 6px #0003}.space-text-properties:hover,.space-text-properties:focus-visible{background:var(--soft);outline:2px solid var(--accent);outline-offset:1px}.space-text-properties svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:100%;height:100%}@media (pointer:coarse){.space-text-properties{width:32px;min-width:32px;height:32px;min-height:32px}}.space-text-resize{box-shadow:none;background:0 0;border:0}.space-text-resize svg{width:var(--text-grip-size,24px);height:var(--text-grip-size,24px);stroke-width:3px;filter:drop-shadow(0 1px 2px #0008);position:absolute;bottom:0;right:0}.space-text-resize:hover,.space-text-resize:focus-visible{background:0 0;outline:none}.space-text-resize:hover svg,.space-text-resize:focus-visible svg{filter:drop-shadow(0 0 3px var(--panel)) drop-shadow(0 1px 2px #0008)}.space-text-resize:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.space-text-properties{box-shadow:none;background:0 0;border-color:#0000}.space-text-properties svg{width:calc(var(--label-control-size,24px) * .72);height:calc(var(--label-control-size,24px) * .72)}.space-text-control-bar{pointer-events:auto;width:max-content;height:auto}.space-text-control-bar .preview-actions{gap:2px;display:flex}.space-text-control-bar .preview-actions>button{width:var(--label-hit-size,30px);min-width:var(--label-hit-size,30px);height:var(--label-hit-size,30px);min-height:var(--label-hit-size,30px);box-shadow:none;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:static}.space-text-control-bar .preview-actions>button:hover,.space-text-control-bar .preview-actions>button:focus-visible{background:var(--soft);outline:none}.space-text-control-bar .space-text-position-pin[aria-pressed=true]{color:var(--accent);background:var(--soft)}.space-text-control-bar .preview-actions>button>svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.space-text-control-bar .space-text-port{touch-action:none;cursor:crosshair;margin:0}.space-text-control-bar .space-text-port span{border:2px solid var(--text);border-radius:50%;width:12px;max-width:18px;height:12px;max-height:18px;display:block}.space-text-control-bar .preview-actions>button[hidden]{display:none}.space-text-font-control,.space-text-control-bar .space-text-color{flex:0 0 var(--label-hit-size,32px);width:var(--label-hit-size,32px);height:var(--label-hit-size,32px);cursor:pointer;place-items:center;margin:0;display:grid;position:relative}.space-text-font-control[hidden],.space-text-control-bar .space-text-color[hidden]{display:none}.space-text-font-control>span{pointer-events:none;font-size:14px;font-weight:700;line-height:1}.space-text-font-control select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.space-text-font-control:hover,.space-text-font-control:focus-within{background:var(--soft);border-radius:6px}.space-text-control-bar .space-text-color .color-picker-toggle{background:0 0;border:0;border-radius:6px;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:0;display:grid}.space-text-control-bar .space-text-color .color-picker-toggle:hover,.space-text-control-bar .space-text-color .color-picker-toggle:focus-visible{background:var(--soft)}.space-text-control-bar .space-text-color .color-picker-toggle>span{border:1px solid var(--border);border-radius:4px;width:18px;height:18px;min-height:0}.space-text-inline-layer{pointer-events:none;position:absolute;inset:0}.space-text-inline-editor{z-index:1;box-sizing:border-box;min-width:80px;color:var(--text);caret-color:var(--accent);resize:none;pointer-events:auto;touch-action:manipulation;background:0 0;border:0;outline:0;margin:0;padding:4px;font-weight:600;line-height:1.28571;position:absolute;overflow:auto}.space-text-inline-error{background:var(--panel);color:var(--danger);pointer-events:none;border-radius:5px;padding:5px 8px;font-size:12px;position:absolute;bottom:12px;left:12px}.floating-model-rotate-handles{pointer-events:none;position:absolute;inset:0}.floating-model-rotate{box-sizing:border-box;border:1px solid var(--accent);background:var(--panel);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--accent);pointer-events:auto;cursor:grab;touch-action:none;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0005}.floating-model-rotate:active{cursor:grabbing}.floating-model-rotate[aria-pressed=true],.floating-model-rotate:hover,.floating-model-rotate:focus-visible{background:var(--soft);outline:2px solid var(--accent);outline-offset:2px}.floating-model-rotate svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:20px;height:20px}@media (pointer:coarse){.floating-model-rotate{width:44px;min-width:44px;height:44px;min-height:44px}}
