/* Local workspace fixes follow the shared theme; keep component selectors scoped. */
.nm-brand-icon{width:32px;height:32px;flex:none;object-fit:contain}.brand .nm-brand-icon{width:30px;height:30px}.reference-sidebar .brand{font-style:normal;font-weight:750;letter-spacing:.5px;gap:9px}.login-brand .nm-brand-icon{width:38px;height:38px}
.nm-members-heading{margin-bottom:18px;gap:16px;flex-wrap:wrap}.nm-members-heading h3{margin:0 0 5px}.nm-members-heading p{margin:0}.nm-member-actions{gap:8px;flex-wrap:wrap}.nm-member-note{line-height:1.9;margin:15px 0}.nm-deleted-members{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.nm-deleted-members summary{cursor:pointer;color:var(--muted);font-size:12px;margin-bottom:12px}.nm-deleted-members .member-name small{display:block;font-size:10px}.nm-deleted-members>p{margin:10px 0}.nm-member-actions .danger{color:var(--danger)}
.lt-workspace-head{height:auto;min-height:116px;display:grid;grid-template-columns:1fr auto;align-content:center;gap:10px 8px;padding:14px 12px}.nm-canvas-brand{display:flex;align-items:center;gap:8px;font-size:17px;min-width:0}.nm-canvas-brand img{width:27px;height:27px}.lt-workspace-head>.nm-home-button{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 9px;white-space:nowrap;font-size:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);color:var(--text)}.nm-home-button .icon{width:14px;height:14px}.lt-workspace-head>div:last-child{grid-column:1/-1;min-width:0}.lt-workspace-head>div:last-child>button{max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.lt-script-workspace>.lt-script-heading{height:auto;min-height:88px;display:flex;flex-wrap:wrap;gap:10px 20px;padding:12px 24px;position:relative;border-bottom:1px solid var(--line)}
.lt-script-heading>nav{position:static;left:auto;transform:none;max-width:none;display:flex;gap:18px;flex:1;min-width:0;overflow:auto;align-items:center;margin:0}
.lt-script-heading>nav>button{min-width:190px;flex:1 0 190px;min-height:60px;gap:12px;padding:9px 12px;color:var(--muted);border:1px solid transparent;background:transparent}
.lt-script-heading>nav>button:not(:last-child):after{display:none}.lt-script-heading .lt-step-number{width:30px;height:30px;border:1px solid var(--line);color:var(--muted);background:var(--surface2);flex:0 0 30px}
.lt-script-heading nav button>.lt-step-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:auto;height:auto;min-width:0;border:0;border-radius:0;background:none;color:inherit;gap:3px;white-space:nowrap}
.lt-script-heading .lt-step-copy strong{font-size:14px;font-weight:650;line-height:1.5}.lt-script-heading nav small{margin:0;color:var(--muted);font-size:12px;line-height:1.5;white-space:nowrap}.lt-script-heading>nav>button.active{background:var(--hover);border-color:var(--line);color:var(--text)}.lt-script-heading nav .active .lt-step-copy{background:none;color:var(--text)}.lt-script-heading nav .active .lt-step-number{color:var(--surface);background:var(--accent);border-color:var(--accent)}.lt-script-heading nav .is-complete:not(.active) .lt-step-number{color:var(--cyan,#6dd7d7);border-color:currentColor}
.lt-script-completion{color:var(--muted);font-size:12px}.lt-script-navigation{display:flex;gap:8px;flex:none}.lt-script-navigation button{border:1px solid var(--line);border-radius:8px;padding:8px 12px;color:var(--text);font-size:12px;white-space:nowrap;background:var(--surface2)}
.lt-script-table table{font-size:13px;min-width:1350px}.lt-script-table th{position:sticky;top:0;z-index:2;color:var(--text);background:var(--surface2);font-weight:600}.lt-script-table .lt-script-cell{font-size:13px!important;line-height:1.8;color:var(--text);padding:14px 10px}.lt-script-table .lt-cell-placeholder,.lt-script-table .lt-cell-plus{font-size:12px;color:var(--muted)}.lt-script-table .lt-script-cell:disabled{color:var(--muted)}
.lt-director-workspace .d3-heading .d3-caption{gap:12px;background:var(--surface);color:var(--text)}.d3-caption>button{gap:5px;white-space:nowrap}.d3-caption strong{font-size:13px;font-weight:600}
.d3-properties .d3-xyz{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.d3-properties .d3-xyz label{display:flex;align-items:center;gap:5px;min-width:0;margin:0;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface2);color:var(--muted);height:36px;font-size:11px;float:none;box-sizing:border-box}.d3-properties .d3-xyz label:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent)}
.d3-properties .d3-xyz input:not([type=range]){appearance:textfield;min-width:0;width:100%;height:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none;outline:none;color:var(--text);font-size:13px;line-height:1.4}.d3-xyz input::-webkit-inner-spin-button,.d3-xyz input::-webkit-outer-spin-button{appearance:none;margin:0}.d3-properties h4{font-size:12px;color:var(--muted);margin:22px 0 9px}.d3-properties h4 small{float:right;font-size:11px;font-weight:400}.d3-properties>div,.d3-property-body{min-height:0}.d3-properties .d3-xyz label:nth-child(1){border-top-color:#d7858b}.d3-properties .d3-xyz label:nth-child(2){border-top-color:#74bfa0}.d3-properties .d3-xyz label:nth-child(3){border-top-color:#779ce5}
.d3-viewport-buttons{left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);flex-wrap:wrap;justify-content:center;gap:9px}.d3-transform-tools{background:var(--surface);border-color:var(--line);box-shadow:0 4px 18px #0002}.d3-scene-prompt{display:flex;gap:10px;width:clamp(310px,36vw,530px);max-width:100%;padding:6px 8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px #0002}
.lt-director-workspace .d3-left,.lt-director-workspace .d3-tree,.lt-director-workspace .d3-rail{background:var(--surface);border-color:var(--line);color:var(--text)}.d3-tree>input,.d3-ratio-label select{background:var(--surface2);color:var(--text);border:1px solid var(--line);outline:none}.d3-tree>input:focus{border-color:var(--accent)}.d3-scene-add button,#d3-tree button:first-child{color:var(--text)}.d3-properties .nm-coordinate-heading{display:flex;align-items:center;gap:7px}.d3-properties .nm-coordinate-heading small{float:none;color:var(--muted);font-size:10px}.d3-properties .nm-coordinate-heading button{margin:0 0 0 auto;padding:2px 6px;font-size:10px;color:var(--muted);background:transparent;border:0}.d3-properties .nm-coordinate-heading button:hover{color:var(--accent);background:var(--hover)}
.lt-director-workspace .d3-scene-prompt>button{opacity:1;width:auto;height:34px;flex:none;display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:8px;background:var(--surface2);color:var(--text);font-size:11px;white-space:nowrap}.lt-director-workspace .d3-scene-prompt>button:last-child{color:var(--accent);border:1px solid var(--line)}.lt-director-workspace .d3-scene-prompt>input{height:34px;background:transparent;border:0;border-radius:0;color:var(--text);font-size:13px;padding:5px 2px;box-shadow:none;min-width:70px}.d3-scene-prompt input::placeholder{color:var(--muted);opacity:1}.d3-scene-prompt:focus-within{border-color:var(--accent)}
html[data-scene=guide] .help-orb,html[data-scene=guide] .fusion-panel,html[data-scene=guide] .fusion-orb-restore{display:none!important}html[data-scene=guide] .global-theme-toggle{z-index:500;top:15px;right:155px}
@media(max-width:1100px){.lt-script-heading>nav{flex-basis:100%;order:2}.lt-script-completion{margin-left:0;flex:1}.lt-script-heading>nav>button{min-width:180px}.d3-viewport-buttons{gap:6px}.d3-scene-prompt{width:340px}.d3-scene-prompt>button:first-child span{display:none}}
@media(max-width:650px){.lt-script-workspace>.lt-script-heading{padding:9px 12px}.lt-script-heading>nav>button{min-width:165px;flex-basis:165px}.lt-script-completion{display:block;font-size:11px}.lt-script-navigation button{padding:6px 8px}.d3-scene-prompt{display:flex;width:100%}.d3-scene-prompt>button span{display:none}.d3-viewport-buttons{width:calc(100% - 20px);max-width:none;bottom:8px}.d3-transform-tools{padding:3px}.d3-scene-prompt>input{font-size:12px}html[data-scene=guide] .global-theme-toggle{right:126px}}
