:root{color-scheme:light;font-family:IBM Plex Sans,Aptos,Trebuchet MS,sans-serif;--bg-0: #d4d4d4;--bg-1: #cdcdcd;--bg-2: #c7c7c7;--surface-0: rgba(245, 245, 245, .96);--surface-1: rgba(234, 234, 234, .98);--surface-line: rgba(18, 18, 18, .12);--ink-0: #1f1f1f;--ink-1: #3a3a3a;--ink-2: #6f6f6f;--tech-accent: #4c8fcb;--model-icon-color: rgba(76, 143, 203, .84);--interactive-hover-border: rgba(76, 143, 203, .28);--interactive-hover-bg: rgba(0, 0, 0, .04);--interactive-focus-border: rgba(76, 143, 203, .34);--interactive-focus-shadow: 0 0 0 2px rgba(76, 143, 203, .16), inset 0 0 0 1px rgba(76, 143, 203, .08);--interactive-active-bg: rgba(76, 143, 203, .08);--interactive-active-border: rgba(76, 143, 203, .44);--interactive-active-border-strong: rgba(76, 143, 203, .48);--interactive-active-shadow: inset 0 0 0 1px rgba(76, 143, 203, .08);--action-button-border: rgba(76, 143, 203, .18);--action-button-bg: rgba(76, 143, 203, .04);--action-button-shadow: inset 0 1px 0 rgba(255, 255, 255, .32);--action-button-hover-bg: rgba(76, 143, 203, .1);--action-button-hover-border: rgba(76, 143, 203, .28);--action-button-active-bg: rgba(76, 143, 203, .14);--action-button-active-border: rgba(76, 143, 203, .42);--action-button-active-shadow: 0 1px 2px rgba(76, 143, 203, .08), inset 0 0 0 1px rgba(76, 143, 203, .1);--preview-loader-ring: rgba(76, 143, 203, .88);--preview-loader-track: rgba(76, 143, 203, .18);--selected-rgb: 201 26 9;--selected-color: #c91a09;--selected-soft: rgba(201, 26, 9, .14);--shadow-soft: 0 1px 2px rgba(0, 0, 0, .08);--shadow-strong: 0 3px 10px rgba(0, 0, 0, .12);--app-height: 100vh;--frame-padding: .42rem;--header-height: 3.7rem;--header-gap: var(--shell-gap);--shell-gap: .38rem;--color-tile-size: 2.9rem;--library-width: 26rem;--part-card-height: 5.6rem;--part-card-width: 7.25rem;--side-rail-width: 20rem;--side-rail-tree-height: 19rem;--splitter-width: .72rem;--theme-toggle-thumb-size: 1.56rem;--theme-toggle-thumb-offset: .12rem;--theme-toggle-icon-size: .76rem;--header-chip-height: calc( var(--theme-toggle-thumb-size) + var(--theme-toggle-thumb-offset) * 2 )}:root[data-theme=dark]{color-scheme:dark;--bg-0: #1c1c1c;--bg-1: #232323;--bg-2: #282828;--surface-0: rgba(49, 49, 49, .98);--surface-1: rgba(42, 42, 42, .98);--surface-line: rgba(255, 255, 255, .08);--ink-0: #f2f2f2;--ink-1: #d0d0d0;--ink-2: #9a9a9a;--interactive-hover-bg: rgba(255, 255, 255, .04);--interactive-active-bg: rgba(76, 143, 203, .18);--interactive-active-border: rgba(76, 143, 203, .42);--interactive-active-border-strong: rgba(76, 143, 203, .42);--action-button-border: rgba(76, 143, 203, .24);--action-button-bg: rgba(76, 143, 203, .08);--action-button-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);--action-button-hover-bg: rgba(76, 143, 203, .18);--action-button-hover-border: rgba(76, 143, 203, .36);--action-button-active-bg: rgba(76, 143, 203, .24);--action-button-active-border: rgba(76, 143, 203, .42);--action-button-active-shadow: 0 1px 2px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(76, 143, 203, .14);--preview-loader-ring: rgba(147, 203, 255, .92);--preview-loader-track: rgba(147, 203, 255, .2);--shadow-soft: 0 1px 2px rgba(0, 0, 0, .28);--shadow-strong: 0 4px 14px rgba(0, 0, 0, .34)}*{box-sizing:border-box}html,body{margin:0;height:100%}body,#app{height:100vh}body{color:var(--ink-0);background:linear-gradient(180deg,var(--bg-0) 0%,var(--bg-1) 48%,var(--bg-2) 100%)}body:before,body:after{content:"";position:fixed;inset:0;pointer-events:none}body:before{background:none;-webkit-mask-image:none;mask-image:none}body:after{display:none}.app-shell{position:relative;z-index:1;min-height:0;display:grid;grid-template-columns:minmax(17rem,var(--library-width)) minmax(0,1fr) minmax(15.5rem,var(--side-rail-width));grid-template-rows:minmax(0,1fr);gap:var(--shell-gap);align-items:stretch}.workspace-route-grid{display:contents}.workspace-route-grid[hidden],.admin-route-view[hidden]{display:none}.admin-route-view,.admin-route-view-root{min-height:0}.admin-route-view{display:grid;grid-column:1 / -1}.admin-route-view-root{height:100%}.app-frame{position:relative;z-index:1;height:var(--app-height);box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr);row-gap:var(--header-gap);column-gap:var(--shell-gap);padding:var(--frame-padding)}.app-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,1fr);align-items:center;gap:.65rem;min-height:var(--header-height);padding:.62rem .96rem;overflow:hidden}.app-header-copy{display:flex;align-items:center;gap:.9rem;justify-self:start;min-width:0}.app-header-title-row{display:flex;align-items:center;gap:.54rem;flex:1 1 auto;min-width:0}.app-header-eyebrow{margin:0;color:var(--ink-2);letter-spacing:.12em}.app-header-title-divider{width:1px;height:1rem;flex:none;background:#3d516a2e}.app-header-tag{display:inline-flex;align-items:center;min-height:var(--header-chip-height);padding:.16rem .62rem;border:1px solid var(--surface-line);border-radius:999px;font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.64rem;font-weight:700;letter-spacing:.03em;line-height:1}.app-header-tag{background:#4c8fcb0d;color:var(--tech-accent)}.app-header-tag-button{appearance:none;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.app-header-tag-button:hover,.app-header-tag-button:focus-visible{border-color:#4c8fcb52;background:#4c8fcb1f;box-shadow:0 0 0 2px #4c8fcb1f;color:var(--ink-0);outline:none}.app-header-tag-button[aria-expanded=true]{border-color:#4c8fcb61;background:#4c8fcb24;box-shadow:0 0 0 2px #4c8fcb1f;color:var(--ink-0)}.app-header-actions{display:flex;align-items:center;gap:.36rem;justify-self:end;justify-content:flex-end;min-width:0}.header-menubar{display:flex;align-items:center;gap:.18rem}.app-header-project-name{justify-self:center;width:min(26rem,42vw);min-width:0;overflow:hidden;color:var(--ink-1);font-size:.8rem;font-weight:600;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.app-header-sync-status[hidden]{display:none}.app-header-sync-status{appearance:none;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-height:var(--header-chip-height);padding:.16rem .68rem;border:1px solid rgba(57,82,107,.12);border-radius:999px;background:#00000008;color:var(--ink-1);font-size:.78rem;line-height:1.2;white-space:nowrap;cursor:default;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}.app-header-sync-status:before{content:"";width:.52rem;height:.52rem;flex:none;border-radius:999px;background:#4c8fcb8c;box-shadow:0 0 0 1px #4c8fcb29}.app-header-sync-status[data-state=online-synced]{color:var(--ink-2);background:#00000005}.app-header-sync-status[data-state=online-synced]:before{background:#489768bd;box-shadow:0 0 0 1px #48976833}.app-header-sync-status[data-state=connecting]{color:var(--ink-1)}.app-header-sync-status[data-state=connecting]:before{background:#4c8fcbb3;box-shadow:0 0 0 1px #4c8fcb33}.app-header-sync-status[data-state=offline-allowed]{color:#8f6217;background:#daab4e24}.app-header-sync-status[data-state=offline-allowed]:before{background:#ca9228d6;box-shadow:0 0 0 1px #ca922833}.app-header-sync-status[data-state=offline-expiring]{color:#973737;background:#b94a4a24}.app-header-sync-status[data-state=offline-expiring]:before{background:#b94a4ae0;box-shadow:0 0 0 1px #b94a4a38}.app-header-sync-status[data-state=sync-conflict],.app-header-sync-status[data-state=offline-blocked-awaiting-server]{color:#973737;background:#a13a3a24}.app-header-sync-status[data-state=sync-conflict]:before,.app-header-sync-status[data-state=offline-blocked-awaiting-server]:before{background:#a13a3aeb;box-shadow:0 0 0 1px #a13a3a3d}.app-header-sync-status-label{overflow:hidden;text-overflow:ellipsis}.app-header-sync-status:disabled{opacity:1}.app-header-sync-status[data-state=sync-conflict][data-interactive=true]{cursor:pointer;border-color:#a13a3a57;background:#a13a3a33;animation:sync-conflict-chip-glow 1.45s ease-in-out infinite}.app-header-sync-status[data-state=sync-conflict][data-interactive=true]:hover,.app-header-sync-status[data-state=sync-conflict][data-interactive=true]:focus-visible{border-color:#a13a3a8a;background:#a13a3a47;box-shadow:0 0 0 1px #a13a3a38,0 0 1.8rem #a13a3a52}.app-header-sync-status[data-state=sync-conflict][data-interactive=true]:focus-visible{outline:none}@keyframes sync-conflict-chip-glow{0%,to{border-color:#a13a3a47;background:#a13a3a2e;box-shadow:0 0 #a13a3a00,0 0 .18rem #a13a3a0f}28%{border-color:#a13a3a6b;background:#a13a3a42;box-shadow:0 0 0 1px #a13a3a33,0 0 .95rem #a13a3a3d}52%{border-color:#a13a3a94;background:#a13a3a57;box-shadow:0 0 0 1px #a13a3a47,0 0 2.1rem #a13a3a66}72%{border-color:#a13a3a75;background:#a13a3a47;box-shadow:0 0 0 1px #a13a3a2e,0 0 1.15rem #a13a3a38}}@media(prefers-reduced-motion:reduce){.app-header-sync-status[data-state=sync-conflict][data-interactive=true]{animation:none}}.header-menu{position:relative}.header-menu-trigger{appearance:none;display:inline-flex;align-items:center;gap:.24rem;min-height:1.5rem;padding:.08rem 0;border:0;border-radius:0;background:transparent;color:var(--ink-1);font:inherit;font-size:.78rem;font-weight:600;line-height:1;cursor:pointer;transition:color .16s ease,opacity .16s ease}.header-menu-trigger-label{position:relative}.header-menu-trigger-icon,.account-menu-trigger-icon{width:.72rem;height:.72rem;display:inline-flex;align-items:center;justify-content:center;color:currentColor}.header-menu-trigger-icon svg,.account-menu-trigger-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none;transition:transform .16s ease}.header-menu-trigger:hover,.header-menu-trigger:focus-visible,.header-menu[data-open=true] .header-menu-trigger{color:var(--tech-accent);opacity:1}.header-menu-trigger:focus-visible{outline:none}.header-menu[data-open=true] .header-menu-trigger-icon svg{transform:rotate(180deg)}.header-menu--account{display:flex;align-items:center}.account-menu-trigger{width:var(--header-chip-height);min-height:var(--header-chip-height);padding:0;justify-content:center;border:1px solid var(--surface-line);border-radius:999px;background:#4c8fcb0d;color:var(--tech-accent);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}.account-menu-trigger:hover,.account-menu-trigger:focus-visible,.header-menu[data-open=true] .account-menu-trigger{border-color:#4c8fcb52;background:#4c8fcb1f;box-shadow:0 0 0 2px #4c8fcb1f;color:var(--ink-0)}.header-menu[data-open=true] .account-menu-trigger-icon svg{transform:none}.account-menu-trigger-icon{width:.9rem;height:.9rem}.account-menu-state{display:grid;gap:.32rem;padding:.72rem .8rem}.account-menu-email{font-size:.88rem;line-height:1.4;color:var(--ink-0);overflow-wrap:anywhere}.header-menu-panel,.selection-context-menu{min-width:14rem;display:grid;gap:0;padding:.26rem 0;border:1px solid rgba(61,81,106,.12);border-radius:.42rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));box-shadow:var(--shadow-strong)}.header-menu-panel{position:absolute;top:100%;left:0;z-index:30;overflow:hidden}.header-menu-panel.account-menu-panel{left:auto;right:0;width:min(17rem,calc(100vw - 1rem));min-width:0}.selection-context-menu{position:fixed;z-index:70}.header-menu-panel[hidden],.selection-context-menu[hidden]{display:none}.header-menu-item,.selection-context-menu-item{appearance:none;width:100%;display:flex;align-items:center;gap:.62rem;padding:.58rem .72rem;border:0;border-radius:0;background:transparent;color:var(--ink-0);font:inherit;font-size:.8rem;text-align:left;cursor:pointer;transition:background .16s ease,color .16s ease,opacity .16s ease}.header-menu-divider,.selection-context-menu-divider{height:1px;margin:.22rem 0;background:var(--surface-line)}.header-menu-item-icon,.selection-context-menu-icon{width:1rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);flex:none}.header-menu-item-icon svg,.selection-context-menu-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.header-menu-item-label,.selection-context-menu-label{min-width:0}.header-menu-item:hover,.selection-context-menu-item:hover{background:#4c8fcb1f}.header-menu-item:disabled,.selection-context-menu-item:disabled{cursor:default;opacity:.42}.selection-context-menu-item.is-danger{color:#9f3131}.selection-context-menu-item.is-danger .selection-context-menu-icon{color:currentColor}body.is-project-dialog-open{overflow:hidden}.project-dialog-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:1.2rem;background:#12121257}.project-dialog-backdrop[hidden]{display:none}.project-dialog{width:min(43rem,100%);max-height:min(38rem,calc(100vh - 2.4rem));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:.88rem;padding:1rem;border:1px solid var(--surface-line);border-radius:.5rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));box-shadow:var(--shadow-strong);overflow:hidden}.project-overwrite-dialog-backdrop,.project-new-dialog-backdrop,.project-import-dialog-backdrop,.project-rename-dialog-backdrop,.project-delete-dialog-backdrop{z-index:90;background:#1212123d}.project-overwrite-dialog{width:min(28rem,100%);max-height:min(24rem,calc(100vh - 2.4rem))}.app-settings-dialog{width:min(56rem,100%);max-height:min(36rem,calc(100vh - 2.4rem))}.account-auth-dialog{width:min(32rem,100%);max-height:min(25rem,calc(100vh - 2.4rem))}.project-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.project-dialog-close{appearance:none;width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--surface-line);border-radius:.32rem;background:#00000008;color:var(--ink-1);cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}.project-dialog-close:hover{border-color:#4c8fcb66;background:#4c8fcb1a;color:var(--ink-0)}.project-dialog-close span{transform:rotate(45deg);font-size:1.3rem;line-height:1}.project-dialog-description,.project-dialog-hint{margin:0;font-size:.82rem;line-height:1.45;color:var(--ink-1)}.project-dialog-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(15rem,.9fr);gap:.72rem}.account-auth-dialog-panel{gap:.82rem}.account-auth-mode-switch{justify-content:flex-start}.account-auth-error{margin:0;font-size:.8rem;line-height:1.45;color:#9f3131}.project-dialog-panel{min-height:0;display:grid;align-content:start;gap:.75rem;padding:.85rem;border:1px solid var(--surface-line);border-radius:.42rem;background:#ffffff38}.persistence-conflict-dialog{width:min(44rem,100%);max-height:min(42rem,calc(100vh - 1.6rem));grid-template-rows:auto auto minmax(0,1fr) auto}.persistence-conflict-dialog-layout{min-height:0;display:grid;grid-auto-rows:minmax(0,1fr);gap:.72rem;overflow:auto}.persistence-conflict-resource{min-height:0;grid-template-rows:auto auto minmax(0,1fr);align-content:stretch;gap:.68rem}.persistence-conflict-resource[hidden]{display:none}.persistence-conflict-resource-summary{color:var(--ink-0)}.persistence-conflict-compare-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem;overflow:auto}.persistence-conflict-stand-card{min-height:0;display:flex;flex-direction:column;gap:.46rem}.persistence-conflict-stand-body{min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);align-content:stretch;gap:.36rem;overflow:hidden}.persistence-conflict-stand-head{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.persistence-conflict-stand-badge{display:inline-flex;align-items:center;min-height:1.2rem;padding:.08rem .42rem;border-radius:999px;background:#a13a3a24;color:#973737;font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.persistence-conflict-stand-badge[hidden]{display:none}.persistence-conflict-stand-title{font-size:.9rem;line-height:1.14}.persistence-conflict-stand-meta,.persistence-conflict-stand-timestamp{margin:0;font-size:.72rem;line-height:1.25;color:var(--ink-1)}.persistence-conflict-group-list{min-height:0;display:grid;gap:.48rem;overflow:auto;padding-top:.1rem;padding-right:.14rem}.persistence-conflict-group-item{display:grid;grid-template-columns:6.8rem minmax(0,1fr);gap:.72rem;align-items:center}.persistence-conflict-group-item-preview{position:relative;min-width:0;aspect-ratio:4 / 3;border:1px solid rgba(61,81,106,.12);border-radius:.36rem;background:radial-gradient(circle at top,rgba(255,255,255,.42),transparent 58%),linear-gradient(180deg,#ffffff4d,#00000005);overflow:hidden}.persistence-conflict-group-item-copy{min-width:0;display:grid;gap:.08rem}.persistence-conflict-group-item-name{min-width:0;font-size:.81rem;line-height:1.3;color:var(--ink-0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.persistence-conflict-group-item-detail,.persistence-conflict-group-list-overflow{font-size:.72rem;line-height:1.32;color:var(--ink-1)}.persistence-conflict-group-item-detail{white-space:pre-line}.persistence-conflict-stand-action{width:100%;margin-top:auto;flex-shrink:0}.project-list-toolbar{display:grid;gap:.35rem}.project-list-toolbar[hidden]{display:none}.project-list-action{appearance:none;width:100%;min-height:2rem;padding:.4rem .62rem;border:1px solid var(--surface-line);border-radius:.32rem;background:#00000008;color:var(--ink-1);font:inherit;font-size:.75rem;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}.project-list-action:hover{border-color:#4c8fcb5c;background:#4c8fcb1a;color:var(--ink-0)}.project-list-action.is-danger,.project-dialog-button.is-danger{border-color:#b8414138;background:#b8414114;color:var(--ink-0)}.project-list-action.is-danger:hover,.project-dialog-button.is-danger:hover,.project-list-row-action.is-danger:hover{border-color:#b8414161;background:#b8414124}.project-list{min-height:14rem;display:grid;align-content:start;gap:.28rem;overflow:auto;padding-right:.12rem}.project-list-empty{margin:0;padding:.92rem .3rem;color:var(--ink-2);font-size:.82rem;line-height:1.45}.project-list-row{position:relative}.project-list-item{appearance:none;width:100%;display:grid;gap:.18rem;padding:.68rem 6rem .68rem .74rem;border:1px solid transparent;border-radius:.34rem;background:transparent;color:var(--ink-0);text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease}.project-list-item:hover{border-color:#4c8fcb38;background:#4c8fcb14}.project-list-item.is-selected{border-color:#4c8fcb5c;background:#4c8fcb24}.project-list-row-actions{position:absolute;top:.5rem;right:.5rem;bottom:.5rem;display:grid;grid-template-columns:repeat(2,2.35rem);gap:.38rem;opacity:0;pointer-events:none;transform:translateY(-.1rem);transition:opacity .16s ease,transform .16s ease}.project-list-row-action{appearance:none;width:2.35rem;min-width:2.35rem;padding:0;border:1px solid var(--surface-line);border-radius:.34rem;background:#00000008;color:var(--ink-1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,opacity .16s ease}.project-list-row-action svg{width:1.08rem;height:1.08rem;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.project-list-row-action:hover{border-color:#4c8fcb5c;background:#4c8fcb1a;color:var(--ink-0)}.project-list-row:hover .project-list-row-actions,.project-list-row:focus-within .project-list-row-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.project-list-row-action:disabled{cursor:default;opacity:.48}.project-list-item-title{font-size:.84rem;font-weight:700}.project-list-item-meta{color:var(--ink-2);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.66rem;letter-spacing:.04em}.project-form-field{display:grid;gap:.38rem}.project-form-field[hidden]{display:none}.project-name-input{width:100%;min-height:2.45rem;padding:.58rem .72rem;border:1px solid var(--surface-line);border-radius:.34rem;background:#ffffff61;color:var(--ink-0);font:inherit;font-size:.88rem}.project-name-input::placeholder{color:var(--ink-2)}.project-name-input[readonly]{background:#00000008;color:var(--ink-1)}.group-library-search-input,.part-library-search-input{min-height:2.12rem;padding:.42rem .62rem;border-radius:.32rem;font-size:.82rem}.group-library-head-controls,.part-library-head-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.42rem;align-items:center}.form-select-menu,.group-library-sort-menu,.part-library-sort-menu{position:relative;min-width:7.6rem}.form-select-trigger,.group-library-sort-trigger,.part-library-sort-trigger{appearance:none;width:100%;min-height:2.12rem;display:inline-flex;align-items:center;justify-content:space-between;gap:.48rem;padding:.42rem .62rem .42rem .68rem;border:1px solid var(--surface-line);border-radius:.32rem;background:#ffffff61;color:var(--ink-0);font:inherit;font-size:.82rem;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.form-select-trigger:hover,.form-select-menu[data-open=true] .form-select-trigger,.group-library-sort-trigger:hover,.group-library-sort-menu[data-open=true] .group-library-sort-trigger,.part-library-sort-trigger:hover,.part-library-sort-menu[data-open=true] .part-library-sort-trigger{background:#4c8fcb1a;border-color:#4c8fcb3d}.form-select-trigger:focus-visible,.group-library-sort-trigger:focus-visible,.part-library-sort-trigger:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.form-select-trigger-label,.group-library-sort-trigger-label,.part-library-sort-trigger-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-select-trigger-icon,.group-library-sort-trigger-icon,.part-library-sort-trigger-icon{width:.88rem;height:.88rem;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2);flex:none}.form-select-trigger-icon svg,.group-library-sort-trigger-icon svg,.part-library-sort-trigger-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.form-select-menu[data-open=true] .form-select-trigger-icon svg{transform:rotate(180deg)}.form-select-panel,.group-library-sort-panel,.part-library-sort-panel{top:calc(100% + .28rem);left:auto;right:0;min-width:max(100%,9rem)}.form-select-item-icon,.group-library-sort-item-icon,.part-library-sort-item-icon{opacity:0;transition:opacity .16s ease,color .16s ease}.form-select-item[aria-checked=true],.group-library-sort-item[aria-checked=true],.part-library-sort-item[aria-checked=true]{background:#4c8fcb1f}.form-select-item[aria-checked=true] .form-select-item-icon,.group-library-sort-item[aria-checked=true] .group-library-sort-item-icon,.part-library-sort-item[aria-checked=true] .part-library-sort-item-icon{opacity:1;color:var(--tech-accent)}@media(max-width:420px){.group-library-head-controls,.part-library-head-controls{grid-template-columns:1fr}.form-select-menu,.group-library-sort-menu,.part-library-sort-menu{width:100%}}@media(max-width:760px){.persistence-conflict-compare-grid,.loader-lab-grid{grid-template-columns:minmax(0,1fr)}.loader-lab-dialog{max-height:calc(100vh - 1.4rem);padding:.82rem}.loader-lab-surface-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:1180px)and (min-width:761px){.loader-lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.project-detail-list{margin:0;display:grid;gap:.55rem}.project-detail-row{display:grid;gap:.12rem}.project-detail-row dt{color:var(--ink-2);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.project-detail-row dd{margin:0;font-size:.86rem;line-height:1.35}.project-dialog-actions{display:flex;justify-content:flex-end;gap:.48rem}.project-dialog-button{appearance:none;min-height:2.4rem;padding:.56rem .88rem;border:1px solid var(--surface-line);border-radius:.34rem;font:inherit;font-size:.8rem;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,opacity .16s ease}.project-dialog-button.is-secondary{background:#00000008;color:var(--ink-1)}.project-dialog-button.is-primary{background:#4c8fcb24;color:var(--ink-0)}.project-dialog-button:hover{border-color:#4c8fcb5c;background:#4c8fcb1a}.project-dialog-button.is-primary:hover{background:#4c8fcb2e}.app-settings-dialog-layout{grid-template-columns:minmax(12rem,1fr) minmax(0,3fr)}.app-settings-nav-panel{align-content:start}.app-settings-detail-panel{min-width:0}.app-settings-category-list{display:grid;gap:.38rem}.app-settings-category-button{appearance:none;width:100%;display:flex;align-items:center;justify-content:flex-start;min-height:2.3rem;padding:.56rem .7rem;border:1px solid rgba(61,81,106,.12);border-radius:.38rem;background:#00000005;color:var(--ink-1);font:inherit;font-size:.82rem;font-weight:600;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.app-settings-category-button:hover,.app-settings-category-button:focus-visible{border-color:#4c8fcb57;background:#4c8fcb1a;color:var(--ink-0);box-shadow:inset 0 0 0 1px #4c8fcb14;outline:none}.app-settings-category-button.is-active,.app-settings-category-button[aria-selected=true]{border-color:#4c8fcb66;background:#4c8fcb24;color:var(--ink-0);box-shadow:inset 0 0 0 1px #4c8fcb14,0 0 0 1px #4c8fcb14}.app-settings-advanced{margin-top:.72rem;border-top:1px solid var(--surface-line);padding-top:.72rem}.app-settings-advanced-toggle{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:.72rem;padding:0;border:0;background:transparent;color:var(--ink-1);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.app-settings-advanced-toggle svg{width:.8rem;height:.8rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;fill:none;transition:transform .16s ease}.app-settings-advanced-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.app-settings-advanced-body{display:grid;gap:.78rem;padding-top:.72rem}.app-settings-advanced-body[hidden]{display:none}@media(max-width:860px){.app-settings-dialog-layout{grid-template-columns:minmax(0,1fr)}}.project-dialog-button:disabled,.project-dialog-close:disabled{cursor:default;opacity:.48}.loader-lab-dialog{width:min(72rem,100%);max-height:min(42rem,calc(100vh - 2.4rem))}.loader-lab-dialog-description{max-width:58rem}.loader-lab-grid{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;gap:.72rem;overflow:auto;padding-right:.08rem}.loader-lab-card{min-width:0;min-height:0;position:relative;grid-template-rows:auto auto auto;gap:.62rem;overflow:visible;isolation:isolate}.loader-lab-card-head{display:grid;gap:.16rem}.loader-lab-card-description{min-height:2.35rem;font-size:.76rem;line-height:1.4}.loader-lab-surface-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.loader-lab-surface{min-width:0;display:grid;gap:.34rem}.loader-lab-surface-label{font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}.loader-lab-surface-frame{--loader-ink-soft: rgba(76, 143, 203, .22);--loader-ink-ghost: rgba(76, 143, 203, .12);position:relative;min-height:5.5rem;aspect-ratio:4 / 3;display:grid;place-items:center;border:1px solid rgba(0,0,0,.14);border-radius:.34rem;overflow:hidden;overflow:clip;isolation:isolate;contain:layout paint;clip-path:inset(0 round .34rem);transform:translateZ(0)}.loader-lab-surface[data-loader-lab-theme=light] .loader-lab-surface-frame{background:linear-gradient(180deg,#f4f4f4,#e6e6e6);color:#4c8fcb}.loader-lab-surface[data-loader-lab-theme=dark] .loader-lab-surface-frame{--loader-ink-soft: rgba(147, 203, 255, .24);--loader-ink-ghost: rgba(147, 203, 255, .14);border-color:#ffffff14;background:linear-gradient(180deg,#2b2b2b,#1f1f1f);color:#93cbff}.loader-lab-indicator,.loader-lab-indicator *,.loader-lab-indicator:before,.loader-lab-indicator:after{box-sizing:border-box}.loader-lab-indicator{position:relative;display:block;width:2.7rem;height:2.7rem;max-width:100%;max-height:100%;color:inherit}.loader-lab-indicator span{position:absolute;display:block}.loader-lab-brick{width:1.12rem;height:.68rem;border-radius:.18rem;background:currentColor;box-shadow:inset 0 -.1rem #00000024,0 0 0 1px #0000000a}.loader-lab-brick:before{content:"";position:absolute;left:.18rem;top:-.14rem;width:.2rem;height:.2rem;border-radius:999px;background:currentColor;box-shadow:.56rem 0 0 currentColor}.loader-lab-brick--micro{width:.78rem;height:.5rem;border-radius:.16rem}.loader-lab-brick--micro:before{left:.14rem;top:-.1rem;width:.16rem;height:.16rem;box-shadow:.34rem 0 0 currentColor}.loader-lab-packet{width:1.86rem;height:.82rem}.loader-lab-packet:before{content:"";position:absolute;left:0;top:50%;width:.72rem;height:.08rem;margin-top:-.04rem;border-radius:999px;background:var(--loader-ink-soft);box-shadow:0 -.2rem 0 var(--loader-ink-ghost),0 .2rem 0 var(--loader-ink-ghost)}.loader-lab-packet .loader-lab-brick{right:0;top:.08rem;transform:scale(.82);transform-origin:right center}.loader-lab-indicator--packet-stream{width:4.4rem;height:1.68rem}.loader-lab-indicator--packet-stream:before{content:"";position:absolute;left:.22rem;right:.22rem;top:50%;height:.14rem;margin-top:-.07rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--loader-ink-soft),transparent)}.loader-lab-indicator--packet-stream:after{content:"";position:absolute;inset:.26rem .22rem;border-top:1px dashed var(--loader-ink-ghost);border-bottom:1px dashed var(--loader-ink-ghost);border-radius:999px}.loader-lab-indicator--packet-stream .loader-lab-packet{left:.18rem;top:50%;margin-top:-.41rem;animation:loader-lab-packet-stream 1.4s linear infinite}.loader-lab-indicator--packet-stream .loader-lab-packet:nth-child(1){animation-delay:0s}.loader-lab-indicator--packet-stream .loader-lab-packet:nth-child(2){animation-delay:-.46s}.loader-lab-indicator--packet-stream .loader-lab-packet:nth-child(3){animation-delay:-.92s}.loader-lab-indicator--row-build{width:4.18rem;height:1.92rem}.loader-lab-indicator--row-build:before{content:"";position:absolute;left:.16rem;right:.16rem;bottom:.38rem;height:.82rem;border:1px dashed var(--loader-ink-ghost);border-radius:.28rem;background:linear-gradient(180deg,transparent,rgba(0,0,0,.04)),repeating-linear-gradient(90deg,transparent 0 1rem,var(--loader-ink-ghost) 1rem 1.06rem,transparent 1.06rem 1.24rem)}.loader-lab-indicator--row-build:after{content:"";position:absolute;left:.24rem;right:.24rem;bottom:.72rem;height:.08rem;border-radius:999px;background:var(--loader-ink-ghost)}.loader-lab-indicator--row-build .loader-lab-brick{bottom:.46rem;transform:scale(.88);transform-origin:left bottom;animation:loader-lab-row-build 1.52s ease-in-out infinite}.loader-lab-indicator--row-build .loader-lab-brick:nth-child(1){left:.32rem;animation-delay:0s}.loader-lab-indicator--row-build .loader-lab-brick:nth-child(2){left:1.54rem;animation-delay:.14s}.loader-lab-indicator--row-build .loader-lab-brick:nth-child(3){left:2.76rem;animation-delay:.28s}.loader-lab-indicator--node-route{width:4.34rem;height:1.92rem}.loader-lab-indicator--node-route:before{content:"";position:absolute;left:.44rem;right:.44rem;top:50%;height:.12rem;margin-top:-.06rem;border-radius:999px;background:linear-gradient(90deg,var(--loader-ink-ghost),var(--loader-ink-soft))}.loader-lab-route-node{top:50%;width:.42rem;height:.42rem;margin-top:-.21rem;border-radius:999px;background:var(--loader-ink-soft);box-shadow:0 0 0 0 var(--loader-ink-ghost);animation:loader-lab-route-node 1.6s ease-in-out infinite}.loader-lab-route-node:nth-child(1){left:.18rem;animation-delay:0s}.loader-lab-route-node:nth-child(2){left:1.28rem;animation-delay:.16s}.loader-lab-route-node:nth-child(3){left:2.38rem;animation-delay:.32s}.loader-lab-route-node:nth-child(4){left:3.48rem;animation-delay:.48s}.loader-lab-route-packet{left:.08rem;top:50%;width:1.12rem;height:.68rem;margin-top:-.34rem;animation:loader-lab-node-route 1.6s steps(1,end) infinite}.loader-lab-route-packet .loader-lab-brick{left:0;top:0;transform:scale(.82);transform-origin:left center}.loader-lab-indicator--snap-lock{width:3.68rem;height:2.18rem}.loader-lab-indicator--snap-lock:before{content:"";position:absolute;left:.56rem;right:.56rem;bottom:.18rem;height:.82rem;border:1px dashed var(--loader-ink-ghost);border-radius:.24rem;background:linear-gradient(180deg,transparent,rgba(0,0,0,.04))}.loader-lab-indicator--snap-lock:after{content:"";position:absolute;left:50%;bottom:.94rem;width:1.86rem;height:1.86rem;margin-left:-.93rem;border-radius:999px;background:radial-gradient(circle,var(--loader-ink-soft) 0,transparent 62%);opacity:0;transform:scale(.42);animation:loader-lab-snap-pulse 1.34s ease-out infinite}.loader-lab-indicator--snap-lock .loader-lab-brick:nth-child(1){left:.52rem;bottom:.42rem;opacity:.56;transform:scale(.88)}.loader-lab-indicator--snap-lock .loader-lab-brick:nth-child(2){right:.52rem;bottom:.42rem;opacity:.56;transform:scale(.88)}.loader-lab-indicator--snap-lock .loader-lab-brick:nth-child(3){left:50%;top:.18rem;margin-left:-.56rem;transform:scale(.88);animation:loader-lab-snap-lock 1.34s ease-in-out infinite}.loader-lab-indicator--corner-build{width:4rem;height:2.32rem}.loader-lab-indicator--corner-build:before{content:"";position:absolute;left:.26rem;bottom:.18rem;width:2.58rem;height:1.86rem;border-left:1px dashed var(--loader-ink-ghost);border-bottom:1px dashed var(--loader-ink-ghost);border-radius:0 0 0 .24rem}.loader-lab-indicator--corner-build .loader-lab-brick:nth-child(1){left:.38rem;bottom:.34rem;opacity:.6;transform:scale(.88)}.loader-lab-indicator--corner-build .loader-lab-brick:nth-child(2){right:.94rem;bottom:.82rem;transform:rotate(90deg) scale(.88);transform-origin:center center;animation:loader-lab-corner-rise 1.62s ease-in-out infinite}.loader-lab-indicator--corner-build .loader-lab-brick:nth-child(3){left:1.54rem;bottom:1.36rem;transform:scale(.88);animation:loader-lab-corner-cap 1.62s ease-in-out infinite}.loader-lab-indicator--segments span{left:50%;top:50%;width:.3rem;height:.82rem;margin-left:-.15rem;margin-top:-1.22rem;border-radius:999px;background:currentColor;transform-origin:center 1.22rem;transform:rotate(calc(var(--loader-index) * 45deg));opacity:.16;animation:loader-lab-segments 1s linear infinite;animation-delay:calc(var(--loader-index) * .1s)}.loader-lab-indicator--brick-compose{width:4.3rem;height:3.1rem}.loader-lab-indicator--brick-compose:after{content:"";position:absolute;inset:.18rem .2rem .16rem;border-radius:.62rem .62rem .46rem .46rem;background:radial-gradient(circle at 50% 68%,var(--loader-ink-soft) 0,transparent 68%);opacity:0;transform:scale(.82);animation:loader-lab-brick-compose-glow 1.72s ease-in-out infinite}.loader-lab-compose-shell{left:.28rem;right:.28rem;bottom:.26rem;height:2.24rem;border:1px dashed var(--loader-ink-ghost);border-radius:.48rem .48rem .38rem .38rem;background:linear-gradient(180deg,#ffffff14,#0000000a),linear-gradient(180deg,transparent 0 22%,rgba(0,0,0,.05) 22% 100%);box-shadow:inset 0 -.18rem #0000000a}.loader-lab-compose-shell:before{content:"";position:absolute;left:.38rem;right:.38rem;top:.32rem;height:.16rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--loader-ink-soft),transparent)}.loader-lab-compose-stud{top:.28rem;left:var(--stud-left);width:.46rem;height:.18rem;border-radius:.16rem .16rem .08rem .08rem;background:var(--loader-ink-ghost);opacity:.34;transform-origin:center bottom;animation:loader-lab-compose-stud 1.72s ease-in-out infinite;animation-delay:var(--stud-delay)}.loader-lab-compose-block{left:var(--piece-left);top:var(--piece-top);width:.98rem;height:.58rem;border-radius:.16rem;background:currentColor;box-shadow:inset 0 -.09rem #00000029,0 0 0 1px #0000000d;opacity:0;transform:translate(var(--piece-from-x),var(--piece-from-y)) scale(.72);transform-origin:center center;animation:loader-lab-brick-compose 1.72s cubic-bezier(.27,.82,.24,1) infinite;animation-delay:var(--piece-delay)}.loader-lab-compose-block:before{content:"";position:absolute;left:.14rem;top:-.1rem;width:.16rem;height:.16rem;border-radius:999px;background:currentColor;box-shadow:.5rem 0 0 currentColor}.loader-lab-indicator--stack-rise{width:2.6rem;height:2.8rem}.loader-lab-indicator--stack-rise .loader-lab-brick{left:50%;margin-left:-.56rem;animation:loader-lab-stack-rise 1.24s ease-in-out infinite}.loader-lab-indicator--stack-rise .loader-lab-brick:nth-child(1){bottom:.18rem;animation-delay:0s}.loader-lab-indicator--stack-rise .loader-lab-brick:nth-child(2){bottom:.92rem;animation-delay:.1s}.loader-lab-indicator--stack-rise .loader-lab-brick:nth-child(3){bottom:1.66rem;animation-delay:.2s}.loader-lab-indicator--brick-train{width:3.9rem;height:1.44rem}.loader-lab-indicator--brick-train:before{content:"";position:absolute;left:.12rem;right:.12rem;bottom:.18rem;height:.14rem;border-radius:999px;background:var(--loader-ink-soft)}.loader-lab-indicator--brick-train .loader-lab-brick{left:.12rem;bottom:.42rem;animation:loader-lab-brick-train 1.35s linear infinite}.loader-lab-indicator--brick-train .loader-lab-brick:nth-child(1){animation-delay:0s}.loader-lab-indicator--brick-train .loader-lab-brick:nth-child(2){animation-delay:-.18s}.loader-lab-indicator--brick-train .loader-lab-brick:nth-child(3){animation-delay:-.36s}.loader-lab-indicator--brick-drop{width:2.7rem;height:2.9rem}.loader-lab-indicator--brick-drop:before{content:"";position:absolute;left:50%;bottom:.12rem;width:1.32rem;height:.14rem;margin-left:-.66rem;border-radius:999px;background:var(--loader-ink-soft)}.loader-lab-indicator--brick-drop .loader-lab-brick{left:50%;margin-left:-.56rem;animation:loader-lab-brick-drop 1.5s ease-in infinite}.loader-lab-indicator--brick-drop .loader-lab-brick:nth-child(1){bottom:.2rem;animation-delay:0s}.loader-lab-indicator--brick-drop .loader-lab-brick:nth-child(2){bottom:.94rem;animation-delay:.18s}.loader-lab-indicator--brick-drop .loader-lab-brick:nth-child(3){bottom:1.68rem;animation-delay:.36s}@keyframes loader-lab-packet-stream{0%{opacity:0;transform:translate(-.7rem)}18%,72%{opacity:1}to{opacity:0;transform:translate(2.24rem)}}@keyframes loader-lab-row-build{0%{opacity:0;transform:translate(-.78rem) translateY(.14rem) scale(.88)}20%,78%{opacity:1;transform:translate(0) translateY(0) scale(.88)}to{opacity:.42;transform:translate(0) translateY(0) scale(.88)}}@keyframes loader-lab-route-node{0%,to{box-shadow:0 0 0 0 var(--loader-ink-ghost);opacity:.5;transform:scale(.92)}35%{box-shadow:0 0 0 .22rem #0000;opacity:1;transform:scale(1)}}@keyframes loader-lab-node-route{0%,18%{transform:translate(0) scale(.88)}24%,40%{transform:translate(1.08rem) scale(1)}46%,62%{transform:translate(2.16rem) scale(1)}68%,to{transform:translate(3.24rem) scale(.92)}}@keyframes loader-lab-snap-pulse{0%,58%,to{opacity:0;transform:scale(.42)}72%{opacity:.34;transform:scale(1)}}@keyframes loader-lab-snap-lock{0%,12%{opacity:0;transform:translateY(-.82rem) scale(.88)}26%,66%{opacity:1;transform:translateY(0) scale(.88)}78%{opacity:1;transform:translateY(-.08rem) scale(.92)}to{opacity:1;transform:translateY(0) scale(.88)}}@keyframes loader-lab-corner-rise{0%,18%{opacity:0;transform:translateY(.68rem) rotate(90deg) scale(.88)}24%,62%{opacity:1;transform:translateY(0) rotate(90deg) scale(.88)}to{opacity:1;transform:translateY(0) rotate(90deg) scale(.88)}}@keyframes loader-lab-corner-cap{0%,36%{opacity:0;transform:translate(-.54rem) scale(.88)}48%,78%{opacity:1;transform:translate(0) scale(.88)}to{opacity:.46;transform:translate(0) scale(.88)}}@keyframes loader-lab-segments{0%,to{opacity:.14}45%{opacity:1}}@keyframes loader-lab-brick-compose{0%,12%{opacity:0;transform:translate(var(--piece-from-x),var(--piece-from-y)) scale(.72)}24%,70%{opacity:1;transform:translate(0) scale(1)}80%{opacity:1;transform:translateY(-.04rem) scale(1.02)}to{opacity:.96;transform:translate(0) scale(1)}}@keyframes loader-lab-compose-stud{0%,56%,to{opacity:.34;transform:translateY(0) scale(.92)}72%{opacity:1;transform:translateY(-.04rem) scale(1)}}@keyframes loader-lab-brick-compose-glow{0%,58%,to{opacity:0;transform:scale(.82)}74%{opacity:.3;transform:scale(1)}}@keyframes loader-lab-stack-rise{0%,18%{opacity:.18;transform:translateY(.46rem) scale(.88)}38%,78%{opacity:1;transform:translateY(0) scale(1)}to{opacity:.32;transform:translateY(-.12rem) scale(.96)}}@keyframes loader-lab-brick-train{0%{opacity:0;transform:translate(-1rem)}12%,72%{opacity:1}to{opacity:0;transform:translate(3.4rem)}}@keyframes loader-lab-brick-drop{0%,10%{opacity:0;transform:translateY(-1.12rem)}22%,70%{opacity:1;transform:translateY(0)}to{opacity:1;transform:translateY(0)}}.theme-toggle{appearance:none;border:0;padding:0;background:transparent;display:inline-flex;align-items:center;cursor:pointer}.theme-toggle-track{position:relative;display:grid;grid-template-columns:repeat(2,1fr);align-items:center;width:calc(var(--theme-toggle-thumb-size) * 2 + var(--theme-toggle-thumb-offset) * 2 + .3rem);min-width:calc(var(--theme-toggle-thumb-size) * 2 + var(--theme-toggle-thumb-offset) * 2 + .3rem);min-height:var(--header-chip-height);padding:var(--theme-toggle-thumb-offset);border:1px solid var(--surface-line);border-radius:999px;background:#0000000a;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.theme-toggle:hover .theme-toggle-track{border-color:#4c8fcb66}.theme-toggle:focus-visible{outline:none}.theme-toggle:focus-visible .theme-toggle-track{border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.theme-toggle-icon,.theme-toggle-thumb-icon{display:inline-flex;align-items:center;justify-content:center}.theme-toggle-icon{justify-self:center;width:var(--theme-toggle-icon-size);height:var(--theme-toggle-icon-size);color:var(--ink-2);opacity:.82;transition:color .16s ease,opacity .16s ease}.theme-toggle-icon svg,.theme-toggle-thumb-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.theme-toggle-thumb{position:absolute;top:var(--theme-toggle-thumb-offset);left:var(--theme-toggle-thumb-offset);right:auto;width:var(--theme-toggle-thumb-size);height:var(--theme-toggle-thumb-size);display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#4f4f4f;box-shadow:none;transition:left .18s ease,right .18s ease,background .18s ease,box-shadow .18s ease}.theme-toggle-thumb-icon{position:absolute;inset:0;width:100%;height:100%;color:#fff;opacity:0;transition:opacity .16s ease}.theme-toggle-thumb-icon svg{width:.8rem;height:.8rem}:root[data-theme=light] .theme-toggle-icon-sun,:root[data-theme=dark] .theme-toggle-icon-moon{color:var(--ink-1);opacity:1}:root[data-theme=light] .theme-toggle-thumb-icon-sun,:root[data-theme=dark] .theme-toggle-thumb-icon-moon{opacity:1}:root[data-theme=dark] .theme-toggle-track{background:#00000038}:root[data-theme=dark] .theme-toggle-thumb{left:auto;right:var(--theme-toggle-thumb-offset);background:var(--tech-accent)}.app-header,.panel,.workspace,.side-card,.surface-card{position:relative;border:1px solid var(--surface-line);border-radius:.45rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));box-shadow:var(--shadow-soft);overflow:hidden}.app-header{overflow:visible}.app-header:before,.panel:before,.workspace:before,.side-card:before,.surface-card:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:1px;background:linear-gradient(90deg,#ffffff2e,#fff0);pointer-events:none}.ui-tabs{display:flex;flex-wrap:wrap;gap:.45rem}.ui-tab-button,.ui-button{appearance:none;border:1px solid var(--action-button-border);border-radius:999px;background:var(--action-button-bg);box-shadow:var(--action-button-shadow);color:var(--ink-0);cursor:pointer;font:inherit;font-weight:600;text-decoration:none;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.ui-tab-button{min-height:2.3rem;padding:.46rem .82rem}.ui-button{min-height:2.2rem;padding:.45rem .82rem;display:inline-flex;align-items:center;justify-content:center;gap:.38rem}.ui-tab-button:hover,.ui-button:hover{border-color:var(--action-button-hover-border);background:var(--action-button-hover-bg);box-shadow:var(--action-button-active-shadow);color:var(--ink-0)}.ui-tab-button:focus-visible,.ui-button:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.ui-tab-button[data-selected=true]{border-color:var(--interactive-active-border);background:var(--interactive-active-bg);box-shadow:var(--interactive-active-shadow)}.ui-button.is-quiet{border-color:transparent;background:transparent;box-shadow:none;color:var(--ink-1)}.ui-button.is-quiet:hover{border-color:transparent;background:var(--interactive-hover-bg);box-shadow:none}.ui-button.is-danger{border-color:#c91a092e;background:#c91a0914;color:#a13a3a;box-shadow:none}.ui-button.is-danger:hover{border-color:#c91a0947;background:#c91a0924;box-shadow:none}.ui-tab-button[disabled],.ui-button[disabled]{opacity:.46;cursor:default;box-shadow:none}.ui-field{display:grid;gap:.38rem}.ui-field-label{font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}.ui-input{min-height:2.5rem;width:100%;padding:.62rem .8rem;border:1px solid var(--surface-line);border-radius:.6rem;background:#ffffffb8;color:var(--ink-0);font:inherit;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.ui-input:hover{border-color:var(--interactive-hover-border)}.ui-input:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}:root[data-theme=dark] .ui-input{background:#0000002e}.ui-hint{color:var(--ink-2);font-size:.84rem;line-height:1.45}.ui-mono{font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.82rem;word-break:break-all}.ui-status-pill{display:inline-flex;align-items:center;justify-content:center;gap:.42rem;min-height:1.7rem;padding:.16rem .66rem;border:1px solid rgba(57,82,107,.12);border-radius:999px;background:#00000008;color:var(--ink-1);font-size:.76rem;font-weight:600;line-height:1.2}.ui-status-pill--header{min-height:var(--header-chip-height);padding:.16rem .68rem}.ui-status-pill:before{content:"";width:.42rem;height:.42rem;border-radius:999px;background:currentColor;opacity:.82}.ui-status-pill[data-state=online],.ui-status-pill[data-status=active]{border-color:#2479462e;background:#2479461f;color:#246f44}.ui-status-pill[data-state=offline],.ui-status-pill[data-status=revoked]{border-color:#a13a3a2e;background:#a13a3a1f;color:#973737}.ui-status-pill[data-status=inactive]{border-color:#9a671b2e;background:#9a671b1f;color:#8f6217}.ui-scroll-surface{min-height:0;overflow:auto;border:1px solid var(--surface-line);border-radius:.75rem;background:#00000008}.ui-table{width:100%;border-collapse:collapse;font-size:.9rem}.ui-table thead th{position:sticky;top:0;background:color-mix(in srgb,var(--surface-0) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ui-table th,.ui-table td{padding:.65rem .55rem;border-bottom:1px solid rgba(57,82,107,.12);text-align:left;vertical-align:top}.ui-table th{font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-2)}.ui-table tbody tr[data-selected=true]{background:var(--interactive-active-bg)}.panel-resizer{appearance:none;position:absolute;inset:0 auto 0 0;z-index:4;align-self:stretch;width:var(--shell-gap);min-width:var(--shell-gap);padding:0;border:0;border-radius:.34rem;background:transparent;cursor:ew-resize;outline:none}.panel-resizer:focus-visible{box-shadow:inset 0 0 0 1px #4c8fcb2e}.panel-resizer[disabled]{pointer-events:none;cursor:default}.panel-resizer:before,.panel-resizer-grip{display:none}body.is-resizing-panels{-webkit-user-select:none;user-select:none}body.is-resizing-panels[data-resize-axis=col]{cursor:ew-resize}body.is-resizing-panels[data-resize-axis=row]{cursor:ns-resize}body.is-resizing-panels .app-header,body.is-resizing-panels .panel,body.is-resizing-panels .workspace,body.is-resizing-panels .side-card{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.panel{display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:.95rem;padding:.95rem;height:calc(var(--app-height) - var(--header-height) - var(--header-gap) - var(--frame-padding) * 2);min-height:0}.library-panel-stack{--library-color-min-height: 112px;--library-part-min-height: 160px;--library-group-min-height: 160px;--library-workflow-min-height: 144px;position:relative;z-index:1;height:calc(var(--app-height) - var(--header-height) - var(--header-gap) - var(--frame-padding) * 2);min-height:0;display:grid;grid-template-rows:var(--library-color-track-size, var(--library-color-height, auto)) var(--library-part-track-size, var(--library-part-height, minmax(0, 1fr))) var(--library-group-track-size, minmax(0, 1fr)) auto;gap:var(--shell-gap);align-content:start}.eyebrow,.section-label,.statusbar-label,.next-label{font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.73rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2)}.section-head{display:grid;gap:.16rem}.section-head strong{font-size:.9rem;line-height:1.35}.panel-collapse-header{position:relative;display:flex;align-self:start;align-items:center;justify-content:space-between;gap:.62rem}.panel-collapse-header .section-head{flex:1 1 auto;min-width:0}.panel-head-actions{display:inline-flex;align-items:center;gap:.42rem}.panel-header-action,.panel-collapse-toggle{appearance:none;flex:none;width:2rem;min-width:2rem;height:2rem;padding:0;border:1px solid var(--action-button-border);border-radius:.34rem;background:var(--action-button-bg);box-shadow:var(--action-button-shadow);color:var(--ink-1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.panel-header-action:hover,.panel-collapse-toggle:hover{border-color:var(--action-button-hover-border);background:var(--action-button-hover-bg);box-shadow:var(--action-button-active-shadow);color:var(--ink-0)}.panel-header-action:focus-visible,.panel-collapse-toggle:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.panel-header-action[disabled],.panel-collapse-toggle[disabled]{cursor:default;opacity:.46;box-shadow:none}.panel-collapse-toggle{width:1.72rem;min-width:1.72rem;height:1.72rem;border:0;border-radius:999px;background:transparent;box-shadow:none;color:var(--ink-2)}.panel-collapse-toggle:hover{border-color:transparent;background:#4c8fcb14;box-shadow:inset 0 0 0 1px #4c8fcb1f;color:var(--ink-0)}.panel-collapse-toggle:focus-visible{border-color:transparent;background:#4c8fcb14;box-shadow:0 0 0 2px #4c8fcb29}.panel-header-action svg{width:.9rem;height:.9rem;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.panel-footer-action{appearance:none;width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:.36rem;padding:.4rem .62rem;border:1px solid var(--action-button-border);border-radius:.38rem;background:var(--action-button-bg);box-shadow:var(--action-button-shadow);color:var(--ink-0);font-size:.78rem;font-weight:600;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.panel-footer-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:.42rem}.panel-footer-action:hover{border-color:var(--action-button-hover-border);background:var(--action-button-hover-bg);box-shadow:var(--action-button-active-shadow)}.panel-footer-action:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.panel-footer-action[disabled]{cursor:default;opacity:.46;box-shadow:none}.panel-footer-action.is-danger{border-color:#b8414138;background:#b8414114}.panel-footer-action.is-danger:hover{border-color:#b8414161;background:#b8414124}.panel-footer-action.is-danger .panel-footer-action-icon{color:currentColor}.panel-footer-action-icon{width:1rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--model-icon-color)}.panel-footer-action-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.panel-collapse-toggle-icon{width:.82rem;height:.82rem;display:inline-flex;align-items:center;justify-content:center}.panel-collapse-toggle-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;transition:transform .16s ease}.panel-collapse-toggle[aria-expanded=true] .panel-collapse-toggle-icon svg{transform:rotate(180deg)}.panel-collapse-body{min-height:0;display:grid;gap:.62rem;align-content:start}.panel-collapse-body[hidden]{display:none}.color-section,.part-section{display:grid;align-content:start;gap:.55rem;min-height:0}.library-panel-stack>.panel{height:100%;min-height:var(--panel-collapse-min-height, 0px);overflow:hidden}.library-panel-stack>.side-card{height:100%;min-height:var(--panel-collapse-min-height, 0px);overflow:hidden}.side-rail>.side-card{min-height:var(--panel-collapse-min-height, 0px)}.library-panel-stack>.panel[data-collapsed=true],.library-panel-stack>.side-card[data-collapsed=true],.side-rail>.side-card[data-collapsed=true]{position:relative;z-index:3;height:auto}.color-panel{grid-template-rows:auto auto}.part-panel{grid-template-rows:auto minmax(0,1fr)}.project-tree-card .panel-collapse-body,.history-card .panel-collapse-body{grid-template-rows:minmax(0,1fr)}.part-panel .panel-collapse-body,.group-library-card .panel-collapse-body{grid-template-rows:auto minmax(0,1fr)}.part-section{grid-template-rows:auto minmax(0,1fr);overflow:hidden}.part-panel[data-collapsed=true],.group-library-card[data-collapsed=true],.project-tree-card[data-collapsed=true],.history-card[data-collapsed=true]{grid-template-rows:auto}.library-panel-stack[data-part-library-collapsed=true]{--library-part-track-size: var(--library-part-collapsed-height, auto)}.library-panel-stack[data-group-library-collapsed=true]{--library-group-track-size: var(--library-group-collapsed-height, auto)}.library-panel-stack[data-group-library-collapsed=true][data-part-library-collapsed=false]{--library-part-track-size: minmax(0, 1fr)}.color-list{display:grid;grid-template-columns:repeat(auto-fill,36px);gap:.45rem;justify-content:start}.color-button{appearance:none;position:relative;width:36px;aspect-ratio:1 / 1;padding:0;border:0;border-radius:0;background:transparent;justify-self:start;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.color-button.is-active{box-shadow:none}.color-button.is-active:after{content:"";position:absolute;inset:-.2rem;border:2px solid rgba(245,245,245,.92);border-radius:.44rem;box-shadow:0 0 0 1px #4c8fcb75;pointer-events:none}.color-swatch{display:block;width:100%;height:100%;border-radius:.36rem;background:var(--swatch-color);box-shadow:inset 0 0 0 1px #0000002e}.color-button[data-color-button=white] .color-swatch{box-shadow:inset 0 0 0 1px #00000038}.part-list{display:block;min-height:0;overflow-y:auto;padding-right:.12rem}.part-list-window{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.45rem;align-content:start}.part-list-spacer{width:100%;pointer-events:none}.part-button,.tool-button,.history-button,.project-tree-entry,.group-library-entry{--component-active-border: var(--interactive-active-border)}.part-button{--component-active-border: var(--interactive-active-border-strong);appearance:none;display:grid;gap:.4rem;width:100%;max-width:200px;padding:.28rem;border:1px solid rgba(61,81,106,.14);border-radius:.45rem;background:#00000005;color:var(--ink-0);text-align:left;justify-self:start;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.part-button.is-drag-source{border-color:#4c8fcb75;background:#4c8fcb1f;box-shadow:inset 0 0 0 1px #4c8fcb14,0 0 0 1px #4c8fcb1f;opacity:.78}.part-preview-frame{display:block;aspect-ratio:4 / 3;padding:.1rem;border-radius:.32rem;overflow:hidden;border:1px solid rgba(0,0,0,.16);background:linear-gradient(180deg,#f4f4f4,#e6e6e6)}.part-preview,.part-tooltip-preview,.group-library-entry-preview{position:relative;display:block;width:100%;height:100%;overflow:hidden}.preview-loader{position:absolute;left:50%;top:50%;z-index:2;width:2.2rem;height:2.56rem;margin-left:-1.1rem;margin-top:-1.28rem;pointer-events:none;opacity:0;transition:opacity .16s ease;color:var(--preview-loader-ring)}.preview-loader-brick{position:absolute;left:50%;width:.98rem;height:.58rem;margin-left:-.49rem;border-radius:.16rem;background:currentColor;box-shadow:inset 0 -.08rem #00000029,0 0 0 1px #0000000d;opacity:.16;transform:translateY(.42rem) scale(.88);animation:preview-loader-stack-rise 1.24s ease-in-out infinite;animation-play-state:paused}.preview-loader-brick:before{content:"";position:absolute;left:.16rem;top:-.11rem;width:.16rem;height:.16rem;border-radius:999px;background:currentColor;box-shadow:.5rem 0 0 currentColor}.preview-loader-brick:nth-child(1){bottom:.18rem;animation-delay:0s}.preview-loader-brick:nth-child(2){bottom:.86rem;animation-delay:.1s}.preview-loader-brick:nth-child(3){bottom:1.54rem;animation-delay:.2s}.part-preview[data-preview-state=loading]>.preview-loader,.part-tooltip-preview[data-preview-state=loading]>.preview-loader,.group-library-entry-preview[data-preview-state=loading]>.preview-loader,.persistence-conflict-group-item-preview[data-preview-state=loading]>.preview-loader{opacity:1}.part-preview[data-preview-state=loading]>.preview-loader .preview-loader-brick,.part-tooltip-preview[data-preview-state=loading]>.preview-loader .preview-loader-brick,.group-library-entry-preview[data-preview-state=loading]>.preview-loader .preview-loader-brick,.persistence-conflict-group-item-preview[data-preview-state=loading]>.preview-loader .preview-loader-brick{animation-play-state:running}.part-preview canvas,.part-tooltip-preview canvas,.group-library-entry-preview canvas,.persistence-conflict-group-item-preview canvas{position:relative;z-index:1;display:block;width:100%;height:100%;transition:opacity .16s ease,filter .16s ease}.part-preview[data-preview-state=loading] canvas,.part-tooltip-preview[data-preview-state=loading] canvas,.group-library-entry-preview[data-preview-state=loading] canvas,.persistence-conflict-group-item-preview[data-preview-state=loading] canvas{opacity:.26;filter:saturate(.82)}.part-button-copy{display:flex;align-items:center;gap:.4rem;min-width:0;padding:0 .06rem .02rem}.part-button-copy .library-drag-overlay-badge{flex:none}.part-button-copy .library-drag-overlay-label{flex:1 1 auto}@keyframes preview-loader-stack-rise{0%,18%{opacity:.18;transform:translateY(.42rem) scale(.88)}38%,78%{opacity:1;transform:translateY(0) scale(1)}to{opacity:.3;transform:translateY(-.12rem) scale(.96)}}.library-drag-overlay{position:fixed;left:0;top:0;z-index:90;display:inline-flex;align-items:center;gap:.45rem;min-height:2rem;max-width:min(18rem,calc(100vw - 1.5rem));padding:.34rem .56rem;border:1px solid rgba(61,81,106,.14);border-radius:.42rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));color:var(--ink-0);box-shadow:var(--shadow-strong);pointer-events:none}.library-drag-overlay[hidden]{display:none}.library-drag-overlay-badge{display:inline-flex;align-items:center;min-height:1.2rem;padding:.08rem .34rem;border-radius:999px;background:#4c8fcb1f;color:var(--tech-accent);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.library-drag-overlay-label{min-width:0;overflow:hidden;font-size:.82rem;font-weight:600;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.panel-resizer-horizontal{inset:0 auto auto 0;width:100%;min-width:0;height:var(--shell-gap);min-height:var(--shell-gap);cursor:ns-resize}.workspace-head-copy strong,.metric-pill strong,.workflow-card strong,.workspace-statusbar strong{display:block}.part-tooltip{position:fixed;top:0;left:0;z-index:40;width:13.5rem;padding:.62rem;border:1px solid rgba(61,81,106,.12);border-radius:.42rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));box-shadow:var(--shadow-strong);pointer-events:none;opacity:0;visibility:hidden;will-change:transform,opacity}.part-tooltip.is-visible{opacity:1;visibility:visible}.part-tooltip-preview-frame{display:block;aspect-ratio:4 / 3;padding:.5rem;border:1px solid rgba(61,81,106,.1);border-radius:.32rem;overflow:hidden;background:linear-gradient(180deg,#f4f4f4,#e6e6e6)}.part-tooltip-copy{display:grid;gap:.14rem;margin-top:.5rem}.part-tooltip-copy strong{font-size:.84rem;line-height:1.25}.part-tooltip-copy span{font-size:.72rem;color:var(--ink-2)}.workspace{height:calc(var(--app-height) - var(--header-height) - var(--header-gap) - var(--frame-padding) * 2);min-height:0;display:grid;grid-template-rows:auto 1fr auto}.workspace-head{display:flex;align-items:start;justify-content:space-between;gap:.75rem;padding:.8rem .85rem .65rem}.workspace-head-copy{display:grid;gap:.18rem}.workspace-head-copy strong{font-size:1rem;line-height:1.2}.workspace-head-metrics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.36rem}.metric-pill{display:grid;gap:.08rem;min-width:6.5rem;padding:.42rem .54rem;border:1px solid rgba(61,81,106,.12);border-radius:.32rem;background:#00000008}.metric-pill span{font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}.metric-pill strong{font-size:.8rem;line-height:1.2}.workspace-body{min-height:0;display:grid;grid-template-columns:auto 1fr;gap:.55rem;padding:0 .55rem .55rem}.tool-rail{display:grid;grid-auto-rows:max-content;gap:.35rem;padding-top:.08rem}.tool-button{appearance:none;width:2.55rem;height:2.55rem;padding:0;border:1px solid rgba(61,81,106,.14);border-radius:.45rem;background:#00000005;box-shadow:none;color:var(--ink-1);display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.tool-button svg{width:1.05rem;height:1.05rem;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.tool-button:focus-visible{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.viewport-frame{min-height:0;display:grid;grid-template-rows:auto 1fr;gap:.45rem}.viewport-chrome{display:flex;align-items:center;justify-content:space-between;gap:.55rem}.badge,.hud-chip{display:inline-flex;align-items:center;min-height:1.65rem;padding:.22rem .56rem;border:1px solid var(--surface-line);border-radius:.28rem;background:#00000008;color:var(--ink-2);font-size:.68rem;font-weight:700}.badge{color:var(--tech-accent)}.hud-chip-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.32rem}.viewport{position:relative;min-height:34rem;overflow:hidden;border:1px solid rgba(0,0,0,.14);border-radius:.42rem;background:linear-gradient(180deg,#f0f0f0,#dbdbdb);box-shadow:inset 0 1px #ffffff8c}.viewport-selection-marquee{position:absolute;z-index:12;border:1px solid rgba(76,143,203,.7);background:#4c8fcb24;pointer-events:none}:root[data-theme=dark] .panel,:root[data-theme=dark] .workspace,:root[data-theme=dark] .side-card,:root[data-theme=dark] .app-header{background:linear-gradient(180deg,var(--surface-0),var(--surface-1))}:root[data-theme=dark] .panel-resizer:focus-visible{box-shadow:inset 0 0 0 1px #93cbff38}:root[data-theme=dark] .metric-pill,:root[data-theme=dark] .badge,:root[data-theme=dark] .hud-chip,:root[data-theme=dark] .workspace-statusbar{background:#ffffff08}:root[data-theme=dark] .color-button,:root[data-theme=dark] .part-button,:root[data-theme=dark] .project-tree-toggle,:root[data-theme=dark] .project-dialog-panel,:root[data-theme=dark] .project-list-action,:root[data-theme=dark] .project-dialog-button,:root[data-theme=dark] .project-dialog-close,:root[data-theme=dark] .project-name-input,:root[data-theme=dark] .form-select-trigger,:root[data-theme=dark] .group-library-sort-trigger,:root[data-theme=dark] .part-library-sort-trigger,:root[data-theme=dark] .project-list-item{border-color:#ffffff14;background:#ffffff05;color:var(--ink-0)}:root[data-theme=dark] .color-button.is-active:after{border-color:#313131fa;box-shadow:0 0 0 1px #93cbff8f}:root[data-theme=dark] .tool-button{border-color:#ffffff1a;background:#ffffff08;color:var(--ink-1)}:root[data-theme=dark] .tool-button:hover:not(.is-active){border-color:#93cbff42;background:#93cbff1a;box-shadow:inset 0 0 0 1px #93cbff14;color:var(--ink-0)}:root[data-theme=dark] .tool-button.is-active{border-color:#93cbff85;background:linear-gradient(180deg,#93cbff38,#4c8fcb2e);box-shadow:0 0 0 1px #93cbff24,0 6px 16px #0000002e,inset 0 0 0 1px #93cbff1f;color:var(--ink-0)}:root[data-theme=dark] .tool-button.is-active:hover{border-color:#93cbff8f;background:linear-gradient(180deg,#93cbff42,#4c8fcb33);box-shadow:0 0 0 1px #93cbff29,0 8px 18px #0003,inset 0 0 0 1px #93cbff24}:root[data-theme=dark] .header-menu-panel,:root[data-theme=dark] .selection-context-menu{border-color:#ffffff14;background:linear-gradient(180deg,#313131,#2a2a2a);color:var(--ink-0)}:root[data-theme=dark] .app-header-sync-status{border-color:#ffffff14;background:#ffffff08;color:var(--ink-1)}:root[data-theme=dark] .app-header-sync-status[data-state=online-synced]{color:var(--ink-2);background:#ffffff05}:root[data-theme=dark] .app-header-sync-status[data-state=connecting]{background:#4c8fcb1f;color:var(--ink-0)}:root[data-theme=dark] .app-header-sync-status[data-state=offline-allowed]{background:#ca922824;color:#e5c57a}:root[data-theme=dark] .app-header-sync-status[data-state=offline-expiring]{background:#b94a4a29;color:#f1b2b2}:root[data-theme=dark] .app-header-sync-status[data-state=sync-conflict],:root[data-theme=dark] .app-header-sync-status[data-state=offline-blocked-awaiting-server]{background:#a13a3a2e;color:#f1b2b2}:root[data-theme=dark] .app-header-sync-status[data-state=sync-conflict][data-interactive=true]{border-color:#f1b2b229;background:#a13a3a3d}:root[data-theme=dark] .app-header-sync-status[data-state=sync-conflict][data-interactive=true]:hover,:root[data-theme=dark] .app-header-sync-status[data-state=sync-conflict][data-interactive=true]:focus-visible{border-color:#f1b2b266;background:#a13a3a57;box-shadow:0 0 0 1px #f1b2b21f,0 0 1.9rem #a13a3a6b}:root[data-theme=dark] .persistence-conflict-stand-badge{background:#a13a3a38;color:#f1b2b2}:root[data-theme=dark] .persistence-conflict-group-item-preview{border-color:#ffffff14;background:radial-gradient(circle at top,rgba(255,255,255,.08),transparent 58%),linear-gradient(180deg,#ffffff0a,#0000001f)}:root[data-theme=dark] .library-drag-overlay{border-color:#ffffff14;background:linear-gradient(180deg,#313131,#2a2a2a)}:root[data-theme=dark] .history-button{border-color:transparent;background:transparent;box-shadow:none;color:var(--ink-1)}:root[data-theme=dark] .history-step{background:#ffffff0d;color:var(--ink-2)}:root[data-theme=dark] .history-button:hover,:root[data-theme=dark] .history-button:focus-visible{border-color:transparent;background:#ffffff0d;box-shadow:none;color:var(--ink-0)}:root[data-theme=dark] .history-button.is-future{opacity:.42}:root[data-theme=dark] .history-button.is-future:hover,:root[data-theme=dark] .history-button.is-future:focus-visible{opacity:.68}:root[data-theme=dark] .history-button.is-current{border-color:#4c8fcb47;background:#4c8fcb2e;box-shadow:0 0 0 1px #4c8fcb14,inset 0 0 0 1px #4c8fcb0f;color:var(--ink-0)}:root[data-theme=dark] .history-button.is-current .history-step{background:#4c8fcb47;color:#dbeeff}:root[data-theme=dark] .header-menu-divider,:root[data-theme=dark] .selection-context-menu-divider{background:#ffffff14}:root[data-theme=dark] .project-tree-entry,:root[data-theme=dark] .project-tree-summary{border-color:transparent;background:transparent;color:var(--ink-0)}:root[data-theme=dark] .project-tree-children{border-left-color:#ffffff14}:root[data-theme=dark] .project-tree-entry:hover,:root[data-theme=dark] .project-tree-entry:focus-visible,:root[data-theme=dark] .project-tree-entry:focus-within{border-color:#4c8fcb3d;background:#4c8fcb1f;box-shadow:inset 0 0 0 1px #4c8fcb14}:root[data-theme=dark] .project-tree-entry.is-selected{border-color:#4c8fcb66;background:#4c8fcb33;box-shadow:0 0 0 1px #4c8fcb1a,inset 0 0 0 1px #4c8fcb14;color:var(--ink-0)}:root[data-theme=dark] .project-tree-entry:hover .project-tree-count.is-hover-detail,:root[data-theme=dark] .project-tree-entry:focus-within .project-tree-count.is-hover-detail,:root[data-theme=dark] .project-tree-entry.is-selected .project-tree-count,:root[data-theme=dark] .project-tree-entry.is-selected .project-tree-meta{color:var(--ink-0)}:root[data-theme=dark] .project-tree-entry-action:hover,:root[data-theme=dark] .project-tree-entry-action:focus-visible{color:#dbeeff}:root[data-theme=dark] .project-tree-entry-action.is-rename{color:#93cbff}:root[data-theme=dark] .project-tree-entry-action.is-confirm{color:#93cbff}:root[data-theme=dark] .project-tree-entry-action.is-danger:hover,:root[data-theme=dark] .project-tree-entry-action.is-danger:focus-visible{color:#f2b7b7}:root[data-theme=dark] .project-tree-entry-action.is-cancel:hover,:root[data-theme=dark] .project-tree-entry-action.is-cancel:focus-visible{color:#dbeeff}:root[data-theme=dark] .project-tree-entry-action.is-danger{color:#df8a8a}:root[data-theme=dark] .project-tree-entry-action.is-rename:focus-visible{box-shadow:0 0 0 2px #93cbff38}:root[data-theme=dark] .project-tree-entry-action.is-confirm:focus-visible{box-shadow:0 0 0 2px #93cbff38}:root[data-theme=dark] .project-tree-entry-action.is-cancel:focus-visible{box-shadow:0 0 0 2px #dbeeff29}:root[data-theme=dark] .project-tree-entry-action.is-danger:focus-visible{box-shadow:0 0 0 2px #f2b7b733}:root[data-theme=dark] .project-tree-inline-name-input{background:transparent;color:var(--ink-0)}:root[data-theme=dark] .project-tree-toggle:hover,:root[data-theme=dark] .project-tree-toggle:focus-visible{background:#4c8fcb33;box-shadow:inset 0 0 0 1px #4c8fcb42;color:#dbeeff}:root[data-theme=dark] .color-button:hover,:root[data-theme=dark] .project-list-action:hover,:root[data-theme=dark] .project-dialog-button:hover,:root[data-theme=dark] .project-dialog-close:hover,:root[data-theme=dark] .project-list-item:hover,:root[data-theme=dark] .form-select-trigger:hover,:root[data-theme=dark] .form-select-menu[data-open=true] .form-select-trigger,:root[data-theme=dark] .group-library-sort-trigger:hover,:root[data-theme=dark] .group-library-sort-menu[data-open=true] .group-library-sort-trigger,:root[data-theme=dark] .part-library-sort-trigger:hover,:root[data-theme=dark] .part-library-sort-menu[data-open=true] .part-library-sort-trigger,:root[data-theme=dark] .header-menu-item:hover,:root[data-theme=dark] .selection-context-menu-item:hover{background:#ffffff0a;box-shadow:none}:root[data-theme=dark] .header-menu-trigger{color:#dbeeffd1}:root[data-theme=dark] .header-menu-trigger:hover,:root[data-theme=dark] .header-menu-trigger:focus-visible,:root[data-theme=dark] .header-menu[data-open=true] .header-menu-trigger{color:#93cbff;background:transparent}:root[data-theme=dark] .account-menu-trigger{border-color:#93cbff2e;background:#93cbff12;color:#dbeeffe6}:root[data-theme=dark] .account-menu-trigger:hover,:root[data-theme=dark] .account-menu-trigger:focus-visible,:root[data-theme=dark] .header-menu[data-open=true] .account-menu-trigger{border-color:#93cbff57;background:#93cbff24;box-shadow:0 0 0 2px #93cbff1a;color:#eef7ff}:root[data-theme=dark] .app-header-title-divider{background:#93cbff33}:root[data-theme=dark] .selection-context-menu-item.is-danger{color:#d77b7b}:root[data-theme=dark] .project-dialog-backdrop{background:#0000007a}:root[data-theme=dark] .project-overwrite-dialog-backdrop{background:#0000009e}:root[data-theme=dark] .project-rename-dialog-backdrop{background:#0000009e}:root[data-theme=dark] .project-delete-dialog-backdrop{background:#0000009e}:root[data-theme=dark] .project-list-item.is-selected,:root[data-theme=dark] .project-dialog-button.is-primary{background:#4c8fcb2e}:root[data-theme=dark] .account-auth-error{color:#f2a3a3}:root[data-theme=dark] .project-list-row-action{border-color:#ffffff14;background:#ffffff05;color:var(--ink-0)}:root[data-theme=dark] .group-library-entry{border-color:#ffffff14;background:#ffffff05}:root[data-theme=dark] .group-library-entry-preview-frame{border-color:#ffffff14;background:linear-gradient(180deg,#2a2a2a,#212121)}:root[data-theme=dark] .project-list-row-action:hover{background:#ffffff0a}:root[data-theme=dark] .project-list-action.is-danger,:root[data-theme=dark] .project-dialog-button.is-danger,:root[data-theme=dark] .project-list-row-action.is-danger{background:#b8414129}:root[data-theme=dark] .project-list-action.is-danger:hover,:root[data-theme=dark] .project-dialog-button.is-danger:hover,:root[data-theme=dark] .project-list-row-action.is-danger:hover{background:#b8414138}:root[data-theme=dark] .project-name-input[readonly]{background:#ffffff0a}:root[data-theme=dark] .part-preview-frame,:root[data-theme=dark] .part-tooltip-preview-frame{border-color:#ffffff14;background:linear-gradient(180deg,#2b2b2b,#1f1f1f)}:root[data-theme=dark] .viewport{border-color:#ffffff14;background:linear-gradient(180deg,#2b2b2b,#1f1f1f);box-shadow:inset 0 1px #ffffff0a}:root[data-theme=dark] .viewport-selection-marquee{border-color:#5a93c2c2;background:#5a93c229}.viewport canvas{display:block;width:100%;height:100%}.workspace-statusbar{display:flex;align-items:flex-start;gap:.65rem;min-height:3.2rem;padding:.7rem .85rem .78rem;border-top:1px solid rgba(61,81,106,.1);background:#00000005}.statusbar-label{flex:none}.statusbar-copy{min-width:0;display:grid;gap:.14rem}.workspace-statusbar strong{font-size:.88rem;line-height:1.45}.statusbar-detail{font-size:.76rem;line-height:1.35;color:var(--ink-2)}.statusbar-detail[data-state=online-synced]{color:#1f6d3b}.statusbar-detail[data-state=offline-expiring]{color:#9a6613}.statusbar-detail[data-state=offline-blocked-awaiting-server],.statusbar-detail[data-state=sync-conflict]{color:#9f3131}.offline-lock-overlay{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:1.25rem;background:#0a121c75;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.offline-lock-overlay[hidden]{display:none}.offline-lock-card{width:min(28rem,100%);display:grid;gap:.85rem;padding:1.1rem;border:1px solid var(--surface-line);border-radius:.75rem;background:linear-gradient(180deg,var(--surface-0),var(--surface-1));box-shadow:var(--shadow-strong)}.offline-lock-card h2{margin:0;font-size:1.05rem}.offline-lock-card p{margin:0;color:var(--ink-1);line-height:1.5}.button-secondary{appearance:none;min-height:2.6rem;justify-self:start;padding:.6rem 1rem;border:1px solid var(--surface-line);border-radius:999px;background:#4c8fcb1f;color:var(--ink-0);cursor:pointer;font:inherit}.button-secondary:hover{background:#4c8fcb2e}.side-rail{position:relative;height:calc(var(--app-height) - var(--header-height) - var(--header-gap) - var(--frame-padding) * 2);min-height:0;display:grid;grid-template-rows:var(--side-rail-tree-track-size, minmax(0, var(--side-rail-tree-height))) var(--side-rail-history-track-size, minmax(0, 1fr));gap:var(--shell-gap);align-content:start}.side-card{display:grid;align-content:start;gap:.62rem;padding:.82rem}.workflow-card{border-color:var(--surface-line);box-shadow:inset 2px 0 #4c8fcb85,var(--shadow-soft);color:var(--ink-0)}.library-workflow-card{min-height:0}.workflow-card strong{font-size:.94rem;line-height:1.45}.workflow-card p{margin:0;color:var(--ink-2);font-size:.82rem;line-height:1.45}.debug-card{align-content:start}.debug-active-status{justify-self:start;max-width:100%}.debug-sync-section,.debug-asset-section,.debug-memory-section,.debug-conflict-section,.debug-preview-section{display:grid;gap:.56rem}.debug-asset-section,.debug-memory-section,.debug-conflict-section,.debug-preview-section{padding-top:.42rem;border-top:1px solid var(--surface-line)}.debug-sync-header,.debug-asset-header,.debug-memory-header,.debug-conflict-header,.debug-preview-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.46rem;align-items:center}.debug-sync-toggle,.debug-asset-toggle,.debug-memory-toggle,.debug-conflict-toggle,.debug-preview-toggle{width:1.12rem;height:1.12rem;appearance:none;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin-top:.02rem;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink-2);cursor:pointer;transition:background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.debug-sync-toggle:hover,.debug-sync-toggle:focus-visible,.debug-asset-toggle:hover,.debug-asset-toggle:focus-visible,.debug-memory-toggle:hover,.debug-memory-toggle:focus-visible,.debug-conflict-toggle:hover,.debug-conflict-toggle:focus-visible,.debug-preview-toggle:hover,.debug-preview-toggle:focus-visible{background:#4c8fcb1a;box-shadow:inset 0 0 0 1px #4c8fcb24;color:var(--ink-0)}.debug-sync-toggle svg,.debug-asset-toggle svg,.debug-memory-toggle svg,.debug-conflict-toggle svg,.debug-preview-toggle svg{width:.72rem;height:.72rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;fill:none;transition:transform .16s ease}.debug-sync-toggle[aria-expanded=true] svg,.debug-asset-toggle[aria-expanded=true] svg,.debug-memory-toggle[aria-expanded=true] svg,.debug-conflict-toggle[aria-expanded=true] svg,.debug-preview-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.debug-sync-label,.debug-asset-label,.debug-memory-label,.debug-conflict-label,.debug-preview-label{min-width:0;color:var(--ink-1);font-size:.76rem;font-weight:700;letter-spacing:.02em}.debug-sync-body,.debug-asset-body,.debug-memory-body,.debug-conflict-body,.debug-preview-body{display:grid;gap:.56rem}.debug-sync-body[hidden],.debug-asset-body[hidden],.debug-memory-body[hidden],.debug-conflict-body[hidden],.debug-preview-body[hidden]{display:none}.debug-facts{margin:0;display:grid;gap:.42rem}.debug-fact-row{display:grid;grid-template-columns:minmax(0,9.6rem) minmax(0,1fr);gap:.56rem;align-items:start}.debug-fact-row dt{color:var(--ink-2);font-size:.72rem;line-height:1.35;white-space:nowrap}.debug-fact-row dd{min-width:0;margin:0;color:var(--ink-0);font-size:.74rem;line-height:1.4;overflow-wrap:anywhere}.history-card{align-content:stretch;min-height:0;grid-template-rows:auto 1fr}.side-rail-section-resizer{width:100%}.side-rail[data-project-tree-collapsed=true]{--side-rail-tree-track-size: var(--side-rail-tree-collapsed-height, auto)}.side-rail[data-history-collapsed=true]{--side-rail-history-track-size: var(--side-rail-history-collapsed-height, auto)}.side-rail[data-history-collapsed=true][data-project-tree-collapsed=false]{--side-rail-tree-track-size: minmax(0, 1fr)}.project-tree-card{align-content:stretch;min-height:0;grid-template-rows:auto 1fr}.project-tree-card .panel-collapse-body{grid-template-rows:minmax(0,1fr) auto}.group-library-card{align-content:stretch;min-height:0;grid-template-rows:auto 1fr}.project-tree{--project-tree-toggle-size: 1.12rem;--project-tree-icon-size: 1rem;--project-tree-entry-inline-padding: .32rem;min-height:0;overflow:auto;padding-right:.06rem}.group-library{min-height:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-content:start;gap:.56rem;overflow:auto;padding-right:.06rem}.group-library-empty,.part-library-empty{margin:0;padding:.2rem 0;color:var(--ink-2);font-size:.8rem;line-height:1.45}.group-library-row{width:100%;max-width:400px;position:relative}.group-library-entry{position:relative;display:block;width:100%;border:1px solid rgba(61,81,106,.12);border-radius:.42rem;background:#00000005;justify-self:start;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.group-library-entry-main{appearance:none;display:grid;width:100%;gap:.48rem;padding:.46rem;border:0;background:transparent;color:var(--ink-0);font:inherit;text-align:left;cursor:pointer}.group-library-entry-main:focus-visible{outline:none}.group-library-entry:focus-within{outline:none;border-color:var(--interactive-focus-border);box-shadow:var(--interactive-focus-shadow)}.group-library-entry.is-drag-source{border-color:#4c8fcb75;background:#4c8fcb1f;box-shadow:inset 0 0 0 1px #4c8fcb14,0 0 0 1px #4c8fcb1f;opacity:.78}.group-library-entry-preview-frame{position:relative;display:block;aspect-ratio:4 / 3;border:1px solid rgba(0,0,0,.16);border-radius:.34rem;overflow:hidden;background:linear-gradient(180deg,#f4f4f4,#e6e6e6)}.group-library-entry-preview{display:block;width:100%;height:100%}.group-library-entry-preview canvas{display:block;width:100%;height:100%}.group-library-entry-copy{display:grid;gap:.14rem}.group-library-entry-title{min-width:0;overflow:hidden;color:var(--ink-0);font-size:.82rem;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.group-library-entry-meta{min-width:0;overflow:hidden;color:var(--ink-2);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.66rem;line-height:1.45;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}.group-library-entry-actions{position:absolute;top:.8rem;right:.8rem;z-index:2;display:inline-flex;gap:.26rem;align-items:center;transition:opacity .16s ease,transform .16s ease}.group-library-entry-action{width:1.74rem;min-width:1.74rem;height:1.74rem;border-radius:.3rem;border-color:#ffffff47;background:#ffffffc7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@media(hover:hover){.group-library-entry-actions{opacity:0;pointer-events:none;transform:translateY(-.12rem)}.group-library-row:hover .group-library-entry-actions,.group-library-row:focus-within .group-library-entry-actions{opacity:1;pointer-events:auto;transform:translateY(0)}}.group-library-entry-action svg{width:.86rem;height:.86rem}.project-tree-node{display:grid;gap:.14rem}.project-tree-row{--tree-depth: 0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.28rem;align-items:start;padding-left:calc(var(--tree-depth) * .56rem)}.project-tree-row.is-summary-root{grid-template-columns:minmax(0,1fr)}.project-tree-toggle,.project-tree-toggle-spacer{width:var(--project-tree-toggle-size);height:var(--project-tree-toggle-size);flex:none}.project-tree-toggle{appearance:none;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin-top:.06rem;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink-2);cursor:pointer;transition:background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.project-tree-toggle:hover,.project-tree-toggle:focus-visible{background:#4c8fcb1a;box-shadow:inset 0 0 0 1px #4c8fcb24;color:var(--ink-0)}.project-tree-toggle svg{width:.72rem;height:.72rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;fill:none;transition:transform .16s ease}.project-tree-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.project-tree-summary,.project-tree-entry{width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.4rem;align-items:center;padding:.24rem var(--project-tree-entry-inline-padding);border:0;border-radius:.34rem;background:transparent}.project-tree-summary.is-root{grid-template-columns:auto minmax(0,1fr) auto}.project-tree-entry{--project-tree-entry-action-space: 1.9rem;width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.4rem;align-items:center;position:relative;padding:.24rem calc(var(--project-tree-entry-inline-padding) + var(--project-tree-entry-action-space)) .24rem var(--project-tree-entry-inline-padding);appearance:none;border:1px solid transparent;border-radius:.34rem;background:transparent;color:var(--ink-0);text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,padding-right .16s ease}.project-tree-entry.is-model,.project-tree-entry.is-group{--project-tree-entry-action-space: 7.1rem}.project-tree-entry.is-editing{--project-tree-entry-action-space: 2.35rem}.project-tree-icon{width:var(--project-tree-icon-size);height:var(--project-tree-icon-size);display:inline-flex;align-items:center;justify-content:center;color:var(--ink-2)}.project-tree-icon.is-root{color:var(--tech-accent)}.project-tree-icon.is-model{color:var(--model-icon-color)}.project-tree-icon svg{width:100%;height:100%;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;fill:none}.project-tree-copy{min-width:0;display:grid;gap:.04rem}.project-tree-copy.is-inline{display:flex;align-items:center;gap:.34rem}.project-tree-copy.is-inline.is-root{gap:.28rem}.project-tree-copy.is-inline.is-editing{display:block}.project-tree-copy.is-inline .project-tree-title{flex:1 1 auto}.project-tree-copy.is-inline.is-root .project-tree-title,.project-tree-copy.is-inline .project-tree-meta{flex:none}.project-tree-title{min-width:0;overflow:hidden;color:var(--ink-0);font-size:.8rem;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.project-tree-meta{min-width:0;overflow:hidden;color:var(--ink-2);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.66rem;line-height:1.4;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}.project-tree-entry.is-model .project-tree-title{font-size:.82rem}.project-tree-entry.is-editing{cursor:text}.project-tree-inline-name-input{width:100%;min-width:0;display:block;appearance:none;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:transparent;caret-color:var(--tech-accent);color:var(--ink-0);font:inherit;font-size:.8rem;font-weight:600;line-height:1.35}.project-tree-inline-name-input:focus-visible{outline:none}.project-tree-count{justify-self:end;color:var(--ink-2);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.66rem;line-height:1.4;letter-spacing:.04em;text-align:right;white-space:nowrap}.project-tree-count.is-pair{display:inline-flex;align-items:center;gap:.34rem}.project-tree-entry-actions{position:absolute;top:50%;right:var(--project-tree-entry-inline-padding);min-width:0;display:inline-flex;align-items:center;gap:.08rem;transform:translateY(-50%)}.project-tree-entry-action-cluster{display:inline-flex;align-items:center;gap:0}.project-tree-entry-action{--project-tree-entry-action-width: 1.12rem;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:var(--project-tree-entry-action-width);min-width:var(--project-tree-entry-action-width);height:1.52rem;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink-2);cursor:pointer;transition:width .16s ease,min-width .16s ease,opacity .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.project-tree-entry-action.is-rename,.project-tree-entry-action.is-confirm{color:var(--tech-accent)}.project-tree-entry-action.is-cancel{color:var(--ink-2)}.project-tree-entry-action.is-danger{color:#b84141}.project-tree-entry-action:hover{transform:scale(1.04)}.project-tree-entry-action.is-rename:hover,.project-tree-entry-action.is-confirm:hover,.project-tree-entry-action.is-rename:focus-visible{color:#2f74b1}.project-tree-entry-action.is-confirm:focus-visible{color:#2f74b1}.project-tree-entry-action.is-cancel:hover,.project-tree-entry-action.is-cancel:focus-visible{color:var(--ink-0)}.project-tree-entry-action.is-danger:hover,.project-tree-entry-action.is-danger:focus-visible{color:#a13a3a}.project-tree-entry-action:focus-visible{outline:none}.project-tree-entry-action.is-rename:focus-visible{box-shadow:0 0 0 2px #4c8fcb2e}.project-tree-entry-action.is-confirm:focus-visible{box-shadow:0 0 0 2px #4c8fcb2e}.project-tree-entry-action.is-cancel:focus-visible{box-shadow:0 0 0 2px #81909e2e}.project-tree-entry-action.is-danger:focus-visible{box-shadow:0 0 0 2px #a13a3a2e}.project-tree-entry-action[disabled]{cursor:default;opacity:.38;box-shadow:none}.project-tree-entry-action svg{width:.8rem;height:.8rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;fill:none}.project-tree-count.is-hover-detail{max-width:0;overflow:hidden;opacity:0;transform:translate(-.16rem);transition:max-width .16s ease,opacity .16s ease,transform .16s ease}.project-tree-entry.is-group:hover .project-tree-count.is-hover-detail,.project-tree-entry.is-group:focus-within .project-tree-count.is-hover-detail,.project-tree-entry.is-model:hover .project-tree-count.is-hover-detail,.project-tree-entry.is-model:focus-within .project-tree-count.is-hover-detail{max-width:4.9rem;opacity:1;transform:translate(0)}@media(hover:hover){.project-tree-entry.is-model,.project-tree-entry.is-group{--project-tree-entry-action-space: .46rem}.project-tree-entry.is-model:hover,.project-tree-entry.is-model:focus-within,.project-tree-entry.is-group:hover,.project-tree-entry.is-group:focus-within{--project-tree-entry-action-space: 5.8rem}.project-tree-entry-action{width:0;min-width:0;opacity:0;pointer-events:none;transform:translate(-.14rem)}.project-tree-entry:hover .project-tree-entry-action,.project-tree-entry:focus-within .project-tree-entry-action{width:var(--project-tree-entry-action-width);min-width:var(--project-tree-entry-action-width);opacity:1;pointer-events:auto;transform:translate(0)}}.project-tree-children{display:grid;gap:.14rem;margin-left:.44rem;padding-left:.68rem;border-left:1px solid rgba(61,81,106,.12)}.project-tree-children.is-root{border-left:0;margin-left:calc(var(--project-tree-entry-inline-padding) - (var(--project-tree-toggle-size) - var(--project-tree-icon-size)) / 2);padding-left:0}.project-tree-children[hidden]{display:none}.history-list{min-height:0;display:grid;align-content:start;gap:.18rem;overflow:auto;padding-right:.06rem}.history-button{appearance:none;width:100%;display:grid;grid-template-columns:auto 1fr;gap:.46rem;align-items:center;padding:.28rem .34rem;border:1px solid transparent;border-radius:.34rem;background:transparent;color:var(--ink-0);text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,opacity .16s ease}.history-button.is-future{opacity:.5}.history-button.is-future:hover,.history-button.is-future:focus-visible{opacity:.74}.history-step{width:1.3rem;height:1.3rem;display:grid;place-items:center;border-radius:.28rem;background:#4c8fcb1f;color:var(--tech-accent);font-family:IBM Plex Mono,Cascadia Code,monospace;font-size:.62rem;font-weight:700}.history-button.is-current .history-step{background:#4c8fcb33;color:var(--tech-accent)}.part-button:hover:not(.is-drag-source),.history-button:hover,.history-button:focus-visible,.project-tree-entry:hover,.project-tree-entry:focus-visible,.project-tree-entry:focus-within,.group-library-entry:hover:not(.is-drag-source){outline:none;border-color:var(--interactive-hover-border);background:var(--interactive-hover-bg)}.tool-button:hover:not(.is-active){border-color:#4c8fcb38;background:#4c8fcb0f;box-shadow:inset 0 0 0 1px #4c8fcb0d;color:var(--ink-0)}.part-button.is-active:not(.is-drag-source),.tool-button.is-active,.history-button.is-current,.project-tree-entry.is-selected,.group-library-entry.is-active:not(.is-drag-source){border-color:var(--component-active-border);background:var(--interactive-active-bg);color:var(--ink-0);box-shadow:var(--interactive-active-shadow)}.tool-button.is-active{border-color:var(--action-button-active-border);background:var(--action-button-active-bg);box-shadow:var(--action-button-active-shadow);color:var(--ink-0)}.tool-button.is-active:hover{border-color:var(--action-button-active-border);background:var(--action-button-active-bg);box-shadow:var(--action-button-active-shadow)}.history-copy{min-width:0;overflow:hidden;font-size:.8rem;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.app-shell{grid-template-columns:minmax(17rem,var(--library-width)) minmax(0,1fr)}.side-rail-resizer,.side-rail-section-resizer{display:none}.panel{height:calc(var(--app-height) - var(--header-height) - var(--header-gap) - var(--frame-padding) * 2)}.side-rail{grid-column:1 / -1;height:auto;grid-template-columns:1fr 1fr;grid-template-rows:none}}@media(max-width:920px){:root{--header-height: auto}.app-shell{grid-template-columns:1fr;grid-template-rows:none}.panel-resizer,.library-section-resizer{display:none}.workspace,.side-rail,.panel{height:auto}.library-panel-stack{height:auto;grid-template-rows:none}.part-list{overflow:visible;padding-right:0}.app-header{grid-template-columns:1fr;align-items:stretch}.app-header-copy{flex-direction:column;align-items:stretch;justify-self:stretch}.app-header-project-name{justify-self:stretch;width:100%;text-align:left}.app-header-actions{justify-self:stretch;justify-content:flex-start;flex-wrap:wrap}.project-dialog-layout{grid-template-columns:1fr}.project-list{min-height:10rem}.workspace-body{grid-template-columns:1fr}.tool-rail{grid-auto-flow:column;justify-content:start;padding-top:0}.viewport{min-height:24rem}}@media(max-width:640px){:root{--frame-padding: .8rem;--shell-gap: .8rem}.panel,.side-card{padding:.8rem}.app-header{padding:.72rem .9rem}.app-header-title-row{flex-direction:column;align-items:flex-start;gap:.45rem}.app-header-sync-status{max-width:100%}.app-header-project-name,.app-header-actions{width:100%}.project-dialog-backdrop{padding:.7rem}.project-dialog{max-height:calc(100vh - 1.4rem);padding:.82rem}.project-dialog-actions{flex-direction:column-reverse}.project-dialog-button{width:100%}.theme-toggle{margin-left:auto}.workspace-head{flex-direction:column;padding:.75rem .75rem .6rem}.workspace-head-metrics{width:100%;justify-content:stretch}.metric-pill{min-width:0;flex:1 1 9rem}.workspace-body{padding:0 .5rem .5rem}.side-rail{display:grid;gap:.5rem}}@media(max-width:440px){.workspace-statusbar{flex-direction:column;align-items:flex-start;gap:.45rem}}.realtime-notification-stack{position:fixed;right:1rem;bottom:1rem;z-index:1200;display:grid;gap:.65rem;width:min(24rem,calc(100vw - 2rem));pointer-events:none}.realtime-notification{padding:.8rem .9rem;border:1px solid rgba(61,96,131,.22);border-radius:.9rem;background:linear-gradient(180deg,#fffffff5,#f0f6fbf0);box-shadow:0 18px 36px #11273c2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.realtime-notification-head{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-bottom:.35rem}.realtime-notification-head strong{font-size:.92rem}.realtime-notification-head span{color:#3f5468d6;font-size:.74rem}.realtime-notification p{margin:0;color:#1a2a3af2;line-height:1.4;font-size:.87rem}:root[data-theme=dark] .realtime-notification{border-color:#7ba7d62e;background:linear-gradient(180deg,#212b36f5,#171f28f0);box-shadow:0 18px 36px #03080e59}:root[data-theme=dark] .realtime-notification-head span,:root[data-theme=dark] .realtime-notification p{color:#e2ebf4e0}@media(max-width:700px){.realtime-notification-stack{right:.75rem;bottom:.75rem;width:min(22rem,calc(100vw - 1.5rem))}}
