.lt-director-workspace{background:#08090b;color:#bfc3c8}
.lt-director-workspace>.d3-heading{position:absolute;top:0;left:0;right:0;height:52px;padding:0;border:0;background:none;display:block;pointer-events:none;z-index:12}
.d3-heading .d3-caption{height:52px;width:280px;display:flex;align-items:center;background:#1e1e1e;border-bottom:1px solid #303030;font-size:13px;color:#ddd}
.d3-heading .d3-caption button{padding:12px 11px;pointer-events:auto}
.d3-heading .d3-caption .icon{width:15px;height:15px}
.d3-view-modes{position:absolute;top:8px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:3px;background:#252525;border:1px solid #383838;border-radius:14px;pointer-events:auto}
.lt-director-workspace .d3-view-modes button{font-size:12px;padding:7px 13px;display:block;border-radius:10px;white-space:nowrap;color:#aaa}
.d3-view-modes button.active{background:#424242;color:#eee}
.d3-left{width:280px;flex:none;display:flex;position:relative;background:#1b1b1b;border-right:1px solid #303030;padding-top:52px}
.d3-rail{width:48px;flex:none;border-right:1px solid #282828;display:flex;align-items:center;flex-direction:column;gap:14px;padding-top:10px;background:#1d1d1d}
.d3-rail button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:6px}
.d3-rail .icon{width:18px;height:18px}
.d3-rail button:first-child{background:#363636}
.d3-rail button:disabled{opacity:.5}
.d3-left .d3-tree{width:auto;min-width:0;flex:1;border:0;padding:14px 8px;background:#1b1b1b}
.d3-tree>h4{margin:3px 0 17px;color:#c1c1c1;font-size:12px}
.d3-tree>input{background:#303030;border-color:#333;border-radius:6px;color:#bbb;margin-bottom:12px;font-size:11px;width:100%;height:33px}
#d3-tree>div{margin:4px 0;border-radius:5px;min-height:28px}
#d3-tree .active{background:#333}
#d3-tree button:first-child{font-size:12px;padding:5px 8px;color:#ccc}
#d3-tree button:not(:first-child){opacity:0;font-size:11px}
#d3-tree>div:hover button,#d3-tree>.active button{opacity:1}
.d3-scene-add{margin-top:18px;display:flex;flex-direction:column;gap:2px}
.d3-scene-add button{text-align:left;font-size:11px;color:#777}
.d3-tree>.d3-ratio-label{font-size:11px;color:#777;display:block}
.d3-ratio-label select{margin-top:8px;background:#303030;border-color:#444;font-size:11px}
.d3-work>main{background:#08090b}
.d3-work canvas{outline:none}
.d3-view-label{display:none}
.d3-orientation{position:absolute;right:17px;top:16px;font-size:10px;width:64px;height:64px;border-radius:50%;background:#181d28ba;color:#929dab;text-align:center;line-height:15px;padding:3px;pointer-events:none}
.d3-orientation>span{display:block;color:#30d4ae;font-size:12px;line-height:10px}
.d3-orientation>div{color:#6889ec;font-size:15px;line-height:17px}
.lt-director-workspace button.d3-reset-view{position:absolute;top:94px;right:18px;background:#272727;font-size:10px;padding:4px 9px;line-height:1.4}
.d3-viewport-buttons{bottom:16px;gap:8px;padding:0;border:0;background:none}
.d3-transform-tools{display:flex;align-items:center;gap:3px;padding:5px 7px;background:#262626e8;border:1px solid #3e3e3e;border-radius:28px}
.d3-transform-tools button{width:34px;height:34px;border-radius:18px;padding:8px;display:flex;align-items:center;justify-content:center}
.d3-transform-tools .icon{width:18px;height:18px}
.d3-transform-tools button.active{background:#3a3a3a;color:#eee}
.d3-scene-prompt{display:flex;align-items:center;gap:7px;background:#252525e8;border:1px solid #383838;border-radius:26px;padding:5px 7px 5px 15px;width:270px}
.d3-scene-prompt>span{font-size:20px;color:#888}
.d3-scene-prompt>input{background:none;border:0;padding:5px 0;font-size:11px;min-width:0;flex:1;box-shadow:none}
.d3-scene-prompt>button{border-radius:50%;background:#393939;width:31px;height:31px;padding:7px;opacity:.5}
.d3-scene-prompt .icon{width:15px;height:15px}
.d3-properties{width:280px;padding:0;background:#232323;border-left:1px solid #313131;display:flex;flex-direction:column;overflow:hidden}
.d3-properties>h3{height:48px;min-height:48px;margin:0;padding:15px 16px;border-bottom:1px solid #343434;color:#ddd;font-size:14px}
.d3-property-tabs{padding:12px 16px;border-bottom:1px solid #333;display:flex;align-items:center;gap:9px;flex:none}
.d3-property-tabs>button{font-size:12px;margin:0;border:0;border-radius:8px;padding:6px 10px;color:#888}
.d3-property-tabs .active{background:#3e3e3e;color:#eee}
.d3-property-body{padding:12px 16px;overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#555 transparent}
.d3-property-body fieldset{border:0;padding:0;margin:0;min-width:0}
.d3-property-body fieldset:disabled{opacity:.5}
.d3-property-body input:not([type=range]),.d3-property-body select{background:#3a3a3a;border:0;border-radius:7px;color:#ddd}
.d3-property-body h4{margin:23px 0 10px;color:#999;font-size:12px}
.d3-property-body label{color:#999;font-size:12px}
.d3-properties .d3-xyz{gap:5px}
.d3-xyz label{position:relative;color:#777;font-size:10px;background:#3a3a3a;border-radius:7px;padding:2px 6px;display:flex;align-items:center;gap:4px}
.d3-xyz input:not([type=range]){background:none;min-width:0;padding:5px 0;margin:0;width:100%;font-size:12px}
.d3-property-body input[type=color]{width:100%;height:31px;margin-top:8px}
.d3-uniform-scale{display:flex;align-items:center;gap:10px;margin-top:8px}
.d3-uniform-scale>input{flex:1;min-width:0;margin:0!important}
.d3-uniform-scale>span{padding:5px 10px;border-radius:5px;background:#383838;font-size:12px;color:#ccc}
.d3-property-body>footer{display:flex;gap:8px;justify-content:space-between;border-top:1px solid #3a3a3a;margin-top:25px;padding-top:10px}
.d3-property-body>footer>button{display:flex;align-items:center;gap:5px;border:0;font-size:10px;padding:6px 5px;color:#999}
.d3-property-body>footer .icon{width:13px;height:13px}
.d3-lock-note{font-size:11px;color:#bfa570;padding:7px;border:1px solid #5b503b;border-radius:6px}
.d3-pose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 5px}
.d3-properties .d3-pose-grid>button{border:0;padding:0;margin:0;display:flex;align-items:center;flex-direction:column;background:#2c2c2c;overflow:hidden;border-radius:5px}
.d3-pose-grid svg{width:100%;height:66px;stroke:#afbbc8;stroke-width:4;fill:#92a0ad;stroke-linecap:round;stroke-linejoin:round}
.d3-pose-grid svg path:not(:first-of-type){fill:none}
.d3-pose-grid small{font-size:10px;padding:4px;color:#a4a4a4}
#d3-gizmo{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:5}
#d3-gizmo g{pointer-events:all;cursor:move}
#d3-gizmo line{stroke:var(--axis);stroke-width:4}
#d3-gizmo circle{fill:var(--axis)}
#d3-gizmo text{fill:var(--axis);font:11px Arial,sans-serif;pointer-events:none}
.d3-timeline.minimized{height:0;min-height:0;overflow:hidden;border:0}
.d3-timeline{background:#242424;border-color:#3a3a3a}
.d3-timeline header{background:#222;border-color:#333}
@media(max-width:1100px){.d3-left,.d3-heading .d3-caption{width:240px}.d3-properties{width:240px}.d3-scene-prompt{width:210px}.d3-pose-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.d3-left,.d3-heading .d3-caption{width:200px}.d3-properties{width:220px}.d3-scene-prompt{display:none}.d3-view-modes{left:49%}.lt-director-workspace .d3-view-modes button{font-size:10px;padding:6px}.d3-rail{width:36px}}
@media(max-width:650px){.d3-left{display:none}.d3-heading .d3-caption{width:125px;background:none;border:0;font-size:11px}.d3-properties{width:180px}.d3-property-body{padding:10px}.d3-pose-grid{grid-template-columns:repeat(2,1fr)}.d3-view-modes{left:calc((100% - 180px)/2);top:54px}.d3-orientation,.d3-reset-view{display:none}.d3-viewport-buttons{gap:0}.d3-transform-tools button{width:28px;height:30px}}

/* Scene preview confirmation stays within the existing director viewport. */
.d3-plan-preview{position:absolute;top:60px;left:20px;right:20px;z-index:12;padding:14px;background:var(--panel,#172237);color:var(--text,#e8edf8);border:1px solid var(--line,#536083);border-radius:12px;max-height:35%;overflow:auto}.d3-plan-preview p{margin:0 0 10px;white-space:pre-wrap}.d3-plan-preview button{padding:8px 14px;margin-right:8px;border:1px solid #6b74aa;border-radius:8px;background:var(--panel,#24314c);color:inherit}
