@property --view-x{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --view-y{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --view-scale{syntax: "<number>"; inherits: false; initial-value: 1;}html,body,#root{height:100%;margin:0}body{background:var(--bg-canvas);color:var(--text-primary);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui)}.canvas{position:relative;width:100%;height:100%;overflow:hidden;background-color:var(--bg-canvas);background-image:linear-gradient(to right,var(--canvas-grid-color) var(--canvas-grid-line),transparent var(--canvas-grid-line)),linear-gradient(to bottom,var(--canvas-grid-color) var(--canvas-grid-line),transparent var(--canvas-grid-line));background-size:calc(var(--canvas-grid-step) * var(--view-scale, 1)) calc(var(--canvas-grid-step) * var(--view-scale, 1));background-position:var(--view-x, 0) var(--view-y, 0);touch-action:none;cursor:default;outline:none}.canvas[data-detail=simplified],.canvas[data-detail=overview]{background-image:none}.canvas:focus-visible{outline:var(--focus-ring-width) solid var(--accent);outline-offset:calc(-1 * var(--focus-ring-offset))}.canvas[data-space]{cursor:grab}.canvas-surface{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:0 0}.edges-layer{position:absolute;overflow:visible;pointer-events:none}.edge{fill:none;stroke-linecap:round;stroke-opacity:var(--edge-alpha-deep)}.edge[data-depth="1"]{stroke-opacity:var(--edge-alpha-first)}.nodes-layer{position:absolute;top:0;right:0;bottom:0;left:0}.canvas[data-detail=simplified] .node-badges,.canvas[data-detail=simplified] .collapse-toggle,.canvas[data-detail=overview] .node-badges,.canvas[data-detail=overview] .collapse-toggle,.canvas[data-detail=overview] .node-text{display:none}.canvas[data-detail=simplified] .node-text{overflow:hidden;white-space:nowrap}.canvas[data-animate] .node{transition:transform var(--motion-layout) var(--easing-layout)}@media (prefers-reduced-motion: reduce){.canvas[data-animate] .node{transition:none}}.node-text{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none;-moz-tab-size:4;tab-size:4;margin:0;padding:0;border:0;box-sizing:content-box}.node{position:absolute;top:0;left:0;width:var(--node-w);height:var(--node-h);padding:var(--node-pad-y-self) var(--node-pad-x-self);box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;border:0;border-radius:var(--node-radius) var(--node-radius) 0 0;color:var(--node-color);transition:background-color var(--motion-state) linear;--node-line-alpha: var(--edge-alpha-deep)}.node[aria-level="2"]{--node-line-alpha: var(--edge-alpha-first)}.node:after{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:var(--node-line-width) solid color-mix(in srgb,var(--node-line-color) calc(var(--node-line-alpha) * 100%),transparent);pointer-events:none}.node[data-root]:after{display:none}.node-row{display:flex;align-items:center;gap:var(--icon-gap)}.node-text-slot{flex:none}.node-icons{display:inline-flex;gap:var(--icon-gap);flex:none}.node-icon{width:var(--node-icon-width);height:var(--node-icon-width);flex:none}.node-badge-icon{width:var(--icon-width);height:var(--icon-width)}.node-badges-slot{display:contents}.node-badges-slot[data-hidden] .node-badges{visibility:hidden}.node-image-button{display:block;padding:0;border:0;background:transparent;cursor:zoom-in;align-self:flex-start}.node-image{display:block;border-radius:var(--radius-sm)}.node mark{color:inherit;background:var(--accent-soft)}.node[data-search-current] mark{color:var(--accent-fg);background:var(--accent)}.node[data-root]{border-bottom-color:transparent;border-radius:var(--root-radius)}.node .node-text{color:inherit;display:block;flex:none}.node .node-text[data-placeholder]{color:var(--text-tertiary)}.node:hover{background:color-mix(in srgb,var(--bg-surface) calc(var(--node-hover-alpha) * 100%),transparent)}.node[data-selected]{background:var(--accent-soft);outline:var(--node-selected-border) solid var(--accent);outline-offset:calc(-1 * var(--node-selected-border))}.node[data-root]{background:var(--root-bg);color:var(--root-fg);box-shadow:var(--shadow-pop)}.node[data-root][data-selected]{outline-color:var(--accent-fg);outline-offset:calc(-2 * var(--node-selected-border))}.node-editor{resize:none;overflow:hidden;background:transparent;color:inherit;outline:none}.node-badges{display:inline-flex;gap:var(--icon-gap);color:var(--text-tertiary);flex:none}.node-badge{width:var(--icon-width);height:var(--icon-width);display:inline-flex;position:relative;padding:0;border:0;color:inherit;background:transparent;cursor:pointer;flex:none}.node-badge:before{content:"";position:absolute;inset:calc((var(--icon-width) - var(--tap-min)) / 2)}.collapse-toggle{position:absolute;top:100%;width:var(--collapse-toggle-size);height:var(--collapse-toggle-size);transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:var(--edge-width-deep) solid var(--collapse-ring);border-radius:50%;background:var(--bg-canvas);color:var(--text-secondary);font:var(--font-weight-caption) var(--font-size-caption) / var(--line-height-caption) var(--font-ui);cursor:pointer;padding:0}.collapse-toggle[data-side=right]{right:calc(-.5 * var(--collapse-toggle-size))}.collapse-toggle[data-side=left]{left:calc(-.5 * var(--collapse-toggle-size))}.node-actions{position:absolute;z-index:1;margin-left:var(--space-2);transform:translateY(-50%);display:inline-flex;width:max-content;flex-wrap:wrap;gap:var(--space-1);border-radius:var(--radius-sm);background:var(--bg-surface);box-shadow:var(--shadow-pop),inset 0 0 0 var(--edge-width-deep) var(--line)}.node-action{flex:none;width:var(--tap-min);height:var(--tap-min);border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);font:inherit;cursor:pointer;transition:background-color var(--motion-state) linear}.node-action:hover{background:var(--bg-sunken);color:var(--text-primary)}.node-actions:before{content:"";position:absolute;right:100%;top:0;width:var(--space-2);height:100%}.drag-ghost{position:absolute;top:0;left:0;transform-origin:0 0;width:var(--node-w);min-height:var(--node-h);padding:var(--node-pad-y) var(--node-pad-x);border:var(--node-selected-border) solid transparent;box-sizing:border-box;display:flex;align-items:center;gap:var(--icon-gap);border-radius:var(--node-radius);background:var(--bg-surface);color:var(--node-color);opacity:var(--drag-ghost-opacity);box-shadow:var(--drag-ghost-shadow);pointer-events:none;z-index:2}.drag-ghost .node-text{flex:none}.drag-ghost[data-forbidden]{border-color:var(--danger);border-style:dashed;color:var(--danger)}.drag-ghost-count{margin-left:auto;padding:0 var(--icon-gap);border-radius:var(--radius-sm);background:var(--accent);color:var(--root-fg);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui)}.drag-indicators{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.drag-parent{position:absolute;top:0;left:0;box-sizing:border-box;background:var(--accent-soft);border:var(--node-selected-border) solid var(--accent);border-radius:var(--node-radius)}.canvas[data-mode=drag]{-webkit-user-select:none;user-select:none}.canvas[data-mode=drag] .node-actions{display:none}.drag-insert{position:absolute;top:0;left:0;height:var(--edge-width-first);margin-top:calc(var(--edge-width-first) / -2);background:var(--accent);border-radius:var(--edge-width-first)}.editor-layout{height:100%;display:grid;grid-template-areas:"toolbar toolbar" "canvas ad";grid-template-columns:minmax(0,1fr) 0;grid-template-rows:var(--top-bar-height) minmax(0,1fr)}.editor-layout:has(>.editor-ad-slot){grid-template-columns:minmax(0,1fr) var(--ad-rail-width);column-gap:var(--ad-rail-gap)}.editor-layout:has(>.editor-ad-slot[data-collapsed]){grid-template-columns:minmax(0,1fr) var(--ad-rail-collapsed-width)}.top-bar{grid-area:toolbar;display:flex;align-items:center;gap:var(--space-2);padding:0 var(--space-4);border-bottom:var(--edge-width-deep) solid var(--top-bar-line);background:var(--bg-canvas);min-width:0}.canvas{grid-area:canvas}.editor-ad-slot{grid-area:ad;position:relative;min-width:0;overflow:hidden;background:var(--bg-surface);border-left:var(--edge-width-deep) solid var(--line)}.ad-rail-host{height:min(100%,var(--ad-block-height))}.house-ad{display:flex;height:100%;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:flex-start;gap:var(--space-3);padding:var(--space-5);color:var(--text-primary)}.house-ad h2,.house-ad p{margin:0}.house-ad p{color:var(--text-secondary)}.house-ad a{color:var(--accent)}.ad-rail-toggle{position:absolute;inset-block-start:var(--space-2);inset-inline-start:0;z-index:2;min-width:var(--ad-rail-collapsed-width);min-height:var(--control-height);padding:0;border:0;color:var(--text-secondary);background:var(--bg-sunken);cursor:pointer}.top-bar button,.property-popover button,.image-dialog button{font:inherit;color:var(--text-primary);border:0;border-radius:var(--field-radius);background:var(--control-fill);min-height:var(--control-height);min-width:var(--tap-min);padding:var(--space-1) var(--space-2);cursor:pointer}.top-bar button:hover,.property-popover button:hover,.image-dialog button:hover{background:var(--accent-soft)}.top-bar .map-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto;background:transparent;text-align:left;font-weight:var(--font-weight-strong)}.save-status{color:var(--text-tertiary);font-size:var(--font-size-caption);white-space:nowrap}.top-bar .save-status-text{background:transparent;color:inherit;font-size:inherit;min-width:0;padding-inline:var(--space-1)}.top-bar .save-status-text:hover{background:transparent;color:var(--text-primary)}.top-bar .save-status[data-state=offline] .save-status-text,.top-bar .save-status[data-state=conflict] .save-status-text{background:var(--warn-soft);color:var(--warn);font-weight:var(--font-weight-caption)}.zoom-controls,.search-bar{display:flex;align-items:center;gap:var(--space-1)}.search-bar input{min-width:0;width:var(--max-node-width)}.search-bar output{white-space:nowrap;font-variant-numeric:tabular-nums}.property-popover,.command-menu,.image-dialog{background:var(--bg-surface);color:var(--text-primary);border:var(--edge-width-deep) solid var(--line);border-radius:var(--popover-radius);box-shadow:var(--shadow-popover);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui);animation:panel-appear var(--motion-appear) var(--easing-appear)}.property-popover{width:var(--dialog-width);max-width:var(--radix-popover-content-available-width);box-sizing:border-box;padding:var(--space-4);max-height:var(--radix-popover-content-available-height);overflow:auto;z-index:2}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-3)}.property-tabs{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:var(--edge-width-deep) solid var(--line);margin-inline:calc(-1 * var(--space-2))}.property-popover .property-tabs button{background:transparent;border-radius:0;min-width:0;padding-inline:var(--space-2);color:var(--text-tertiary);font-size:var(--font-size-caption);font-weight:var(--font-weight-caption)}.property-popover .property-tabs button:hover{background:transparent;color:var(--text-primary)}.property-popover .property-tabs button[data-assigned]{color:var(--accent)}.property-popover .property-tabs button[aria-pressed=true]{color:var(--text-primary);background:transparent;box-shadow:inset 0 calc(-1 * var(--tab-indicator)) 0 var(--accent)}.property-popover button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 var(--node-selected-border) var(--accent)}.property-popover .color-swatch{border-radius:50%;box-shadow:inset 0 0 0 var(--edge-width-deep) color-mix(in srgb,var(--text-primary) 12%,transparent)}.property-popover .color-swatch[aria-pressed=true]{box-shadow:0 0 0 var(--swatch-ring-gap) var(--bg-surface),0 0 0 var(--swatch-ring) var(--accent)}.property-editor{display:flex;flex-direction:column;gap:var(--space-2);padding-top:var(--space-3)}.property-editor label{display:flex;flex-direction:column;gap:var(--space-1)}.property-editor small{color:var(--text-secondary)}.property-editor.style-editor{gap:var(--space-3)}.style-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4)}.format-group,.size-group{display:flex;align-items:center}.format-group{gap:var(--format-gap)}.size-group{gap:var(--space-1)}.property-popover .format-toggle,.property-popover .segment,.property-popover .icon-action,.property-popover .note-toolbar button{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:0}.property-popover .format-toggle{width:var(--control-height);background:transparent;color:var(--text-secondary);box-shadow:inset 0 0 0 var(--edge-width-deep) var(--edge)}.property-popover .format-toggle[aria-pressed=true]{background:var(--accent);color:var(--accent-fg);box-shadow:none}.format-letter{font-size:var(--format-letter);line-height:1;font-weight:var(--font-weight-strong)}.format-letter[data-mark=bold]{font-weight:700}.format-letter[data-mark=italic]{font-style:italic}.format-letter[data-mark=underline]{text-decoration:underline;text-underline-offset:var(--edge-width-first)}.format-svg{width:var(--format-svg);height:var(--format-svg)}.segment-track{display:flex;gap:var(--edge-width-first);padding:var(--track-pad);border-radius:var(--track-radius);background:var(--bg-sunken);box-shadow:inset 0 0 0 var(--edge-width-deep) var(--line)}.property-popover .segment{min-height:calc(var(--control-height) - 2 * var(--track-pad));min-width:var(--tap-min);padding-inline:var(--space-2);border-radius:var(--segment-radius);background:transparent;color:var(--text-secondary);font-weight:var(--font-weight-caption);font-variant-numeric:tabular-nums}.property-popover .segment:hover{background:var(--control-fill);color:var(--text-primary)}.property-popover .segment[aria-pressed=true]{background:var(--bg-surface);color:var(--text-primary);box-shadow:var(--segment-shadow),inset 0 0 0 var(--edge-width-deep) var(--line)}.property-popover .icon-action{width:var(--control-height);background:transparent;color:var(--text-secondary)}.property-popover .icon-action:hover,.property-popover .text-action:hover{background:transparent}.property-popover .icon-action:hover:not(:disabled){background:var(--control-fill);color:var(--text-primary)}.style-caption{color:var(--text-secondary);font-size:var(--font-size-caption);line-height:var(--line-height-caption);font-weight:var(--font-weight-caption);letter-spacing:var(--letter-spacing-caption)}.style-color{display:flex;flex-direction:column;gap:var(--space-2)}.origin-mark{display:inline-block;flex:none;box-sizing:border-box;width:var(--origin-mark);height:var(--origin-mark);border-radius:50%;color:var(--accent)}.origin-mark[data-origin=own]{background:currentColor}.origin-mark[data-origin=inherited]{border:var(--origin-mark-ring) solid currentColor}.origin-mark[data-origin=system]{display:none}button>.origin-mark,.color-swatch-custom>.origin-mark{position:absolute;top:var(--origin-mark-inset);right:var(--origin-mark-inset)}.property-popover .format-toggle[aria-pressed=true]>.origin-mark{color:var(--accent-fg)}.property-popover .color-swatch{position:relative;flex:none}.color-swatch-custom{display:inline-block;box-sizing:border-box}.property-popover .color-swatch-custom{box-shadow:0 0 0 var(--swatch-ring-gap) var(--bg-surface),0 0 0 var(--swatch-ring) var(--accent)}.color-swatch>.origin-mark{top:0;right:0;background-color:var(--bg-surface);box-shadow:0 0 0 var(--origin-mark-halo) var(--bg-surface)}.color-swatch>.origin-mark[data-origin=own]{background-color:currentColor}.sr-text{position:absolute;width:var(--sr-size);height:var(--sr-size);margin:calc(-1 * var(--sr-size));padding:0;overflow:hidden;white-space:nowrap;border:0;clip-path:inset(50%)}.style-footer,.note-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}.style-footer{padding-top:var(--space-2);border-top:var(--edge-width-deep) solid var(--line)}.note-footer{justify-content:flex-end}.style-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1) var(--space-3);margin:0;color:var(--text-secondary);font-size:var(--font-size-caption);line-height:var(--line-height-caption)}.style-legend>span{display:inline-flex;align-items:center;gap:var(--space-1)}.property-popover .text-action{margin-left:auto;background:transparent;color:var(--text-secondary)}.property-popover .text-action:hover:not(:disabled){background:var(--control-fill);color:var(--text-primary)}.property-popover .danger-action:not(:disabled){color:var(--danger)}.property-popover .danger-action:hover:not(:disabled){color:var(--danger)}.format-tip{position:fixed;left:0;top:0;z-index:6;display:flex;align-items:center;gap:var(--space-2);max-width:var(--format-tip-max);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);background:var(--text-primary);color:var(--bg-surface);font:var(--font-size-caption) / var(--line-height-caption) var(--font-ui);font-weight:var(--font-weight-caption);box-shadow:var(--shadow-pop);pointer-events:none;visibility:hidden}.format-tip[data-placed]{visibility:visible}.format-tip kbd{font:inherit;font-family:var(--font-mono);opacity:.72;white-space:nowrap}.color-palette{display:flex;flex-wrap:wrap;gap:var(--space-2)}.property-popover .color-swatch{width:var(--control-height);height:var(--control-height)}.icon-palette{display:grid;grid-template-columns:repeat(8,1fr);gap:var(--space-1)}.icon-palette button{display:flex;align-items:center;justify-content:center}.note-toolbar{display:flex;flex-wrap:wrap;align-items:center;align-self:flex-start;max-width:100%;box-sizing:border-box;gap:var(--edge-width-first);padding:var(--track-pad);border-radius:var(--track-radius);background:var(--bg-sunken);box-shadow:inset 0 0 0 var(--edge-width-deep) var(--line)}.property-popover .note-toolbar button{min-height:var(--control-height-dense);min-width:var(--control-height-dense);background:transparent;border-radius:var(--radius-sm);color:var(--text-secondary)}.property-popover .note-toolbar button:hover{background:var(--bg-surface);color:var(--text-primary)}.property-popover .note-toolbar button[aria-pressed=true]{background:var(--bg-surface);color:var(--accent);box-shadow:var(--segment-shadow),inset 0 0 0 var(--edge-width-deep) color-mix(in srgb,var(--accent) 45%,transparent)}.note-toolbar .format-letter{font-size:var(--format-letter-note)}.note-toolbar-sep{flex:none;width:var(--edge-width-deep);height:var(--format-sep-height);margin-inline:var(--track-pad);background:var(--line)}.note-content{min-height:var(--space-8);max-height:var(--max-node-width);overflow:auto;border:var(--edge-width-deep) solid var(--line);padding:var(--space-2);border-radius:var(--field-radius);background:var(--field-fill);overflow-wrap:break-word}.note-content p{margin:0 0 var(--space-2)}.note-content ul,.note-content ol{padding-left:var(--space-5)}input,select{font:inherit;color:var(--text-primary);background:var(--field-fill);border:var(--edge-width-deep) solid var(--line);border-radius:var(--field-radius);padding:var(--space-1) var(--space-2);min-height:var(--control-height);box-sizing:border-box}button:disabled{cursor:default;color:var(--text-tertiary)}[role=alert]{color:var(--danger);margin:0}.property-popover a{color:var(--accent)}button:focus-visible,input:focus-visible,select:focus-visible,.note-content:focus-visible,a:focus-visible{outline:var(--focus-ring-width) solid var(--accent);outline-offset:var(--focus-ring-offset)}.command-menu{border-radius:var(--menu-radius);padding:var(--space-1);min-width:var(--max-node-width);max-height:var(--radix-popper-available-height);overflow-y:auto;z-index:3}.menu-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-1) var(--space-2);min-height:var(--control-height-dense);border-radius:var(--radius-sm);outline:none;cursor:default}.menu-item[data-highlighted]{background:var(--accent-soft);color:var(--text-primary)}.menu-item[data-disabled]{color:var(--text-tertiary)}.menu-item kbd{color:var(--text-tertiary);font:inherit;font-family:var(--font-mono);white-space:nowrap}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--scrim);z-index:4}.image-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--dialog-width);max-width:calc(100% - var(--space-6));max-height:calc(100% - var(--space-6));padding:var(--space-4);box-sizing:border-box;border-radius:var(--dialog-radius);z-index:5;overflow:auto}.full-image-scroll{overflow:auto;max-height:calc(100% - var(--space-8) * 3);margin-bottom:var(--space-3)}.full-image-scroll img{display:block;max-width:none}.top-bar[data-compact]{gap:var(--compact-bar-gap);padding:0 var(--compact-bar-pad)}.top-bar[data-compact] button,.top-bar[data-compact] input{min-height:var(--tap-min-touch);min-width:var(--tap-min-touch)}.top-bar[data-compact] .top-bar-icon{flex:none;display:flex;align-items:center;justify-content:center;padding:0;border-radius:var(--radius-md);background:transparent;color:var(--text-secondary)}.top-bar[data-compact] .top-bar-icon:hover,.top-bar[data-compact] .top-bar-icon[data-state=open]{background:var(--control-fill);color:var(--text-primary)}.top-bar-glyph{width:var(--top-bar-glyph);height:var(--top-bar-glyph)}.top-bar-title{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.top-bar[data-compact] .top-bar-title button{min-height:0;min-width:0;max-width:100%;padding:0 var(--space-1)}.top-bar[data-compact] .map-title{margin-right:0;text-align:center;line-height:var(--line-height-ui)}.top-bar[data-compact] .save-status{display:flex;justify-content:center;gap:var(--space-1);max-width:100%;min-width:0;line-height:var(--line-height-caption)}.top-bar[data-compact] .save-status-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:inherit}.top-bar[data-compact] .search-bar{flex:1 1 auto;min-width:0}.top-bar[data-compact] .search-bar input{flex:1 1 auto;width:auto}.command-menu[data-compact] .menu-item{min-height:var(--tap-min-touch)}.menu-separator{height:var(--edge-width-deep);margin:var(--space-1) 0;background:var(--line)}.menu-value{color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap}.property-popover.property-sheet{position:fixed;inset:auto 0 0;width:auto;max-width:none;max-height:var(--sheet-max-height);display:flex;flex-direction:column;padding:0 var(--space-4) var(--sheet-safe-bottom);border-width:0;border-radius:var(--sheet-radius) var(--sheet-radius) 0 0;overflow:visible;z-index:5}.property-sheet-grab{flex:none;align-self:center;width:var(--sheet-grab-width);height:var(--sheet-grab-height);margin:var(--space-2) 0;border-radius:var(--sheet-grab-height);background:var(--sheet-grab)}.property-sheet .panel-heading{flex:none;gap:var(--space-3);margin-bottom:var(--space-1)}.property-sheet-title{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;font-weight:var(--font-weight-strong)}.property-popover.property-sheet .property-tabs{flex:none;flex-wrap:nowrap}.property-popover.property-sheet button,.property-popover.property-sheet input,.property-popover.property-sheet select{min-height:var(--tap-min-touch)}.property-popover.property-sheet button{min-width:var(--tap-min-touch)}.property-popover.property-sheet .panel-heading button{background:transparent;color:var(--text-tertiary)}.property-popover.property-sheet .format-toggle,.property-popover.property-sheet .icon-action{width:var(--tap-min-touch)}.property-sheet .size-group,.property-sheet .segment-track{flex:1 1 auto}.property-popover.property-sheet .segment{flex:1 1 0}.property-sheet .format-letter{font-size:var(--format-letter-touch)}.property-sheet .icon-palette{grid-template-columns:repeat(auto-fill,minmax(var(--tap-min-touch),1fr))}.property-sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-inline:calc(-1 * var(--space-4));padding-inline:var(--space-4)}@keyframes panel-appear{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.property-popover,.command-menu,.image-dialog{animation:none}}@media (pointer: coarse){.top-bar button,.property-popover button,.image-dialog button,.property-popover input,.property-popover select,.search-bar input,.menu-item,.node-action,.property-popover .segment,.property-popover .note-toolbar button{min-height:var(--tap-min-touch);min-width:var(--tap-min-touch)}.node-badge:before{inset:calc((var(--icon-width) - var(--tap-min-touch)) / 2)}}.shell-message,.auth-screen{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-secondary);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui);background:var(--bg-canvas);padding:var(--space-4);box-sizing:border-box;text-align:center}.auth-card{width:var(--dialog-width);max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-5);background:var(--bg-surface);color:var(--text-primary);border:var(--edge-width-deep) solid var(--line);border-radius:var(--dialog-radius);box-shadow:var(--shadow-popover);text-align:left}.auth-card h1{font-size:var(--font-size-ui);margin:0}.settings-card{max-height:calc(100% - var(--space-6));overflow:auto}.settings-card p,.settings-card h2{margin:0}.settings-card h2{font-size:var(--font-size-ui)}.billing-card h2{font-size:var(--font-size-ui);margin:0}.billing-price{color:var(--text-primary);font-weight:var(--font-weight-caption)}.billing-details{display:grid;gap:var(--space-2);margin:0}.billing-details dt{color:var(--text-secondary)}.billing-details dd{margin:0;overflow-wrap:anywhere}.billing-link{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap-min-touch);padding:0 var(--space-3);border-radius:var(--radius-sm);text-decoration:none}.settings-section{display:flex;flex-direction:column;gap:var(--space-2);padding-top:var(--space-3);border-top:var(--edge-width) solid var(--line)}.auth-card label{display:flex;flex-direction:column;gap:var(--space-1);color:var(--text-secondary)}.auth-card input,.auth-card select,.revision-save input{font:inherit;color:var(--text-primary);background:var(--field-fill);border:var(--edge-width-deep) solid var(--line);border-radius:var(--radius-sm);min-height:var(--control-height);padding:var(--space-1) var(--space-2)}.shell-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--dialog-width);max-width:calc(100% - var(--space-6));max-height:calc(100% - var(--space-6));overflow:auto;box-sizing:border-box;padding:var(--space-4);background:var(--bg-surface);color:var(--text-primary);border:var(--edge-width-deep) solid var(--line);border-radius:var(--dialog-radius);box-shadow:var(--shadow-popover);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui);z-index:5}.cookie-settings-dialog::backdrop{background:var(--scrim)}.shell-dialog h2{font-size:var(--font-size-ui);margin:0 0 var(--space-2)}.shell-dialog p{margin:0 0 var(--space-3);color:var(--text-secondary)}.shell-dialog button,.auth-card button{font:inherit;color:var(--text-primary);border:0;border-radius:var(--radius-sm);background:var(--control-fill);min-height:var(--control-height);min-width:var(--tap-min);padding:var(--space-1) var(--space-3);cursor:pointer}.shell-dialog button:hover,.auth-card button:hover{background:var(--accent-soft)}.shell-dialog button.primary,.auth-card button.primary,.auth-card a.primary{background:var(--accent);color:var(--accent-fg)}.shell-dialog button[disabled]{color:var(--text-tertiary);cursor:default}.dialog-actions{display:flex;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-3)}.stage09-dialog>label{display:grid;grid-template-columns:minmax(var(--stage09-dialog-label-width),.8fr) minmax(0,1.2fr);align-items:center;gap:var(--space-2);margin-top:var(--space-3)}.stage09-dialog fieldset{display:grid;gap:var(--space-2);margin:var(--space-3) 0 0;padding:var(--space-3);border:var(--edge-width-deep) solid var(--line);border-radius:var(--radius-sm)}.stage09-dialog fieldset>label{display:grid;grid-template-columns:minmax(0,1fr) minmax(var(--stage09-dialog-control-width),.9fr);align-items:center;gap:var(--space-2)}.stage09-dialog fieldset>label:has(input[type=checkbox]),.stage09-dialog fieldset>label:has(input[type=radio]){grid-template-columns:auto minmax(0,1fr);justify-content:start}.stage09-dialog select,.stage09-dialog input[type=number],.stage09-dialog input[type=file],.stage09-dialog textarea{width:100%;min-width:0}.stage09-dialog textarea{min-height:var(--stage09-dialog-textarea-height);resize:vertical}.dialog-error{color:var(--danger)}.access-dialog{display:flex;flex-direction:column;gap:var(--space-3)}.access-dialog h3{margin:0;font-size:var(--font-size-ui)}.access-invite{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:var(--space-2)}.access-invite label{display:flex;flex-direction:column;gap:var(--space-1);color:var(--text-secondary)}.access-invite input,.access-invite select,.access-list select{font:inherit;color:var(--text-primary);background:var(--field-fill);border:var(--edge-width-deep) solid var(--line);border-radius:var(--radius-sm);min-height:var(--control-height);padding:var(--space-1) var(--space-2)}.access-section{display:flex;flex-direction:column;gap:var(--space-2)}.access-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.access-list li{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) 0;border-bottom:var(--edge-width-deep) solid var(--line)}.access-person{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.access-confirm{display:flex;gap:var(--space-1)}.revision-save{display:flex;gap:var(--space-2)}.revision-save input{flex:1;min-width:0}.revision-list{list-style:none;margin:var(--space-3) 0 0;padding:0;display:flex;flex-direction:column;gap:var(--space-2);max-height:var(--max-node-width);overflow:auto}.revision-list li{display:flex;align-items:center;gap:var(--space-2)}.revision-label{flex:1;min-width:0;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notices{position:fixed;right:var(--space-4);bottom:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);z-index:3;max-width:calc(100% - var(--space-6))}.notice{width:var(--dialog-width);max-width:100%;box-sizing:border-box;padding:var(--space-3);background:var(--bg-surface);color:var(--text-primary);border:var(--edge-width-deep) solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-popover);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui);display:flex;flex-direction:column;gap:var(--space-2);align-items:flex-start}.notice p{margin:0}.notice-draft{color:var(--text-secondary);max-height:var(--control-height);overflow:auto;align-self:stretch}.notice button{font:inherit;color:var(--text-primary);border:0;border-radius:var(--radius-sm);background:var(--control-fill);min-height:var(--control-height);min-width:var(--tap-min);padding:var(--space-1) var(--space-2);cursor:pointer}.save-status{display:flex;align-items:center;gap:var(--space-2)}.save-status-text{background:transparent;color:var(--text-secondary);white-space:nowrap}.save-status-dot{background:transparent;min-width:var(--tap-min)}.presence-banner{position:fixed;top:var(--top-bar-height);left:50%;transform:translate(-50%);z-index:3;max-width:calc(100% - var(--space-6));box-sizing:border-box;padding:var(--space-2) var(--space-3);color:var(--text-primary);background:var(--accent-soft);border:var(--edge-width-deep) solid var(--accent);border-radius:var(--radius-sm);box-shadow:var(--shadow-popover);font:var(--font-size-ui) / var(--line-height-ui) var(--font-ui)}.unsaved-dot{display:block;width:var(--space-2);height:var(--space-2);border-radius:50%;background:var(--accent)}
