.crop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100010;display:flex;align-items:center;justify-content:center;background:#000000a6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.crop-dialog{width:min(1600px,calc(100vw - 48px));height:min(920px,calc(100vh - 48px));max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);background:#1a1b1e;color:#e5e7eb;border-radius:12px;box-shadow:0 24px 64px #00000080;display:flex;flex-direction:column;overflow:hidden;font-family:inherit}.crop-dialog.is-maximized{width:calc(100vw - 16px);height:calc(100vh - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:6px}.crop-dialog__header{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #2a2c30;flex-shrink:0}.crop-dialog__title{font-size:16px;font-weight:600;color:#f4f4f4}.crop-dialog__header-actions{display:flex;align-items:center;gap:4px}.crop-dialog__icon-button{background:transparent;border:0;color:#94a3b8;cursor:pointer;padding:6px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:color .15s ease,background .15s ease}.crop-dialog__icon-button:hover:not(:disabled){color:#fff;background:#ffffff0f}.crop-dialog__icon-button:disabled{cursor:not-allowed;opacity:.45}.crop-dialog__tabs{display:flex;gap:4px;padding:8px 16px;border-bottom:1px solid #2a2c30;flex-shrink:0}.crop-dialog__tab{padding:8px 12px;border-radius:8px;background:transparent;color:#94a3b8;border:0;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;transition:background .15s ease,color .15s ease}.crop-dialog__tab:hover:not(:disabled){background:#2a2c30}.crop-dialog__tab.is-active{background:#2563eb;color:#fff}.crop-dialog__tab:disabled{opacity:.5;cursor:not-allowed}.crop-dialog__body{flex:1;min-height:0;min-width:0;display:flex;align-items:stretch;justify-content:center;background:#0f1012;overflow:hidden;position:relative}.crop-dialog__loading{color:#94a3b8;padding:80px 0;font-size:14px;text-align:center;width:100%}.crop-mode{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;width:100%;height:100%;min-height:0;overflow:hidden}.crop-mode__canvas-wrap{position:relative;background:#050608;border:1px solid #2a2c30;border-radius:6px;overflow:hidden;flex-shrink:0}.crop-mode__viewport{flex:1;min-height:260px;min-width:0;background:#050608;border:1px solid #2a2c30;border-radius:6px}.crop-mode__viewport--interactive{cursor:crosshair}.crop-viewport__interaction-surface{position:absolute;top:0;right:0;bottom:0;left:0;cursor:crosshair}.crop-mode__canvas-wrap--interactive{cursor:crosshair;-webkit-user-select:none;user-select:none;overflow:visible}.crop-canvas{display:block;max-width:100%;max-height:100%}.crop-canvas--checker{background-image:linear-gradient(45deg,#1f2024 25%,transparent 25%),linear-gradient(-45deg,#1f2024 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1f2024 75%),linear-gradient(-45deg,transparent 75%,#1f2024 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;background-color:#0c0d10}.crop-canvas-label{position:absolute;bottom:4px;left:6px;color:#94a3b8;font-size:11px;background:#0006;padding:1px 6px;border-radius:3px;-webkit-user-select:none;user-select:none}.crop-mode__controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;width:100%;max-width:none;background:#16171a;border:1px solid #2a2c30;border-radius:6px;padding:8px 12px;font-size:13px}.crop-mode__controls--top{margin-bottom:4px}.crop-mode__controls label{display:inline-flex;align-items:center;gap:6px;color:#cbd5e1}.crop-mode__controls input[type=number],.crop-mode__controls input[type=range],.crop-mode__controls select{background:#0f1012;color:#e5e7eb;border:1px solid #374151;border-radius:6px;padding:4px 8px;outline:none;font:inherit;transition:border-color .15s ease}.crop-mode__controls input[type=number]{width:80px}.crop-mode__controls input:focus,.crop-mode__controls select:focus{border-color:#2563eb}.crop-mode__hint{color:#94a3b8;font-size:12px}.crop-mode__hint--center{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center;padding:24px;pointer-events:none}.crop-mode__error{color:#fff;background:#ef4444;padding:8px 12px;border-radius:6px;font-size:13px;max-width:none;width:100%;text-align:center}.crop-mode__footer{display:flex;justify-content:flex-end;gap:8px;width:100%;max-width:none;padding-top:12px}.crop-btn{padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;display:inline-flex;align-items:center;gap:6px;border:0;font-family:inherit;transition:background .15s ease,color .15s ease,opacity .15s ease}.crop-btn:disabled{opacity:.5;cursor:not-allowed}.crop-btn--primary{background:#2563eb;color:#fff}.crop-btn--primary:hover:not(:disabled){background:#1d4ed8}.crop-btn--secondary{background:#334155;color:#fff}.crop-btn--secondary:hover:not(:disabled){background:#475569}.crop-btn--ghost,.crop-btn--neutral{background:#2a2c30;color:#e5e7eb}.crop-btn--ghost:hover:not(:disabled),.crop-btn--neutral:hover:not(:disabled){background:#374151}.crop-btn--danger{background:#ef4444;color:#fff}.crop-btn--danger:hover:not(:disabled){background:#dc2626}.crop-edge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 16px;width:100%;max-width:320px}.crop-edge-grid label{display:flex;align-items:center;gap:6px;color:#cbd5e1;font-size:13px}.crop-uniform{display:inline-flex;align-items:center;gap:6px;color:#cbd5e1}.crop-marquee-box{position:absolute;border:2px solid #2563eb;background:#2563eb1f;cursor:move;box-sizing:border-box}.crop-handle{position:absolute;width:10px;height:10px;background:#2563eb;border-radius:50%;box-shadow:0 0 0 1px #fff9;pointer-events:auto}.crop-handle--n{top:-6px;left:50%;margin-left:-5px;cursor:ns-resize}.crop-handle--s{bottom:-6px;left:50%;margin-left:-5px;cursor:ns-resize}.crop-handle--w{left:-6px;top:50%;margin-top:-5px;cursor:ew-resize}.crop-handle--e{right:-6px;top:50%;margin-top:-5px;cursor:ew-resize}.crop-handle--nw{top:-6px;left:-6px;cursor:nwse-resize}.crop-handle--ne{top:-6px;right:-6px;cursor:nesw-resize}.crop-handle--sw{bottom:-6px;left:-6px;cursor:nesw-resize}.crop-handle--se{bottom:-6px;right:-6px;cursor:nwse-resize}.crop-split-gap{display:inline-flex;align-items:center;gap:6px}.crop-split-cell{position:absolute;border:1px dashed rgba(255,255,255,.45);cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;pointer-events:auto;box-sizing:border-box;-webkit-user-select:none;user-select:none;transition:background .12s ease,border-color .12s ease;padding:0;background:transparent}.crop-split-cell:hover{background:#ffffff0d}.crop-split-cell--selected{background:#2563eb33;border-color:#2563eb;border-style:solid}.crop-split-cell__num{position:absolute;top:4px;left:4px;background:#000000d9;color:#fff;padding:2px 8px;border-radius:6px;font-weight:600;font-size:12px;pointer-events:none;box-shadow:0 0 0 1px #ffffff59;z-index:3;line-height:1.2}.crop-freeform-rect{position:absolute;border:1.5px dashed rgba(255,255,255,.55);cursor:move;box-sizing:border-box;pointer-events:auto}.crop-freeform-rect--selected{border-color:#2563eb;background:#2563eb1a}.crop-freeform-rect--active{border-style:solid;border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf866}.crop-freeform-rect__num{position:absolute;top:4px;left:4px;background:#2563eb;color:#fff;padding:2px 6px;border-radius:4px;line-height:1.2;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;z-index:3}.crop-toolbar-btn--ref{position:absolute;top:16px;right:130px;width:40px;height:40px;border-radius:50%;background:#0f1116e6;color:#ffffffeb;display:flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid rgba(255,255,255,.16);transition:background .15s ease,border-color .15s ease;z-index:5001}.crop-toolbar-btn--ref:hover{background:#ffffff2e;border-color:#ffffff52}.crop-tab{display:flex;flex-direction:column;gap:12px;width:100%;height:100%;min-height:0;padding:12px}.crop-tab__subtools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;background:#ffffff0a;border-radius:8px}.crop-tab__subtool{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;border:1px solid rgba(255,255,255,.1);background:#ffffff0d;color:#cbd5e1;font-size:12px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.crop-tab__subtool:hover:not(:disabled){background:#ffffff1a}.crop-tab__subtool.is-active{background:#3b82f62e;border-color:#3b82f699;color:#fff}.crop-tab__subtool:disabled{opacity:.4;cursor:not-allowed}.crop-tab__subtool--ghost{background:transparent;color:#94a3b8}.crop-tab__divider{width:1px;align-self:stretch;background:#ffffff1a;margin:0 4px}.crop-tab__hint{font-size:12px;color:#94a3b8}.crop-tab__panel{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.crop-tab__panel--centered{align-items:center;justify-content:center;text-align:center;padding:24px;color:#cbd5e1}.crop-tab__placeholder{flex:1;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:13px;border:1px dashed rgba(255,255,255,.1);border-radius:8px;padding:32px}.crop-freeform__counter{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;background:#3b82f62e;color:#fff;font-size:12px}.crop-freeform__rect-list{display:flex;flex-wrap:wrap;gap:6px;padding:8px;max-height:120px;overflow-y:auto}.crop-freeform__rect-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;background:#ffffff14;font-size:12px;color:#cbd5e1}.crop-freeform__rect-chip.is-selected{background:#3b82f64d;color:#fff}.crop-freeform__rect-chip.is-active{outline:1px solid rgba(59,130,246,.7);outline-offset:-1px}.crop-freeform__rect-chip-num{border:0;background:transparent;color:inherit;cursor:pointer;padding:0 2px;font-weight:600;font-size:12px}.crop-freeform__rect-chip-del{border:0;background:transparent;color:inherit;cursor:pointer;padding:0 2px;font-size:12px}.crop-freeform__rect-chip-del:hover{color:#ef4444}.crop-split-color{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#cbd5e1}.crop-split-color input[type=color]{width:28px;height:22px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:4px;background:transparent;cursor:pointer}.crop-mode--expand{min-height:0}.crop-expand__controls{gap:8px}.crop-expand__ratios{display:flex;flex-wrap:wrap;gap:4px}.crop-expand__scale{min-width:190px}.crop-expand__scale input[type=range]{width:110px}.crop-expand__preview{position:relative;flex:1;min-height:260px;overflow:hidden;border:1px solid #2a2c30;border-radius:6px;cursor:grab;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}.crop-expand__preview:active{cursor:grabbing}.crop-expand__canvas{display:block;width:100%;height:100%}.crop-overlay{background:color-mix(in srgb,var(--canvas-bg) 64%,transparent)!important}.crop-dialog{background:color-mix(in srgb,var(--canvas-panel) 96%,transparent)!important;border:1px solid color-mix(in srgb,var(--canvas-border) 70%,transparent)!important;color:var(--canvas-text)!important;box-shadow:0 24px 64px color-mix(in srgb,var(--canvas-bg) 46%,transparent)!important}.crop-dialog__header,.crop-dialog__tabs,.crop-tab__subtools{background:color-mix(in srgb,var(--canvas-panel-soft) 54%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important}.crop-dialog__title,.crop-tab__panel--centered{color:var(--canvas-text)!important}.crop-dialog__icon-button,.crop-dialog__tab,.crop-tab__subtool,.crop-tab__subtool--ghost,.crop-tab__hint,.crop-tab__placeholder,.crop-dialog__loading{color:var(--canvas-muted)!important}.crop-dialog__tab:hover:not(:disabled),.crop-tab__subtool:hover:not(:disabled),.crop-dialog__icon-button:hover,.crop-toolbar-btn--ref:hover{background:color-mix(in srgb,var(--canvas-panel-soft) 84%,transparent)!important;color:var(--canvas-text)!important}.crop-dialog__tab.is-active,.crop-tab__subtool.is-active{background:color-mix(in srgb,var(--canvas-accent) 20%,var(--canvas-panel-soft) 80%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 56%,var(--canvas-border) 44%)!important;color:var(--canvas-text)!important}.crop-dialog__body,.crop-mode__canvas-wrap,.crop-mode__viewport,.crop-expand__preview,.crop-tab__placeholder,.crop-toolbar-btn--ref{background:color-mix(in srgb,var(--canvas-node-bg) 78%,var(--canvas-bg) 22%)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important}.crop-tab__divider{background:color-mix(in srgb,var(--canvas-border) 58%,transparent)!important}.crop-freeform__counter{background:color-mix(in srgb,var(--canvas-accent) 18%,transparent)!important;color:var(--canvas-text)!important}.crop-dialog,.crop-dialog__body,.crop-tab__panel,.crop-mode__canvas-wrap,.crop-mode__preview,.crop-mode__controls,.crop-freeform__rect-list{background:color-mix(in srgb,var(--canvas-panel) 94%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 66%,transparent)!important;color:var(--canvas-text)!important}@media (max-width: 760px){.crop-dialog,.crop-dialog.is-maximized{width:calc(100vw - 8px);height:calc(100vh - 8px);max-width:calc(100vw - 8px);max-height:calc(100vh - 8px);border-radius:4px}.crop-dialog__tabs{overflow-x:auto;padding:6px 8px}.crop-tab,.crop-mode{padding:8px}.crop-mode__controls{max-height:150px;overflow-y:auto}.crop-mode__viewport,.crop-expand__preview{min-height:180px}}.crop-dialog__header,.crop-dialog__footer,.crop-dialog__tabs,.crop-tab__subtools,.crop-edge-grid label,.crop-uniform,.crop-split-color,.crop-freeform__rect-chip,.crop-split-cell{background:color-mix(in srgb,var(--canvas-panel-soft) 78%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 58%,transparent)!important;color:var(--canvas-text)!important}.crop-dialog__tab,.crop-dialog__close,.crop-tab__subtool,.crop-tab__subtool--ghost,.crop-btn,.crop-toolbar-btn--ref,.crop-edge-grid input,.crop-mode__controls input,.crop-mode__controls select,.crop-split-color input[type=color]{background:color-mix(in srgb,var(--canvas-node-bg) 78%,var(--canvas-bg) 22%)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important;color:var(--canvas-text)!important}.crop-dialog__tab:hover:not(:disabled),.crop-dialog__tab.is-active,.crop-tab__subtool:hover:not(:disabled),.crop-tab__subtool.is-active,.crop-btn:hover:not(:disabled),.crop-toolbar-btn--ref:hover,.crop-freeform__rect-chip.is-selected,.crop-freeform__rect-chip.is-active,.crop-split-cell--selected{background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft) 82%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 56%,var(--canvas-border) 44%)!important;color:var(--canvas-text)!important;outline-color:color-mix(in srgb,var(--canvas-accent) 60%,transparent)!important}.crop-btn--primary,.crop-btn--neutral,.crop-btn--secondary{background:linear-gradient(135deg,var(--canvas-accent),var(--canvas-edge))!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-bg)!important}.crop-btn--ghost{background:color-mix(in srgb,var(--canvas-panel-soft) 70%,transparent)!important;color:var(--canvas-text)!important}.crop-btn--danger,.crop-freeform__rect-chip-del:hover{color:var(--canvas-danger)!important}.crop-dialog__loading,.crop-tab__hint,.crop-tab__placeholder,.crop-split-cell__num{color:var(--canvas-muted)!important}.crop-marquee-box,.crop-freeform-rect{border-color:color-mix(in srgb,var(--canvas-selection) 72%,transparent)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--canvas-selection) 32%,transparent)!important}.crop-freeform-rect--selected,.crop-freeform-rect.is-active{border-color:var(--canvas-accent)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--canvas-accent) 44%,transparent)!important}.crop-handle{background:var(--canvas-accent)!important;border-color:var(--canvas-text)!important}.crop-expand__preview.crop-canvas--checker{background-color:#f3f4f6!important;background-image:linear-gradient(45deg,#c8cdd3 25%,transparent 25%),linear-gradient(-45deg,#c8cdd3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8cdd3 75%),linear-gradient(-45deg,transparent 75%,#c8cdd3 75%)!important;background-position:0 0,0 12px,12px -12px,-12px 0!important;background-size:24px 24px!important}.crop-expand__frame-color input[type=color]{width:28px;height:22px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:4px;background:transparent!important;cursor:pointer}.crop-dialog__tabs{align-items:center;min-width:0}.crop-dialog__tab{min-width:0;flex:0 1 auto}.crop-dialog__actions{position:sticky;right:0;z-index:2;display:flex;align-items:center;min-height:34px;margin-left:auto;padding-left:8px;flex:0 0 auto;background:inherit;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.crop-mode__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:max-content;min-width:100%;white-space:nowrap}.crop-tab__subtools{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.crop-tab__mode-controls{display:flex;align-items:center;flex:1 0 auto;min-width:max-content}.crop-mode__controls--inline{width:auto;min-width:max-content;flex:1 0 auto;flex-wrap:nowrap;gap:8px;margin:0;padding:0;border:0!important;background:transparent!important;white-space:nowrap}.crop-mode__controls--inline .crop-mode__hint{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crop-selection-color{display:inline-flex;align-items:center;gap:6px;color:var(--canvas-muted, #64748b);font-size:12px;white-space:nowrap}.crop-selection-color input[type=color]{width:28px;height:22px;padding:0;border:1px solid color-mix(in srgb,var(--canvas-border, #cbd5e1) 72%,transparent)!important;border-radius:4px;background:transparent!important;cursor:pointer}.crop-viewport__view-controls{position:absolute;top:8px;right:8px;z-index:12;display:inline-flex;align-items:center;gap:4px;padding:3px;border:1px solid rgba(255,255,255,.32);border-radius:6px;background:#0f1116d6;box-shadow:0 4px 14px #0000003d;pointer-events:auto}.crop-viewport__view-button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;cursor:pointer;font:inherit;font-size:11px}.crop-viewport__view-button--actual{width:42px;font-variant-numeric:tabular-nums}.crop-viewport__view-button:hover{background:#ffffff29}.crop-viewport__canvas.crop-canvas--checker{background-color:#f3f4f6!important;background-image:linear-gradient(45deg,#c8cdd3 25%,transparent 25%),linear-gradient(-45deg,#c8cdd3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8cdd3 75%),linear-gradient(-45deg,transparent 75%,#c8cdd3 75%)!important;background-position:0 0,0 8px,8px -8px,-8px 0!important;background-size:16px 16px!important}.crop-marquee-box,.crop-split-cell,.crop-split-cell:hover,.crop-split-cell--selected,.crop-freeform-rect,.crop-freeform-rect--selected,.crop-freeform-rect--active{border-color:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}.crop-marquee-box:after,.crop-split-cell:after,.crop-freeform-rect:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;border:2px solid var(--crop-selection-color, #ff3b30);background-image:none;pointer-events:none}.crop-split-cell--selected:after,.crop-freeform-rect--selected:after,.crop-freeform-rect--active:after{filter:none}.crop-split-cell--selected .crop-split-cell__num,.crop-freeform-rect--selected .crop-freeform-rect__num{color:var(--canvas-accent, #38bdf8);outline:none}.crop-handle{z-index:3;background:var(--canvas-text, #fff)!important}@media (max-width: 760px){.crop-dialog__tabs{align-items:center;overflow:hidden}.crop-dialog__tab{position:relative;width:28px;height:28px;padding:0;flex:0 0 28px;justify-content:center}.crop-dialog__tab span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.crop-dialog__actions{padding-left:4px;flex:1 1 0;min-width:0}.crop-mode__actions{gap:4px}.crop-mode__actions .crop-btn{padding:5px 6px;font-size:11px}.crop-mode__controls--inline .crop-mode__hint{display:none}}.crop-dialog__header{flex:0 0 48px;min-height:48px;height:48px;box-sizing:border-box}.crop-dialog__tabs{flex:0 0 52px;min-height:52px;height:52px;box-sizing:border-box;overflow:hidden}.crop-dialog__body,.crop-tab,.crop-tab__panel,.crop-mode{box-sizing:border-box}.crop-tab__subtools{flex:0 0 50px;min-height:50px;height:50px;box-sizing:border-box;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}.crop-tab__panel{flex:1 1 auto;min-height:0}.crop-mode{position:relative;flex:1 1 auto;min-height:0}.crop-mode--expand{gap:9px}.crop-mode__controls--top,.crop-mode--expand .crop-expand__controls{flex:0 0 50px;min-height:50px;height:50px;box-sizing:border-box;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}.crop-mode__viewport,.crop-expand__preview{flex:1 1 auto;min-height:0}.crop-mode>.crop-mode__hint,.crop-mode--expand>.crop-mode__hint{flex:0 0 18px;min-height:18px;height:18px;line-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crop-mode__error{position:absolute;left:16px;right:16px;bottom:16px;z-index:20;width:auto;max-width:none;box-sizing:border-box;pointer-events:none}.crop-marquee-box:after,.crop-split-cell:after,.crop-freeform-rect:after{border:2px solid var(--crop-selection-color, #ff3b30)!important;background-image:none!important;animation:none!important;filter:none!important}.crop-split-cell--selected:after,.crop-freeform-rect--selected:after,.crop-freeform-rect--active:after{filter:none!important}.crop-split-cell,.crop-split-cell:hover,.crop-split-cell--selected,.crop-freeform-rect,.crop-freeform-rect--selected,.crop-freeform-rect--active{border-color:transparent!important;background:transparent!important;box-shadow:none!important}.crop-split-cell__num,.crop-freeform-rect__num{min-width:26px;padding:3px 8px!important;border-radius:6px!important;background:color-mix(in srgb,var(--canvas-panel-soft, #1b1d22) 82%,transparent)!important;color:var(--canvas-text, #fff)!important;font-size:17px!important;font-weight:700!important;line-height:1.15!important;font-variant-numeric:tabular-nums;text-align:center;outline:none!important;box-shadow:none!important}.crop-split-cell--selected .crop-split-cell__num,.crop-freeform-rect--selected .crop-freeform-rect__num{background:var(--crop-selection-color, #ff3b30)!important;color:#fff!important;font-size:19px!important;box-shadow:0 0 0 2px color-mix(in srgb,#fff 62%,transparent)!important;outline:none!important}.crop-handle{background:var(--canvas-text, #fff)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--canvas-bg, #111) 70%,transparent)!important}.crop-freeform__rect-list{display:inline-flex;align-items:center;flex:0 0 auto;min-width:28px;height:30px;max-height:30px;gap:4px;padding:0 6px 0 2px;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.crop-freeform__rect-chip{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:22px;min-width:24px;padding:0;border:1px solid color-mix(in srgb,var(--canvas-border, #64748b) 70%,transparent)!important;border-radius:4px;background:color-mix(in srgb,var(--canvas-panel-soft, #1b1d22) 88%,transparent)!important;color:var(--canvas-muted, #94a3b8)!important;outline:none!important}.crop-freeform__rect-chip.is-selected,.crop-freeform__rect-chip.is-active{border-color:color-mix(in srgb,var(--canvas-border, #64748b) 70%,transparent)!important;background:color-mix(in srgb,var(--canvas-panel-soft, #1b1d22) 88%,transparent)!important;color:var(--canvas-muted, #94a3b8)!important;outline:none!important}.crop-freeform__rect-chip-num{width:100%;height:100%;padding:0;border:0;background:transparent!important;color:inherit!important;font-size:11px;line-height:20px;font-variant-numeric:tabular-nums;cursor:pointer}.crop-freeform__rect-chip.is-selected .crop-freeform__rect-chip-num{color:var(--canvas-accent, #38bdf8)!important}.crop-freeform__rect-chip-del{position:absolute;top:-4px;right:-4px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:1px solid var(--canvas-panel, #1a1b1e)!important;border-radius:50%;background:var(--canvas-panel-soft, #2a2c30)!important;color:var(--canvas-muted, #94a3b8)!important;opacity:0;visibility:hidden;cursor:pointer;transition:opacity .12s ease,visibility .12s ease,color .12s ease}.crop-freeform__rect-chip:hover .crop-freeform__rect-chip-del,.crop-freeform__rect-chip:focus-within .crop-freeform__rect-chip-del{opacity:1;visibility:visible}.crop-freeform__rect-chip-del:hover,.crop-freeform__rect-chip-del:focus-visible{color:var(--canvas-danger, #ef4444)!important}.crop-freeform-rect__num,.crop-split-cell__num{top:4px!important;left:4px!important;bottom:auto!important;right:auto!important}.crop-expand__dimensions{flex:0 0 auto;color:var(--canvas-muted, #94a3b8);font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.crop-expand__frame{position:absolute;z-index:4;box-sizing:border-box;border:1px solid transparent;pointer-events:none}.crop-expand__handle{position:absolute;z-index:5;width:14px;height:14px;padding:0;border:2px solid var(--canvas-panel, #1a1b1e)!important;border-radius:3px;background:var(--canvas-text, #fff)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--canvas-text, #fff) 55%,transparent)!important;pointer-events:auto;cursor:pointer}.crop-expand__handle--n,.crop-expand__handle--s{left:50%;transform:translate(-50%);cursor:ns-resize}.crop-expand__handle--n{top:-7px}.crop-expand__handle--s{bottom:-7px}.crop-expand__handle--e,.crop-expand__handle--w{top:50%;transform:translateY(-50%);cursor:ew-resize}.crop-expand__handle--e{right:-7px}.crop-expand__handle--w{left:-7px}.crop-expand__handle--nw,.crop-expand__handle--ne,.crop-expand__handle--se,.crop-expand__handle--sw{cursor:nwse-resize}.crop-expand__handle--nw{top:-7px;left:-7px}.crop-expand__handle--ne{top:-7px;right:-7px;cursor:nesw-resize}.crop-expand__handle--se{right:-7px;bottom:-7px}.crop-expand__handle--sw{left:-7px;bottom:-7px;cursor:nesw-resize}@media (max-width: 760px){.crop-mode--expand{gap:5px}.crop-dialog__tabs,.crop-tab__subtools,.crop-mode__controls--top,.crop-mode--expand .crop-expand__controls{min-height:46px;height:46px;flex-basis:46px}.crop-freeform__rect-list{max-width:180px}}.crop-split-guide{position:absolute;z-index:2;background:transparent}.crop-split-guide:before{content:"";position:absolute;background:var(--crop-selection-color, #ff3b30)}.crop-split-guide--x{width:11px;margin-left:-5px;cursor:ew-resize}.crop-split-guide--x:before{top:0;bottom:0;left:4px;width:2px}.crop-split-guide--y{height:11px;margin-top:-5px;cursor:ns-resize}.crop-split-guide--y:before{left:0;right:0;top:4px;height:2px}.crop-split-guide:hover:before{box-shadow:0 0 0 1px color-mix(in srgb,#fff 70%,transparent)}.crop-split-mode-switch{display:inline-flex;flex:0 0 auto;gap:4px}.crop-btn--chip{padding:4px 10px;font-size:12px;border-radius:999px}.crop-btn--chip.is-active{background:var(--crop-selection-color, #ff3b30);border-color:var(--crop-selection-color, #ff3b30);color:#fff}.crop-progress{position:absolute;left:50%;bottom:18px;transform:translate(-50%);z-index:100001;display:flex;align-items:center;gap:10px;max-width:min(680px,calc(100vw - 48px));padding:8px 12px;border:1px solid color-mix(in srgb,var(--canvas-border, #64748b) 60%,transparent);border-radius:10px;background:color-mix(in srgb,var(--canvas-panel, #1a1b1e) 94%,transparent);box-shadow:0 8px 24px #00000073;pointer-events:auto;font-size:12px;color:var(--canvas-text, #fff)}.crop-progress__label{flex:0 0 auto;font-weight:600;white-space:nowrap}.crop-progress__track{position:relative;flex:1 1 200px;min-width:120px;height:6px;border-radius:999px;background:color-mix(in srgb,var(--canvas-border, #64748b) 34%,transparent);overflow:hidden}.crop-progress__fill{height:100%;border-radius:inherit;background:var(--crop-selection-color, #ff3b30);transition:width .2s ease}.crop-progress--done .crop-progress__fill{background:var(--canvas-success, #22c55e)}.crop-progress--cancelled .crop-progress__fill{background:var(--canvas-muted, #94a3b8)}.crop-progress--error .crop-progress__fill{background:var(--canvas-danger, #ef4444)}.crop-progress__count{flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap}.crop-progress__message{flex:1 1 auto;min-width:0;color:var(--canvas-muted, #94a3b8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crop-progress__cancel{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border:1px solid color-mix(in srgb,var(--canvas-border, #64748b) 62%,transparent);border-radius:6px;background:transparent;color:var(--canvas-text, #fff);cursor:pointer}.crop-progress__cancel:hover{border-color:var(--canvas-danger, #ef4444);color:var(--canvas-danger, #ef4444)}.crop-progress__cancel--icon{padding:4px}.image-layer-planning-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1800;background:#000000a6;display:flex;align-items:center;justify-content:center;padding:24px;color:#e8edf7;font:13px/1.5 system-ui,sans-serif;pointer-events:auto}.image-layer-planning-dialog{width:min(1180px,96vw);max-height:92vh;display:flex;flex-direction:column;background:#171b24;border:1px solid #3d465a;border-radius:14px;box-shadow:0 24px 90px #0008;overflow:hidden}.image-layer-planning-dialog header,.image-layer-planning-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;background:#1c2230}.image-layer-planning-dialog h2{margin:0;font-size:18px}.image-layer-planning-dialog p{margin:6px 0}.image-layer-planning-dialog header p{color:#aebbd0}.image-layer-planning-body{overflow:auto;padding:18px 20px;min-height:120px}.image-layer-planning-dialog button{border:1px solid #536580;background:#283d5d;color:#f0f5ff;border-radius:6px;padding:7px 12px;cursor:pointer;white-space:nowrap}.image-layer-planning-dialog button:disabled{opacity:.45;cursor:default}.image-layer-planning-dialog input,.image-layer-planning-dialog textarea,.image-layer-planning-dialog select{box-sizing:border-box;background:#111722;color:#edf3ff;border:1px solid #49576d;border-radius:5px;padding:6px 8px;font:inherit}.image-layer-planning-dialog input[type=checkbox]{accent-color:#77adff;margin-right:6px}.image-layer-planning-dialog textarea{width:100%;min-height:62px;resize:vertical}.image-layer-mode-controls{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}.image-layer-mode-controls>label{display:flex;flex-direction:column;gap:5px}.image-layer-instruction{flex:1;min-width:250px}.image-layer-mode-controls>button{align-self:flex-end}.image-layer-review{display:grid;grid-template-columns:minmax(240px,1fr) minmax(350px,1fr);gap:18px;margin-top:16px}.image-layer-preview-scroll{min-width:0}.image-layer-preview{position:relative;width:100%;background:repeating-conic-gradient(#252c36 0,#252c36 25%,#1b222c 0,#1b222c 50%) 0/20px 20px;overflow:hidden}.image-layer-preview img,.image-layer-preview svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.image-layer-preview svg{pointer-events:none}.image-layer-candidates{display:flex;flex-direction:column;gap:12px;min-width:0}.image-layer-candidate{border:1px solid #414d63;border-radius:8px;padding:10px 12px;min-width:0}.image-layer-candidate legend{padding:0 5px;color:#afc9eb}.image-layer-candidate-head{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.image-layer-candidate-head>input{flex:1;min-width:100px;width:100px}.image-layer-candidate-head button{padding:4px 7px}.image-layer-box-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.image-layer-box-fields label{display:flex;flex-direction:column;gap:3px}.image-layer-box-fields input{width:100%;min-width:0}.image-layer-repair{border-top:1px solid #394459;margin-top:10px;padding-top:9px}.image-layer-repair>label{display:block;margin:5px 0}.image-layer-hint{font-size:12px;color:#a6b6cd}.image-layer-warning{color:#ffc575}.image-layer-error{padding:10px;border:1px solid #94515a;border-radius:6px;color:#ffb7bf;background:#48272d}.image-layer-confirmed{padding:10px;color:#a2efbd;background:#203b2b;border:1px solid #3d7350;border-radius:6px}.image-layer-empty{padding:24px;border:1px dashed #52617a;margin:16px 0;border-radius:8px}@media (max-width:800px){.image-layer-review{grid-template-columns:1fr}.image-layer-planning-backdrop{padding:8px}.image-layer-preview{max-height:none}.image-layer-planning-dialog header,.image-layer-planning-dialog footer{padding:12px}.image-layer-planning-body{padding:12px}}.image-layer-inline-host{min-width:0;width:100%;margin:12px 0;pointer-events:auto}.image-layer-task-progress{font-weight:600}.image-layer-planning-inline{width:100%;max-height:none;box-sizing:border-box;box-shadow:none;background:var(--canvas-panel);color:var(--canvas-text);border-color:var(--canvas-border);border-radius:8px}.image-layer-planning-inline header,.image-layer-planning-inline footer{padding:12px;background:var(--canvas-panel-soft);flex-wrap:wrap}.image-layer-planning-inline h2{font-size:14px}.image-layer-planning-inline header p,.image-layer-planning-inline .image-layer-hint{color:var(--canvas-muted)}.image-layer-planning-inline .image-layer-planning-body{padding:12px;overflow:visible;min-height:0}.image-layer-planning-inline .image-layer-review{grid-template-columns:minmax(0,1fr)}.image-layer-planning-inline input,.image-layer-planning-inline select,.image-layer-planning-inline textarea,.image-layer-planning-inline button{font:inherit;color:var(--canvas-text);background:var(--canvas-panel-soft);border-color:var(--canvas-border)}.image-layer-planning-inline .image-layer-candidate{border-color:var(--canvas-border)}.image-layer-planning-inline .image-layer-candidate legend{color:var(--canvas-text)}.image-layer-planning-inline .image-layer-task-status{overflow-wrap:anywhere}.image-layer-planning-inline .image-layer-instruction{min-width:0;flex-basis:100%}.image-inpaint-dialog{--inpaint-error: color-mix(in srgb, #e34b50 82%, var(--canvas-text, #f4f4f5));border:1px solid var(--canvas-border, #45454c)}.image-inpaint-prompt-wrap{border:1px solid var(--canvas-border, #45454c);border-radius:8px;background:var(--canvas-panel-soft, #25252b)}.image-inpaint-prompt-wrap:focus-within{outline:2px solid var(--canvas-accent, #5865f2);outline-offset:1px}.image-inpaint-prompt.media-prompt-editor{width:100%;min-height:112px;max-height:240px;overflow:auto;box-sizing:border-box;padding:10px 12px;font:inherit;font-size:14px;line-height:1.7;color:var(--canvas-text, #f4f4f5)!important;caret-color:var(--canvas-text, #f4f4f5);background:transparent}.image-inpaint-prompt.media-prompt-editor:empty:before{color:var(--canvas-muted, #a1a1aa)}.image-inpaint-prompt.media-prompt-editor::selection,.image-inpaint-prompt.media-prompt-editor *::selection{color:var(--canvas-text, #f4f4f5)}.image-inpaint-prompt .media-prompt-tag{color:var(--canvas-accent, #83c6ff)}.prompt-highlight__tooltip-video{background:#000}.prompt-highlight__tooltip-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:120px;height:120px;box-sizing:border-box;border-radius:4px;background:#6cb4ee1a;color:#6cb4ee}.prompt-highlight__tooltip-audio-label{font-size:12px;line-height:1.2;color:#ffffffdb}.prompt-highlight__tooltip-audio-duration{font-size:11px;line-height:1.2;color:#ffffff8c}.media-prompt-editor{color:var(--canvas-text, #dce5f2)!important;caret-color:currentColor;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;outline:none}.media-prompt-editor:empty:before{content:attr(data-placeholder);color:#718096;pointer-events:none}.media-prompt-editor[aria-disabled=true]{opacity:.6}.media-prompt-editor::selection,.media-prompt-editor *::selection{background:#6cb4ee59}.media-prompt-tag{position:relative;display:inline-flex;align-items:center;vertical-align:-.22em;height:1.3em;gap:2px;margin:0 1px;padding:0 2px;border-radius:4px;background:#6cb4ee22;color:#83c6ff;line-height:1;white-space:nowrap;-webkit-user-select:all;user-select:all}.media-prompt-tag__thumb{display:block;width:1.3em;height:1.3em;object-fit:cover;border-radius:2px;background:#263445;pointer-events:auto}.media-prompt-tag__number{font-size:.72em;padding-right:2px}.media-prompt-tag--missing{color:#94a3b8;background:#94a3b81a}.chat-composer-body .chat-media-prompt-editor{width:100%;height:100%;min-height:80px;max-height:240px;overflow:auto;box-sizing:border-box;padding:8px 12px;margin:0;font:inherit;font-size:14px;line-height:1.7;border:0;background:transparent}.chat-composer-body .is-editing .chat-media-prompt-editor{padding-top:28px}.composer-wrap.is-expanded .chat-media-prompt-editor{max-height:none;min-height:280px}.media-prompt-history{white-space:pre-wrap;overflow-wrap:anywhere}.media-prompt-replace{position:fixed;z-index:100010;width:260px;max-width:calc(100vw - 16px);max-height:320px;overflow:auto;background:#162233;color:#dce5f2;border:1px solid #40536b;border-radius:8px;padding:6px;box-shadow:0 8px 32px #0008}.media-prompt-replace button{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border:0;border-radius:4px;text-align:left;background:none;color:inherit;cursor:pointer}.media-prompt-replace button:hover{background:#30445c}.media-prompt-replace small{display:block;padding:6px;color:#9aaec8}.media-prompt-tag[draggable=true]{cursor:grab}.media-prompt-tag[draggable=true]:active{cursor:grabbing}.standalone-chat .chat-composer-body .chat-media-prompt-editor{color:#eff3f8!important;caret-color:#eff3f8}.media-prompt-preview{position:fixed;z-index:100009;pointer-events:auto;padding:5px;border:1px solid #40536b;border-radius:6px;background:#162233;color:#dce5f2}.media-prompt-preview__actions{position:absolute;bottom:4px;left:26px;z-index:1;display:flex;flex-direction:column;gap:3px;padding:4px;border:1px solid #40536b;border-radius:5px;background:#162233;box-shadow:0 4px 12px #0006}.media-prompt-preview__actions button{padding:5px 6px;border:0;border-radius:3px;background:#25364d;color:#dce5f2;cursor:pointer;font-size:11px;white-space:nowrap}.media-prompt-preview__actions button:hover{background:#385272}.media-prompt-drop-caret{position:fixed;width:2px;background:#b8ddff;pointer-events:none;z-index:100011;box-shadow:0 0 2px #213547}.message-body .media-prompt-tag__thumb{width:1.3em;height:1.3em;margin:0;border-radius:2px;object-fit:cover}.media-prompt-preview .media-prompt-preview__corner{position:absolute;width:20px;height:20px;display:grid;place-items:center;padding:0;border:1px solid #51627a;border-radius:4px;background:#17283ee8;color:#dce5f2;cursor:pointer;opacity:0;pointer-events:none}.media-prompt-preview:hover .media-prompt-preview__corner,.media-prompt-preview .media-prompt-preview__corner:focus-visible{opacity:1;pointer-events:auto}.media-prompt-preview__view{top:5px;left:5px}.media-prompt-preview__replace{bottom:5px;left:5px}.media-prompt-preview .media-prompt-preview__remove{top:5px;right:5px;background:#6c2028e8;color:#ffd7d7}.media-prompt-preview__corner:hover{filter:brightness(1.3)}.media-prompt-preview__corner:focus-visible{outline:2px solid #b8ddff;outline-offset:1px}.artboard-editor{color:var(--canvas-text);background:var(--canvas-panel);padding:14px;font-size:12px;min-width:0}.artboard-editor header,.artboard-history,.artboard-order{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.artboard-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px;align-items:start}.artboard-editor-body>*{min-width:0}.artboard-canvas-wrap{position:relative;width:100%;overflow:hidden;background:repeating-conic-gradient(var(--canvas-panel-soft) 0% 25%,var(--canvas-border) 0% 50%) 0/16px 16px}.artboard-canvas{display:block;width:100%;height:auto;object-fit:contain;touch-action:none}.artboard-canvas-wrap p{position:absolute;bottom:0;margin:0;padding:8px;background:var(--canvas-panel);color:var(--canvas-text);width:100%}.artboard-layer-list{list-style:none;padding:0;margin:0 0 12px;max-height:220px;overflow:auto}.artboard-layer-list li{display:flex;gap:4px;margin-bottom:3px;border:1px solid transparent}.artboard-layer-list li.is-selected{border-color:var(--canvas-accent)}.artboard-layer-list li button:first-child{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artboard-editor button,.artboard-editor input,.artboard-editor select{color:var(--canvas-text);background:var(--canvas-panel-soft);border:1px solid var(--canvas-border);border-radius:5px;padding:5px 7px;max-width:100%}.artboard-editor button:focus-visible,.artboard-editor input:focus-visible,.artboard-editor select:focus-visible{outline:2px solid var(--canvas-accent);outline-offset:2px}.artboard-editor button:disabled{opacity:.45}.artboard-editor label{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.artboard-editor input[type=range]{width:100%}.artboard-hint{color:var(--canvas-muted);margin-bottom:0}.artboard-editor [role=alert]{color:var(--canvas-danger)}.artboard-node-preview{width:100%;height:100%;min-width:0;min-height:0;position:relative;overflow:hidden}.artboard-canvas-wrap.is-contained{width:100%;height:100%}.artboard-canvas-wrap.is-contained>canvas{position:absolute}.artboard-export{border-top:1px solid var(--canvas-border);margin-top:12px;padding-top:12px}.artboard-export-actions{display:flex;flex-wrap:wrap;gap:8px}.artboard-export p{margin:8px 0 0;overflow-wrap:anywhere}.artboard-source-panel{border:1px solid var(--canvas-border);border-radius:8px;padding:12px;margin-bottom:14px;min-width:0}.artboard-source-panel>header{align-items:center;flex-wrap:wrap}.artboard-source-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:8px;list-style:none;padding:0;margin:10px 0;min-width:0}.artboard-source-list>*{min-width:0}.artboard-editor .artboard-source-tile{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:0;padding:8px;text-align:left;background:var(--canvas-panel)}.artboard-source-tile img{display:block;width:64px;height:64px;object-fit:contain;border-radius:4px;background:var(--canvas-panel-soft)}.artboard-source-tile>:not(img){min-width:0;overflow:hidden;text-overflow:ellipsis}.artboard-source-tile span,.artboard-source-tile strong,.artboard-source-tile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artboard-source-tile small{color:var(--canvas-muted)}.artboard-editor .artboard-source-tile[aria-checked=true]{border-color:var(--canvas-accent);background:var(--canvas-panel-soft);box-shadow:inset 0 0 0 1px var(--canvas-accent)}.artboard-source-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.artboard-source-actions label{margin:0}.artboard-source-empty{color:var(--canvas-muted);border:1px dashed var(--canvas-border);border-radius:6px;padding:14px;margin:10px 0;overflow-wrap:anywhere}@media (max-width:700px){.artboard-editor-body{grid-template-columns:minmax(0,1fr)}.artboard-editor header{flex-wrap:wrap}}.artboard-interaction{min-width:0}.artboard-viewport{position:relative;padding:36px 12px 14px;overflow:hidden;outline:none;touch-action:none}.artboard-viewport:focus-visible{outline:2px solid var(--canvas-accent,#668cff);outline-offset:-2px}.artboard-interaction-surface{position:relative;width:100%}.artboard-interaction-surface .artboard-canvas-wrap{overflow:visible}.artboard-transform-overlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}.artboard-transform-overlay [data-artboard-handle]{pointer-events:all;cursor:nwse-resize}.artboard-transform-overlay [data-artboard-handle=rotate]{cursor:grab}.artboard-full-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;padding:20px;background:#000b}.artboard-full-editor{box-sizing:border-box;display:flex;flex-direction:column;width:100%;height:100%;border-radius:10px;background:var(--canvas-panel,#181c25);color:var(--canvas-text,#eee)}.artboard-full-editor>header{flex:none}.artboard-full-editor .artboard-editor-body{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 240px;align-items:stretch}.artboard-full-editor aside{overflow:auto}.artboard-layer-heading{display:block;margin-bottom:8px}.artboard-full-editor .artboard-layer-list{max-height:min(45vh,360px)}.artboard-secondary-tools{border-top:1px solid var(--canvas-border);padding-top:10px;margin-top:12px}.artboard-secondary-tools>summary{cursor:pointer;color:var(--canvas-muted)}.artboard-interaction.is-expanded{display:flex;flex-direction:column;min-height:0}.artboard-interaction.is-expanded .artboard-viewport{flex:1;padding:0;min-height:200px;background:var(--canvas-panel-soft,#11151d)}.artboard-interaction.is-expanded .artboard-interaction-surface{position:absolute}.artboard-view-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}@media (max-width:700px){.artboard-full-backdrop{padding:4px}.artboard-full-editor .artboard-editor-body{grid-template-columns:minmax(0,1fr) 180px;gap:6px}.artboard-view-tools small{display:none}}.artboard-node-preview .artboard-interaction.is-compact{width:100%;height:100%}.artboard-interaction.is-compact .artboard-viewport{width:100%;height:100%;padding:0}.artboard-interaction.is-compact .artboard-interaction-surface{position:absolute}.artboard-interaction-surface .artboard-canvas-wrap{height:100%}.artboard-interaction-surface canvas{height:100%}.artboard-node-preview>[role=alert]{position:absolute;bottom:0;margin:0;background:var(--canvas-panel)}.artboard-complete-workspace{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}.artboard-complete-workspace>.artboard-interaction.is-expanded{flex:1}.artboard-layer-gallery{flex:none;min-width:0}.artboard-layer-gallery__header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.artboard-layer-gallery__header h3{margin:0;font-size:12px}.artboard-layer-gallery__header p{margin:0;font-size:11px;color:var(--canvas-muted)}.artboard-layer-gallery__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;max-height:224px;overflow:auto;padding:2px}.artboard-layer-gallery__card{min-width:0;border:1px solid var(--canvas-border);border-radius:7px;overflow:hidden;background:var(--canvas-panel-soft)}.artboard-layer-gallery__card.is-selected{border-color:var(--canvas-accent);box-shadow:0 0 0 1px var(--canvas-accent)}.artboard-editor .artboard-layer-gallery__select{display:flex;flex-direction:column;gap:5px;padding:0 0 7px;border:0;width:100%;border-radius:0;text-align:left;background:transparent}.artboard-layer-gallery__thumbnail{display:flex;width:100%;height:104px;align-items:center;justify-content:center;background:repeating-conic-gradient(var(--canvas-panel-soft) 0% 25%,var(--canvas-border) 0% 50%) 0/12px 12px;padding:8px;box-sizing:border-box}.artboard-layer-gallery__thumbnail img{display:block;width:100%;height:100%;object-fit:contain}.artboard-layer-gallery__name,.artboard-layer-gallery__status,.artboard-layer-gallery__transform{display:block;padding-inline:8px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.artboard-layer-gallery__status,.artboard-layer-gallery__transform{font-size:10px;color:var(--canvas-muted)}.artboard-editor .artboard-layer-gallery__visibility{width:100%;border-radius:0;border-width:1px 0 0;font-size:11px}.artboard-layer-gallery__card.is-deleted{border-style:dashed}.artboard-layer-list li button:first-child{display:flex;align-items:center;gap:7px}.artboard-layer-list li button:first-child span{overflow:hidden;text-overflow:ellipsis}.artboard-layer-list-thumbnail{width:38px;height:34px;object-fit:contain;flex-shrink:0;background:repeating-conic-gradient(var(--canvas-panel-soft) 0% 25%,var(--canvas-border) 0% 50%) 0/10px 10px}.artboard-node-layers-button{position:absolute;right:6px;top:6px;z-index:2;color:var(--canvas-text);background:var(--canvas-panel);border:1px solid var(--canvas-border);border-radius:5px;padding:4px 7px;font-size:11px;cursor:pointer}.artboard-node-layers-button:focus-visible{outline:2px solid var(--canvas-accent);outline-offset:2px}.artboard-object-group{border-top:1px solid var(--canvas-border);margin-top:12px;padding-top:12px}.artboard-object-group details{margin:8px 0;max-height:200px;overflow:auto}.artboard-object-group details label{display:flex;align-items:center;gap:6px;margin:5px 0}.artboard-object-group details input[type=checkbox]{width:auto}@media (max-width:700px){.artboard-layer-gallery__cards{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));max-height:154px}.artboard-layer-gallery__thumbnail{height:72px}.artboard-layer-gallery__header{align-items:flex-start;flex-direction:column;gap:3px}}.artboard-scene-options{display:flex;flex-wrap:wrap;gap:10px 16px;border:0;padding:0;margin:0 0 12px}.artboard-scene-options legend{margin-bottom:8px}.artboard-editor .artboard-scene-options label{display:flex;flex-direction:row;align-items:center;gap:5px;margin:0}.artboard-scene-options input[type=checkbox]{width:auto}.artboard-split-total{margin:10px 0}.artboard-task-details{margin-top:12px}.artboard-task-details>:not(summary){margin-top:10px}.artboard-node-edit-hint{position:absolute;left:6px;bottom:5px;z-index:2;padding:3px 6px;border-radius:4px;font-size:10px;color:var(--canvas-text);background:var(--canvas-panel);opacity:.82;pointer-events:none}.artboard-node-preview.is-editing{box-shadow:inset 0 0 0 2px var(--canvas-accent,#668cff)}.enhance-float{position:fixed;z-index:2400;display:flex;flex-direction:column;max-height:86vh;background:#161b24;color:#e8edf4;border:1px solid rgba(255,255,255,.12);border-radius:14px;box-shadow:0 18px 60px #0000008c;overflow:hidden}.enhance-float__header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff08;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.enhance-float__header:active{cursor:grabbing}.enhance-float__title{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;flex:1}.enhance-float__grip{color:#6b7a8d;display:inline-flex}.enhance-float__close{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:8px;background:transparent;color:#9fb0c3;cursor:pointer}.enhance-float__close:hover{background:#ffffff14;color:#fff}.enhance-float__body{padding:16px;overflow:auto;display:flex;flex-direction:column;gap:16px}.enhance-dialog__preview{position:relative;border-radius:10px;overflow:hidden;background:#0d1118;min-height:160px;display:flex;align-items:center;justify-content:center}.enhance-dialog__preview img{max-width:100%;max-height:320px;display:block}.enhance-dialog__empty{color:#6b7a8d;font-size:13px;padding:40px}.enhance-dialog__processing{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#080c14a8;font-size:13px;color:#cdd9e6;text-align:center;padding:0 20px}.enhance-dialog__spinner{width:30px;height:30px;border-radius:50%;border:3px solid rgba(255,255,255,.18);border-top-color:#56b3ff;animation:enhance-spin .9s linear infinite}@keyframes enhance-spin{to{transform:rotate(360deg)}}.enhance-dialog__field{display:flex;flex-direction:column;gap:8px}.enhance-dialog__field--row{flex-direction:row;align-items:center;justify-content:space-between}.enhance-dialog__field-head{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#cdd9e6}.enhance-dialog__scale-val{font-weight:700;color:#56b3ff}.enhance-dialog__model-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.enhance-dialog__model-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:42px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0f;color:#cdd9e6;cursor:pointer}.enhance-dialog__model-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.enhance-dialog__model-option small{flex:0 0 auto;font-size:11px;color:#8ca1b8}.enhance-dialog__model-option:hover{background:#ffffff1a}.enhance-dialog__model-option.is-active{border-color:#56b3ffbf;background:#56b3ff29;color:#fff}.enhance-dialog__model-option.is-active small{color:#8ecbff}.enhance-dialog__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.enhance-dialog__select{width:100%;min-width:0;height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#101722;color:#e8edf4;font-size:12px}.enhance-dialog__select:disabled{opacity:.55;cursor:not-allowed}.enhance-dialog__range{width:100%;accent-color:#56b3ff;cursor:pointer}.enhance-dialog__ticks{display:flex;justify-content:space-between;font-size:11px;color:#6b7a8d}.enhance-dialog__warn{margin:2px 0 0;font-size:12px;color:#f0b85a}.enhance-dialog__switch{position:relative;width:46px;height:26px;border:none;border-radius:13px;background:#ffffff29;cursor:pointer;transition:background .18s}.enhance-dialog__switch.is-on{background:#2f9e57}.enhance-dialog__switch-knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .18s}.enhance-dialog__switch.is-on .enhance-dialog__switch-knob{transform:translate(20px)}.enhance-dialog__error{font-size:12px;color:#ff8a8a;background:#ff50501a;border:1px solid rgba(255,80,80,.3);border-radius:8px;padding:8px 10px}.enhance-dialog__hint{margin:10px 0 0;font-size:12px;color:#9fb0c3;line-height:1.5}.enhance-dialog__footer,.enhance-float__footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.08)}.enhance-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 18px;border:none;border-radius:9px;font-size:13px;font-weight:600;cursor:pointer}.enhance-btn--ghost{background:#ffffff14;color:#cdd9e6}.enhance-btn--ghost:hover{background:#ffffff24}.enhance-btn--primary{background:#2f7fff;color:#fff}.enhance-btn--primary:hover{background:#4a90ff}.enhance-btn:disabled{opacity:.5;cursor:not-allowed}.enhance-compare{position:relative;width:100%;min-height:160px;max-height:360px;border-radius:10px;overflow:hidden;background:#0d1118;-webkit-user-select:none;user-select:none;touch-action:none;cursor:ew-resize}.enhance-compare__img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}.enhance-compare__tag{position:absolute;top:8px;padding:2px 8px;border-radius:6px;font-size:11px;color:#fff;background:#0000008c;pointer-events:none}.enhance-compare__tag--before{left:8px}.enhance-compare__tag--after{right:8px}.enhance-compare__divider{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#ffffffe6;box-shadow:0 0 6px #00000080;pointer-events:none}.enhance-compare__handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#ffffff47;border:1px solid rgba(255,255,255,.6)}.enhance-compare__arrow{color:#ffffffd9}.titan-node-main__preview .enhance-compare{width:100%;height:100%;min-height:0;max-height:none;border-radius:0}.media-viewer__image-inner--compare{align-items:center;justify-content:center}.media-viewer__compare{width:100%;height:100%;display:flex}.media-viewer__compare .enhance-compare{width:100%;height:100%;min-height:0;max-height:none}.enhance-float{background:color-mix(in srgb,var(--canvas-panel) 96%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 68%,transparent)!important;color:var(--canvas-text)!important;box-shadow:0 24px 64px color-mix(in srgb,var(--canvas-bg) 52%,transparent)!important}.enhance-float__header,.enhance-float__footer,.enhance-dialog__footer,.enhance-dialog__preview,.enhance-dialog__processing,.enhance-compare,.enhance-compare__tag{background:color-mix(in srgb,var(--canvas-panel-soft) 78%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 60%,transparent)!important;color:var(--canvas-text)!important}.enhance-float__close,.enhance-btn,.enhance-btn--ghost,.enhance-dialog__model-option,.enhance-dialog__select,.enhance-dialog__switch{background:color-mix(in srgb,var(--canvas-node-bg) 78%,var(--canvas-bg) 22%)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important;color:var(--canvas-text)!important}.enhance-dialog__model-option.is-active{background:color-mix(in srgb,var(--canvas-accent, #2f7fff) 24%,var(--canvas-node-bg) 76%)!important;border-color:color-mix(in srgb,var(--canvas-accent, #2f7fff) 72%,transparent)!important}.enhance-float__close:hover,.enhance-btn--ghost:hover{background:color-mix(in srgb,var(--canvas-accent) 16%,var(--canvas-panel-soft) 84%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 46%,var(--canvas-border) 54%)!important;color:var(--canvas-text)!important}.enhance-btn--primary,.enhance-dialog__switch.is-on,.enhance-dialog__spinner{background:linear-gradient(135deg,var(--canvas-accent),var(--canvas-edge))!important;border-color:color-mix(in srgb,var(--canvas-accent) 56%,var(--canvas-border) 44%)!important;color:var(--canvas-bg)!important}.enhance-dialog__switch-knob{background:var(--canvas-text)!important}.enhance-dialog__range{accent-color:var(--canvas-accent)!important}.enhance-float__grip,.enhance-dialog__empty,.enhance-dialog__ticks,.enhance-dialog__hint{color:var(--canvas-muted)!important}.enhance-dialog__scale-val,.enhance-compare__divider,.enhance-compare__handle{color:var(--canvas-accent)!important;border-color:color-mix(in srgb,var(--canvas-accent) 64%,var(--canvas-border) 36%)!important}.enhance-dialog__warn{color:var(--canvas-warning)!important}.enhance-dialog__error{background:color-mix(in srgb,var(--canvas-danger) 16%,var(--canvas-panel-soft) 84%)!important;border-color:color-mix(in srgb,var(--canvas-danger) 48%,var(--canvas-border) 52%)!important;color:var(--canvas-danger)!important}.image-composition-lighting-float{position:fixed;z-index:2410;display:flex;flex-direction:column;max-height:92vh;min-width:0;background:color-mix(in srgb,var(--canvas-panel, #14161c) 96%,transparent);color:var(--canvas-text, #e8edf4);border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 78%,transparent);border-radius:8px;box-shadow:0 24px 64px color-mix(in srgb,var(--canvas-bg, #020304) 54%,transparent);overflow:hidden}.image-composition-lighting-float__header{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px 8px 12px;border-bottom:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 64%,transparent);background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 58%,transparent);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.image-composition-lighting-float__header:active{cursor:grabbing}.image-composition-lighting-float__title{display:inline-flex;align-items:center;gap:8px;min-width:0;flex:1;font-size:13px;font-weight:700;letter-spacing:0}.image-composition-lighting-float__grip{display:inline-flex;color:var(--canvas-muted, #8d99aa)}.image-composition-lighting-float__close{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--canvas-muted, #8d99aa);cursor:pointer}.image-composition-lighting-float__close:hover{background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 86%,transparent);border-color:color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 76%,transparent);color:var(--canvas-text, #e8edf4)}.image-composition-lighting-float__body{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,.75fr);gap:14px;padding:12px;overflow:auto}.image-composition-lighting-panel{display:flex;min-width:0;flex-direction:column;gap:10px}.image-composition-lighting-preview{min-width:0;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 62%,transparent);border-radius:8px;background:color-mix(in srgb,var(--canvas-bg, #020304) 78%,var(--canvas-panel, #14161c) 22%);overflow:hidden}.image-composition-lighting-preview__stage{display:flex;align-items:stretch;justify-content:stretch;height:430px;padding:0}.image-composition-lighting-preview__stage--big{min-height:430px}.image-composition-lighting-shape-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 10px;border-top:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 56%,transparent);background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 38%,transparent)}.image-composition-lighting-preview__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-top:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 56%,transparent);font-size:12px;color:var(--canvas-muted, #8d99aa)}.image-composition-lighting-preview__meta{display:inline-flex;flex-direction:column;gap:2px}.image-composition-lighting-preview-switcher,.image-composition-lighting-tabs,.image-composition-lighting-light-tabs,.image-composition-lighting-toolbar,.image-composition-lighting-head-actions,.image-composition-lighting-toolbar__actions{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}.image-composition-lighting-preview__stage .image-composition-lighting-space{width:100%;height:100%;min-height:0;border:0;border-radius:0}.image-composition-lighting-tabs{gap:8px}.image-composition-lighting-tab,.image-composition-lighting-light-tab,.image-composition-lighting-icon-toggle,.image-composition-lighting-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 72%,transparent);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel, #14161c) 76%,transparent);color:var(--canvas-muted, #8d99aa);font-size:12px;cursor:pointer}.image-composition-lighting-tab.is-active,.image-composition-lighting-light-tab.is-active,.image-composition-lighting-icon-toggle.is-active{background:color-mix(in srgb,var(--canvas-accent, #56b3ff) 20%,var(--canvas-panel-soft, #1f232b) 80%);border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 62%,var(--canvas-border, rgba(255, 255, 255, .16)) 38%);color:var(--canvas-text, #e8edf4)}.image-composition-lighting-icon-toggle{width:34px;padding:0}.image-composition-lighting-icon-btn{width:30px;padding:0}.image-composition-lighting-light-tabs{justify-content:flex-start;padding:8px 10px 0}.image-composition-lighting-light-count{margin-left:auto;color:var(--canvas-muted, #8d99aa);font-size:12px}.image-composition-lighting-toolbar{justify-content:space-between}.image-composition-lighting-section.is-hidden{display:none}.image-composition-lighting-section.is-visible{display:block}.image-composition-lighting-preview-hint{margin-bottom:-2px;color:var(--canvas-muted, #8d99aa);font-size:12px}.image-composition-lighting-space{width:100%;height:100%;min-height:430px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 62%,transparent);border-radius:8px;background:color-mix(in srgb,var(--canvas-bg, #020304) 78%,var(--canvas-panel, #14161c) 22%);overflow:hidden;cursor:grab;touch-action:none}.image-composition-lighting-space:active{cursor:grabbing}.image-composition-lighting-space canvas{display:block;width:100%;height:100%}.image-composition-lighting-switch{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--canvas-text, #e8edf4);cursor:pointer}.image-composition-lighting-switch input{width:16px;height:16px;accent-color:var(--canvas-accent, #56b3ff)}.image-composition-lighting-section{border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 62%,transparent);border-radius:8px;background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 58%,transparent);overflow:hidden}.image-composition-lighting-section__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-bottom:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 56%,transparent);font-size:12px;font-weight:700}.image-composition-lighting-section__head span{display:inline-flex;align-items:center;gap:6px}.image-composition-lighting-section__body{display:flex;flex-direction:column;gap:10px;padding:10px}.image-composition-lighting-preset-row,.image-composition-lighting-segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.image-composition-lighting-preset-row--lighting{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.image-composition-lighting-preset-row--lighting .image-composition-lighting-chip{flex:0 0 auto}.image-composition-lighting-chip{min-width:0;min-height:30px;padding:0 8px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 72%,transparent);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel, #14161c) 76%,transparent);color:var(--canvas-muted, #8d99aa);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.image-composition-lighting-chip:hover{color:var(--canvas-text, #e8edf4);border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 42%,var(--canvas-border, rgba(255, 255, 255, .16)) 58%)}.image-composition-lighting-chip.is-active{background:color-mix(in srgb,var(--canvas-accent, #56b3ff) 20%,var(--canvas-panel-soft, #1f232b) 80%);border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 62%,var(--canvas-border, rgba(255, 255, 255, .16)) 38%);color:var(--canvas-text, #e8edf4)}.image-composition-lighting-row{display:grid;grid-template-columns:64px minmax(0,1fr) 42px;align-items:center;gap:8px;font-size:12px;color:var(--canvas-muted, #8d99aa)}.image-composition-lighting-select-row,.image-composition-lighting-color-row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px;font-size:12px;color:var(--canvas-muted, #8d99aa)}.image-composition-lighting-select-row select{width:100%;min-width:0;height:32px;padding:0 8px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 72%,transparent);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel, #14161c) 82%,transparent);color:var(--canvas-text, #e8edf4);font-size:12px}.image-composition-lighting-color-row{grid-template-columns:64px 34px minmax(0,1fr)}.image-composition-lighting-color-picker{position:relative;display:inline-flex;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 72%,transparent);border-radius:6px;overflow:hidden;cursor:pointer}.image-composition-lighting-color-picker input{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;width:44px;height:44px;opacity:0;cursor:pointer}.image-composition-lighting-color-picker span{width:100%;height:100%}.image-composition-lighting-color-row code{min-width:0;color:var(--canvas-text, #e8edf4);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-composition-lighting-row input[type=range]{width:100%;min-width:0;accent-color:var(--canvas-accent, #56b3ff)}.image-composition-lighting-row__value{color:var(--canvas-text, #e8edf4);text-align:right;font-variant-numeric:tabular-nums}.image-composition-lighting-aside{display:flex;min-width:0;flex-direction:column;gap:10px}.image-composition-lighting-aside__head,.image-composition-lighting-aside__actions{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.image-composition-lighting-aside__head>span{color:var(--canvas-text, #e8edf4);font-size:12px;font-weight:700}.image-composition-lighting-aside__head .image-composition-lighting-segmented{display:inline-grid;grid-template-columns:repeat(2,minmax(54px,1fr));width:118px}.image-composition-lighting-aside__actions{justify-content:flex-end;flex-wrap:wrap}.image-composition-lighting-prompt{flex:1;min-height:280px;margin:0;padding:10px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 62%,transparent);border-radius:8px;background:color-mix(in srgb,var(--canvas-bg, #020304) 78%,var(--canvas-panel, #14161c) 22%);color:var(--canvas-text, #e8edf4);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow:auto}.image-composition-lighting-shape-card{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;height:42px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 72%,transparent);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel, #14161c) 76%,transparent);color:var(--canvas-muted, #8d99aa);font-size:12px;cursor:pointer}.image-composition-lighting-shape-card.is-active{background:color-mix(in srgb,var(--canvas-accent, #56b3ff) 20%,var(--canvas-panel-soft, #1f232b) 80%);border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 62%,var(--canvas-border, rgba(255, 255, 255, .16)) 38%);color:var(--canvas-text, #e8edf4)}.image-composition-lighting-status{min-height:18px;color:var(--canvas-muted, #8d99aa);font-size:12px}.image-composition-lighting-status.is-success{color:var(--canvas-success, #48c774)}.image-composition-lighting-status.is-error{color:var(--canvas-danger, #ff7b7b)}.image-composition-lighting-float__footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 12px;border-top:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 64%,transparent);background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 46%,transparent)}.image-composition-lighting-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;height:32px;padding:0 12px;border:1px solid color-mix(in srgb,var(--canvas-border, rgba(255, 255, 255, .16)) 76%,transparent);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel, #14161c) 82%,transparent);color:var(--canvas-text, #e8edf4);font-size:12px;font-weight:700;cursor:pointer}.image-composition-lighting-btn:hover{border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 52%,var(--canvas-border, rgba(255, 255, 255, .16)) 48%)}.image-composition-lighting-btn--primary{background:color-mix(in srgb,var(--canvas-accent, #56b3ff) 72%,var(--canvas-panel, #14161c) 28%);border-color:color-mix(in srgb,var(--canvas-accent, #56b3ff) 78%,transparent);color:var(--canvas-bg, #020304)}@media (max-width: 720px){.image-composition-lighting-float{width:calc(100vw - 16px)!important}.image-composition-lighting-float__body{grid-template-columns:minmax(0,1fr)}.image-composition-lighting-preview__stage{height:340px}.image-composition-lighting-space{min-height:340px}}.titan-video-mode-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;padding:0;margin-right:2px}.titan-video-mode-bar__pill{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 8px;color:var(--canvas-muted);font:inherit;font-size:11px;line-height:1;font-weight:500;white-space:nowrap;background:var(--canvas-panel-soft);border:1px solid var(--canvas-border);border-radius:999px;cursor:pointer}.titan-video-mode-bar__pill:hover:not(:disabled){color:var(--canvas-text);border-color:color-mix(in srgb,var(--canvas-accent) 42%,var(--canvas-border))}.titan-video-mode-bar__pill.is-active{color:var(--canvas-text);background:color-mix(in srgb,var(--canvas-accent) 16%,var(--canvas-panel-soft));border-color:color-mix(in srgb,var(--canvas-accent) 60%,var(--canvas-border))}.titan-video-mode-bar__pill:disabled{opacity:.5;cursor:not-allowed}.titan-video-mode-bar__pill small{color:var(--canvas-accent);font-size:10px}.drawing-editor{--drawing-bg: #14161b;--drawing-panel: #1d2027;--drawing-panel-2: #242832;--drawing-border: rgba(255, 255, 255, .12);--drawing-text: rgba(255, 255, 255, .9);--drawing-muted: rgba(255, 255, 255, .58);--drawing-accent: #38bdf8;--drawing-accent-2: #f59e0b;display:flex;flex-direction:column;min-height:0;background:var(--drawing-bg);color:var(--drawing-text);border:1px solid var(--drawing-border);box-shadow:0 18px 48px #00000061;overflow:hidden}.drawing-editor--node{width:min(680px,calc(100vw - 64px));height:min(430px,calc(100vh - 120px))}.drawing-editor--viewer{width:100%;height:100%;border:0;box-shadow:none}.drawing-editor__topbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:8px 10px 8px 12px;border-bottom:1px solid var(--drawing-border);background:#1a1d24}.drawing-editor--node .drawing-editor__topbar{align-items:flex-start;flex-wrap:wrap}.drawing-editor__title,.drawing-editor__actions,.drawing-editor__command,.drawing-editor__panel-title,.drawing-editor__history-actions{display:flex;align-items:center}.drawing-editor__title{min-width:0;gap:8px;font-size:13px;font-weight:700}.drawing-editor__title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawing-editor__actions{gap:8px;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}.drawing-editor__topbar-color{position:relative;width:32px;height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--drawing-border);border-radius:6px;background:var(--drawing-panel-2);cursor:pointer}.drawing-editor__topbar-color span{width:18px;height:18px;border:2px solid rgba(255,255,255,.9);border-radius:999px}.drawing-editor__topbar-color input{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;width:48px;height:48px;opacity:0;cursor:pointer}.drawing-editor__compactbar{flex:0 0 auto;display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 10px;border-bottom:1px solid var(--drawing-border);background:#171a20}.drawing-editor__compact-color{flex:0 0 auto;width:32px;height:32px;overflow:hidden;border:1px solid var(--drawing-border);border-radius:6px;background:var(--drawing-panel-2)}.drawing-editor__compact-color input{width:42px;height:42px;margin:-5px;padding:0;border:0;background:transparent;cursor:pointer}.drawing-editor__compact-range,.drawing-editor__compact-shapes{display:inline-flex;align-items:center;gap:6px}.drawing-editor__compact-range{min-width:148px;color:var(--drawing-muted);font-size:11px}.drawing-editor__compact-range input{width:92px}.drawing-editor__command,.drawing-editor__icon-button,.drawing-editor__segmented button{border:1px solid var(--drawing-border);background:var(--drawing-panel-2);color:var(--drawing-text);cursor:pointer}.drawing-editor__command{gap:6px;height:30px;padding:0 10px;font-size:12px;border-radius:6px;white-space:nowrap}.drawing-editor__command--primary{border-color:#38bdf894;background:#38bdf82e;color:#e0f2fe}.drawing-editor__command--output{border-color:#f59e0b85;background:#f59e0b29;color:#ffedd5}.drawing-editor__command--full{width:100%;justify-content:center}.drawing-editor__command:hover,.drawing-editor__icon-button:hover,.drawing-editor__segmented button:hover{border-color:#38bdf885}.drawing-editor__command:disabled,.drawing-editor__icon-button:disabled{cursor:not-allowed;opacity:.42}.drawing-editor__icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:6px}.drawing-editor__icon-button--save{border-color:#38bdf894;background:#38bdf82e;color:#e0f2fe}.drawing-editor__icon-button--output{border-color:#f59e0b85;background:#f59e0b29;color:#ffedd5}.drawing-editor__icon-button.is-active,.drawing-editor__segmented button.is-active,.drawing-editor__layer-row.is-active,.drawing-editor__history-row.is-active{border-color:#38bdf8d9;background:#38bdf829;color:#e0f2fe}.drawing-editor__workspace{flex:1 1 auto;display:grid;grid-template-columns:44px minmax(0,1fr) 248px;min-height:0}.drawing-editor__workspace--compact{grid-template-columns:44px minmax(0,1fr)}.drawing-editor__toolrail{position:relative;display:flex;flex-direction:column;gap:8px;padding:10px 6px;border-right:1px solid var(--drawing-border);background:#171a20;overflow:visible;z-index:6}.drawing-editor__toolrail-item{position:relative;display:inline-flex;width:32px}.drawing-editor__tool-popover{position:absolute;left:calc(100% + 10px);top:0;z-index:12;display:flex;flex-direction:column;gap:7px;width:218px;padding:10px;border:1px solid var(--drawing-border);border-radius:6px;background:#1a1d24fa;box-shadow:0 16px 38px #00000070;pointer-events:auto}.drawing-editor--viewer .drawing-editor__tool-popover{max-height:min(420px,calc(100vh - 120px));overflow-y:auto}.drawing-editor__tool-popover--shape{width:174px}.drawing-editor__tool-popover--eraser{width:196px}.drawing-editor__tool-popover-title{color:var(--drawing-muted);font-size:12px;font-weight:700}.drawing-editor__stroke-mode{display:grid;grid-template-columns:1fr 1fr;gap:6px}.drawing-editor__tool-menu-item{display:flex;align-items:center;gap:7px;min-height:30px;padding:5px 7px;border:1px solid var(--drawing-border);border-radius:6px;background:#151820;color:var(--drawing-text);font-size:12px;text-align:left;cursor:pointer}.drawing-editor__tool-menu-item:hover,.drawing-editor__tool-menu-item.is-active{border-color:#38bdf8b8;background:#38bdf829;color:#e0f2fe}.drawing-editor__tool-popover-range{display:grid;grid-template-columns:1fr auto;gap:4px 8px;color:var(--drawing-muted);font-size:11px}.drawing-editor__tool-popover-range strong{color:var(--drawing-text);font-size:11px;font-weight:700}.drawing-editor__tool-popover-range input{grid-column:1 / -1;width:100%;accent-color:var(--drawing-accent)}.drawing-editor__tool-popover-select{grid-column:1 / -1;width:100%;height:30px;border:1px solid var(--drawing-border);border-radius:5px;background:var(--drawing-panel-2);color:var(--drawing-text)}.drawing-editor__toolrail-spacer{flex:1 1 auto;min-height:8px}.drawing-editor__main{display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px}.drawing-editor__stage-viewport{flex:1 1 auto;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}.drawing-editor__stage-viewport.can-pan{cursor:grab}.drawing-editor__stage-viewport.is-panning{cursor:grabbing}.drawing-editor__stage-viewport.can-pan .drawing-editor__stage.is-selecting{cursor:grab}.drawing-editor__stage-viewport.is-panning .drawing-editor__stage.is-selecting{cursor:grabbing}.drawing-editor__stage{position:relative;flex:0 0 auto;min-width:1px;min-height:1px;aspect-ratio:3 / 2;margin:auto;background:#0d0f14;border:1px solid var(--drawing-border);overflow:visible;touch-action:none;cursor:crosshair}.drawing-editor__stage.is-selecting{cursor:default}.drawing-editor__canvas{display:block;width:100%;height:100%;object-fit:contain}.drawing-editor__empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;color:var(--drawing-muted);background:#0d0f14db;font-size:13px}@keyframes drawing-editor-marching-ants{to{background-position:8px 0,-8px 100%,0 -8px,100% 8px}}.drawing-editor__text-box{position:absolute;border:1px dashed transparent;pointer-events:none}.drawing-editor__text-box.is-selected{border-color:transparent;background:transparent;pointer-events:auto}.drawing-editor__text-box.is-selected:after{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:2;background:linear-gradient(90deg,#fff 50%,#111318 50%) repeat-x 0 0 / 8px 1px,linear-gradient(90deg,#fff 50%,#111318 50%) repeat-x 0 100% / 8px 1px,linear-gradient(0deg,#fff 50%,#111318 50%) repeat-y 0 0 / 1px 8px,linear-gradient(0deg,#fff 50%,#111318 50%) repeat-y 100% 0 / 1px 8px;pointer-events:none;animation:drawing-editor-marching-ants .45s linear infinite}.drawing-editor__layer-selection{position:absolute;z-index:3;min-width:1px;min-height:1px;border:1px dashed rgba(255,255,255,.95);box-shadow:0 0 0 1px #111318e0;cursor:move;pointer-events:auto;touch-action:none}.drawing-editor__layer-resize{position:absolute;z-index:8;width:14px;height:14px;min-width:14px;padding:0;border:2px solid #111318;border-radius:3px;background:#fff;pointer-events:auto;touch-action:none}.drawing-editor__layer-resize--nw{left:0;top:0;transform:translate(-50%,-50%);cursor:nwse-resize}.drawing-editor__layer-resize--ne{right:0;top:0;transform:translate(50%,-50%);cursor:nesw-resize}.drawing-editor__layer-resize--sw{left:0;bottom:0;transform:translate(-50%,50%);cursor:nesw-resize}.drawing-editor__layer-resize--se{right:0;bottom:0;transform:translate(50%,50%);cursor:nwse-resize}.drawing-editor__text-editor{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;padding:4px;border:0;outline:none;resize:none;overflow:hidden auto;background:transparent;line-height:1.25;white-space:pre-wrap;word-break:break-word;pointer-events:auto}.drawing-editor__text-resize{position:absolute;right:-10px;bottom:-10px;z-index:5;width:20px;height:20px;padding:0;border:1px solid rgba(255,255,255,.7);background:var(--drawing-accent-2);background-clip:content-box;border-radius:4px;cursor:nwse-resize;pointer-events:auto;touch-action:none}.drawing-editor__text-resize:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}.drawing-editor__floating-text-toolbar{position:absolute;left:50%;bottom:calc(100% + 10px);display:inline-flex;align-items:center;flex-wrap:nowrap;justify-content:flex-start;gap:7px;width:max-content;max-width:min(960px,78vw);box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;padding:7px 8px;border-radius:12px;background:#121419fa;border:1px solid var(--drawing-border);box-shadow:0 14px 32px #0000006b;color:var(--drawing-text);transform:translate(-50%);pointer-events:auto;z-index:4}.drawing-editor__floating-text-toolbar>*{flex:0 0 auto}.drawing-editor__floating-font-select,.drawing-editor__floating-size-input{height:28px;border:1px solid var(--drawing-border);border-radius:8px;background:#111318;color:var(--drawing-text);outline:none;font-size:12px}.drawing-editor__floating-font-select{width:126px}.drawing-editor__floating-size-input{width:58px;padding:0 5px}.drawing-editor__floating-size-slider{width:98px;accent-color:var(--drawing-accent)}.drawing-editor__floating-border-slider{width:98px;accent-color:var(--drawing-accent-2)}.drawing-editor__marker-colors{display:inline-flex;align-items:center;gap:5px}.drawing-editor__marker-colors label{position:relative;min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:3px;border:1px solid var(--drawing-border);border-radius:8px;background:var(--drawing-panel-2);color:var(--drawing-muted);font-size:10px;overflow:hidden}.drawing-editor__marker-colors input[type=color]{width:18px;height:18px;padding:0;border:0;background:transparent}.drawing-editor__floating-background-toggle{height:28px;display:inline-flex;align-items:center;gap:4px;padding:0 5px;border:1px solid var(--drawing-border);border-radius:8px;background:var(--drawing-panel-2);color:var(--drawing-muted);font-size:11px;white-space:nowrap}.drawing-editor__floating-background-toggle input{margin:0;accent-color:var(--drawing-accent)}.drawing-editor__floating-color{position:relative;width:28px;height:28px;min-width:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--drawing-panel-2);overflow:hidden;cursor:pointer}.drawing-editor__floating-color span{width:16px;height:16px;border-radius:999px;border:2px solid rgba(255,255,255,.9)}.drawing-editor__floating-color input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.drawing-editor__floating-move,.drawing-editor__floating-delete{width:28px;height:28px;min-width:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:var(--drawing-panel-2);color:var(--drawing-text);cursor:grab}.drawing-editor__floating-move:hover{border-color:#38bdf894;background:#38bdf829}.drawing-editor__floating-delete{cursor:pointer}.drawing-editor__floating-delete:hover{background:#ff5f5f2e}.drawing-editor__status{flex:0 0 auto;min-height:22px;padding-top:6px;color:var(--drawing-muted);font-size:12px}.drawing-editor__side{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;padding:10px;border-left:1px solid var(--drawing-border);overflow-y:auto;background:#171a20}.drawing-editor__panel{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:10px;background:var(--drawing-panel);border:1px solid var(--drawing-border);border-radius:6px}.drawing-editor__panel--color{gap:9px}.drawing-editor__color-swatch{margin-left:auto;width:18px;height:18px;border:2px solid rgba(255,255,255,.85);border-radius:999px}.drawing-editor__color-picker{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:9px}.drawing-editor__color-picker input{width:44px;height:32px;padding:0;border:1px solid var(--drawing-border);border-radius:6px;background:transparent;cursor:pointer}.drawing-editor__color-picker strong{min-width:0;padding:7px 8px;border:1px solid var(--drawing-border);border-radius:6px;background:#111318;color:var(--drawing-text);font-size:12px;font-weight:700}.drawing-editor__rgb-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.drawing-editor__rgb-fields label{min-width:0;display:flex;flex-direction:column;gap:4px;color:var(--drawing-muted);font-size:10px;font-weight:700}.drawing-editor__rgb-fields input{min-width:0;width:100%;height:28px;padding:0 5px;border:1px solid var(--drawing-border);border-radius:6px;background:#111318;color:var(--drawing-text);font-size:12px}.drawing-editor__panel-title{gap:7px;color:var(--drawing-muted);font-size:12px;font-weight:700}.drawing-editor__field{display:flex;flex-direction:column;gap:5px;color:var(--drawing-muted);font-size:11px}.drawing-editor__field input[type=range]{width:100%}.drawing-editor__field input[type=color]{width:100%;height:28px;border:0;background:transparent}.drawing-editor__segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px}.drawing-editor__segmented button{height:28px;border-radius:6px;font-size:11px}.drawing-editor__text-controls textarea{min-height:76px;resize:vertical;padding:8px;border:1px solid var(--drawing-border);border-radius:6px;background:#111318;color:var(--drawing-text)}.drawing-editor__inline-fields{display:grid;grid-template-columns:74px 1fr;gap:6px}.drawing-editor__inline-fields input,.drawing-editor__inline-fields select{min-width:0;height:30px;border:1px solid var(--drawing-border);border-radius:6px;background:#111318;color:var(--drawing-text)}.drawing-editor__panel--layers,.drawing-editor__panel--history{min-height:0;resize:vertical;overflow:auto}.drawing-editor__panel--layers{min-height:116px;max-height:none}.drawing-editor__panel--history{min-height:118px;max-height:none}.drawing-editor__layer-list,.drawing-editor__history-list{display:flex;flex-direction:column;gap:5px;overflow-y:auto}.drawing-editor__layer-list,.drawing-editor__history-list{max-height:none}.drawing-editor__layer-row,.drawing-editor__history-row{width:100%;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 7px;border:1px solid var(--drawing-border);border-radius:6px;background:#151820;color:var(--drawing-text);text-align:left}.drawing-editor__layer-row[draggable=true]{cursor:grab}.drawing-editor__layer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.drawing-editor__layer-actions{display:inline-flex;align-items:center;gap:6px;color:var(--drawing-muted);font-size:12px}.drawing-editor__layer-actions span{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:20px;cursor:pointer}.drawing-editor__history-actions{gap:7px}.drawing-editor__history-limit{margin-left:auto;display:inline-flex;align-items:center;gap:5px;color:var(--drawing-muted)}.drawing-editor__history-limit input{width:48px;height:24px;padding:0 4px;border:1px solid var(--drawing-border);border-radius:5px;background:#111318;color:var(--drawing-text);font-size:11px}.drawing-editor__history-delete{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;color:var(--drawing-muted)}.drawing-editor__history-delete:hover{background:#ff5f5f2e;color:#fecaca}.drawing-editor__history-row span,.drawing-editor__history-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawing-editor__history-row span{font-size:12px}.drawing-editor__history-row small{color:var(--drawing-muted);font-size:10px}@media (max-width: 900px){.drawing-editor--node{width:calc(100vw - 32px);height:min(620px,calc(100vh - 80px))}.drawing-editor__workspace,.drawing-editor__workspace--compact{grid-template-columns:40px minmax(0,1fr)}.drawing-editor__side{grid-column:1 / -1;max-height:260px;border-left:0;border-top:1px solid var(--drawing-border)}}.drawing-editor{--drawing-bg: color-mix(in srgb, var(--canvas-bg) 82%, var(--canvas-panel) 18%);--drawing-panel: color-mix(in srgb, var(--canvas-panel) 94%, transparent);--drawing-panel-2: color-mix(in srgb, var(--canvas-panel-soft) 88%, transparent);--drawing-border: color-mix(in srgb, var(--canvas-border) 68%, transparent);--drawing-text: var(--canvas-text);--drawing-muted: var(--canvas-muted);--drawing-accent: var(--canvas-accent);--drawing-accent-2: var(--canvas-warning);background:var(--drawing-bg)!important;border-color:var(--drawing-border)!important;color:var(--drawing-text)!important;box-shadow:0 18px 48px color-mix(in srgb,var(--canvas-bg) 46%,transparent)!important}.drawing-editor__topbar,.drawing-editor__toolrail,.drawing-editor__side,.drawing-editor__panel,.drawing-editor__tool-popover,.drawing-editor__floating-text-toolbar,.drawing-editor__workspace,.drawing-editor__main,.drawing-editor__stage-viewport,.drawing-editor__stage,.drawing-editor__empty{background:color-mix(in srgb,var(--canvas-panel) 94%,transparent)!important;border-color:var(--drawing-border)!important;color:var(--drawing-text)!important}.drawing-editor__compactbar,.drawing-editor__tool-menu-item,.drawing-editor__command,.drawing-editor__icon-button,.drawing-editor__segmented button,.drawing-editor__floating-font-select,.drawing-editor__floating-size-input,.drawing-editor__floating-color,.drawing-editor__floating-move,.drawing-editor__floating-delete,.drawing-editor__color-picker strong,.drawing-editor__rgb-fields input,.drawing-editor__text-controls textarea,.drawing-editor__inline-fields input,.drawing-editor__inline-fields select,.drawing-editor__layer-row,.drawing-editor__history-row,.drawing-editor__history-limit input{background:color-mix(in srgb,var(--canvas-node-bg) 78%,var(--canvas-bg) 22%)!important;border-color:var(--drawing-border)!important;color:var(--drawing-text)!important}.drawing-editor__command:hover,.drawing-editor__icon-button:hover,.drawing-editor__segmented button:hover,.drawing-editor__tool-menu-item:hover,.drawing-editor__tool-menu-item.is-active,.drawing-editor__icon-button.is-active,.drawing-editor__segmented button.is-active,.drawing-editor__layer-row.is-active,.drawing-editor__history-row.is-active,.drawing-editor__floating-move:hover{background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft) 82%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 56%,var(--canvas-border) 44%)!important;color:var(--drawing-text)!important}.drawing-editor__command--primary,.drawing-editor__icon-button--save{background:linear-gradient(135deg,var(--canvas-accent),var(--canvas-edge))!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-bg)!important}.drawing-editor__command--output,.drawing-editor__icon-button--output{background:color-mix(in srgb,var(--canvas-selection) 18%,var(--canvas-panel-soft) 82%)!important;border-color:color-mix(in srgb,var(--canvas-selection) 52%,var(--canvas-border) 48%)!important;color:var(--drawing-text)!important}.drawing-editor__title,.drawing-editor__panel-title,.drawing-editor__field,.drawing-editor__tool-popover-title,.drawing-editor__tool-popover-range,.drawing-editor__status,.drawing-editor__history-row small,.drawing-editor__rgb-fields label{color:var(--drawing-muted)!important}.drawing-editor__text-box.is-selected,.drawing-editor__canvas:focus,.drawing-editor__stage.is-selecting{outline-color:color-mix(in srgb,var(--canvas-selection) 70%,transparent)!important}.drawing-editor__floating-delete:hover,.drawing-editor__history-delete:hover{background:color-mix(in srgb,var(--canvas-danger) 18%,var(--canvas-panel-soft) 82%)!important;color:var(--canvas-danger)!important}.drawing-editor--viewer .drawing-editor__stage{background-color:#f4f5f7!important;background-image:linear-gradient(45deg,#d9dce2 25%,transparent 25%),linear-gradient(-45deg,#d9dce2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9dce2 75%),linear-gradient(-45deg,transparent 75%,#d9dce2 75%)!important;background-position:0 0,0 8px,8px -8px,-8px 0!important;background-size:16px 16px!important}.drawing-editor__text-box.is-selected:not(.is-number-marker){background:var(--drawing-text-background, transparent)!important}.drawing-editor__text-box.is-selected:not(.is-number-marker) .drawing-editor__text-editor{background:transparent!important}.drawing-editor__text-box.is-selected.is-number-marker{display:flex;align-items:center;justify-content:center;background:var(--drawing-marker-background, transparent)!important;border:var(--drawing-marker-border-width, 3px) solid var(--drawing-marker-border, currentColor)!important;color:var(--drawing-marker-text, #ef4444)!important}.drawing-editor__text-box.is-selected.is-number-marker.is-marker-circle{border-radius:50%}.drawing-editor__text-box.is-selected.is-number-marker.is-marker-square{border-radius:0}.drawing-editor__text-box.is-selected.is-number-marker.is-marker-none{background:var(--drawing-marker-background, transparent)!important;border-color:transparent!important}.drawing-editor__text-box.is-selected.is-number-marker .drawing-editor__text-editor{padding:0;overflow:hidden;background:transparent!important;color:transparent!important;caret-color:var(--drawing-marker-text, #ef4444)!important;text-align:center;line-height:1}.drawing-editor__marker-label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--drawing-marker-text, #ef4444)!important;line-height:1;text-align:center;pointer-events:none}.drawing-editor__compact-color.is-disabled,.drawing-editor__compact-range.is-disabled,.drawing-editor__panel--color.is-disabled{opacity:.4}.drawing-editor__compact-color.is-disabled,.drawing-editor__compact-range.is-disabled{cursor:not-allowed}.drawing-editor__floating-marker-frame{width:54px;height:28px;border:1px solid var(--drawing-border);border-radius:6px;background:#111318;color:var(--drawing-text)}.drawing-editor__panel-title-actions{margin-left:auto;display:inline-flex;gap:4px}.drawing-editor__mini-button{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--drawing-border);border-radius:5px;background:var(--drawing-panel-2);color:var(--drawing-text)}.drawing-editor__mini-button:hover{border-color:var(--drawing-accent)}.drawing-editor__hidden-file-input{display:none}.standalone-chat{height:100vh;display:flex;background:radial-gradient(circle at top,color-mix(in srgb,var(--canvas-bg-glow, #101426) 44%,transparent),transparent 30%),var(--canvas-bg, #0b0d10);color:var(--canvas-text, #e5e7eb);font-family:Segoe UI,PingFang SC,sans-serif}.chat-rail{width:270px;border-right:1px solid var(--canvas-border, #252a33);background:var(--canvas-panel, #111419);display:flex;flex-direction:column;min-width:0}.chat-brand{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--canvas-border, #252a33)}.chat-brand .icon-button{color:var(--canvas-text, #f7f8fa);font-size:18px;font-weight:700}.icon-button,.tool-button,.header-actions button,.thread-delete,.library-title button{border:0;background:none;color:#9da6b5;cursor:pointer}.chat-rail-actions{display:flex;gap:8px;padding:14px 12px}.chat-rail-actions button{flex:1;padding:8px;border:1px solid var(--canvas-border, #303746);background:var(--canvas-panel-soft, #171b22);color:var(--canvas-muted, #aeb7c5);border-radius:6px;cursor:pointer}.chat-rail-actions button.active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 22%,var(--canvas-panel-soft, #27364d));color:var(--canvas-text, #dbeafe);border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 72%,var(--canvas-border, #41658c))}.thread-list{overflow:auto;flex:1;padding:0 8px}.thread-row{display:flex;align-items:center;margin:3px 0;border-radius:7px}.thread-row.selected{background:color-mix(in srgb,var(--canvas-text, #f4f4f4) 7%,var(--canvas-panel, #202733))}.thread-row>button:first-child{flex:1;min-width:0;text-align:left;padding:10px;border:0;background:none;color:var(--canvas-text, #d9dee7);cursor:pointer}.thread-row strong,.thread-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-row strong{font-size:13px}.thread-row small{font-size:11px;color:var(--canvas-muted, #7f8998);margin-top:4px}.thread-delete{padding:7px;opacity:0}.thread-row:hover .thread-delete{opacity:1}.chat-rail-footer{border-top:1px solid var(--canvas-border, #252a33);padding:12px 14px;color:var(--canvas-muted, #788394);font-size:11px;display:flex;justify-content:space-between;align-items:center}.chat-main{flex:1;display:flex;flex-direction:column;min-width:0;position:relative}.chat-header{height:72px;border-bottom:1px solid var(--canvas-border, #252a33);padding:13px 28px;display:flex;align-items:center;justify-content:space-between}.chat-header small{color:var(--canvas-muted, #768294);font-size:11px}.chat-header h1{font-size:17px;margin:3px 0 0}.header-actions{display:flex;gap:8px}.header-actions button{display:flex;gap:5px;align-items:center;padding:7px 9px;border:1px solid var(--canvas-border, #303746);border-radius:6px}.message-scroll{flex:1;overflow:auto;padding:28px max(24px,calc((100% - 860px)/2))}.empty-chat{text-align:center;margin:18vh auto;color:var(--canvas-muted, #7f8998)}.empty-chat h2{font-size:18px;color:var(--canvas-text, #cdd5e1);font-weight:600}.empty-chat p{font-size:13px}.message{display:flex;gap:15px;margin:0 0 25px;line-height:1.65}.message-role{width:50px;flex:none;color:var(--canvas-muted, #8490a1);font-size:12px;padding-top:3px;text-align:right}.message-body{max-width:min(760px,calc(100% - 70px));white-space:pre-wrap;word-break:break-word;font-size:14px}.message-body a{color:var(--canvas-accent, #7db4ff)}.message-body img{display:block;max-width:340px;max-height:260px;border-radius:6px;margin:0 0 8px}.message.user .message-body{background:var(--canvas-panel-soft, #172131);border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 44%,var(--canvas-border, #263b56));padding:10px 13px;border-radius:8px}.typing{color:var(--canvas-muted, #8290a4);font-size:13px;padding-left:65px}.composer-wrap{width:min(860px,calc(100% - 32px));margin:0 auto 24px;border:1px solid var(--canvas-border, #374151);border-radius:9px;background:var(--canvas-panel, #151a21);box-shadow:0 12px 30px #0004;position:relative}.composer-wrap textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;border:0;background:transparent;color:var(--canvas-text, #eff3f8);padding:15px 16px 8px;outline:none;font:14px/1.5 inherit}.composer-toolbar{display:flex;gap:8px;align-items:center;padding:7px 10px}.tool-button{display:flex;align-items:center;justify-content:center;padding:6px;border-radius:5px}.tool-button:hover,.tool-button.active{color:var(--canvas-text, #d6e6ff);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 18%,var(--canvas-panel-soft, #253247))}.tool-button input{display:none}.toolbar-spacer{flex:1}.composer-toolbar select,.parameter-bar select{background:var(--canvas-panel-soft, #1b222c);border:1px solid var(--canvas-border, #313b4a);color:var(--canvas-text, #cfd7e3);border-radius:5px;padding:6px 8px;font-size:12px}.send-button{width:30px;height:30px;border:0;border-radius:6px;background:var(--canvas-accent, #4a86d4);color:var(--canvas-text, #ffffff);display:flex;align-items:center;justify-content:center;cursor:pointer}.send-button:disabled{opacity:.35;cursor:not-allowed}.parameter-bar{border-top:1px solid var(--canvas-border, #29313d);display:flex;gap:11px;flex-wrap:wrap;padding:10px 12px}.parameter-bar label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--canvas-muted, #8e99a8)}.pending-assets{display:flex;gap:6px;flex-wrap:wrap;padding:8px 12px 0}.pending-assets span{font-size:11px;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 12%,var(--canvas-panel-soft, #202b3a));border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 32%,var(--canvas-border, #334c69));padding:4px 7px;border-radius:4px;display:flex;gap:5px;align-items:center}.pending-assets button{background:none;border:0;color:var(--canvas-muted, #91a0b4);padding:0;cursor:pointer}.chat-error{color:color-mix(in srgb,var(--canvas-danger, #d86464) 70%,var(--canvas-text, #f4f4f4));background:color-mix(in srgb,var(--canvas-danger, #d86464) 12%,var(--canvas-panel, #14161c));border-bottom:1px solid color-mix(in srgb,var(--canvas-danger, #d86464) 55%,var(--canvas-border, #303744));padding:7px 12px;font-size:12px}.library-popover{position:absolute;right:max(16px,calc((100% - 860px)/2));bottom:96px;width:270px;max-height:350px;overflow:auto;background:var(--canvas-panel-soft, #171c24);border:1px solid var(--canvas-border, #3a4453);border-radius:8px;padding:8px;box-shadow:0 18px 40px #0008;z-index:4}.library-title{display:flex;justify-content:space-between;padding:5px 5px 9px;border-bottom:1px solid var(--canvas-border, #29313d);margin-bottom:4px}.library-asset{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border:0;background:none;color:var(--canvas-text, #cbd5e1);text-align:left;cursor:grab;border-radius:5px}.library-asset:hover{background:color-mix(in srgb,var(--canvas-text, #f4f4f4) 10%,var(--canvas-panel-soft, #252e3b))}.library-asset span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:700px){.chat-rail{width:210px}.chat-header{padding:12px 15px}.header-actions button{font-size:0}.message-scroll{padding:20px 12px}.composer-wrap{width:calc(100% - 16px)}}.standalone-chat button,.standalone-chat select,.standalone-chat input,.standalone-chat textarea{font-family:inherit}.chat-main{min-height:0}.chat-header{flex:none;box-sizing:border-box}.chat-heading{display:flex;align-items:center;gap:10px}.chat-rail-actions button{display:flex;align-items:center;justify-content:center;gap:6px}.thread-search{margin:0 12px 12px;padding:9px 10px;border:1px solid var(--canvas-border, #2c3542);border-radius:6px;background:var(--canvas-panel, #151a22);color:var(--canvas-text, #d4dce8);box-sizing:border-box;width:calc(100% - 24px);font-size:12px}.thread-row>button:first-child{padding:12px 8px}.thread-delete:disabled{opacity:.25!important}.message-body{width:100%;position:relative}.message-model{display:block;font-size:11px;color:var(--canvas-muted, #8ea0b8);margin-bottom:6px}.chat-rich-text{white-space:pre-wrap}.message.error .message-body,.message.stopped .message-body{color:color-mix(in srgb,var(--canvas-danger, #f2b9ae) 60%,var(--canvas-text, #f4f4f4))}.message-copy{border:0;background:none;color:var(--canvas-muted, #6d7c91);cursor:pointer;padding:8px 0}.chat-sources{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px;font-size:11px}.chat-sources a{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 10%,var(--canvas-panel-soft, #1d2938));padding:4px 6px;border-radius:4px;white-space:nowrap}.message-media{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.chat-media-card{margin:0;max-width:350px;min-width:150px;border:1px solid var(--canvas-border, #2c3748);border-radius:8px;background:var(--canvas-bg, #101722);overflow:hidden;white-space:normal}.chat-media-card img,.chat-media-card video{display:block;max-width:100%;width:100%;max-height:280px;object-fit:contain;margin:0;border-radius:0}.chat-media-card audio{width:100%;max-width:300px}.chat-media-card figcaption{padding:7px 9px;color:var(--canvas-muted, #9cacc1);font-size:11px;word-break:break-all}.chat-media-card pre{padding:12px;font-size:12px;white-space:pre-wrap;max-height:150px;overflow:auto}.media-actions{display:flex;gap:5px;padding:0 7px 8px}.media-actions button,.resume-job{border:1px solid var(--canvas-border, #35455d);border-radius:4px;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 14%,var(--canvas-panel-soft, #1b293c));color:var(--canvas-accent, #b4c9e3);font-size:11px;padding:5px 7px;cursor:pointer}.media-cache-note{display:block;padding:0 9px 7px;color:color-mix(in srgb,var(--canvas-warning, #d1a672) 60%,var(--canvas-text, #f4f4f4));font-size:11px}.resume-job{display:flex;align-items:center;gap:6px;margin-top:10px}.chat-notice{width:min(860px,calc(100% - 32px));box-sizing:border-box;margin:0 auto 8px;border:1px solid color-mix(in srgb,var(--canvas-warning, #c8933f) 55%,var(--canvas-border, #303744));border-radius:6px;color:color-mix(in srgb,var(--canvas-warning, #dfbd91) 60%,var(--canvas-text, #f4f4f4));background:color-mix(in srgb,var(--canvas-warning, #c8933f) 12%,var(--canvas-panel, #14161c));padding:8px 10px;font-size:12px;display:flex;justify-content:space-between;gap:8px}.chat-notice button{border:0;background:none;color:color-mix(in srgb,var(--canvas-warning, #e1c399) 60%,var(--canvas-text, #f4f4f4));cursor:pointer}.composer-wrap{flex:none;box-sizing:border-box;margin-bottom:15px;overflow:visible;--z-node-overlay:30}.chat-kind-bar{display:flex;align-items:center;gap:5px;padding:8px 10px;border-bottom:1px solid var(--canvas-border, #28313f)}.chat-kind-bar>button{border:0;border-radius:4px;background:none;color:var(--canvas-muted, #8090a4);font-size:12px;padding:6px 9px;cursor:pointer}.chat-kind-bar>button.active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 16%,var(--canvas-panel-soft, #263950));color:var(--canvas-accent, #bad7fa)}.chat-kind-bar>button:disabled{opacity:.5}.chat-kind-bar .tool-button{display:flex;padding:6px}.chat-kind-bar .tool-button input{display:none}.chat-reference-strip{display:flex;align-items:center;gap:7px;padding:10px 12px 0;overflow-x:auto}.chat-reference{position:relative;flex:0 0 65px;width:65px;height:66px;border:1px solid var(--canvas-border, #3b506a);border-radius:5px;background:var(--canvas-panel-soft, #1c2839)}.chat-reference.is-unused{opacity:.4}.reference-preview{height:100%;width:100%;border:0;background:none;color:var(--canvas-accent, #88aad6);cursor:pointer;padding:0;overflow:hidden;border-radius:4px;position:relative}.reference-preview img,.reference-preview video{width:100%;height:100%;object-fit:cover}.reference-preview>span{font-size:24px}.reference-preview small{position:absolute;bottom:0;left:0;right:0;background:var(--canvas-panel, #111419);padding:3px 1px;font-size:10px;color:var(--canvas-text, #bad3f1)}.reference-remove{position:absolute;right:-4px;top:-4px;background:var(--canvas-border, #344357);border:1px solid var(--canvas-border, #516079);color:var(--canvas-text, #cdd9e9);width:17px;height:17px;border-radius:50%;padding:1px;cursor:pointer;display:grid;place-items:center}.chat-prompt-wrap{position:relative;padding:12px 15px 5px}.chat-prompt-wrap textarea{display:block;padding:0;width:100%;font-family:inherit;font-size:14px;line-height:1.7;color:transparent;caret-color:var(--canvas-text, #eef5ff);position:relative;background:transparent;z-index:1;min-height:72px;max-height:30vh;overflow-y:auto;scrollbar-gutter:stable;white-space:pre-wrap;word-break:break-word;resize:vertical}.chat-prompt-wrap textarea::placeholder{color:var(--canvas-muted, #66768a)}.chat-prompt-wrap .prompt-highlight__backdrop{top:12px;right:15px;bottom:5px;left:15px}.chat-prompt-wrap .prompt-highlight__content{font-family:inherit;font-size:14px;line-height:1.7;min-height:72px;white-space:pre-wrap;word-break:break-word}.standalone-chat .titan-node-editor__footer{padding:5px 12px 7px;margin:0}.standalone-chat .titan-node-editor__meta--inline{display:none}.standalone-chat .titan-node-editor__action-cluster{flex-wrap:wrap}.standalone-chat .titan-node-editor__action-cluster--composer-left{min-width:0}.standalone-chat .titan-node-editor__actions--composer{align-items:center}.standalone-chat .titan-node-editor__menu-popover{max-height:min(440px,60vh);overflow-y:auto;border-radius:10px}.chat-search-controls{display:flex;gap:7px;align-items:center;padding:3px 12px 7px;flex-wrap:wrap}.chat-search-controls button{display:flex;gap:4px;align-items:center;border:1px solid var(--canvas-border, #303d50);border-radius:5px;background:none;color:var(--canvas-muted, #8193ab);font-size:11px;padding:5px 7px;cursor:pointer}.chat-search-controls button.active{background:color-mix(in srgb,var(--canvas-success, #4ea97b) 18%,var(--canvas-panel-soft, #233c36));color:color-mix(in srgb,var(--canvas-success, #a5d8c4) 60%,var(--canvas-text, #f4f4f4));border-color:color-mix(in srgb,var(--canvas-success, #4ea97b) 62%,var(--canvas-border, #396b5b))}.chat-search-controls button:disabled{opacity:.4}.chat-search-controls select{font-size:11px;background:var(--canvas-panel-soft, #192535);color:var(--canvas-muted, #a1b9d8);border:1px solid var(--canvas-border, #304662);border-radius:4px;padding:4px 6px;max-width:240px}.chat-composer-note{border-top:1px solid color-mix(in srgb,var(--canvas-text, #f4f4f4) 10%,var(--canvas-panel-soft, #252e3b));padding:6px 12px 7px;color:var(--canvas-muted, #65758b);font-size:10px}.chat-media-panel{width:310px;flex:none;border-left:1px solid var(--canvas-border, #2a3341);display:flex;flex-direction:column;background:var(--canvas-panel, #111720);overflow:auto;padding:12px;box-sizing:border-box}.chat-media-panel .library-title{flex:none;align-items:center;font-size:13px}.media-tabbar{display:flex;gap:5px;margin:8px 0 14px}.media-tabbar button{flex:1;padding:7px 4px;font-size:11px;border:1px solid var(--canvas-border, #304057);background:var(--canvas-panel-soft, #16202f);border-radius:5px;color:var(--canvas-muted, #8da4c2);cursor:pointer}.media-tabbar button.active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 24%,var(--canvas-panel-soft, #283e59));color:var(--canvas-text, #d0e6ff)}.chat-library-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.library-tile{min-width:0;padding:0;text-align:left;border:1px solid var(--canvas-border, #2b3a50);border-radius:5px;background:var(--canvas-panel-soft, #172232);cursor:grab;overflow:hidden;color:var(--canvas-muted, #9cacc4)}.library-tile img{width:100%;height:90px;object-fit:cover}.library-tile>span{display:grid;place-items:center;width:100%;height:90px;font-size:28px;color:var(--canvas-muted, #7593bb)}.library-tile small{display:block;font-size:10px;padding:7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.generation-history{display:flex;flex-direction:column;gap:10px}.generation-history .chat-media-card{max-width:none}.media-empty{color:var(--canvas-muted, #7c8da5);font-size:12px;text-align:center;line-height:1.7;margin:20px 8px}.chat-retry{margin:auto;border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 62%,var(--canvas-border, #496b99));color:var(--canvas-text, #d3e3f7);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 24%,var(--canvas-panel-soft, #1f344f));border-radius:6px;padding:10px 16px;cursor:pointer}.chat-node-id{display:block;color:var(--canvas-accent, #9dcbff);font-size:11px;margin-bottom:4px}.chat-media-card[draggable=true]{cursor:grab}.canvas-asset-tile strong{display:block;margin-top:4px;color:var(--canvas-accent, #99c5ff);font-size:10px}.reference-node-id{position:absolute;top:1px;left:2px;color:var(--canvas-text, #d4e7ff);background:color-mix(in srgb,var(--canvas-panel-soft, #142437) 86%,transparent);border-radius:3px;font-size:9px;padding:1px 3px;pointer-events:none}.chat-mention-menu{position:absolute;bottom:100%;left:12px;width:min(380px,calc(100% - 24px));max-height:280px;overflow:auto;background:var(--canvas-panel-soft, #16202d);border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 48%,var(--canvas-border, #415d7e));border-radius:7px;z-index:65;box-shadow:0 12px 40px #0007}.chat-mention-menu button{display:flex;flex-direction:column;gap:4px;width:100%;border:0;border-bottom:1px solid var(--canvas-border, #2c3b4e);background:none;color:var(--canvas-muted, #b0c4df);text-align:left;padding:9px 12px;cursor:pointer}.chat-mention-menu button.active,.chat-mention-menu button:hover{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 24%,var(--canvas-panel-soft, #273e59))}.chat-mention-menu strong{font-size:12px;color:var(--canvas-accent, #b9dbff)}.chat-mention-menu span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.chat-mention-menu small{font-size:10px;color:var(--canvas-muted, #8095b1)}.mobile-rail{display:none}.workspace-return-button{position:fixed;left:14px;bottom:14px;z-index:90;border:1px solid var(--canvas-border, #3b526d);border-radius:6px;background:color-mix(in srgb,var(--canvas-panel-soft, #142132) 92%,transparent);color:var(--canvas-accent, #a6bfdc);padding:6px 10px;cursor:pointer;font-size:11px}@media (max-width:1050px){.chat-media-panel{position:fixed;right:0;top:72px;bottom:0;z-index:60;box-shadow:-15px 0 40px #0006}.chat-rail{width:230px}}@media (max-width:760px){.chat-rail{position:fixed;left:0;top:0;bottom:0;z-index:70;width:260px;transform:translate(-100%);transition:transform .18s}.chat-rail.is-open{transform:translate(0);box-shadow:20px 0 80px #000b}.mobile-rail{display:block}.chat-header h1{font-size:14px}.header-actions{gap:4px}.header-actions button{padding:7px;font-size:11px}.chat-kind-bar{flex-wrap:wrap}.message-role{width:25px}.message-body{max-width:calc(100% - 40px)}.message{gap:10px}.standalone-chat .titan-node-editor__actions--composer{flex-wrap:wrap}.composer-wrap{width:calc(100% - 16px)}}.chat-unavailable-models{padding:8px 0;color:var(--canvas-muted, #a1a1aa);font-size:12px}.chat-search-progress{margin-top:10px;padding:10px 12px;border:1px solid var(--canvas-border, #293849);border-radius:8px;color:var(--canvas-muted, #91a6be);font-size:12px;white-space:normal}.chat-search-progress summary{cursor:pointer}.chat-search-progress ol{list-style:none;padding:0;margin:8px 0 0}.chat-search-progress li{padding:8px 0;border-top:1px solid var(--canvas-border, #293849)}.chat-search-progress li>div:first-child{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px}.chat-search-progress strong{color:var(--canvas-text, #bfd2e9);font-weight:500}.chat-search-progress p{margin:6px 0;overflow-wrap:anywhere}.chat-search-progress [data-search-status=error]>div:first-child span{color:color-mix(in srgb,var(--canvas-warning, #d7b58d) 60%,var(--canvas-text, #f4f4f4))}.chat-search-progress__sources{display:flex;flex-wrap:wrap;gap:5px 10px}.chat-search-progress__sources a{color:var(--canvas-accent, #8cbdf0);overflow-wrap:anywhere}.chat-search-progress__receipt{margin-top:6px;font-size:11px;color:var(--canvas-muted, #788ba4);overflow-wrap:anywhere}.chat-unavailable-models p{margin:0 0 6px}.chat-unavailable-models>div{display:flex;flex-wrap:wrap;gap:6px}.chat-unavailable-models button{max-width:100%;padding:6px 10px;border:1px solid var(--border-color, var(--canvas-border, #3f3f46));border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:not-allowed}.chat-unavailable-models small{display:block;overflow-wrap:anywhere;opacity:.8}.message-scroll .message{align-items:flex-start;min-width:0}.message-scroll .message.user{flex-direction:row-reverse}.message-scroll .message.assistant{justify-content:flex-start}.message-scroll .message-role{width:28px;text-align:center}.message-scroll .message-body{width:fit-content;min-width:0;max-width:min(760px,calc(100% - 43px));box-sizing:border-box;text-align:left;overflow-wrap:anywhere}.message-scroll .message.user .message-body{max-width:min(680px,calc(100% - 43px))}.message-scroll .message-media{gap:8px;max-width:100%}.message-scroll .message-media .chat-media-card{width:160px;max-width:100%;min-width:0;border:0;border-radius:0;background:transparent}.message-scroll .message-media .chat-media-card img,.message-scroll .message-media .chat-media-card video{width:auto;max-width:100%;height:auto;max-height:120px;margin:0;border-radius:0}.message-scroll .message-media .chat-media-card:has(audio){width:240px}.message-scroll .message-media .chat-media-card audio{display:block;width:100%}.message-scroll .chat-media-card figcaption{padding:5px 0}.message-scroll .chat-media-card .chat-media-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-scroll .chat-media-card pre{padding:6px 0;margin:0}.message-scroll .media-actions{padding:0 0 4px;flex-wrap:wrap}.message-scroll .media-cache-note{padding:0 0 4px}.message-scroll .typing{display:block;padding-left:0}.message-status-note{display:block;color:color-mix(in srgb,var(--canvas-warning, #d7b58d) 60%,var(--canvas-text, #f4f4f4));font-size:12px;margin-top:6px;white-space:pre-wrap}.message-timings{color:var(--canvas-muted, #8290a4);font-size:11px;margin-top:8px;white-space:normal}.message-timings summary{cursor:pointer}.message-timings dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;margin:6px 0}.message-timings dt,.message-timings dd{margin:0;overflow-wrap:anywhere}.message-timings dl>div{display:contents}@media (max-width: 760px){.message-scroll .message-body,.message-scroll .message.user .message-body{max-width:calc(100% - 38px)}.message-scroll .message-role{width:28px}}.generation-loading{display:flex;flex-direction:column;align-items:center;gap:12px;width:288px;max-width:100%;box-sizing:border-box;padding:20px}.generation-loading .titan-node-main__loading-canvas{position:static;inset:auto;width:248px;height:auto;max-width:100%;aspect-ratio:1;flex:none}.generation-phase{font-size:14px;color:var(--canvas-muted, #94a3b8);text-align:center}.llm-timing{font-size:13px;color:var(--canvas-muted, #94a3b8);margin-top:8px}.llm-timing-summary,.stream-notice{font-size:12px;color:var(--canvas-muted, #8290a4);margin-top:8px}.standalone-chat :is(button,.tool-button,.message-timings summary){transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.standalone-chat :is(button,.tool-button,.message-timings summary):not(:disabled):not([aria-disabled=true]):hover{transform:translateY(-1px);box-shadow:none}.standalone-chat :is(button,.tool-button,.message-timings summary):not(:disabled):not([aria-disabled=true]):active{transform:scale(.95)}.standalone-chat :is(button,.tool-button,a,select,input,textarea,.message-timings summary):focus-visible{outline:2px solid var(--canvas-accent, #06b6d4);outline-offset:2px}.standalone-chat :is(button:disabled,[aria-disabled=true]){opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.thread-row:focus-within .thread-delete,.thread-delete:focus-visible{opacity:1}@media (prefers-reduced-motion: reduce){.standalone-chat :is(button,.tool-button,.message-timings summary){transition:none}.standalone-chat :is(button,.tool-button,.message-timings summary):not(:disabled):not([aria-disabled=true]):is(:hover,:active){transform:none}}.chat-toolbar{flex:0 0 56px;box-sizing:border-box;min-height:56px;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--canvas-border, #252a33);background:var(--canvas-bg, #0d1015)}.chat-heading{min-width:0;display:flex;align-items:center;gap:10px}.chat-heading strong{display:block;max-width:min(42vw,460px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.chat-toolbar-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}.chat-toolbar-actions>button{min-width:36px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--canvas-border, #303746);border-radius:6px;background:var(--canvas-panel, #111923);color:var(--canvas-muted, #aebbd0);cursor:pointer}.chat-toolbar-actions>button:disabled{cursor:not-allowed}.chat-toolbar-actions>button:first-child{min-width:54px;border:0;background:transparent}.chat-scroll-shell{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;scrollbar-gutter:stable}.chat-scroll-shell .message-scroll{flex:0 0 auto;width:100%;box-sizing:border-box;overflow:visible}.chat-scroll-shell .composer-wrap,.chat-scroll-shell .chat-notice{flex:0 0 auto}.chat-media-card .media-preview{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer}.chat-media-card .media-preview img{cursor:zoom-in}.chat-media-card .media-preview--video{position:relative}.chat-media-card .media-preview-open{position:absolute;top:0;right:0;bottom:64px;left:0;padding:0;border:0;background:transparent;cursor:zoom-in}.chat-media-card .media-preview-open:focus-visible{outline:2px solid var(--canvas-accent, #9dcbff);outline-offset:-2px}.message-scroll .chat-media-card{border:0;border-radius:0;background:transparent}.message-scroll .chat-media-card figcaption{padding-left:0;padding-right:0}.message-scroll .media-actions{padding-left:0;padding-right:0}.media-actions button{width:26px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0}.chat-media-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#02050ad6}.chat-media-viewer__body{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:min(94vw,1200px);max-height:94vh;color:var(--canvas-text, #dbe7f5)}.chat-media-viewer__body>img,.chat-media-viewer__body>video{display:block;max-width:94vw;max-height:86vh;object-fit:contain}.chat-media-viewer__body>audio{width:min(520px,86vw)}.chat-media-viewer__body>pre{max-width:86vw;max-height:82vh;overflow:auto;white-space:pre-wrap}.chat-media-viewer__close{position:absolute;right:-8px;top:-8px;z-index:1;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--canvas-border, #53657e);border-radius:50%;background:var(--canvas-panel-soft, #152032);color:var(--canvas-text, #e5edf8);cursor:pointer}.library-title-actions{display:flex;align-items:center;gap:4px}.library-title-actions button{display:inline-flex;align-items:center;justify-content:center}.chat-media-panel{position:relative;z-index:70;top:auto;bottom:auto}.chat-media-panel .library-title{position:sticky;top:-12px;z-index:3;padding-top:5px;background:var(--canvas-panel, #111720)}.chat-media-panel .media-tabbar{position:sticky;top:32px;z-index:2;padding-top:4px;background:var(--canvas-panel, #111720)}.chat-scroll-shell .composer-wrap{min-height:216px}.chat-scroll-shell .composer-wrap.is-expanded{min-height:312px}.chat-search-tool-wrap{position:relative;display:inline-flex;align-items:center}.chat-search-gear{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--canvas-border, #36475f);border-radius:5px;background:var(--canvas-panel-soft, #182231);color:var(--canvas-muted, #8ea3bf);cursor:pointer}.chat-search-gear.active{border-color:color-mix(in srgb,var(--canvas-success, #4ea97b) 66%,var(--canvas-border, #4c826d));background:color-mix(in srgb,var(--canvas-success, #4ea97b) 18%,var(--canvas-panel-soft, #203a33));color:color-mix(in srgb,var(--canvas-success, #a5d8c4) 60%,var(--canvas-text, #f4f4f4))}.chat-project-control{display:flex;flex-direction:column;gap:5px;padding:8px 12px;color:var(--canvas-muted, #93a6bf);font-size:11px}.chat-project-control select{min-width:0;width:100%;padding:7px;border:1px solid var(--canvas-border, #35455d);border-radius:5px;background:var(--canvas-panel-soft, #172131);color:var(--canvas-text, #d0def0)}.chat-link-project{margin:4px 12px;padding:7px;border:1px solid var(--canvas-border, #35455d);border-radius:5px;background:var(--canvas-panel-soft, #172131);color:var(--canvas-accent, #a8c4e9);cursor:pointer;font-size:11px}.chat-entry-tabs{position:absolute;top:18px;right:18px;z-index:calc(var(--z-app-chrome, 50) + 3);display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:10px;background:var(--canvas-panel, #111923)}.chat-entry-tabs button{border:0;border-radius:5px;padding:6px 9px;background:transparent;color:var(--canvas-muted, #9babc2);cursor:pointer;font-size:12px}.chat-entry-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 22%,var(--canvas-panel-soft, #283b54));color:var(--canvas-text, #d7e7ff)}.chat-drawer--llm{width:min(820px,calc(100% - 36px));padding-top:42px;box-sizing:border-box}.chat-drawer--llm:not([style*="display: none"])~.chat-fab.is-open{right:calc(min(820px,100% - 36px) - 24px);width:30px;height:30px;border-radius:15px}.chat-drawer--agent{padding-top:42px;box-sizing:border-box}.standalone-chat--embedded{position:relative;width:100%;height:100%;min-height:0}.standalone-chat--embedded .chat-rail{position:absolute;left:0;top:0;bottom:0;width:245px;z-index:75;transform:translate(-100%)}.standalone-chat--embedded .chat-rail.is-open{transform:none}.standalone-chat--embedded .mobile-rail{display:block}.standalone-chat--embedded .chat-toolbar{padding:8px 12px}.standalone-chat--embedded .chat-heading strong{max-width:65vw}.standalone-chat--embedded .message-scroll{padding:20px 12px}.standalone-chat--embedded .chat-media-panel{position:absolute;right:0;top:0;bottom:0;width:min(310px,92%);max-height:100%}.standalone-chat--embedded .empty-chat{margin:40px auto}.chat-legacy-import{position:absolute;inset:56px 12px auto;z-index:85;max-height:60%;overflow:auto;padding:12px;border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 44%,var(--canvas-border, #465e7c));border-radius:8px;background:var(--canvas-panel, #111c2b);color:var(--canvas-accent, #b5c9e4);font-size:12px}.chat-legacy-import>div{display:flex;align-items:center;justify-content:space-between}.chat-legacy-import>label{display:flex;align-items:center;gap:6px;padding:6px 0}.chat-legacy-import button{padding:6px 9px;border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 54%,var(--canvas-border, #466082));border-radius:5px;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 18%,var(--canvas-panel-soft, #20344e));color:var(--canvas-accent, #c5dcfa);cursor:pointer}.chat-search-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:80;width:220px;display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid var(--canvas-border, #3a4b63);border-radius:7px;background:var(--canvas-panel, #111b29);box-shadow:0 16px 38px #0009}.chat-search-menu__title{display:flex;align-items:center;justify-content:space-between;color:var(--canvas-text, #c6d7ec);font-size:12px}.chat-search-menu__title button{display:inline-flex;padding:3px;border:0;background:transparent;color:var(--canvas-muted, #91a4bd);cursor:pointer}.chat-search-menu>button,.chat-search-menu>select{min-height:28px;box-sizing:border-box;border:1px solid var(--canvas-border, #354962);border-radius:4px;background:var(--canvas-panel-soft, #172333);color:var(--canvas-muted, #b4c8e1);font-size:11px;padding:4px 6px}.chat-search-menu>button{cursor:pointer}.chat-search-menu>button.active{border-color:color-mix(in srgb,var(--canvas-success, #4ea97b) 66%,var(--canvas-border, #4b806a));background:color-mix(in srgb,var(--canvas-success, #4ea97b) 18%,var(--canvas-panel-soft, #203a33));color:color-mix(in srgb,var(--canvas-success, #b5e1ca) 60%,var(--canvas-text, #f4f4f4))}.standalone-chat .titan-node-editor__action-cluster--composer-right{gap:5px}@media (max-width:1050px){.chat-media-panel{position:fixed;right:0;top:0;bottom:0;max-height:100vh;box-shadow:-15px 0 40px #0006}}@media (max-width:760px){.chat-toolbar{padding:8px 12px}.chat-heading strong{max-width:38vw}.chat-toolbar-actions{gap:2px}.chat-toolbar-actions>button{min-width:32px}.chat-scroll-shell .composer-wrap{width:calc(100% - 16px);margin-left:8px;margin-right:8px}.chat-media-panel{width:min(310px,92vw)}.chat-search-menu{right:-4px}}.chat-floating-tools{position:absolute;inset:12px 20px auto 12px;z-index:40;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.chat-floating-tools>*{pointer-events:auto}.chat-floating-tools .chat-toolbar-actions{margin-left:auto}.chat-scroll-shell{padding-top:56px}.chat-scroll-shell .message-scroll{flex:1 0 auto}.chat-scroll-shell .composer-wrap{position:sticky;bottom:12px;z-index:30;margin-top:auto;margin-bottom:12px;height:240px;min-height:240px;display:flex;flex-direction:column;border:0;border-radius:10px;box-shadow:none}.chat-kind-bar{flex:0 0 42px;box-sizing:border-box;border-bottom:0}.chat-mode-options{flex:0 0 34px;min-height:34px;overflow-x:auto;scrollbar-width:thin}.chat-mode-options>*{margin-top:0;margin-bottom:0}.chat-prompt-wrap{flex:1 1 auto;min-height:0}.chat-prompt-wrap textarea{height:100%;min-height:0;max-height:none;resize:none;border:0;box-shadow:none}.chat-prompt-wrap .prompt-highlight__backdrop{overflow:hidden}.standalone-chat .titan-node-editor__footer{flex:0 0 auto;min-height:42px}.standalone-chat .titan-node-editor__action-cluster--composer-right>button[title=放大提示词框],.standalone-chat .titan-node-editor__action-cluster--composer-right>button[title=收起提示词框]{display:none}.chat-reference-strip{position:absolute;bottom:100%;left:0;right:0;padding:8px 12px;box-sizing:border-box;background:var(--canvas-panel, #151a21);border-radius:8px 8px 0 0}.chat-composer-error{flex:0 0 auto;color:color-mix(in srgb,var(--canvas-warning, #dfbd91) 60%,var(--canvas-text, #f4f4f4));font-size:11px;padding:2px 12px 6px}.chat-unavailable-models{position:absolute;bottom:100%;left:0;right:0;max-height:120px;overflow:auto;padding:8px 12px;background:var(--canvas-panel, #151a21)}.standalone-chat--embedded .chat-floating-tools{inset:8px 12px auto}@media (max-width:760px){.chat-floating-tools{right:12px}.chat-scroll-shell .composer-wrap{height:270px;min-height:270px}.chat-kind-bar{flex-wrap:nowrap;gap:0;padding-inline:5px}.chat-kind-bar>button{padding-inline:6px}}.standalone-chat .message-body,.standalone-chat .chat-rich-text{user-select:text;-webkit-user-select:text}.standalone-chat .chat-rich-text{cursor:text}.message-actions{display:flex;align-items:center;gap:12px;min-height:29px;-webkit-user-select:none;user-select:none}.message-actions button{display:inline-flex;align-items:center;border:0;background:none;color:var(--canvas-muted, #7f90a7);padding:7px 0;cursor:pointer}.message-actions .message-drag{cursor:grab}.message-actions .message-drag:active{cursor:grabbing}.message-actions .message-copy.is-copied{color:color-mix(in srgb,var(--canvas-success, #4ea97b) 70%,var(--canvas-text, #f4f4f4))}.message-copy-success{display:inline-flex;align-items:center;gap:5px;font-size:11px;animation:chat-copy-success 2.2s ease forwards}@keyframes chat-copy-success{0%,65%{opacity:1}to{opacity:0}}.chat-editing-notice{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:2px 12px;color:var(--canvas-accent, #98b7df);font-size:11px}.chat-editing-notice button{border:0;background:none;color:var(--canvas-accent, #98b7df);cursor:pointer}@media (prefers-reduced-motion: reduce){.message-copy-success{animation:none}}.chat-response-details{margin-top:8px;color:var(--canvas-muted, #8fa6c2);font-size:12px}.chat-process-summary{display:list-item;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.chat-process-summary .llm-timing,.chat-process-summary .llm-timing-summary{display:inline;margin:0}.chat-search-tool-wrap>small[role=status]{position:absolute;left:0;bottom:calc(100% + 8px);width:min(360px,70vw);max-height:150px;overflow:auto;box-sizing:border-box;padding:9px 11px;border:1px solid var(--canvas-border, #394b63);border-radius:7px;background:var(--canvas-panel-soft, #152030);color:color-mix(in srgb,var(--canvas-warning, #e2c49a) 60%,var(--canvas-text, #f4f4f4));font-size:11px;line-height:1.5;z-index:45}.chat-scroll-shell{--chat-mode-gutter: 72px;--chat-tool-gutter: 32px;--chat-control-gap: 4px;--chat-outer-space: calc(var(--chat-mode-gutter) + var(--chat-tool-gutter) + 2 * var(--chat-control-gap))}.chat-scroll-shell .composer-wrap{width:min(calc(1032px + var(--chat-outer-space)),calc(100% - 16px));max-width:none;margin-left:auto;margin-right:auto;display:grid;grid-template-columns:var(--chat-mode-gutter) minmax(0,1fr) var(--chat-tool-gutter);column-gap:var(--chat-control-gap);overflow:visible;border:0;background:transparent;border-radius:0;container-type:inline-size;container-name:chat-composer}.chat-scroll-shell .composer-wrap.is-expanded{height:min(70vh,540px);min-height:min(70vh,540px)}.chat-kind-tabs{min-width:0;display:flex;flex-direction:column;gap:4px;padding:4px 0;box-sizing:border-box;align-self:start}.chat-kind-tabs>button{min-height:34px;border:0;background:none;color:var(--canvas-muted, #8595ac);border-radius:5px;padding:6px;font-size:12px;cursor:pointer;text-align:left;white-space:nowrap}.chat-kind-tabs>button.active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 14%,var(--canvas-panel-soft, #233247));color:var(--canvas-accent, #c2dafb)}.chat-composer-body{position:relative;background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 82%,var(--canvas-bg, #020304) 18%);border-radius:10px;height:100%;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.chat-composer-body .chat-mode-options{flex:0 0 78px;min-height:78px;display:flex;align-items:flex-start;gap:6px;padding:4px 12px;overflow:visible;box-sizing:border-box}.chat-video-mode-select{flex:1 1 0;min-width:0;max-height:32px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.chat-video-mode-select .titan-video-mode-bar{flex-wrap:nowrap;width:max-content;margin:0}.chat-composer-tools{display:flex;flex-direction:column;align-items:center;align-self:start;gap:4px;padding-top:4px;margin:0}.chat-composer-icon{width:30px;height:30px;min-width:30px;padding:0;border:0;border-radius:5px;box-sizing:border-box;background:none;color:var(--canvas-muted, #8fa2ba);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.chat-composer-icon:hover,.chat-composer-icon.active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 14%,var(--canvas-panel-soft, #223247));color:var(--canvas-accent, #c2dafb)}.chat-composer-icon input{display:none}.chat-composer-body .chat-reference-strip{position:relative;inset:auto;flex:1 1 0;min-width:0;height:88px;box-sizing:border-box;padding:7px 8px 8px;background:none;border-radius:0;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:thin}.chat-composer-body .chat-reference{flex-shrink:0}.chat-composer-body .chat-prompt-wrap{flex:1 1 auto;min-height:0;padding:0;overflow:visible}.standalone-chat .chat-composer-body .chat-prompt-wrap textarea{box-sizing:border-box;margin:0;padding:8px 12px;border:0;outline:none;box-shadow:none;color:transparent!important;background:transparent!important}.standalone-chat .chat-prompt-wrap textarea::selection{color:transparent;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 35%,transparent)}.standalone-chat .chat-prompt-wrap textarea::-moz-selection{color:transparent;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 35%,transparent)}.standalone-chat .chat-composer-body .chat-prompt-wrap textarea:focus,.standalone-chat .chat-composer-body .chat-prompt-wrap textarea:focus-visible{border:0;outline:none;outline-offset:0;box-shadow:none}.chat-composer-body .chat-prompt-wrap .prompt-highlight__backdrop{top:0;right:0;bottom:0;left:0;box-sizing:border-box;padding:8px 12px;transform:none!important}.chat-composer-body .chat-prompt-wrap .prompt-highlight__content{transform:translateY(var(--chat-prompt-scroll-top, 0px))}.chat-composer-body .titan-node-editor__footer{flex:0 0 44px;padding:4px 12px 6px;margin:0;box-sizing:border-box}.chat-composer-body .titan-node-editor__actions--composer{position:static}.chat-composer-body .titan-node-editor__action-cluster--composer-left{display:flex;min-width:0;flex-wrap:nowrap}.chat-composer-body .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--summary){flex:0 0 188px;min-width:0}.chat-composer-body .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--modelchip){flex:0 1 auto;min-width:0;max-width:188px}.chat-composer-body .titan-node-editor__menu-button--modelchip{width:188px;min-width:188px;max-width:100%}.chat-composer-body .titan-node-editor__menu-button--summary{width:188px;min-width:188px;max-width:188px;border:0;background:none;box-shadow:none}.chat-composer-body .titan-node-editor__action-cluster--composer-right>button[title=放大提示词框],.chat-composer-body .titan-node-editor__action-cluster--composer-right>button[title=收起提示词框]{display:none}.chat-composer-tools .chat-search-menu{right:0;top:calc(100% + 8px);bottom:auto;width:240px;max-width:min(360px,70vw);box-sizing:border-box}@container chat-composer (max-width: 600px){.standalone-chat .chat-composer-body .titan-node-editor__menu-popover--video-settings{width:min(344px,calc(100cqw - var(--chat-outer-space) - 24px));min-width:0;max-width:calc(100cqw - var(--chat-outer-space) - 24px);box-sizing:border-box}.chat-composer-body .titan-node-editor__footer{flex-basis:104px}.chat-composer-body .titan-node-editor__actions--composer{flex-wrap:wrap;gap:4px}.chat-composer-body .titan-node-editor__action-cluster--composer-left{width:100%;min-width:0;flex-wrap:nowrap;gap:4px}.chat-composer-body .titan-node-editor__model-chip-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer-body .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--modelchip){flex:1;max-width:none}.chat-composer-body .titan-node-editor__menu-button--modelchip{width:100%;min-width:0}.chat-composer-body .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--summary){flex:0 1 86px;min-width:0;max-width:86px}.chat-composer-body .titan-node-editor__menu-button--summary{width:100%;min-width:0;max-width:100%;padding-inline:3px}.chat-composer-body .titan-node-editor__menu-button--summary .titan-node-editor__button-label>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer-body .titan-node-editor__action-cluster--composer-right{width:100%;justify-content:flex-end}.chat-composer-body:has(.chat-video-mode-select) .titan-node-editor__footer{flex-basis:104px}.chat-composer-body .titan-node-editor__action-cluster--composer-left:has(.chat-video-mode-select){flex-wrap:wrap}.chat-composer-body .chat-video-mode-select{flex-basis:100%}}@media (max-width:760px){.chat-scroll-shell{--chat-mode-gutter: 56px;--chat-tool-gutter: 30px}.chat-kind-tabs{padding:4px 0}.chat-kind-tabs>button{padding-inline:3px;font-size:11px}}.chat-scroll-shell .message-scroll{width:min(1032px,calc(100% - 16px - var(--chat-outer-space)));margin-left:auto;margin-right:auto;transform:translate(calc((var(--chat-mode-gutter) - var(--chat-tool-gutter)) / 2));box-sizing:border-box;padding:28px 0}.chat-composer-body .chat-editing-notice{position:absolute;inset:0 0 auto;z-index:3;height:24px;box-sizing:border-box}.standalone-chat .chat-composer-body .chat-prompt-wrap.is-editing textarea,.chat-composer-body .chat-prompt-wrap.is-editing .prompt-highlight__backdrop{padding-top:28px}.chat-composer-body .chat-composer-error{position:absolute;bottom:calc(100% + 4px);left:0;right:0}.chat-media-viewer{z-index:100005;padding:16px}.chat-media-viewer__body{width:min(1600px,calc(100vw - 32px),calc((100dvh - 32px) * 16 / 9));height:auto;aspect-ratio:16 / 9;max-width:none;max-height:none;gap:0;background:var(--canvas-panel, #111720);border-radius:10px;overflow:hidden;outline:none}.chat-media-viewer__toolbar{flex:0 0 auto;display:flex;align-items:center;gap:6px;width:100%;padding:10px;box-sizing:border-box;overflow-x:auto}.chat-media-viewer__toolbar strong{flex:1;min-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.chat-media-viewer__toolbar button,.chat-media-viewer__toolbar select{flex:0 0 auto;min-width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;color:var(--canvas-text, #cedbec);background:color-mix(in srgb,var(--canvas-text, #f4f4f4) 9%,var(--canvas-panel-soft, #233043));cursor:pointer}.chat-media-viewer__toolbar button:disabled{opacity:.5;cursor:default}.chat-media-viewer__stage{flex:1;width:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;cursor:grab}.chat-media-viewer__stage>img{max-width:100%;max-height:100%;object-fit:contain;flex:0 0 auto;-webkit-user-select:none;user-select:none}.chat-media-viewer__stage>video{max-width:100%;max-height:100%;object-fit:contain}.chat-media-viewer__stage>audio{width:min(520px,90%)}.chat-media-viewer__stage>pre{align-self:stretch;max-width:100%;overflow:auto;white-space:pre-wrap}.chat-media-viewer__editor{flex:1;min-height:0;width:100%;overflow:auto}.chat-media-viewer__editor .drawing-editor{width:100%;height:100%}.chat-media-viewer__body>footer{flex:0 0 auto;padding:8px;color:var(--canvas-muted, #92a6bf);font-size:11px}.chat-viewer-note{padding:6px 12px;margin:0}.chat-reference .reference-preview{cursor:zoom-in}.chat-reference--media .reference-preview{cursor:pointer}.chat-video-unavailable{display:grid;place-items:center;width:100%;min-height:40px;height:100%;color:var(--canvas-accent, #88aad6);background:var(--canvas-panel, #111b2a)}.standalone-chat.is-quick-reference .chat-media-card video,.standalone-chat.is-quick-reference .chat-media-card audio{pointer-events:none}@media (max-width: 600px){.chat-media-viewer{padding:8px}.chat-media-viewer__body{width:min(calc(100vw - 16px),calc((100dvh - 16px) * 16 / 9));height:auto;border-radius:8px}}.chat-prompt-queue{flex:0 0 auto;width:min(1032px,calc(100% - 16px - var(--chat-outer-space)));margin:8px auto;transform:translate(calc((var(--chat-mode-gutter) - var(--chat-tool-gutter)) / 2));padding:8px 12px;box-sizing:border-box;border-radius:8px;background:var(--canvas-panel-soft, #17202b);color:var(--canvas-muted, #a8bdd6);font-size:12px}.chat-prompt-queue>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-queued-prompt{margin-top:6px}.chat-queued-prompt>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-prompt-queue button,.chat-enqueue-button,.chat-strip-arrow,.chat-material-manager button{border:0;border-radius:5px;background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 14%,var(--canvas-panel-soft, #233247));color:var(--canvas-accent, #bad1ed);cursor:pointer;padding:5px}.chat-prompt-queue button{flex-shrink:0}.chat-enqueue-button{width:auto;height:28px;display:inline-flex;gap:4px;align-items:center;padding:4px 7px;white-space:nowrap;font-size:11px}.chat-strip-arrow{flex:0 0 19px;width:19px;height:66px;display:grid;place-items:center;padding:0;background:transparent}.chat-strip-arrow:disabled{opacity:.2;cursor:default}.chat-composer-body .chat-reference-strip{scrollbar-width:auto}.chat-reference-strip::-webkit-scrollbar{height:8px}.chat-reference-strip::-webkit-scrollbar-thumb{background:var(--canvas-muted, #52637a);border-radius:5px}.chat-reference-strip::-webkit-scrollbar-track{background:var(--canvas-panel, #111720)}.chat-material-manager{position:absolute;z-index:60;bottom:calc(100% + 8px);right:var(--chat-tool-gutter);width:min(560px,calc(100% - var(--chat-outer-space)));max-height:min(560px,60vh);box-sizing:border-box;background:var(--canvas-panel-soft, #17202b);border:1px solid var(--canvas-border, #3b506a);border-radius:10px;padding:10px;box-shadow:0 12px 30px #0005;color:var(--canvas-accent, #bad1ed);display:flex;flex-direction:column;gap:8px;font-size:12px}.chat-material-manager header{display:flex;justify-content:space-between;align-items:center}.chat-material-manager nav{display:flex;flex-wrap:wrap;gap:4px}.chat-material-manager nav button[aria-pressed=true]{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 30%,var(--canvas-panel-soft, #355174))}.chat-material-manager{container-type:inline-size}.chat-material-manager__list{min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;max-height:calc((100cqw - 40px) / 6 * 5 + 32px)}.chat-material-manager__list>p{grid-column:1 / -1}.chat-material-tile{position:relative;aspect-ratio:1;min-width:0;padding:0!important;overflow:hidden;cursor:grab!important}.chat-material-tile img,.chat-material-tile video{width:100%;height:100%;object-fit:cover;pointer-events:none}.chat-material-tile>span{font-size:24px}.chat-material-tile small{position:absolute;left:0;right:0;bottom:0;background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 96%,transparent);color:var(--canvas-text, #c8ddf9);padding:3px 0;font-size:clamp(8px,2.1cqw,11px);pointer-events:none}.chat-material-clear{margin-left:auto;margin-right:6px}.chat-material-manager button:disabled,.chat-enqueue-button:disabled{opacity:.4;cursor:default}.message-scroll .message-role{width:32px;padding-top:2px}.message-scroll .message-body{max-width:min(760px,calc(100% - 47px))}.message-scroll .message.user .message-body{max-width:min(680px,calc(100% - 47px))}.chat-message-avatar{width:32px;height:32px;box-sizing:border-box;border:1px solid var(--canvas-border, #40506a);border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#edf2f8;color:#24354d}.chat-message-avatar img{display:block;width:22px;height:22px;object-fit:contain}.chat-message-avatar--user{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 20%,var(--canvas-panel-soft, #223c5b));color:var(--canvas-accent, #c8e2ff);border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 52%,var(--canvas-border, #426389))}.chat-message-avatar--user img{width:100%;height:100%;object-fit:cover}.chat-scroll-shell .chat-notice{position:relative;z-index:31}.library-tile>video{display:block;width:100%;height:90px;object-fit:cover}.standalone-chat{overflow:hidden}.standalone-chat .chat-rail{position:relative;width:var(--chat-rail-width, 270px);flex:0 0 auto}.standalone-chat .mobile-rail{display:block}.standalone-chat.is-rail-collapsed>.chat-rail{width:48px}.standalone-chat.is-rail-collapsed>.chat-rail>:not(.chat-brand){display:none}.standalone-chat.is-rail-collapsed>.chat-rail .chat-brand{padding:0;justify-content:center}.standalone-chat.is-rail-collapsed>.chat-rail .chat-brand>:not(:first-child){display:none}.chat-panel-resizer{position:absolute;z-index:80;top:0;bottom:0;right:0;width:6px;cursor:col-resize;touch-action:none}.chat-panel-resizer:hover,.chat-panel-resizer:focus-visible{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 70%,var(--canvas-border, #5482b6));outline:none}.chat-media-panel>.chat-panel-resizer{left:0;right:auto}.standalone-chat>.chat-media-panel{width:var(--chat-media-width, 310px);max-width:min(640px,calc(100% - var(--chat-rail-space, 270px) - 360px))}.chat-library-grid{grid-template-columns:repeat(auto-fill,120px);max-width:504px;width:100%;margin-inline:auto;align-content:start;justify-content:center}.chat-library-grid .library-tile{box-sizing:border-box;width:120px}.chat-library-grid .library-tile>img,.chat-library-grid .library-tile>video{display:block;width:100%;height:90px;object-fit:contain;background:var(--canvas-bg, #101722)}.chat-media-collapsed{flex:0 0 44px;width:44px;border-left:1px solid var(--canvas-border, #2a3341);background:var(--canvas-panel, #111720);box-sizing:border-box}.chat-media-collapsed>button{display:grid;place-items:center;width:100%;height:60px}.chat-library-layout{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:5px 0 9px;font-size:11px;color:var(--canvas-muted, #9cacc4)}.chat-library-layout>span{margin-right:auto}.chat-library-layout button{border:1px solid var(--canvas-border, #32455e);border-radius:4px;padding:3px 7px;background:var(--canvas-panel-soft, #172232);color:var(--canvas-accent, #b8cde6);cursor:pointer}.chat-library-layout button[aria-pressed=true]{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 28%,var(--canvas-panel-soft, #294666));border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 72%,var(--canvas-border, #6086b3))}@media (max-width: 1050px){.standalone-chat>.chat-media-panel{max-width:min(640px,92%)}}@media (max-width: 760px){.standalone-chat .chat-rail{position:fixed;width:min(var(--chat-rail-width, 270px),92vw)}.standalone-chat.is-rail-collapsed>.chat-rail{display:flex}}.standalone-chat--embedded .chat-rail{position:absolute}.standalone-chat--embedded>.chat-media-panel{max-width:100%;padding-inline:8px}.standalone-chat--embedded .chat-rail>.chat-panel-resizer{display:none}.standalone-chat.is-material-picking,.standalone-chat.is-material-picking *{cursor:var(--reference-pick-cursor)!important}.standalone-chat.is-material-picking .chat-media-card:hover,.standalone-chat.is-material-picking .library-tile:hover{outline:2px solid var(--canvas-accent, #83c6ff);outline-offset:2px}.standalone-chat.is-material-picking .chat-media-card video,.standalone-chat.is-material-picking .chat-media-card audio{pointer-events:none}.chat-material-pick-notice{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 auto 8px;width:min(860px,calc(100% - 32px));padding:8px 12px;color:var(--canvas-text, #dceafb);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 17%,var(--canvas-panel-soft, #20344b));border:1px solid color-mix(in srgb,var(--canvas-accent, #5aa9d6) 64%,var(--canvas-border, #5683ad));border-radius:6px;font-size:12px}.chat-material-pick-notice button{color:var(--canvas-text, #dceafb);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 36%,var(--canvas-panel-soft, #345579));border-radius:4px;padding:4px 7px}.chat-reference--media .reference-slot-action{position:absolute;z-index:3;display:grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid var(--canvas-border, #9aabbf);border-radius:50%;background:var(--canvas-panel, #e7edf5);color:var(--canvas-text, #26364a);cursor:pointer;opacity:0;visibility:hidden;pointer-events:none}.chat-reference--media:hover .reference-slot-action,.chat-reference--media:focus-within .reference-slot-action{opacity:1;visibility:visible;pointer-events:auto}.chat-reference--media .reference-zoom{top:-6px;left:-6px}.chat-reference--media .reference-replace{bottom:15px;left:-6px}.chat-reference--media .reference-remove{top:-6px;right:-6px;color:#fff;background:#c94444;border-color:#e18b8b}.chat-reference--media .reference-slot-action:focus-visible{outline:2px solid var(--canvas-accent, #83c6ff);outline-offset:2px}.chat-reference--media .reference-slot-action:disabled{opacity:.4;cursor:default}.chat-reference-replace-menu{position:fixed;z-index:2400;width:190px;box-sizing:border-box;padding:5px;display:grid;gap:3px;background:var(--canvas-panel-soft, #172332);color:var(--canvas-text, #e4edf9);border:1px solid var(--canvas-border, #536d8b);border-radius:7px;box-shadow:0 8px 24px #0008;font-size:12px}.chat-reference-replace-menu button{padding:8px 10px;background:transparent;border:0;border-radius:4px;color:inherit;text-align:left;cursor:pointer}.chat-reference-replace-menu button:hover,.chat-reference-replace-menu button:focus-visible{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 28%,var(--canvas-panel-soft, #304d6c));outline:none}.standalone-chat .chat-composer-body .chat-prompt-wrap .chat-media-prompt-editor{color:var(--canvas-text, #f4f4f4)!important;caret-color:var(--canvas-text, #f4f4f4)}.standalone-chat .chat-composer-body .titan-node-editor__menu-button,.standalone-chat .chat-composer-body .token-pill,.standalone-chat .chat-composer-body .send-pill{color:var(--canvas-text, #f4f4f4);border-color:var(--canvas-border, #303744);background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 82%,var(--canvas-bg, #020304) 18%)}.standalone-chat .chat-composer-body .titan-node-editor__menu-button:hover,.standalone-chat .chat-composer-body .token-pill:hover,.standalone-chat .chat-composer-body .send-pill:hover,.standalone-chat .chat-composer-body .send-pill:focus-visible{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 18%,var(--canvas-panel-soft, #1f232b));border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 55%,var(--canvas-border, #303744))}.standalone-chat .chat-composer-body .send-pill--round:not(.is-running){color:var(--canvas-text, #f4f4f4)}.standalone-chat .titan-node-editor__menu-popover,.standalone-chat .titan-node-editor__video-settings,.standalone-chat .titan-node-editor__search-menu{color:var(--canvas-text, #f4f4f4);background:var(--canvas-panel-soft, #1f232b);border-color:var(--canvas-border, #303744)}.standalone-chat .titan-node-editor__sub-mode-tag,.standalone-chat .titan-node-editor__field--segmented>span,.standalone-chat .titan-node-editor__search-menu-title{color:var(--canvas-muted, #8f97a5)}.standalone-chat .titan-node-editor__segmented-option,.standalone-chat .titan-node-editor__menu-button select,.standalone-chat .titan-node-editor__search-menu button{color:var(--canvas-text, #f4f4f4);background:color-mix(in srgb,var(--canvas-panel-soft, #1f232b) 82%,transparent);border-color:var(--canvas-border, #303744)}body:has(.standalone-chat) .media-prompt-preview,body:has(.standalone-chat) .media-prompt-replace{color:var(--canvas-text, #f4f4f4);background:var(--canvas-panel-soft, #1f232b);border-color:var(--canvas-border, #303744)}body:has(.standalone-chat) .media-prompt-preview button,body:has(.standalone-chat) .media-prompt-replace button{color:var(--canvas-text, #f4f4f4);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 15%,var(--canvas-panel-soft, #1f232b));border-color:var(--canvas-border, #303744)}body:has(.standalone-chat) .media-prompt-preview button:hover,body:has(.standalone-chat) .media-prompt-replace button:hover{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 27%,var(--canvas-panel-soft, #1f232b))}body:has(.standalone-chat) .media-prompt-drop-caret{background:var(--canvas-accent, #5aa9d6)}.standalone-chat .chat-media-viewer{color:var(--canvas-text, #f4f4f4)}.standalone-chat .icon-button,.standalone-chat .tool-button,.standalone-chat .header-actions button,.standalone-chat .thread-delete,.standalone-chat .library-title button{color:var(--canvas-muted, #8f97a5)}.standalone-chat .icon-button{background:transparent;border-color:var(--canvas-border, #303744)}.standalone-chat .chat-brand .icon-button{color:var(--canvas-text, #f4f4f4)}.standalone-chat .icon-button:hover,.standalone-chat .tool-button:hover{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 15%,var(--canvas-panel-soft, #1f232b));color:var(--canvas-text, #f4f4f4)}.standalone-chat .chat-composer-body .titan-node-editor__menu-popover button,.standalone-chat .titan-node-editor__reasoning-option-copy strong{color:var(--canvas-text, #f4f4f4)}.standalone-chat .titan-node-editor__field>span,.standalone-chat .titan-node-editor__reasoning-option-copy small{color:var(--canvas-muted, #8f97a5)}.standalone-chat .titan-node-editor__menu-popover :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color])),.standalone-chat .titan-node-editor__field-select-trigger,.standalone-chat .titan-node-editor__inline-option-card{color:var(--canvas-text, #f4f4f4);background:var(--canvas-panel, #14161c);border-color:var(--canvas-border, #303744);accent-color:var(--canvas-accent, #5aa9d6)}.standalone-chat .chat-composer-body .titan-node-editor__menu-popover button:hover,.standalone-chat .chat-composer-body .titan-node-editor__menu-popover button.is-active,.standalone-chat .titan-node-editor__segmented-option.is-active,.standalone-chat .titan-node-editor__inline-option-card.is-active,.standalone-chat .chat-composer-body .token-pill.is-active,.standalone-chat .chat-composer-body .send-pill.is-running{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 22%,var(--canvas-panel-soft, #1f232b))!important;color:var(--canvas-text, #f4f4f4);border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 65%,var(--canvas-border, #303744))!important}.standalone-chat .media-prompt-editor:empty:before{color:var(--canvas-muted, #8f97a5)}.standalone-chat .media-prompt-editor::selection,.standalone-chat .media-prompt-editor *::selection{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 35%,transparent)}.standalone-chat .chat-composer-body .chat-reference--media .reference-preview>small{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 24%,var(--canvas-panel-soft, #1f232b));color:var(--canvas-text, #f4f4f4);box-shadow:inset 0 1px color-mix(in srgb,var(--canvas-accent, #5aa9d6) 45%,var(--canvas-border, #303744))}.standalone-chat .media-prompt-tag{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 14%,transparent);color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 60%,var(--canvas-text, #f4f4f4))}.standalone-chat .chat-media-prompt-editor .media-prompt-tag:not(.media-prompt-tag--missing){background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 24%,var(--canvas-panel-soft, #1f232b));color:var(--canvas-text, #f4f4f4);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--canvas-accent, #5aa9d6) 45%,var(--canvas-border, #303744))}.standalone-chat .media-prompt-tag__thumb{background:var(--canvas-panel-soft, #1f232b)}.standalone-chat .media-prompt-tag--missing{color:var(--canvas-muted, #8f97a5);background:color-mix(in srgb,var(--canvas-muted, #8f97a5) 12%,transparent)}body:has(.standalone-chat) .media-prompt-preview__actions{background:var(--canvas-panel-soft, #1f232b);border-color:var(--canvas-border, #303744)}body:has(.standalone-chat) .media-prompt-replace small{color:var(--canvas-muted, #8f97a5)}body:has(.standalone-chat) .media-prompt-preview button.media-prompt-preview__remove,body:has(.standalone-chat) .media-prompt-preview button.media-prompt-preview__remove:hover{background:#6c2028e8;color:#ffd7d7}.thread-task-status,.thread-result-status{display:inline-block;margin-left:7px;font-size:11px;font-weight:400;color:#63b8ff}.thread-result-status{color:#79d5aa}.standalone-chat .titan-node-editor__field--toggle,.standalone-chat .titan-node-editor__conversion-slot-grid label{background:var(--canvas-panel, #14161c);border-color:var(--canvas-border, #303744);color:var(--canvas-text, #f4f4f4)}.standalone-chat .titan-node-editor__field--toggle>span{color:var(--canvas-text, #f4f4f4)}.standalone-chat .titan-node-editor__segmented-option span,.standalone-chat .titan-node-editor__field-select-trigger span,.standalone-chat .titan-node-editor__conversion-slot-grid span{color:inherit}.standalone-chat .titan-node-editor__conversion-slot-grid label.is-active{background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 22%,var(--canvas-panel-soft, #1f232b));border-color:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 65%,var(--canvas-border, #303744))}.standalone-chat .titan-node-editor__menu-popover :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color])){background:var(--canvas-panel, #14161c)!important;border-color:var(--canvas-border, #303744)!important;color:var(--canvas-text, #f4f4f4)!important}.standalone-chat .titan-node-editor__menu-popover :is(select,textarea,input):disabled{color:var(--canvas-muted, #8f97a5)!important}.standalone-chat .titan-node-editor__menu-popover :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--canvas-accent, #5aa9d6)}.standalone-chat .titan-node-editor__field--duration-slider :is(label,span,div[style*="color:"]){color:var(--canvas-muted, #8f97a5)!important}.standalone-chat .titan-node-editor__field--duration-slider button{border-color:var(--canvas-border, #303744)!important;color:var(--canvas-muted, #8f97a5)!important}.standalone-chat>.chat-workspace-panel{display:flex;flex-direction:column;overflow:hidden;left:0;right:auto;border-left:0;border-right:1px solid var(--canvas-border, #2a3341)}.standalone-chat>.chat-workspace-panel>.chat-panel-resizer{left:auto;right:0}.chat-workspace-panel .chat-workspace-header{position:static;flex:0 0 auto;align-items:center;gap:5px;padding:4px 0 8px}.chat-workspace-tabs{display:flex;flex:1;min-width:0;gap:4px}.chat-workspace-tabs>button{flex:1;min-width:0;padding:7px 4px;border:1px solid transparent;border-radius:5px;font-size:12px;white-space:nowrap}.chat-workspace-tabs>button[aria-selected=true]{color:var(--canvas-text, #e5edf8);background:color-mix(in srgb,var(--canvas-accent, #5aa9d6) 18%,var(--canvas-panel-soft, #233247));border-color:var(--canvas-border, #35455d)}.chat-workspace-content{flex:1;min-height:0;overflow:auto}.chat-workspace-conversations{display:flex;flex-direction:column;overflow:hidden}.chat-workspace-conversations>.chat-brand{flex:0 0 48px;height:48px;padding-inline:10px}.chat-workspace-conversations>.thread-list{min-height:0}.chat-workspace-conversations>.chat-rail-footer{flex:0 0 auto;font-size:10px;padding:10px}.chat-workspace-actions{display:flex;justify-content:flex-end;gap:8px;padding:3px 0 6px}.chat-workspace-actions>button{display:grid;place-items:center;padding:4px;border:0;border-radius:4px;background:none;color:var(--canvas-muted, #9da6b5);cursor:pointer}.chat-drawer.chat-drawer--llm{border-radius:12px}.chat-drawer--llm .standalone-chat--embedded .chat-composer-body{border-radius:5px}.chat-drawer--llm .standalone-chat--embedded .chat-scroll-shell{--chat-mode-gutter: 60px;--chat-tool-gutter: 28px;--chat-control-gap: 3px}.chat-drawer--llm .standalone-chat--embedded .chat-kind-tabs{gap:3px}.chat-drawer--llm .standalone-chat--embedded .chat-kind-tabs>button{min-height:29px;padding:5px;font-size:11px}.chat-drawer--llm .standalone-chat--embedded .chat-composer-icon{width:25px;min-width:25px;height:25px;min-height:25px;border-radius:4px}.chat-drawer--llm .standalone-chat--embedded .chat-composer-icon>svg{width:12px;height:12px}.chat-drawer--llm .standalone-chat--embedded .chat-composer-tools{gap:3px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__actions--composer .titan-node-editor__menu-wrap>.titan-node-editor__menu-button{height:29px;min-height:29px;font-size:11px;padding-inline:7px;gap:3px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button--modelchip,.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button--summary{width:158px;min-width:0;max-width:158px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--modelchip){flex:0 1 158px;max-width:158px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--summary){flex:0 0 158px;max-width:158px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button>svg,.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button .titan-node-editor__button-label svg{width:12px;height:12px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-right>.send-pill{width:30px;min-width:30px;height:30px;min-height:30px;padding:0!important;font-size:10px!important}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-right>.send-pill>svg{width:13px;height:13px}@container chat-composer (max-width: 600px){.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--modelchip){flex:1;max-width:none}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button--modelchip{width:100%;max-width:none}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__action-cluster--composer-left>.titan-node-editor__menu-wrap:has(>.titan-node-editor__menu-button--summary){flex:0 0 72px;max-width:72px}.chat-drawer--llm .standalone-chat--embedded .titan-node-editor__menu-button--summary{width:100%;max-width:100%;padding-inline:2px}}.standalone-chat.standalone-chat--detached-workspace{position:fixed;display:flex;z-index:calc(var(--z-app-chrome, 50) + 5);min-height:0;border:1px solid var(--canvas-border, #35455d);border-radius:12px;background:var(--canvas-panel, #111720);box-shadow:none;box-sizing:border-box}.standalone-chat--detached-workspace>.chat-workspace-panel{position:relative;inset:auto;width:100%;height:100%;max-width:none;max-height:none;border:0;box-shadow:none}.standalone-chat--detached-workspace>.chat-workspace-panel>.chat-panel-resizer{left:0;right:auto}.app-shell:has(>.standalone-chat--detached-workspace) .topbar,.app-shell:has(>.standalone-chat--detached-workspace) .left-rail,.app-shell:has(>.standalone-chat--detached-workspace) .chat-entry-tabs,.app-shell:has(>.standalone-chat--detached-workspace) .chat-fab,body:has(.standalone-chat--detached-workspace) .workspace-return-button{z-index:calc(var(--z-app-chrome, 50) + 6)}.app-shell:has(>.standalone-chat--detached-workspace) .topbar{pointer-events:none}.app-shell:has(>.standalone-chat--detached-workspace) .topbar>*{pointer-events:auto}@media (max-width: 1050px){body:has(.standalone-chat--detached-workspace) .workspace-return-button{bottom:56px}}.chat-workspace-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px;flex:none;border-bottom:1px solid var(--canvas-border,#303746)}.chat-workspace-navigation button{min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;padding:8px 2px;white-space:nowrap;border:1px solid var(--canvas-border,#303746);border-radius:5px;background:var(--canvas-panel-soft,#171b22);color:var(--canvas-text,#d9dee7);font-size:11px;cursor:pointer}.chat-workspace-navigation button.active{background:color-mix(in srgb,var(--canvas-accent,#5aa9d6) 22%,var(--canvas-panel-soft,#27364d))}.chat-workspace-navigation button:disabled,.message-actions button:disabled{opacity:.45;cursor:not-allowed}.message-actions .message-to-canvas{gap:4px;font-size:11px}.chat-canvas-import{flex:0 0 auto;margin:8px 12px;padding:12px;border:1px solid var(--canvas-border, #303746);border-radius:8px;background:var(--canvas-panel, #111419)}.chat-canvas-import p{margin:6px 0 10px;font-size:12px;line-height:1.6}.chat-canvas-import>div{display:flex;flex-wrap:wrap;gap:8px}.chat-canvas-import button{padding:7px 10px;border:1px solid var(--canvas-border, #303746);border-radius:5px;background:var(--canvas-panel-soft, #171b22);color:inherit;cursor:pointer}.chat-canvas-import button:focus-visible{outline:2px solid var(--canvas-accent, #5aa9d6);outline-offset:2px}.workspace-home{height:100vh;display:grid;place-items:center;background:#0b0d10;color:#e7ebf2;font-family:Segoe UI,PingFang SC,sans-serif}.workspace-home-inner{width:min(960px,calc(100% - 40px))}.workspace-kicker{color:#7ea5d6;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.workspace-home h1{font-size:32px;margin:8px 0}.workspace-lead{color:#8d98a8;margin:0 0 28px}.workspace-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.workspace-choices button{display:flex;gap:15px;align-items:flex-start;text-align:left;padding:22px;border:1px solid #303846;border-radius:9px;background:#141a22;color:#e5e7eb;cursor:pointer}.workspace-choices button:hover{border-color:#6b95c9;background:#182130}.workspace-choices span{display:flex;flex-direction:column;gap:8px}.workspace-choices strong{font-size:16px}.workspace-choices small{color:#8c98a8;line-height:1.5}@media (max-width:780px){.workspace-choices{grid-template-columns:1fr}.workspace-home h1{font-size:26px}}.translation-page{height:100vh;overflow:auto;background:#0b0d10;color:#e7ebf2;font-family:Segoe UI,PingFang SC,sans-serif;padding:24px;box-sizing:border-box}.translation-page header{display:flex;gap:16px;align-items:flex-start;max-width:1320px;margin:0 auto 18px}.translation-page h1{margin:0;font-size:28px}.translation-page h2{font-size:15px;margin:0 0 10px}.translation-page h3{font-size:14px}.translation-kicker{color:#7ea5d6;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:4px 0}.translation-page header p:last-child{color:#98a3b3;margin:5px 0}.icon-button,.translation-toolbar button,.translation-selection button,.upload-button{border:1px solid #334155;border-radius:7px;background:#151d28;color:#e5e7eb;padding:9px 12px;display:inline-flex;gap:7px;align-items:center;cursor:pointer}.translation-toolbar{max-width:1320px;margin:0 auto 16px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}.translation-toolbar label,.translation-selection{display:flex;flex-direction:column;gap:5px;color:#aeb8c7;font-size:12px}.translation-toolbar input,.translation-toolbar select,.translation-selection input{border:1px solid #334155;background:#10161f;color:#f3f4f6;border-radius:6px;padding:9px;min-width:150px}.upload-button input{display:none}.translation-grid{max-width:1320px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:14px}.translation-source,.translation-target,.translation-tables,.translation-selection,.translation-analysis,.translation-warning{border:1px solid #2d3748;border-radius:8px;background:#121822;padding:15px}.translation-grid article{border-top:1px solid #273244;padding:9px 0}.translation-grid article.selected,.translation-tables td.selected{background:#1b2b42}.translation-grid small{color:#7f8da1;display:block;margin-bottom:5px}.translation-grid textarea,.translation-tables textarea{display:block;width:100%;box-sizing:border-box;min-height:50px;resize:vertical;border:1px solid #334155;background:#0d131b;color:#e5e7eb;border-radius:5px;padding:8px;margin:4px 0;font:inherit}.translation-tables{max-width:1320px;margin:16px auto}.translation-tables table{border-collapse:collapse;width:100%;overflow:auto}.translation-tables td{border:1px solid #344256;vertical-align:top;min-width:150px;padding:5px}.translation-selection{max-width:1320px;margin:16px auto;flex-direction:row;align-items:center;flex-wrap:wrap}.translation-selection input{flex:1;min-width:240px}.translation-analysis{max-width:1320px;margin:16px auto;white-space:pre-wrap}.translation-error{max-width:1320px;margin:12px auto;color:#ff9d9d}.translation-page>p[role=status]{max-width:1320px;margin:10px auto;color:#83d0a5}@media (max-width:760px){.translation-grid{grid-template-columns:1fr}.translation-toolbar,.translation-selection{align-items:stretch}.translation-page{padding:14px}}.translation-page header>.icon-button:last-child{margin-left:auto;white-space:nowrap}.translation-page [hidden]{display:none!important}.translation-tabs{display:flex;gap:8px;border-bottom:1px solid #334155;padding-bottom:8px;flex-shrink:0}.translation-tabs button[aria-selected=true]{background:#264466;border-color:#6ba5e7;color:#e4f1ff}.translation-tab-content{flex:1;min-height:350px;overflow:auto}.translation-tab-empty{border:1px dashed #344256;border-radius:8px;padding:30px;color:#a5b9d3;text-align:center}.translation-page{padding:16px;display:flex;flex-direction:column;gap:12px}.translation-page>header,.translation-toolbar,.translation-grid,.translation-selection,.translation-tables,.translation-analysis,.translation-warning{max-width:none;width:100%;margin:0;box-sizing:border-box}.translation-page>header{margin-bottom:0;flex-shrink:0}.translation-toolbar{gap:8px;flex-shrink:0}.translation-toolbar label{font-size:11px}.translation-toolbar select,.translation-toolbar input{min-width:110px;padding:7px}.translation-page button{border:1px solid #334155;border-radius:6px;background:#172334;color:#d9e8fb;padding:7px 10px;cursor:pointer}.translation-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,.68fr);gap:12px;flex:1 0 520px;min-height:520px}.translation-grid>.translation-source,.translation-grid>.translation-target{display:flex;flex-direction:column;min-width:0;max-height:none;height:100%;padding:12px;box-sizing:border-box;overflow:auto;scroll-behavior:auto}.translation-pane-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap;flex-shrink:0}.translation-pane-title h2{margin:0 auto 0 0}.translation-pane-title label{display:flex;gap:6px;align-items:center;font-size:11px;color:#aeb8c7}.translation-pane-title input[type=color]{width:28px;height:25px;padding:0;background:none;border:0;cursor:pointer}.translation-pane-title button{font-size:11px}.translation-grid .translation-whole-editor{position:relative;flex:1;min-height:430px;margin-top:10px;border:0;padding:0;isolation:isolate}.translation-grid .translation-whole-editor textarea,.translation-highlight{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;box-sizing:border-box;border:1px solid transparent;margin:0;padding:12px;font-family:Segoe UI,PingFang SC,sans-serif;font-size:inherit;line-height:1.8;letter-spacing:normal;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;-moz-tab-size:8;tab-size:8;overflow:auto;resize:none;border-radius:5px}.translation-grid .translation-whole-editor textarea{background:transparent;color:inherit;min-height:0;border-color:#334155;z-index:1;caret-color:currentColor}.translation-grid .translation-whole-editor textarea::selection{background:#6194d37a}.translation-highlight{color:transparent;background:#0d131b;pointer-events:none;z-index:0}.translation-highlight mark{color:transparent;background:#4b75aa80;border-radius:2px}.translation-grid article textarea,.translation-tables textarea{color:inherit}.translation-grid article.selected{background:#203650}.translation-sidebar{min-width:0;overflow:auto;max-height:100%;border:1px solid #334155;border-radius:8px;background:#101925}.translation-sidebar-empty{padding:18px;color:#a9b9ce;line-height:1.8;font-size:13px}.translation-sidebar .translation-dialog{width:100%;box-sizing:border-box;max-height:none;overflow:visible;border:0;border-radius:0;box-shadow:none;padding:14px}.translation-dialog header{gap:6px}.translation-dialog header h2{font-size:16px}.translation-dialog header button{font-size:11px;white-space:nowrap}.translation-dialog-panes{grid-template-columns:1fr}.translation-dialog textarea{min-height:150px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.translation-dialog-actions{gap:7px}.translation-dialog-actions button{font-size:12px;padding:7px 9px}.translation-dialog .translation-language-controls select{min-width:100px;max-width:135px;padding:6px}.translation-preview-switch{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:12px;color:#a7bcda}.translation-preview-switch input{width:auto;min-height:0}.translation-selection-note{font-size:12px;color:#ebc48d;line-height:1.6}.translation-preview-note,.translation-draft{background:#223249;color:#cee2ff;border:1px solid #45608a;border-radius:6px;padding:10px;margin:0;font-size:13px}.translation-draft p{margin:6px 0}.translation-draft button{margin-right:8px}.translation-selection{position:static;font-size:12px;padding:8px}.translation-images{border:1px solid #334155;border-radius:8px;padding:14px;background:#121822}.translation-images>header{max-width:none;margin:0 0 12px}.translation-image-card{display:grid;grid-template-columns:minmax(130px,.8fr) 1fr 1fr minmax(140px,.4fr);gap:14px;border-top:1px solid #334155;padding:14px 0}.translation-image-card figure{margin:0}.translation-image-card img{max-width:100%;max-height:230px;object-fit:contain}.translation-image-card figcaption{font-size:12px;color:#a7bcda}.translation-image-card textarea{width:100%;height:180px;box-sizing:border-box;background:#0d131b;color:#e7ebf2;padding:10px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #334155;border-radius:5px;font:inherit;resize:vertical}.translation-image-card label{font-size:12px}.translation-image-actions{display:flex;flex-direction:column;gap:12px}.translation-image-actions small{color:#9aa8bb}@media (min-width:1600px){.translation-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 350px}}@media (max-width:1000px){.translation-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex-basis:auto}.translation-sidebar{grid-column:1/-1}.translation-dialog-panes,.translation-image-card{grid-template-columns:1fr 1fr}.translation-whole-editor{height:60vh}.translation-grid>.translation-source,.translation-grid>.translation-target{min-height:60vh}}@media (max-width:600px){.translation-page{padding:10px}.translation-grid,.translation-dialog-panes,.translation-image-card{grid-template-columns:1fr}.translation-page>header{flex-wrap:wrap}}.translation-page button:disabled,.translation-page input:disabled{opacity:.45;cursor:not-allowed}.translation-warning{max-width:1320px;margin:16px auto}.translation-page button:focus-visible,.translation-page textarea:focus-visible,.translation-page input:focus-visible,.translation-page select:focus-visible{outline:2px solid #68a7ed;outline-offset:2px}.translation-table-scroll{overflow:auto}.translation-aligned-editor{flex:1;min-height:430px;overflow:auto;background:#0d131b;border:1px solid #334155;border-radius:5px;outline:none;padding:10px;box-sizing:border-box;line-height:1.6em;white-space:pre-wrap;overflow-wrap:anywhere}.translation-paired-line{position:relative;box-sizing:border-box;padding:0 48px 0 42px;min-width:0;width:100%;border:0!important;margin:0!important}.translation-paired-line [data-row-text]{display:block;min-width:0;min-height:1.6em;white-space:pre-wrap;overflow-wrap:anywhere}.translation-paired-line.selected{background:#244060}.translation-line-hint{position:absolute;right:1px;top:0;color:#9cabc0;font-size:10px;-webkit-user-select:none;user-select:none;pointer-events:none;line-height:inherit}.translation-line-gutter{position:sticky;left:0;display:block;width:42px;height:0;margin-left:-42px;z-index:1;-webkit-user-select:none;user-select:none}.translation-aligned-editor:empty:before{content:"粘贴文字或上传文件";color:#93a2b8}.translation-paired-line [data-row-text]:after{content:"​"}.translation-selection{position:sticky;top:0;z-index:2}.translation-source,.translation-target{max-height:62vh;overflow:auto;scroll-behavior:smooth}.translation-grid article.selected{border-left:3px solid #68a7ed;padding-left:8px}.translation-segment-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.translation-copy-button{border:1px solid #334155;border-radius:5px;background:#182638;color:#cfe1f8;padding:4px 7px;display:inline-flex;gap:4px;align-items:center;font-size:11px;cursor:pointer}.translation-whole-editor textarea{min-height:52vh;line-height:1.7}.translation-language-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.translation-language-controls label{display:flex;flex-direction:column;gap:5px;color:#aeb8c7;font-size:12px}.translation-language-controls select{border:1px solid #334155;background:#10161f;color:#f3f4f6;border-radius:6px;padding:9px;min-width:120px}.translation-language-controls button{border:1px solid #334155;border-radius:7px;background:#151d28;color:#e5e7eb;padding:9px 12px;cursor:pointer}.translation-context-menu{position:fixed;z-index:20;display:grid;gap:2px;padding:5px;border:1px solid #3d4b60;border-radius:7px;background:#111a26;box-shadow:0 10px 30px #0008}.translation-context-menu button{border:0;background:transparent;color:#e5e7eb;text-align:left;padding:8px 10px;border-radius:4px;cursor:pointer}.translation-context-menu button:hover{background:#22334a}.translation-dialog header{display:flex;justify-content:space-between;align-items:flex-start;margin:0 0 12px}.translation-dialog header h2{margin:0}.translation-dialog header p,.translation-dialog-model{color:#9aa8bb;font-size:12px}.translation-dialog-panes{display:grid;gap:12px}.translation-dialog-panes label,.translation-dialog-instruction{display:flex;flex-direction:column;gap:6px;color:#b8c4d5;font-size:12px}.translation-dialog textarea,.translation-dialog input:not([type=checkbox]){box-sizing:border-box;width:100%;resize:vertical;border:1px solid #334155;background:#0d131b;color:#e5e7eb;border-radius:5px;padding:9px;font:inherit}.translation-dialog input{min-height:auto}.translation-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.translation-dialog-actions button:disabled,.translation-dialog header button:disabled{opacity:.45;cursor:not-allowed}.translation-paired-line{padding-left:42px;padding-right:48px}.translation-line-hint{right:3px;top:0;font-size:10px}.translation-judge-results{padding:12px;border:1px solid #46506b;border-radius:10px;background:#171d2b;font-size:14px}.translation-row-judge{position:absolute;right:3px;bottom:2px;max-width:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;opacity:.65;color:#bed8f9;pointer-events:none}.translation-page .translation-line-number{position:absolute;left:0;top:0;width:34px;height:1lh;padding:0 5px 0 0;display:block;text-align:right;border:0;border-right:1px solid #334155;border-radius:0;background:#0d131b;color:#8293ad;font-family:ui-monospace,monospace;font-size:12px;line-height:inherit;-webkit-user-select:none;user-select:none;cursor:pointer}.translation-paired-line.selected .translation-line-number{background:#244060}.translation-page .translation-line-number:hover{color:#c8e4ff;background:#1f3045}.translation-selection-lines{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12px}.translation-page .translation-selection-lines button{padding:2px 6px;font:12px ui-monospace,monospace}.translation-page .translation-table-copy{padding:3px;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}.translation-language-detection{margin:8px 0;padding:8px 12px;border:1px solid #334155;border-radius:6px;font-size:13px}.translation-language-detection>button{margin-left:12px}.translation-language-detection table{border-collapse:collapse;margin:8px 0}.translation-language-detection th,.translation-language-detection td{padding:5px 14px;border:1px solid #334155;text-align:left}.translation-judge-monitor{border:1px solid #33435b;border-radius:10px;margin:10px;padding:12px;font-size:13px}.translation-judge-monitor h2{font-size:15px;margin-top:0}.translation-judge-monitor p{overflow-wrap:anywhere}.three-d-studio{height:100%;min-height:720px;color:#d9e2ef;background:#10131a;display:flex;flex-direction:column;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.three-d-studio button,.three-d-studio input,.three-d-studio select{font:inherit}.three-d-topbar{height:48px;flex:0 0 48px;display:flex;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid #2b3342;background:#151923}.three-d-topbar>input[type=file]{display:none}.three-d-brand{width:188px;display:flex;align-items:baseline;gap:8px;white-space:nowrap}.three-d-brand span{font-size:14px;font-weight:800;color:#fff}.three-d-brand small{color:#8fb2c7;font-size:11px}.three-d-toolbar{flex:1;display:flex;align-items:center;gap:6px;min-width:0;overflow:visible}.three-d-toolbar button,.three-d-floating button,.three-d-row-actions button,.three-d-panel-title button{border:1px solid #364152;background:#1d2430;color:#d6e4f0;height:30px;min-width:30px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;cursor:pointer}.three-d-toolbar button:hover,.three-d-floating button:hover,.three-d-row-actions button:hover,.three-d-panel-title button:hover{border-color:#6ba6b8;background:#24313b;color:#fff}.three-d-toolbar button:disabled{opacity:.42;cursor:not-allowed}.three-d-toolbar-drawer{position:relative;display:inline-flex}.three-d-drawer-trigger{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 9px;border:1px solid #364152;background:#1d2430;color:#d6e4f0;border-radius:6px;cursor:pointer}.three-d-drawer-trigger:hover{border-color:#6ba6b8;background:#24313b;color:#fff}.three-d-drawer-trigger:disabled{opacity:.42;cursor:not-allowed}.three-d-drawer-panel{position:absolute;top:36px;left:0;z-index:60;display:flex;flex-direction:column;gap:4px;padding:5px;border:1px solid #303a4a;border-radius:7px;background:#151923fa;box-shadow:0 6px 18px #00000073;min-width:130px}.three-d-drawer-panel button{justify-content:flex-start;width:100%}.three-d-transform-inline{display:inline-flex;gap:4px;padding:0 4px;border-left:1px solid #2b3342;border-right:1px solid #2b3342}.three-d-transform-inline button{width:30px;padding:0}.three-d-transform-inline button.active{border-color:#72aabc;background:#24505b;color:#fff}.three-d-snapshot-pair{display:inline-flex;gap:4px;margin-left:6px;padding-left:8px;border-left:1px solid #2b3342}.three-d-snapshot-pair button.active{border-color:#72aabc;background:#24505b;color:#fff}.three-d-status{max-width:260px;color:#f5c76b;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-main{flex:1;min-height:0;display:grid;grid-template-columns:280px minmax(240px,1fr) 360px;overflow:hidden;position:relative}.three-d-left-rail,.three-d-right-rail,.three-d-bottom-rail{min-height:0;display:flex;background:#141922}.three-d-left-rail,.three-d-right-rail{flex-direction:column}.three-d-left-rail{grid-column:1;border-right:1px solid #2b3342;overflow:visible;z-index:20}.three-d-right-rail{grid-column:3;border-left:1px solid #2b3342;overflow:auto}.three-d-center-stack{grid-column:2;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#0c1119}.three-d-center-viewport{flex:1 1 auto;min-width:0;min-height:150px;overflow:hidden;display:flex}.three-d-center-viewport>.three-d-viewport-shell{flex:1 1 auto;width:100%;height:100%}.three-d-bottom-rail{position:relative;flex:0 0 auto;min-height:160px;max-height:70%;flex-direction:row;border-top:1px solid #2b3342;overflow:auto hidden}.three-d-panel{min-height:0;border-bottom:1px solid #2b3342;display:flex;flex-direction:column;background:#151b24;overflow-y:auto}.three-d-panel-title{height:38px;flex:0 0 38px;position:sticky;top:0;z-index:2;background:#151b24;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border-bottom:1px solid #2b3342;color:#aab9c8;font-size:12px;font-weight:700}.three-d-panel-title>span:last-child{display:inline-flex;align-items:center;gap:5px}.three-d-panel-title button:disabled{opacity:.42;cursor:not-allowed}.three-d-environment-controls{display:flex;flex-direction:column;gap:10px;padding:10px}.three-d-env-upload{width:100%;min-height:30px;border:1px solid #364152;background:#1d2430;color:#d6e4f0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;cursor:pointer}.three-d-env-upload:hover{border-color:#6ba6b8;background:#26313a;color:#fff}.three-d-env-upload:disabled{opacity:.48;cursor:not-allowed}.three-d-env-upload span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-empty,.three-d-error{margin:10px;padding:14px 10px;border:1px dashed #334155;border-radius:6px;text-align:center;color:#71859a;font-size:12px}.three-d-error{color:#ffc4b5;border-color:#7f3a35;background:#2a1818}.three-d-outliner{flex:1 1 280px;min-height:220px}.three-d-outliner-list{flex:1;min-height:0;overflow:auto;padding:8px}.three-d-outliner-row,.three-d-library-row{display:flex;align-items:center;gap:6px;min-height:30px;border:1px solid transparent;border-radius:6px}.three-d-outliner-row.active{border-color:#739fb0;background:#20303a}.three-d-outliner-row.material-drop-target{border-color:#d7b65f;background:#d7b65f21}.three-d-outliner-name,.three-d-library-row .name{flex:1;min-width:0;height:28px;border:0;background:transparent;color:#cad7e4;display:flex;align-items:center;gap:7px;padding:0 7px;cursor:pointer;text-align:left}.three-d-outliner-name span,.three-d-library-row .name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-outliner-toggle{flex:0 0 auto;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#8aa0b2;cursor:pointer;padding:0}.three-d-outliner-toggle:hover{color:#cad7e4}.three-d-outliner-material-cell{position:relative;flex:0 1 auto;min-width:0;display:inline-flex;align-items:center}.three-d-outliner-material-badge{width:24px;min-width:24px;max-width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid #3b4658;border-radius:6px;background:#101620;cursor:pointer}.three-d-outliner-material-badge:focus-visible{outline:2px solid #d7b65f;outline-offset:2px}.three-d-outliner-material-badge.is-material-selected{border-color:#facc15e0;background:#facc1524;box-shadow:0 0 0 2px #facc1533}.three-d-outliner-material-swatch{flex:0 0 13px;width:13px;height:13px;border-radius:50%;border:1px solid rgba(255,255,255,.24);box-shadow:inset -4px -5px 8px #00000059,inset 3px 3px 6px #ffffff2e;background-position:center;background-size:cover}.three-d-outliner-material-badge{cursor:grab}.three-d-outliner-material-badge:active{cursor:grabbing}.three-d-outliner-material-badge.is-inherited .three-d-outliner-material-swatch{opacity:.72;border-style:dashed;box-shadow:inset -3px -4px 7px #00000052,inset 2px 2px 5px #ffffff1f}.three-d-outliner-material-menu{position:fixed;z-index:1600;min-width:176px;padding:6px;border:1px solid rgba(148,163,184,.24);border-radius:6px;background:#0f172af5;box-shadow:0 12px 28px #00000052;pointer-events:auto}.three-d-outliner-material-menu-group{display:grid;gap:3px;padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid rgba(148,163,184,.16)}.three-d-outliner-material-menu-group small{padding:3px 6px;color:#94a3b8;font-size:11px}.three-d-outliner-material-menu button{width:100%;height:28px;justify-content:flex-start;border:0;border-radius:4px;background:transparent;color:#f8fafc;font-size:12px}.three-d-outliner-material-menu button:hover{background:#60a5fa29;color:#dbeafe}.three-d-outliner-material-menu button:disabled{cursor:not-allowed;opacity:.45}.three-d-outliner-material-menu button.is-active{background:#facc152e;color:#fde68a}.three-d-outliner-material-menu button.is-danger:hover{background:#f871712e;color:#fecaca}.three-d-outliner-material-preview{position:fixed;z-index:1700;width:58px;height:58px;padding:5px;border:1px solid rgba(250,204,21,.34);border-radius:6px;background:#0f172afa;box-shadow:0 14px 32px #00000057;pointer-events:auto}.three-d-outliner-material-preview-swatch{display:block;width:100%;height:100%;border:1px solid rgba(255,255,255,.24);border-radius:5px;background-position:center;background-size:cover;box-shadow:inset -6px -7px 12px #00000052,inset 4px 4px 9px #ffffff29}.three-d-outliner-material-preview-delete{position:absolute;top:-7px;right:-7px;width:20px;height:20px;min-width:20px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(248,113,113,.42);border-radius:50%;background:#7f1d1df5;color:#fecaca;cursor:pointer}.three-d-outliner-material-preview-delete:hover{border-color:#fecacac7;background:#b91c1cfa;color:#fff}.three-d-row-actions{flex:0 0 auto;display:flex;gap:3px;padding-right:4px}.three-d-row-actions button,.three-d-library-row>button:not(.name){width:24px;height:24px;padding:0;border:0;background:transparent;color:#90a4b7}.three-d-outliner-footer{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border-top:1px solid #2b3342}.three-d-outliner-footer button,.three-d-library-actions button,.three-d-tool-grid button,.three-d-wide-action,.three-d-danger-action{border:1px solid #364152;background:#1d2430;color:#d6e4f0;min-height:30px;border-radius:6px;cursor:pointer}.three-d-outliner-footer button:hover,.three-d-library-actions button:hover,.three-d-tool-grid button:hover,.three-d-wide-action:hover{border-color:#6ba6b8;background:#26313a}.three-d-snapshot-panel{height:100%;flex:1 1 auto}.three-d-snapshot-strip{flex:1;min-height:0;display:flex;gap:8px;overflow:auto;padding:10px;flex-direction:column}.three-d-snapshot-strip figure{flex:0 0 126px;height:126px;margin:0;border:1px solid #344154;border-radius:6px;background:#0f141d;overflow:hidden}.three-d-snapshot-strip figure.active{border-color:#e0b84f}.three-d-snapshot-strip img{width:100%;height:84px;display:block;object-fit:cover}.three-d-snapshot-strip figcaption{height:42px;display:flex;justify-content:space-between;align-items:center;gap:5px;padding:0 6px;font-size:10px}.three-d-snapshot-strip figcaption span,.three-d-snapshot-strip figcaption div{display:flex;align-items:center;gap:4px}.three-d-snapshot-strip button{width:22px;height:22px;border:0;background:transparent;color:#b9c6d4;cursor:pointer}.three-d-viewport-shell{position:relative;min-width:0;min-height:0;overflow:hidden;background:#0c1119}.three-d-viewport-host,.three-d-studio-canvas{width:100%;height:100%;display:block}.three-d-floating{position:absolute;z-index:20;display:flex;gap:5px;padding:5px;border:1px solid #303a4a;border-radius:7px;background:#121821f0}.three-d-viewport-modes-drawer{bottom:12px;left:130px;flex-direction:column;align-items:flex-start;gap:4px;padding:0;border:none;background:transparent}.three-d-shading-drawer{bottom:12px;left:200px;flex-direction:column;align-items:flex-start;gap:4px;padding:0;border:none;background:transparent}.three-d-viewport-modes-drawer .drawer-trigger,.three-d-shading-drawer .drawer-trigger{display:flex;align-items:center;height:28px;padding:0 6px;border:1px solid #303a4a;border-radius:7px;background:#121821f0;color:#d9e2ef;cursor:pointer}.three-d-viewport-modes-drawer .drawer-trigger:hover,.three-d-shading-drawer .drawer-trigger:hover{border-color:#73b8c5;color:#fff}.three-d-viewport-modes-drawer .drawer-panel,.three-d-shading-drawer .drawer-panel{position:absolute;bottom:36px;left:0;display:flex;gap:5px;padding:5px;border:1px solid #303a4a;border-radius:7px;background:#121821f0}.three-d-scene-toggles{bottom:12px;left:12px}.three-d-floating button{width:30px;padding:0}.three-d-floating button.active{border-color:#72aabc;background:#24505b;color:#fff}.three-d-floating button.muted{color:#91a2b0}.three-d-viewport-frame{position:absolute;z-index:12;box-sizing:border-box;border:1px solid rgba(116,137,160,.45);pointer-events:none;--three-d-viewport-control-gap: 8px;--three-d-viewport-control-top: 8px;--three-d-viewport-control-size: 28px;--three-d-viewport-select-width: 74px;--three-d-viewport-add-offset: calc(8px + var(--three-d-viewport-select-width) + var(--three-d-viewport-control-gap) + var(--three-d-viewport-control-size) + var(--three-d-viewport-control-gap));--three-d-viewport-close-offset: var(--three-d-viewport-add-offset)}.three-d-viewport-frame.active{border:2px solid #73b8c5}.three-d-viewport-frame.snapshot{outline:2px dashed #e0b84f;outline-offset:-5px}.three-d-splitter{position:absolute;z-index:18;background:#73b8c547;pointer-events:auto}.three-d-splitter:hover{background:#73b8c5bd}.three-d-splitter--horizontal{cursor:col-resize}.three-d-splitter--vertical{cursor:row-resize}.three-d-middle-view-menu{position:fixed;z-index:1400;display:grid;grid-template-columns:repeat(2,54px);gap:5px;padding:7px;border:1px solid #3b4658;border-radius:8px;background:#0f141df5;box-shadow:0 16px 40px #00000061;transform:translate(-50%,-50%)}.three-d-middle-view-menu button{height:28px;border:1px solid #344154;border-radius:6px;background:#1d2430;color:#d9e2ef;cursor:pointer}.three-d-middle-view-menu button:hover{border-color:#73b8c5;color:#fff}.three-d-viewport-label,.three-d-viewport-snapshot,.three-d-viewport-select,.three-d-viewport-fullscreen,.three-d-viewport-add,.three-d-viewport-close{pointer-events:auto;position:absolute;border:1px solid #344154;border-radius:6px;background:#0f141df2;color:#d9e2ef;box-sizing:border-box;font-size:11px}.three-d-viewport-label{left:8px;top:var(--three-d-viewport-control-top);min-height:var(--three-d-viewport-control-size);display:flex;align-items:center;gap:8px;padding:0 9px;line-height:1}.three-d-viewport-label small{color:#89a1b8}.three-d-viewport-snapshot{left:8px;top:38px;height:24px;padding:0 7px;cursor:pointer}.three-d-viewport-select{right:8px;top:var(--three-d-viewport-control-top);width:var(--three-d-viewport-select-width);height:var(--three-d-viewport-control-size);padding:0 8px}.three-d-viewport-fullscreen{right:calc(8px + var(--three-d-viewport-select-width) + var(--three-d-viewport-control-gap));top:var(--three-d-viewport-control-top);width:var(--three-d-viewport-control-size);height:var(--three-d-viewport-control-size);padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.three-d-viewport-fullscreen:hover{border-color:#73b8c5;color:#fff}.three-d-viewport-add,.three-d-viewport-close{top:var(--three-d-viewport-control-top);width:var(--three-d-viewport-control-size);height:var(--three-d-viewport-control-size);padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.three-d-viewport-add{right:var(--three-d-viewport-add-offset)}.three-d-viewport-add:hover{border-color:#73b8c5;color:#fff}.three-d-viewport-close{right:var(--three-d-viewport-close-offset)}.three-d-viewport-frame.can-add-viewport{--three-d-viewport-close-offset: calc(var(--three-d-viewport-add-offset) + var(--three-d-viewport-control-size) + var(--three-d-viewport-control-gap))}.three-d-viewport-close:hover:not(:disabled){border-color:#d98080;color:#fff}.three-d-viewport-close:disabled{opacity:.4;cursor:not-allowed}.three-d-object-tools{flex:0 0 auto;max-height:none}.three-d-object-create-inline{display:inline-flex;gap:4px;padding-left:8px;border-left:1px solid #2b3342}.three-d-object-create-inline button{width:30px;padding:0}.three-d-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px}.three-d-tool-grid button,.three-d-wide-action,.three-d-danger-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;font-size:12px}.three-d-inspector-fields{overflow:auto;padding:0 10px 10px}.three-d-object-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 10px}.three-d-object-stats div{min-width:0;min-height:42px;padding:6px 7px;border:1px solid #2d3949;border-radius:6px;background:#111823}.three-d-object-stats span{display:block;color:#8396aa;font-size:10px;font-weight:800}.three-d-object-stats strong{display:block;margin-top:4px;color:#edf5fb;font-size:13px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-text-field,.three-d-material-controls label{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:8px;margin:8px 0;color:#9fb0bf;font-size:11px}.three-d-text-field input,.three-d-text-field select,.three-d-number-cell input{min-width:0;height:28px;border:1px solid #354253;border-radius:5px;background:#101620;color:#f2f6fa;padding:0 7px}.three-d-vector-editor{margin-top:10px}.three-d-field-label{margin-bottom:5px;color:#9fb0bf;font-size:11px;font-weight:700}.three-d-vector-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.three-d-vector-editor-head .three-d-field-label{margin-bottom:0}.three-d-scale-lock-toggle{width:22px;height:22px;display:inline-grid;place-items:center;border:1px solid rgba(139,160,210,.22);border-radius:5px;background:#ffffff0a;color:#a9bbcf}.three-d-scale-lock-toggle.is-locked{color:#d8f3ff;border-color:#6ba6b880;background:#6ba6b82e}.three-d-vector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.three-d-number-cell{display:flex;align-items:center;gap:4px}.three-d-number-cell span{width:12px;color:#88a0b6;font-size:10px;font-weight:700}.three-d-wide-action,.three-d-danger-action{width:100%;margin:7px 0}.three-d-danger-action{border-color:#693337;background:#261719;color:#ffb8ac}.three-d-camera-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0}.three-d-camera-readout span{min-width:0;border:1px solid #334155;border-radius:5px;background:#101620;color:#bfd0df;padding:5px;font-size:10px;text-align:center}.three-d-camera-fields,.three-d-light-fields{margin:8px 0}.three-d-check-field{display:inline-flex;align-items:center;gap:8px;margin:8px 0;color:#9fb0bf;font-size:11px}.three-d-check-field input{width:15px;height:15px;accent-color:#6ba6b8}.three-d-material-panel{flex:1 1 320px;overflow:visible;position:relative}.three-d-panel-title small{min-width:20px;height:18px;padding:0 6px;border:1px solid #384658;border-radius:999px;color:#9fb0bf;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.three-d-material-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px;align-content:start}.three-d-material-current-title{min-height:24px;margin:0 10px -2px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b9c8d8;font-size:11px;font-weight:800}.three-d-material-current-title small{min-width:18px;height:17px;padding:0 5px;border:1px solid #384658;border-radius:999px;color:#9fb0bf;font-size:10px;display:inline-flex;align-items:center;justify-content:center}.three-d-material-presets button{min-width:0;min-height:34px;display:flex;align-items:center;gap:7px;border:1px solid #344154;border-radius:6px;background:#101620;color:#d5e1ec;cursor:grab;padding:0 8px;font-size:11px}.three-d-material-presets button:active{cursor:grabbing}.three-d-material-presets button.is-active{border-color:#d7b65f;background:#22202a}.three-d-material-list-empty{grid-column:1 / -1;min-height:42px;display:flex;align-items:center;justify-content:center;border:1px dashed #334154;border-radius:6px;color:#8fa3b6;font-size:11px}.three-d-material-presets--menu{max-height:154px;overflow:auto;padding:0 0 8px}.three-d-material-presets button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-material-library-panel{position:absolute;top:36px;left:calc(100% + 8px);z-index:88;width:236px;max-height:min(360px,calc(100vh - 130px));display:flex;flex-direction:column;border:1px solid #3d4a5c;border-radius:7px;background:#121a27;box-shadow:0 16px 42px #0000007a;overflow:hidden}.three-d-material-library-panel-title{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 7px;border-bottom:1px solid #263241;background:#111824}.three-d-material-library-panel-title>span{min-width:0;display:inline-flex;align-items:center;gap:6px;color:#d9e6f2;font-size:12px;font-weight:800}.three-d-material-library-panel-title small{min-width:18px;height:17px;padding:0 5px;border:1px solid #384658;border-radius:999px;color:#9fb0bf;font-size:10px;display:inline-flex;align-items:center;justify-content:center}.three-d-material-library-panel-title>div{display:inline-flex;align-items:center;gap:5px}.three-d-material-library-panel-title button{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #344154;border-radius:5px;background:#172030;color:#c5d3e0;cursor:pointer}.three-d-material-library-panel-title button:hover:not(:disabled){border-color:#5f8fac;color:#fff}.three-d-material-library-panel-title button:disabled{opacity:.45;cursor:not-allowed}.three-d-material-library-title{min-height:30px;display:flex;align-items:center;gap:6px;padding:0 6px;border-bottom:1px solid #263241;background:#111824}.three-d-material-library-title button{min-width:0;height:24px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:5px;background:transparent;color:#c5d3e0;cursor:pointer}.three-d-material-library-title button:first-child{flex:1;justify-content:flex-start;padding:0 4px 0 0}.three-d-material-library-title button:hover:not(:disabled){border-color:#344154;background:#172030;color:#fff}.three-d-material-library-title button:disabled{opacity:.45;cursor:not-allowed}.three-d-material-library-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}.three-d-material-library-title small{min-width:18px;height:17px;padding:0 5px;border:1px solid #384658;border-radius:999px;color:#9fb0bf;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.three-d-material-library-list{max-height:172px;overflow:auto;padding:6px}.three-d-material-library-panel .three-d-material-library-list{max-height:none;min-height:42px}.three-d-material-library-row{min-width:0;min-height:34px;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:6px}.three-d-material-library-row+.three-d-material-library-row{margin-top:5px}.three-d-material-library-row button{min-width:0;height:30px;border:1px solid #344154;border-radius:6px;background:#101620;color:#d5e1ec;cursor:pointer}.three-d-material-library-row button.name{display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;padding:0 8px;text-align:left;cursor:grab}.three-d-material-library-row button.name:active{cursor:grabbing}.three-d-material-library-row button:not(.name){display:inline-flex;align-items:center;justify-content:center;padding:0}.three-d-material-library-row button:hover:not(:disabled){border-color:#5f8fac;background:#162030}.three-d-material-library-row button:disabled{opacity:.45;cursor:not-allowed}.three-d-material-library-row button.name span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-material-ball{width:19px;height:19px;flex:0 0 19px;border-radius:50%;border:1px solid rgba(255,255,255,.24);box-shadow:inset -5px -6px 10px #0000005c,inset 4px 4px 8px #ffffff2e}.three-d-material-controls{padding:0 10px 10px}.three-d-material-controls--inspector,.three-d-material-controls--popover{padding:0}.three-d-material-controls label{grid-template-columns:54px minmax(0,1fr) 36px}.three-d-material-controls input[type=range]{width:100%;accent-color:#6ba6b8}.three-d-material-controls input[type=color],.three-d-layer-row input[type=color]{width:34px;height:24px;padding:0;border:1px solid #354253;border-radius:5px;background:transparent}.three-d-material-controls b{color:#d6e4f0;font-size:10px;font-weight:600;text-align:right}.three-d-layer-panel{margin:0 10px 10px;border:1px solid #344154;border-radius:6px;overflow:hidden}.three-d-object-material-fields{margin-top:10px;padding-top:10px;border-top:1px solid #2b3342}.three-d-layer-panel--inspector{margin:8px 0 0}.three-d-layer-header,.three-d-layer-row{display:grid;grid-template-columns:minmax(0,1fr) 36px 72px 70px;align-items:center;gap:6px;padding:7px;border-bottom:1px solid #2d3746;font-size:11px}.three-d-layer-header{grid-template-columns:minmax(0,1fr) 26px;color:#dec77c}.three-d-layer-header span{display:inline-flex;align-items:center;gap:5px}.three-d-layer-header button{width:24px;height:24px;border:1px solid #455160;background:#1d2430;color:#fff;border-radius:5px}.three-d-layer-row:last-child{border-bottom:0}.three-d-layer-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-layer-row input[type=range]{width:100%;accent-color:#6ba6b8}.three-d-layer-row input[type=text]{min-width:0;height:24px;border:1px solid #354253;border-radius:5px;background:#101620;color:#f2f6fa;padding:0 6px;font-size:10px}.three-d-library-panel{flex:1 1 220px;min-height:220px;overflow-y:auto}.three-d-library-panel.three-d-panel--collapsed{min-height:38px}.three-d-library-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:6px;padding:10px}.three-d-library-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px}.three-d-library-actions input{display:none}.three-d-library-path{display:flex;justify-content:space-between;gap:8px;padding:0 10px 8px}.three-d-library-path button{border:0;background:transparent;color:#8fc7d5;cursor:pointer;font-size:11px}.three-d-library-list{flex:1;min-height:0;overflow:auto;padding:0 8px 10px}.three-d-library-row{border-color:#273241;background:#101620;margin-bottom:6px}.three-d-library-row small{color:#71859a;font-size:10px;margin-left:auto}.three-d-spin{animation:three-d-spin .9s linear infinite}@keyframes three-d-spin{to{transform:rotate(360deg)}}@media (max-width: 1120px){.three-d-main{grid-template-columns:150px minmax(360px,1fr) 320px}.three-d-toolbar button span,.three-d-drawer-trigger span,.three-d-tool-grid button span{display:none}.three-d-brand{width:124px}}.three-d-scene-inline{display:inline-flex;gap:4px;padding-left:8px;border-left:1px solid #2b3342}.three-d-scene-inline button{border:1px solid #364152;background:#1d2430;color:#d6e4f0;height:30px;width:30px;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.three-d-scene-inline button:hover{border-color:#6ba6b8;background:#24313b;color:#fff}.three-d-window-menu{min-width:190px;right:0;left:auto}.three-d-window-menu-section{margin:4px 5px 2px;padding-top:6px;border-top:1px solid #2b3342;color:#8394a7;font-size:10px;font-weight:800}.three-d-window-menu-empty{padding:7px 8px;color:#71859a;font-size:11px}.three-d-settings-menu{min-width:260px;right:0;left:auto;gap:6px}.three-d-settings-row{display:grid;grid-template-columns:64px minmax(72px,1fr) 34px;align-items:center;gap:8px;min-height:30px;padding:4px 7px;border:1px solid #283343;border-radius:6px;color:#d6e4f0;font-size:12px}.three-d-settings-row--toggle{grid-template-columns:18px minmax(0,1fr)}.three-d-settings-row input[type=checkbox]{width:14px;height:14px;accent-color:#6ba6b8}.three-d-settings-row input[type=number]{width:100%;min-width:72px;height:24px;padding:0 6px;border:1px solid #364152;border-radius:5px;background:#121821;color:#f3f7fb;font-size:12px;line-height:24px;text-align:right;font-variant-numeric:tabular-nums;opacity:1;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.three-d-settings-row small{color:#8394a7;font-size:11px}.three-d-settings-menu-section{margin:2px 5px 0;padding-top:6px;border-top:1px solid #2b3342;color:#8394a7;font-size:10px;font-weight:800}.three-d-dock-panel{position:relative;min-width:220px;min-height:150px;display:flex;flex-direction:column;border-bottom:1px solid #2b3342}.three-d-dock-panel[data-panel-id=material]{overflow:visible;z-index:74}.three-d-left-rail>.three-d-dock-panel:last-child,.three-d-right-rail>.three-d-dock-panel:last-child{flex:1 1 auto;height:auto!important}.three-d-left-rail>.three-d-dock-panel.three-d-dock-panel--compressed:last-child,.three-d-right-rail>.three-d-dock-panel.three-d-dock-panel--compressed:last-child{flex:0 0 32px;height:32px!important}.three-d-dock-panel--bottom{flex:0 0 auto;width:320px;height:100%;min-width:240px;border-right:1px solid #2b3342;border-bottom:0}.three-d-dock-panel.three-d-dock-panel--stack-target{outline:2px solid var(--three-d-shell-accent);outline-offset:-2px;box-shadow:inset 0 0 0 1px #ffffff1f,0 0 0 1px #60a5fa61}.three-d-dock-panel>.three-d-panel{border-bottom:0;flex:1 1 auto}.three-d-dock-panel[data-panel-id=material]>.three-d-panel{overflow:visible}.three-d-dock-panel-chrome{height:28px;flex:0 0 28px;display:flex;align-items:center;gap:6px;padding:0 6px;border-bottom:1px solid #2b3342;background:#101620;color:#8fa3b8;font-size:11px}.three-d-dock-panel-chrome span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-dock-panel-chrome button,.three-d-floating-dock-title button{width:22px;height:22px;padding:0;border:0;background:transparent;color:#92a4b6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.three-d-dock-panel-chrome button:hover,.three-d-floating-dock-title button:hover{color:#fff}.three-d-dock-panel-chrome .three-d-panel-lock-toggle,.three-d-floating-dock-title .three-d-panel-lock-toggle{opacity:1}.three-d-dock-panel-chrome .three-d-panel-lock-toggle:disabled,.three-d-floating-dock-title .three-d-panel-lock-toggle:disabled{cursor:default;opacity:.52}.three-d-floating-dock-panel{position:absolute;z-index:70;min-width:220px;min-height:120px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #435168;border-radius:7px;background:#151b24;box-shadow:0 18px 42px #0000007a}.three-d-floating-dock-title{height:30px;flex:0 0 30px;display:flex;align-items:center;gap:6px;padding:0 8px;border-bottom:1px solid #2b3342;background:#111824;color:#aab9c8;font-size:12px;font-weight:700;cursor:move;-webkit-user-select:none;user-select:none}.three-d-floating-dock-title.locked{cursor:default}.three-d-floating-dock-title span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-floating-dock-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto}.three-d-dock-panel-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:auto}.three-d-floating-dock-body:has(.three-d-material-panel){overflow:visible}.three-d-dock-panel-body>.three-d-panel,.three-d-floating-dock-body>.three-d-panel{flex:1 1 auto;border-bottom:0}.three-d-panel-tabbar{flex:0 0 auto;display:flex;min-height:30px;gap:4px;padding:4px;overflow-x:auto;border-bottom:1px solid #273244;background:#0f1724}.three-d-panel-tab{flex:0 0 auto;min-width:0;max-width:148px;height:22px;display:inline-flex;align-items:center;gap:5px;padding:0 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8fa3b8;font-size:10px;font-weight:800;cursor:pointer}.three-d-panel-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-panel-tab.is-active{border-color:#60a5fa57;background:#60a5fa21;color:#e7f0ff}.three-d-panel-tab-close{flex:0 0 auto;color:currentColor;opacity:.72}.three-d-floating-dock-resize{position:absolute;right:0;bottom:0;width:14px;height:14px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.28) 50%)}.three-d-dock-panel-resize{position:absolute;z-index:4;background:transparent}.three-d-dock-panel-resize--left,.three-d-dock-panel-resize--right{left:0;right:0;bottom:-3px;height:6px;cursor:row-resize}.three-d-dock-panel-resize--bottom{top:0;right:-3px;bottom:0;width:6px;cursor:col-resize}.three-d-perf-panel{position:absolute;top:12px;z-index:76;width:292px;border:1px solid #435168;border-radius:7px;background:#111824f5;box-shadow:0 18px 42px #00000075;color:#d9e2ef;overflow:hidden;pointer-events:auto}.three-d-perf-panel__title{height:30px;display:flex;align-items:center;gap:7px;padding:0 8px;border-bottom:1px solid #2b3342;background:#111824;color:#aab9c8;font-size:12px;font-weight:800}.three-d-perf-panel__title span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-perf-panel__title small{color:#7f93a8;font-size:10px;font-weight:700}.three-d-perf-panel__title button{width:22px;height:22px;padding:0;border:0;border-radius:5px;background:transparent;color:#92a4b6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.three-d-perf-panel__title button:hover{background:#263241;color:#fff}.three-d-perf-panel__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}.three-d-perf-panel__grid div{min-width:0;min-height:44px;padding:6px 7px;border:1px solid #2d3a4c;border-radius:6px;background:#18202de6}.three-d-perf-panel__grid span{display:block;color:#8195aa;font-size:10px;font-weight:800;text-transform:uppercase}.three-d-perf-panel__grid strong{display:block;margin-top:4px;color:#f3f7fb;font-size:13px;font-weight:800;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-perf-panel__foot{display:flex;align-items:center;gap:6px;padding:7px 8px 8px;border-top:1px solid #2b3342;background:#0d121cd1}.three-d-perf-panel__foot span{flex:1;min-width:0;color:#8296aa;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-perf-panel__foot button{height:24px;padding:0 8px;border:1px solid #364152;border-radius:5px;background:#1d2430;color:#d6e4f0;font-size:11px;cursor:pointer}.three-d-perf-panel__foot button:hover{border-color:#6ba6b8;background:#24313b;color:#fff}.three-d-import-dialog{position:absolute;top:12px;left:50%;z-index:78;width:min(430px,calc(100% - 32px));transform:translate(-50%);border:1px solid #435168;border-radius:7px;background:#111824f7;box-shadow:0 18px 44px #0000007a;color:#d9e2ef;overflow:hidden;pointer-events:auto}.three-d-import-dialog__title{height:32px;display:flex;align-items:center;gap:8px;padding:0 8px;border-bottom:1px solid #2b3342;background:#111824;color:#dce7f3;font-size:12px;font-weight:800}.three-d-import-dialog__title span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-import-dialog__title small{color:#8ea1b5;font-size:10px}.three-d-import-dialog__title button{width:22px;height:22px;padding:0;border:0;border-radius:5px;background:transparent;color:#92a4b6;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.three-d-import-dialog__title button:hover{background:#263241;color:#fff}.three-d-import-dialog__body{display:grid;gap:8px;padding:10px}.three-d-import-file{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.three-d-import-file strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f3f7fb;font-size:13px}.three-d-import-file span{padding:3px 7px;border:1px solid #324056;border-radius:999px;color:#9eb3c8;font-size:10px;font-weight:800}.three-d-import-size-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.three-d-import-size-grid div{min-width:0;padding:6px;border:1px solid #2d3a4c;border-radius:6px;background:#18202de6}.three-d-import-size-grid span,.three-d-import-summary span{display:block;color:#8195aa;font-size:10px;font-weight:800}.three-d-import-size-grid strong,.three-d-import-summary strong{display:block;margin-top:3px;color:#f3f7fb;font-size:12px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-import-row{display:grid;grid-template-columns:72px minmax(0,1fr) 62px;align-items:center;gap:8px;min-height:30px;color:#d6e4f0;font-size:12px}.three-d-import-row>span{color:#aab9c8;font-weight:800}.three-d-import-row input,.three-d-import-row select{width:100%;min-width:0;height:28px;padding:0 7px;border:1px solid #364152;border-radius:5px;background:#121821;color:#f3f7fb}.three-d-import-row small{color:#8394a7;font-size:11px}.three-d-import-segment,.three-d-import-material,.three-d-import-dialog__actions{display:flex;gap:6px;min-width:0}.three-d-import-segment button,.three-d-import-material button,.three-d-import-dialog__actions button{min-width:0;min-height:30px;padding:0 9px;border:1px solid #344154;border-radius:6px;background:#182231;color:#cbd8e6;font-size:12px;font-weight:750;cursor:pointer}.three-d-import-segment button,.three-d-import-material button{flex:1 1 0}.three-d-import-segment button:hover,.three-d-import-material button:hover,.three-d-import-dialog__actions button:hover{border-color:#6ba6b8;color:#fff}.three-d-import-segment button.active,.three-d-import-material button.active,.three-d-import-dialog__actions button.primary{border-color:#72aabc;background:#24505b;color:#fff}.three-d-import-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:7px;border:1px solid #2f3b4e;border-radius:6px;background:#0f1621e6}.three-d-import-toggle{display:inline-flex;align-items:center;gap:8px;color:#cbd8e6;font-size:12px}.three-d-import-toggle input{width:14px;height:14px;accent-color:#6ba6b8}.three-d-import-dialog__actions{justify-content:flex-end;padding:8px 10px 10px;border-top:1px solid #263244}.three-d-import-dialog__actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.three-d-dock-panel-resize:hover,.three-d-dock-area-resize:hover{background:#73b8c573}.three-d-dock-area-resize{position:absolute;z-index:66;background:transparent}.three-d-dock-area-resize--left{top:0;bottom:0;width:6px;transform:translate(-3px);cursor:col-resize}.three-d-dock-area-resize--right{top:0;bottom:0;width:6px;transform:translate(3px);cursor:col-resize}.three-d-dock-area-resize--bottom{left:0;right:0;top:-3px;height:6px;cursor:row-resize}.three-d-dock-zone{position:absolute;top:8px;bottom:8px;z-index:65;width:88px;display:flex;align-items:center;justify-content:center;border:1px dashed transparent;background:transparent;color:transparent;font-size:11px;font-weight:800;pointer-events:none;opacity:0}.three-d-dock-zone.active{opacity:0;border-color:transparent;background:transparent;color:transparent}.three-d-dock-zone--left{left:8px}.three-d-dock-zone--right{right:8px}.three-d-dock-zone--bottom{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:96px}.three-d-material-properties-popover{position:absolute;top:34px;left:calc(100% + 8px);z-index:90;width:292px;max-height:min(430px,calc(100vh - 120px));overflow:auto;padding:10px;border:1px solid #3d4a5c;border-radius:7px;background:#111824fa;box-shadow:0 14px 36px #00000073}.three-d-material-properties-title{margin-bottom:8px;color:#d9e2ef;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:8px}.three-d-material-properties-title button{width:24px;height:24px;border:1px solid #364152;border-radius:6px;background:#1d2430;color:#d6e4f0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.three-d-material-preview-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:8px}.three-d-material-preview-ball{width:24px;height:24px;border-radius:50%;border:1px solid rgba(255,255,255,.24);box-shadow:inset -7px -8px 12px #0006,inset 5px 5px 9px #ffffff2e}.three-d-material-preview-row input{width:100%;height:30px;box-sizing:border-box;border:1px solid #354253;border-radius:5px;background:#101620;color:#f2f6fa;padding:0 8px}.three-d-material-preview-row input:disabled{opacity:.78}.three-d-material-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:142px;overflow:auto;margin-bottom:8px;padding-right:2px}.three-d-material-template-grid button{min-width:0;min-height:30px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:6px;border:1px solid #344154;border-radius:6px;background:#111824;color:#d9e6f2;padding:4px 6px;cursor:pointer}.three-d-material-template-grid button:hover{border-color:#5f8fac;background:#162030}.three-d-material-template-grid .three-d-material-ball{width:16px;height:16px;flex-basis:16px}.three-d-material-template-grid button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;text-align:left}.three-d-material-controls .three-d-material-texture-control{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:6px}.three-d-material-texture-control>span{color:#8fa3b6;font-size:11px}.three-d-material-texture-summary{min-width:0;min-height:30px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;border:1px solid #354253;border-radius:6px;background:#101620;padding:3px 7px 3px 4px}.three-d-material-texture-summary img,.three-d-material-texture-empty{width:24px;height:24px;border:1px solid rgba(255,255,255,.16);border-radius:5px;object-fit:cover}.three-d-material-texture-empty{display:inline-flex;align-items:center;justify-content:center;color:#8294a7;background:#151d2a}.three-d-material-texture-summary b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d6e4f0;font-size:11px;font-weight:700;text-align:left}.three-d-material-texture-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:-2px 0 6px 54px}.three-d-material-texture-actions button{min-width:0;min-height:26px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #364152;border-radius:5px;background:#1d2430;color:#d6e4f0;cursor:pointer;font-size:11px}.three-d-material-texture-actions button:hover:not(:disabled){border-color:#6ba6b8;background:#26313a;color:#fff}.three-d-material-texture-actions button:disabled{opacity:.45;cursor:not-allowed}.three-d-material-texture-actions input{display:none}.three-d-material-texture-preset-list{max-height:132px;overflow:auto;display:grid;grid-template-columns:1fr;gap:5px;margin:-2px 0 6px 54px;padding:5px;border:1px solid #2f3c4d;border-radius:6px;background:#080d15b8}.three-d-material-texture-preset-list button{min-width:0;height:32px;display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:7px;border:1px solid #344154;border-radius:5px;background:#101620;color:#d5e1ec;cursor:pointer;padding:3px 7px 3px 3px}.three-d-material-texture-preset-list button:hover{border-color:#6ba6b8;background:#162030}.three-d-material-texture-preset-list img{width:24px;height:24px;object-fit:cover;border-radius:4px;border:1px solid rgba(255,255,255,.16)}.three-d-material-texture-preset-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;text-align:left}.three-d-material-texture-preview{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;margin:-2px 0 4px 54px;padding:5px;border:1px solid #2f3c4d;border-radius:6px;background:#080d15a8}.three-d-material-texture-preview img{width:38px;height:38px;object-fit:cover;border-radius:5px;border:1px solid rgba(255,255,255,.16)}.three-d-material-texture-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b9c8d8;font-size:11px}.three-d-material-create-actions{margin-top:8px;display:flex;gap:6px}.three-d-material-create-actions button{flex:1;min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #364152;border-radius:6px;background:#1d2430;color:#d6e4f0;cursor:pointer}.three-d-material-create-actions button:disabled{opacity:.42;cursor:not-allowed}.three-d-bg-block{margin:10px 0}.three-d-bg-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:4px}.three-d-bg-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;padding:0 8px;border:1px solid #354253;border-radius:6px;background:#101620;color:#cad7e4;font-size:11px;cursor:pointer;-webkit-user-select:none;user-select:none}.three-d-bg-pill:hover{border-color:#6ba6b8;color:#fff}.three-d-bg-pill.active{border-color:#72aabc;background:#24505b;color:#fff}.three-d-bg-pill--color{position:relative;overflow:hidden}.three-d-bg-pill--color input[type=color]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;padding:0;background:transparent;opacity:0;cursor:pointer}.three-d-bg-hint{margin-top:6px;color:#71859a;font-size:10px;line-height:1.3}.three-d-color-input{width:36px;height:24px;padding:0;border:1px solid #354253;border-radius:5px;background:transparent;cursor:pointer}.three-d-color-input::-webkit-color-swatch-wrapper{padding:0}.three-d-color-input::-webkit-color-swatch{border:0;border-radius:4px}.three-d-select{min-width:0;height:28px;border:1px solid #354253;border-radius:5px;background:#101620;color:#f2f6fa;padding:0 7px;font-size:11px}.three-d-select:focus{border-color:#6ba6b8;outline:none}.three-d-frame-row select.three-d-select{flex:1}.three-d-mini-action{height:28px;min-width:32px;padding:0 8px;border:1px solid #354253;border-radius:5px;background:#101620;color:#cad7e4;cursor:pointer}.three-d-mini-action:hover{border-color:#6ba6b8;color:#fff}.three-d-mini-action.active{border-color:#72aabc;background:#24505b;color:#fff}.three-d-frame-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}.three-d-loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;gap:10px;background:#0c1119eb;color:#d9e2ef;font-size:13px;font-weight:700;pointer-events:auto}.three-d-studio{background:color-mix(in srgb,var(--canvas-bg) 86%,var(--canvas-panel) 14%)!important;color:var(--canvas-text)!important}.three-d-topbar,.three-d-left-rail,.three-d-right-rail,.three-d-bottom-rail,.three-d-panel,.three-d-floating,.three-d-floating-dock-panel,.three-d-dock-panel,.three-d-dock-panel-chrome,.three-d-drawer-panel,.three-d-window-menu,.three-d-settings-menu,.three-d-middle-view-menu,.three-d-material-library-panel,.three-d-material-properties-popover,.three-d-library-panel,.three-d-loading-overlay,.three-d-perf-panel,.three-d-import-dialog,.three-d-snapshot-lightbox{background:color-mix(in srgb,var(--canvas-panel) 96%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 68%,transparent)!important;color:var(--canvas-text)!important;box-shadow:0 18px 46px color-mix(in srgb,var(--canvas-bg) 48%,transparent)!important}.three-d-main,.three-d-center-stack,.three-d-center-viewport,.three-d-viewport-shell,.three-d-viewport-frame,.three-d-dock-zone,.three-d-floating-dock-body,.three-d-outliner-list,.three-d-library-list,.three-d-material-library-list,.three-d-material-presets,.three-d-material-template-grid,.three-d-material-texture-preset-list,.three-d-snapshot-panel,.three-d-snapshot-strip,.three-d-object-stats,.three-d-camera-readout,.three-d-bg-block,.three-d-environment-controls,.three-d-scene-inline,.three-d-transform-inline,.three-d-snapshot-pair{background:color-mix(in srgb,var(--canvas-panel-soft) 78%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 58%,transparent)!important;color:var(--canvas-text)!important}.three-d-toolbar button,.three-d-floating button,.three-d-row-actions button,.three-d-panel-title button,.three-d-drawer-trigger,.three-d-mini-action,.three-d-wide-action,.three-d-danger-action,.three-d-viewport-add,.three-d-viewport-close,.three-d-viewport-fullscreen,.three-d-viewport-snapshot,.three-d-viewport-select,.three-d-outliner-toggle,.three-d-select,.three-d-text-field input,.three-d-text-field textarea,.three-d-number-cell input,.three-d-color-input,.three-d-settings-row select,.three-d-layer-row,.three-d-outliner-row,.three-d-library-row,.three-d-material-library-row,.three-d-material-texture-summary,.three-d-material-texture-preview,.three-d-material-texture-empty,.three-d-bg-pill,.three-d-bg-row,.three-d-check-field,.three-d-frame-row{background:color-mix(in srgb,var(--canvas-node-bg) 78%,var(--canvas-bg) 22%)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important;color:var(--canvas-text)!important}.three-d-toolbar button:hover,.three-d-floating button:hover,.three-d-row-actions button:hover,.three-d-panel-title button:hover,.three-d-drawer-trigger:hover,.three-d-mini-action:hover,.three-d-wide-action:hover,.three-d-viewport-add:hover,.three-d-viewport-close:hover,.three-d-viewport-fullscreen:hover,.three-d-viewport-snapshot:hover,.three-d-viewport-select:hover,.three-d-outliner-row:hover,.three-d-outliner-row.is-selected,.three-d-layer-row:hover,.three-d-library-row:hover,.three-d-material-library-row:hover,.three-d-material-library-row.is-active,.three-d-bg-pill.active,.three-d-mini-action.active{background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft) 82%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-text)!important}.three-d-toolbar button.is-active,.three-d-drawer-trigger.is-active,.three-d-wide-action.primary,.three-d-material-create-actions button:first-child,.three-d-library-actions button:first-child,.three-d-env-upload{background:linear-gradient(135deg,var(--canvas-accent),var(--canvas-edge))!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-bg)!important}.three-d-brand span,.three-d-panel-title,.three-d-material-current-title,.three-d-material-library-panel-title,.three-d-material-properties-title,.three-d-floating-dock-title,.three-d-perf-panel__title,.three-d-import-dialog__title,.three-d-viewport-label,.three-d-outliner-name,.three-d-library-path,.three-d-material-library-title{color:var(--canvas-text)!important}.three-d-brand small,.three-d-status,.three-d-empty,.three-d-field-label,.three-d-window-menu-section,.three-d-window-menu-empty,.three-d-settings-menu-section,.three-d-material-list-empty,.three-d-material-texture-empty,.three-d-material-texture-summary,.three-d-bg-hint,.three-d-object-stats,.three-d-camera-readout,.three-d-perf-panel__foot,.three-d-import-dialog__actions{color:var(--canvas-muted)!important}.three-d-error,.three-d-danger-action{background:color-mix(in srgb,var(--canvas-danger) 16%,var(--canvas-panel-soft) 84%)!important;border-color:color-mix(in srgb,var(--canvas-danger) 48%,var(--canvas-border) 52%)!important;color:var(--canvas-danger)!important}.three-d-splitter,.three-d-dock-area-resize,.three-d-dock-panel-resize,.three-d-floating-dock-resize{background:color-mix(in srgb,var(--canvas-border) 54%,transparent)!important}.three-d-loading-overlay .three-d-spin,.three-d-spin{color:var(--canvas-accent)!important}.three-d-center-stack{background:color-mix(in srgb,var(--canvas-bg) 92%,#000 8%)!important}.three-d-center-viewport,.three-d-viewport-shell,.three-d-viewport-host,.three-d-studio-canvas{background:transparent!important;border-color:transparent!important;box-shadow:none!important}.three-d-viewport-frame{background:transparent!important;border-color:color-mix(in srgb,var(--canvas-border) 58%,transparent)!important;box-shadow:none!important}.three-d-viewport-frame.active{background:transparent!important;border-color:var(--canvas-accent)!important}.three-d-left-rail,.three-d-right-rail{background:color-mix(in srgb,var(--canvas-panel) 94%,var(--canvas-bg) 6%)!important;box-shadow:none!important;filter:none!important}.three-d-left-rail{border-right:1px solid color-mix(in srgb,var(--canvas-border) 68%,transparent)!important;overflow:hidden!important}.three-d-right-rail{border-left:1px solid color-mix(in srgb,var(--canvas-border) 68%,transparent)!important}.three-d-dock-panel,.three-d-dock-panel-chrome,.three-d-left-rail .three-d-panel,.three-d-right-rail .three-d-panel{box-shadow:none!important;filter:none!important}.three-d-left-rail:after,.three-d-right-rail:before{content:none!important;display:none!important}.three-d-panel-title{background:color-mix(in srgb,var(--canvas-panel-soft) 70%,var(--canvas-panel) 30%)!important;border-color:color-mix(in srgb,var(--canvas-border) 56%,transparent)!important;color:var(--canvas-muted)!important;box-shadow:none!important}.three-d-panel-title button,.three-d-row-actions button,.three-d-library-row>button:not(.name),.three-d-outliner-toggle,.three-d-outliner-material-badge,.three-d-snapshot-strip button{background:color-mix(in srgb,var(--canvas-panel) 86%,transparent)!important;border:1px solid color-mix(in srgb,var(--canvas-border) 48%,transparent)!important;color:var(--canvas-muted)!important;box-shadow:none!important}.three-d-panel-title button:hover:not(:disabled),.three-d-row-actions button:hover:not(:disabled),.three-d-library-row>button:not(.name):hover,.three-d-outliner-toggle:hover,.three-d-outliner-material-badge:hover,.three-d-snapshot-strip button:hover{background:color-mix(in srgb,var(--canvas-accent) 14%,var(--canvas-panel-soft) 86%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 46%,var(--canvas-border) 54%)!important;color:var(--canvas-text)!important}.three-d-pose-panel{display:flex;flex-direction:column;height:100%;min-height:0;gap:8px;padding:8px;color:#cad7e4;font-size:12px}.three-d-pose-empty{align-items:center;justify-content:center;text-align:center;gap:6px;color:#6f8090}.three-d-pose-empty p{margin:4px 0 0;color:#9fb0c0}.three-d-pose-empty span{font-size:11px;line-height:1.5;max-width:240px}.three-d-pose-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.three-d-pose-title{display:flex;align-items:center;gap:6px;min-width:0}.three-d-pose-title span{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-pose-title em{color:#7f93a4;font-style:normal;font-size:11px}.three-d-pose-actions{display:flex;gap:4px}.three-d-pose-actions button,.three-d-pose-presets-head button{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #2c3b48;border-radius:6px;background:#1b2731;color:#cad7e4;cursor:pointer;font-size:11px}.three-d-pose-actions button:hover,.three-d-pose-presets-head button:hover{border-color:#739fb0;background:#20303a}.three-d-pose-body{display:flex;flex:1 1 auto;min-height:0;gap:8px}.three-d-bone-list{flex:1 1 55%;min-width:0;margin:0;padding:4px;list-style:none;overflow:auto;border:1px solid #243340;border-radius:8px;background:#131c24}.three-d-bone-list li{display:flex;align-items:center;gap:6px;min-height:26px;padding-right:6px;border-radius:5px;cursor:pointer}.three-d-bone-list li:hover{background:#1d2934}.three-d-bone-list li.is-selected{background:#20303a;outline:1px solid #739fb0}.three-d-bone-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-bone-semantic{color:#7f93a4;font-style:normal;font-size:10px}.three-d-bone-editor{flex:1 1 45%;min-width:0;display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid #243340;border-radius:8px;background:#131c24}.three-d-bone-editor-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.three-d-bone-editor-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-bone-editor-head button{display:inline-flex;padding:3px;border:1px solid #2c3b48;border-radius:5px;background:#1b2731;color:#cad7e4;cursor:pointer}.three-d-bone-editor-head button:hover{border-color:#739fb0}.three-d-bone-hint{color:#6f8090;font-size:11px;margin:auto 0;text-align:center}.three-d-pose-presets{flex:0 0 auto;border-top:1px solid #243340;padding-top:6px}.three-d-pose-presets-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.three-d-pose-preset-list{margin:0;padding:0;list-style:none;max-height:110px;overflow:auto}.three-d-pose-preset-list li{display:flex;align-items:center;gap:4px;margin-bottom:3px}.three-d-pose-preset-apply{flex:1;min-width:0;text-align:left;padding:4px 8px;border:1px solid #2c3b48;border-radius:6px;background:#1b2731;color:#cad7e4;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-pose-preset-apply:hover{border-color:#739fb0;background:#20303a}.three-d-pose-preset-list li>button:last-child{display:inline-flex;padding:4px;border:1px solid #2c3b48;border-radius:6px;background:#1b2731;color:#cad7e4;cursor:pointer}.three-d-pose-preset-list li>button:last-child:hover{border-color:#c46b6b;color:#e88}.three-d-animation-panel{display:flex;flex-direction:column;height:100%;min-height:0;gap:8px;padding:8px;color:#cad7e4;font-size:12px}.three-d-animation-empty{align-items:center;justify-content:center;text-align:center;gap:6px;color:#6f8090}.three-d-animation-empty p{margin:4px 0 0;color:#9fb0c0}.three-d-animation-empty span{max-width:250px;font-size:11px;line-height:1.5}.three-d-animation-head,.three-d-animation-title,.three-d-animation-actions,.three-d-animation-progress,.three-d-animation-toggle,.three-d-animation-speed,.three-d-animation-section-head,.three-d-animation-foot{display:flex;align-items:center;gap:6px}.three-d-animation-head{justify-content:space-between;gap:8px}.three-d-animation-title{min-width:0}.three-d-animation-title span{min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-title em,.three-d-animation-section-head em,.three-d-animation-speed em{color:#7f93a4;font-style:normal;font-size:11px}.three-d-animation-actions button,.three-d-animation-clips button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #2c3b48;border-radius:6px;background:#1b2731;color:#cad7e4;cursor:pointer}.three-d-animation-actions button{width:28px;height:26px}.three-d-animation-actions button:hover,.three-d-animation-clips button:hover,.three-d-animation-clips button.is-active{border-color:#739fb0;background:#20303a;color:#eef7ff}.three-d-animation-transport,.three-d-animation-clips{display:grid;gap:8px;padding:8px;border:1px solid #243340;border-radius:8px;background:#131c24}.three-d-animation-progress{display:grid;grid-template-columns:44px minmax(80px,1fr) 44px;width:100%;color:#7f93a4;font-size:11px}.three-d-animation-progress div{height:6px;overflow:hidden;border-radius:999px;background:#0b1118;box-shadow:inset 0 0 0 1px #263645}.three-d-animation-progress i{display:block;height:100%;border-radius:inherit;background:#60a5fa}.three-d-animation-toggle{justify-content:flex-start;color:#9fb0c0;font-size:11px}.three-d-animation-speed{display:grid;grid-template-columns:38px minmax(90px,1fr) 44px;width:100%}.three-d-animation-speed input{min-width:0}.three-d-animation-section-head{justify-content:space-between;min-width:0}.three-d-animation-clips ul{display:grid;gap:4px;max-height:150px;min-height:0;margin:0;padding:0;overflow:auto;list-style:none}.three-d-animation-clips button{justify-content:space-between;width:100%;min-height:30px;padding:5px 8px;gap:8px;text-align:left}.three-d-animation-clips button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-clips button em{flex:0 0 auto;color:#7f93a4;font-style:normal;font-size:11px}.three-d-animation-foot{color:#7f93a4;font-size:11px;line-height:1.4}.three-d-studio{--three-d-skin-bg: oklch(12% .024 248);--three-d-skin-shell: oklch(8% .018 250);--three-d-skin-surface: oklch(17% .028 250);--three-d-skin-surface-2: oklch(21% .032 250);--three-d-skin-surface-3: oklch(25% .036 250);--three-d-skin-text: oklch(95% .01 250);--three-d-skin-muted: oklch(72% .018 250);--three-d-skin-faint: oklch(56% .02 250);--three-d-skin-border: oklch(31% .03 250);--three-d-skin-border-strong: oklch(48% .08 245);--three-d-skin-accent: oklch(68% .16 230);--three-d-skin-accent-2: oklch(67% .18 288);--three-d-skin-success: oklch(70% .14 150);--three-d-skin-warning: oklch(78% .14 80);--three-d-skin-danger: oklch(64% .18 28);--three-d-shell-bg: var(--three-d-skin-bg);--three-d-shell-surface: var(--three-d-skin-surface);--three-d-shell-surface-2: var(--three-d-skin-surface-2);--three-d-shell-surface-3: var(--three-d-skin-surface-3);--three-d-shell-border: color-mix(in oklch, var(--three-d-skin-border), transparent 10%);--three-d-shell-border-strong: var(--three-d-skin-border-strong);--three-d-shell-text: var(--three-d-skin-text);--three-d-shell-muted: var(--three-d-skin-muted);--three-d-shell-faint: var(--three-d-skin-faint);--three-d-shell-accent: var(--three-d-skin-accent);--three-d-shell-accent-2: var(--three-d-skin-accent-2);--three-d-shell-success: var(--three-d-skin-success);--three-d-shell-danger: var(--three-d-skin-danger);background:linear-gradient(180deg,color-mix(in oklch,var(--three-d-shell-accent),transparent 82%),transparent 220px),radial-gradient(circle at 48% 14%,color-mix(in oklch,var(--three-d-shell-accent),transparent 86%),transparent 440px),var(--three-d-skin-shell)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=graphite]{--three-d-skin-bg: oklch(16% .02 255);--three-d-skin-shell: oklch(10% .015 255);--three-d-skin-surface: oklch(20% .02 255);--three-d-skin-surface-2: oklch(24% .023 255);--three-d-skin-surface-3: oklch(28% .027 255);--three-d-skin-text: oklch(96% .005 250);--three-d-skin-muted: oklch(74% .01 250);--three-d-skin-faint: oklch(60% .01 250);--three-d-skin-border: oklch(34% .015 255);--three-d-skin-border-strong: oklch(50% .025 255);--three-d-skin-accent: oklch(70% .12 220);--three-d-skin-accent-2: oklch(66% .14 278);--three-d-skin-success: oklch(74% .12 150);--three-d-skin-warning: oklch(82% .12 84);--three-d-skin-danger: oklch(68% .16 28)}.three-d-studio[data-three-d-skin=light]{--three-d-skin-bg: #f4f6fa;--three-d-skin-shell: #ffffff;--three-d-skin-surface: #ffffff;--three-d-skin-surface-2: #f0f3f8;--three-d-skin-surface-3: #e4e9f1;--three-d-skin-text: #243044;--three-d-skin-muted: #5f6f86;--three-d-skin-faint: #8a97aa;--three-d-skin-border: #d8dee8;--three-d-skin-border-strong: #aeb8c8;--three-d-skin-accent: #2f7df6;--three-d-skin-accent-2: #7b5cf0;--three-d-skin-success: #22a06b;--three-d-skin-warning: #b7791f;--three-d-skin-danger: #d64545}.three-d-studio[data-three-d-skin=steel]{--three-d-skin-bg: oklch(10% .015 245);--three-d-skin-shell: oklch(7% .012 245);--three-d-skin-surface: oklch(15% .018 245);--three-d-skin-surface-2: oklch(18% .022 245);--three-d-skin-surface-3: oklch(22% .024 245);--three-d-skin-text: oklch(97% .004 250);--three-d-skin-muted: oklch(70% .008 250);--three-d-skin-faint: oklch(54% .008 250);--three-d-skin-border: oklch(28% .014 245);--three-d-skin-border-strong: oklch(44% .02 245);--three-d-skin-accent: oklch(72% .1 205);--three-d-skin-accent-2: oklch(63% .12 280);--three-d-skin-success: oklch(72% .13 150);--three-d-skin-warning: oklch(80% .12 82);--three-d-skin-danger: oklch(66% .17 28)}.three-d-topbar{min-height:64px;height:auto;flex-basis:auto;gap:8px;padding:8px 10px;border:0!important;border-bottom:1px solid var(--three-d-shell-border)!important;border-radius:0;margin:0;background:linear-gradient(180deg,#ffffff0f,#ffffff06),#111827eb!important;box-shadow:inset 0 1px #ffffff12,0 16px 34px #00000047!important;overflow:visible}.three-d-topbar-side{flex:0 0 auto;min-width:0;display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.three-d-studio-close{flex:0 0 32px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--three-d-shell-border);border-radius:7px;background:color-mix(in oklch,var(--three-d-shell-surface-3),var(--three-d-shell-bg) 18%);color:var(--three-d-shell-text);cursor:pointer}.three-d-studio-close:hover:not(:disabled){border-color:color-mix(in oklch,var(--three-d-shell-danger),transparent 38%);background:color-mix(in oklch,var(--three-d-shell-danger),transparent 84%);color:var(--three-d-shell-text)}.three-d-studio-close:disabled{opacity:.58;cursor:wait}.three-d-brand{width:220px;min-width:190px;align-items:center;gap:8px;padding:2px 8px 2px 2px;border-right:1px solid rgba(139,160,210,.18)}.three-d-brand-mark{flex:0 0 30px;width:30px;height:30px;display:inline-grid;place-items:center;border:1px solid var(--three-d-shell-border-strong);border-radius:8px;background:#60a5fa24;color:var(--three-d-shell-accent);font-size:12px;font-weight:900;line-height:1}.three-d-brand span{color:var(--three-d-shell-text)!important;font-size:15px;letter-spacing:0}.three-d-brand small{color:var(--three-d-shell-muted)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}.three-d-toolbar{gap:6px;align-items:center;flex-wrap:wrap}.three-d-topbar-meta{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 5px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#070d188f}.three-d-topbar-meta span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border:1px solid rgba(139,160,210,.16);border-radius:6px;color:var(--three-d-shell-muted);font-size:10px;font-weight:800;line-height:1;white-space:nowrap}.three-d-toolbar button,.three-d-drawer-trigger,.three-d-scene-inline button{min-height:30px;border-radius:7px!important;border-color:#8ba0d233!important;background:#ffffff0b!important;color:var(--three-d-shell-muted)!important;box-shadow:none!important}.three-d-toolbar button:hover:not(:disabled),.three-d-drawer-trigger:hover:not(:disabled),.three-d-scene-inline button:hover:not(:disabled){border-color:color-mix(in srgb,var(--three-d-shell-accent) 48%,var(--three-d-shell-border) 52%)!important;background:#60a5fa24!important;color:var(--three-d-shell-text)!important}.three-d-transform-inline,.three-d-snapshot-pair,.three-d-scene-inline{padding:5px!important;gap:4px;border:1px solid rgba(139,160,210,.16)!important;border-radius:8px;background:#070d1880!important}.three-d-drawer-panel{top:calc(100% + 8px);min-width:168px;gap:6px;padding:8px;border:1px solid rgba(139,160,210,.26)!important;border-radius:10px;background:#070b14fa!important;box-shadow:0 16px 42px #00000070!important}.three-d-window-menu{min-width:218px}.three-d-window-menu-label{display:grid;gap:2px;min-width:0;text-align:left}.three-d-window-menu-label strong,.three-d-window-menu-label small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-window-menu-label strong{color:inherit;font-size:12px;font-weight:700}.three-d-window-menu-label small{color:var(--three-d-shell-faint);font-size:10px;font-weight:600}.three-d-window-menu-section,.three-d-settings-menu-section{margin:4px 4px 2px;padding:7px 3px 0;border-top:1px solid rgba(139,160,210,.16)!important;color:var(--three-d-shell-faint)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.three-d-skin-options{display:grid;gap:6px;padding:2px 0 4px}.three-d-drawer-panel .three-d-skin-option{min-height:44px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--three-d-shell-border)!important;border-radius:8px!important;background:color-mix(in oklch,var(--three-d-shell-surface-2),transparent 12%)!important;color:var(--three-d-shell-text)!important;text-align:left}.three-d-drawer-panel .three-d-skin-option:hover,.three-d-drawer-panel .three-d-skin-option.is-active{border-color:color-mix(in oklch,var(--three-d-shell-accent),transparent 20%)!important;background:color-mix(in oklch,var(--three-d-shell-accent),transparent 90%)!important}.three-d-skin-swatch{width:28px;height:22px;border:1px solid var(--three-d-shell-border-strong);border-radius:6px;background:var(--three-d-skin-swatch)}.three-d-skin-copy{min-width:0;display:grid;gap:2px}.three-d-skin-copy strong,.three-d-skin-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-skin-copy strong{color:var(--three-d-shell-text);font-size:11px;font-weight:800}.three-d-skin-copy small{color:var(--three-d-shell-faint);font-size:10px}.three-d-skin-tag{color:var(--three-d-shell-faint);font-size:10px;font-weight:700}.three-d-skin-option.is-active .three-d-skin-tag{color:var(--three-d-shell-accent)}.three-d-studio .three-d-topbar,.three-d-studio .three-d-left-rail,.three-d-studio .three-d-right-rail,.three-d-studio .three-d-bottom-rail,.three-d-studio .three-d-panel,.three-d-studio .three-d-floating,.three-d-studio .three-d-floating-dock-panel,.three-d-studio .three-d-dock-panel,.three-d-studio .three-d-dock-panel-chrome,.three-d-studio .three-d-drawer-panel,.three-d-studio .three-d-window-menu,.three-d-studio .three-d-settings-menu,.three-d-studio .three-d-middle-view-menu,.three-d-studio .three-d-material-library-panel,.three-d-studio .three-d-material-properties-popover,.three-d-studio .three-d-library-panel,.three-d-studio .three-d-loading-overlay,.three-d-studio .three-d-perf-panel,.three-d-studio .three-d-import-dialog,.three-d-studio .three-d-snapshot-lightbox{background:linear-gradient(180deg,#ffffff0e,#ffffff05),var(--three-d-shell-surface)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important;box-shadow:inset 0 1px #ffffff0f,0 18px 50px #00000052!important}.three-d-studio .three-d-floating-dock-body,.three-d-studio .three-d-outliner-list,.three-d-studio .three-d-library-list,.three-d-studio .three-d-material-library-list,.three-d-studio .three-d-material-presets,.three-d-studio .three-d-material-template-grid,.three-d-studio .three-d-material-texture-preset-list,.three-d-studio .three-d-snapshot-panel,.three-d-studio .three-d-snapshot-strip,.three-d-studio .three-d-object-stats,.three-d-studio .three-d-camera-readout,.three-d-studio .three-d-bg-block,.three-d-studio .three-d-environment-controls,.three-d-studio .three-d-scene-inline,.three-d-studio .three-d-transform-inline,.three-d-studio .three-d-snapshot-pair{background:color-mix(in oklch,var(--three-d-shell-surface-2),transparent 16%)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio .three-d-toolbar button,.three-d-studio .three-d-floating button,.three-d-studio .three-d-row-actions button,.three-d-studio .three-d-panel-title button,.three-d-studio .three-d-drawer-trigger,.three-d-studio .three-d-mini-action,.three-d-studio .three-d-wide-action,.three-d-studio .three-d-danger-action,.three-d-studio .three-d-viewport-add,.three-d-studio .three-d-viewport-close,.three-d-studio .three-d-viewport-fullscreen,.three-d-studio .three-d-viewport-snapshot,.three-d-studio .three-d-viewport-select,.three-d-studio .three-d-outliner-toggle,.three-d-studio .three-d-select,.three-d-studio .three-d-text-field input,.three-d-studio .three-d-text-field textarea,.three-d-studio .three-d-number-cell input,.three-d-studio .three-d-color-input,.three-d-studio .three-d-settings-row select,.three-d-studio .three-d-layer-row,.three-d-studio .three-d-outliner-row,.three-d-studio .three-d-library-row,.three-d-studio .three-d-material-library-row,.three-d-studio .three-d-material-texture-summary,.three-d-studio .three-d-material-texture-preview,.three-d-studio .three-d-material-texture-empty,.three-d-studio .three-d-bg-pill,.three-d-studio .three-d-bg-row,.three-d-studio .three-d-check-field,.three-d-studio .three-d-frame-row{background:color-mix(in oklch,var(--three-d-shell-surface-3),var(--three-d-shell-bg) 18%)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio .three-d-toolbar button:hover,.three-d-studio .three-d-floating button:hover,.three-d-studio .three-d-row-actions button:hover,.three-d-studio .three-d-panel-title button:hover,.three-d-studio .three-d-drawer-trigger:hover,.three-d-studio .three-d-mini-action:hover,.three-d-studio .three-d-wide-action:hover,.three-d-studio .three-d-viewport-add:hover,.three-d-studio .three-d-viewport-close:hover,.three-d-studio .three-d-viewport-fullscreen:hover,.three-d-studio .three-d-viewport-snapshot:hover,.three-d-studio .three-d-viewport-select:hover,.three-d-studio .three-d-outliner-row:hover,.three-d-studio .three-d-outliner-row.is-selected,.three-d-studio .three-d-layer-row:hover,.three-d-studio .three-d-library-row:hover,.three-d-studio .three-d-material-library-row:hover,.three-d-studio .three-d-material-library-row.is-active,.three-d-studio .three-d-bg-pill.active,.three-d-studio .three-d-mini-action.active{background:color-mix(in oklch,var(--three-d-shell-accent),transparent 86%)!important;border-color:color-mix(in oklch,var(--three-d-shell-accent),transparent 42%)!important;color:var(--three-d-shell-text)!important}.three-d-studio .three-d-toolbar button.is-active,.three-d-studio .three-d-drawer-trigger.is-active,.three-d-studio .three-d-wide-action.primary,.three-d-studio .three-d-material-create-actions button:first-child,.three-d-studio .three-d-library-actions button:first-child,.three-d-studio .three-d-env-upload{background:linear-gradient(135deg,var(--three-d-shell-accent),var(--three-d-shell-accent-2))!important;border-color:color-mix(in oklch,var(--three-d-shell-accent),var(--three-d-shell-border) 28%)!important;color:var(--three-d-skin-shell)!important}.three-d-studio .three-d-brand span,.three-d-studio .three-d-panel-title,.three-d-studio .three-d-material-current-title,.three-d-studio .three-d-material-library-panel-title,.three-d-studio .three-d-material-properties-title,.three-d-studio .three-d-floating-dock-title,.three-d-studio .three-d-perf-panel__title,.three-d-studio .three-d-import-dialog__title,.three-d-studio .three-d-viewport-label,.three-d-studio .three-d-outliner-name,.three-d-studio .three-d-library-path,.three-d-studio .three-d-material-library-title{color:var(--three-d-shell-text)!important}.three-d-studio .three-d-brand small,.three-d-studio .three-d-empty,.three-d-studio .three-d-field-label,.three-d-studio .three-d-window-menu-section,.three-d-studio .three-d-window-menu-empty,.three-d-studio .three-d-settings-menu-section,.three-d-studio .three-d-material-list-empty,.three-d-studio .three-d-material-texture-empty,.three-d-studio .three-d-material-texture-summary,.three-d-studio .three-d-bg-hint,.three-d-studio .three-d-object-stats,.three-d-studio .three-d-camera-readout,.three-d-studio .three-d-perf-panel__foot,.three-d-studio .three-d-import-dialog__actions{color:var(--three-d-shell-muted)!important}.three-d-studio .three-d-splitter,.three-d-studio .three-d-dock-area-resize,.three-d-studio .three-d-dock-panel-resize,.three-d-studio .three-d-floating-dock-resize{background:color-mix(in oklch,var(--three-d-shell-border),transparent 30%)!important}.three-d-studio .three-d-loading-overlay .three-d-spin,.three-d-studio .three-d-spin{color:var(--three-d-shell-accent)!important}.three-d-studio .three-d-viewport-frame.active{border-color:var(--three-d-shell-accent)!important}.three-d-studio .three-d-left-rail,.three-d-studio .three-d-right-rail{background:color-mix(in oklch,var(--three-d-shell-surface),var(--three-d-shell-bg) 8%)!important}.three-d-studio .three-d-left-rail{border-right:1px solid var(--three-d-shell-border)!important}.three-d-studio .three-d-right-rail{border-left:1px solid var(--three-d-shell-border)!important}.three-d-studio .three-d-panel-title{background:color-mix(in oklch,var(--three-d-shell-surface-2),var(--three-d-shell-surface) 30%)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-muted)!important}.three-d-studio[data-three-d-skin=light] .three-d-topbar,.three-d-studio[data-three-d-skin=light] .three-d-left-rail,.three-d-studio[data-three-d-skin=light] .three-d-right-rail,.three-d-studio[data-three-d-skin=light] .three-d-bottom-rail,.three-d-studio[data-three-d-skin=light] .three-d-panel,.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-panel,.three-d-studio[data-three-d-skin=light] .three-d-dock-panel,.three-d-studio[data-three-d-skin=light] .three-d-dock-panel-chrome,.three-d-studio[data-three-d-skin=light] .three-d-drawer-panel{box-shadow:0 10px 26px #2d3a541a!important}.three-d-status{max-width:min(320px,24vw);min-width:0;padding:4px 8px;border:1px solid rgba(250,204,21,.28);border-radius:999px;background:#facc1514;color:#fde68a!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-workbench-shell{margin:0 10px 10px;border:1px solid rgba(139,160,210,.18);border-radius:8px;background:#070b14c2!important;box-shadow:inset 0 1px #ffffff0b,0 18px 44px #0000004d}.three-d-left-rail,.three-d-right-rail,.three-d-bottom-rail{gap:6px;padding:6px;background:#0a101bd1!important;box-shadow:inset 0 1px #ffffff09!important}.three-d-left-rail,.three-d-right-rail{overflow:hidden auto!important}.three-d-left-rail{border-right:1px solid rgba(139,160,210,.18)!important}.three-d-right-rail{border-left:1px solid rgba(139,160,210,.18)!important}.three-d-bottom-rail{border-top:1px solid rgba(139,160,210,.18)!important}.three-d-dock-rail-label{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px;padding:0 5px;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}.three-d-dock-rail-meta{flex:0 0 auto;min-width:18px;padding:1px 5px;border:1px solid rgba(139,160,210,.16);border-radius:999px;color:var(--three-d-shell-muted);font-size:10px;font-weight:800;line-height:1.2;text-align:center}.three-d-bottom-rail .three-d-dock-rail-label{writing-mode:vertical-rl;justify-content:center;min-width:18px;min-height:0;height:100%;padding:5px 0;border-right:1px solid rgba(139,160,210,.12)}.three-d-bottom-rail .three-d-dock-rail-meta{min-width:0;min-height:18px;padding:5px 1px}.three-d-center-stack{gap:0;background:linear-gradient(180deg,#1e293b42,#0307125c),#04080fe6!important}.three-d-center-toolbar{flex:0 0 30px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border-bottom:1px solid rgba(139,160,210,.14);color:var(--three-d-shell-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.three-d-center-toolbar small{min-width:0;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-center-viewport{border:1px solid rgba(139,160,210,.1);border-width:0 1px}.three-d-dock-panel{min-width:220px;border:1px solid rgba(139,160,210,.18)!important;border-radius:8px;background:linear-gradient(180deg,#ffffff0b,#ffffff05),#111827e0!important;box-shadow:none!important;overflow:hidden}.three-d-dock-panel--dragging{opacity:.82;outline:1px solid rgba(96,165,250,.48);box-shadow:0 0 0 1px #60a5fa1f,0 18px 44px #0000005c!important}.three-d-dock-panel--bottom{height:calc(100% - 2px);border-right:1px solid rgba(139,160,210,.18)!important}.three-d-dock-panel-chrome,.three-d-floating-dock-title{min-height:30px;height:30px;border-bottom:1px solid rgba(139,160,210,.16)!important;background:#0c1320db!important;color:var(--three-d-shell-text)!important;font-size:11px;font-weight:800;-webkit-user-select:none;user-select:none}.three-d-dock-panel-chrome{cursor:grab}.three-d-dock-panel.is-locked .three-d-dock-panel-chrome{cursor:default}.three-d-dock-panel.three-d-dock-panel--compressed{min-height:32px!important;height:32px!important;flex:0 0 32px!important;overflow:hidden}.three-d-left-rail>.three-d-dock-panel.three-d-dock-panel--compressed:last-child,.three-d-right-rail>.three-d-dock-panel.three-d-dock-panel--compressed:last-child{flex:0 0 32px!important;height:32px!important}.three-d-dock-panel.three-d-dock-panel--compressed .three-d-dock-panel-chrome{min-height:32px;height:32px;border-bottom:0!important;cursor:pointer}.three-d-dock-panel.three-d-dock-panel--compressed .three-d-panel-tabbar,.three-d-dock-panel.three-d-dock-panel--compressed .three-d-dock-panel-body,.three-d-dock-panel.three-d-dock-panel--compressed .three-d-dock-panel-resize{display:none!important}.three-d-dock-panel.three-d-dock-panel--stack-target{outline:2px solid var(--three-d-shell-accent);outline-offset:-2px;box-shadow:inset 0 0 0 1px #ffffff1f,0 0 0 1px #60a5fa61!important}.three-d-dock-panel-chrome span,.three-d-floating-dock-title span:not(.three-d-panel-affordance){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-dock-panel-chrome small,.three-d-floating-dock-title small{flex:0 0 auto;padding:2px 5px;border:1px solid rgba(139,160,210,.16);border-radius:999px;color:var(--three-d-shell-faint);font-size:10px;font-weight:800;line-height:1}.three-d-panel-affordance{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;color:var(--three-d-shell-accent)}.three-d-dock-panel-chrome button,.three-d-floating-dock-title button{flex:0 0 auto;width:23px;height:23px;border:1px solid rgba(139,160,210,.1)!important;border-radius:6px;background:#ffffff09!important;color:var(--three-d-shell-muted)!important}.three-d-dock-panel-chrome button:hover,.three-d-floating-dock-title button:hover{border-color:#f8717161!important;background:#f871711f!important;color:var(--three-d-shell-text)!important}.three-d-dock-panel-chrome .three-d-panel-lock-toggle:hover,.three-d-floating-dock-title .three-d-panel-lock-toggle:hover{border-color:#60a5fa70!important;background:#60a5fa24!important}.three-d-dock-panel-chrome .three-d-panel-lock-toggle:disabled,.three-d-floating-dock-title .three-d-panel-lock-toggle:disabled{cursor:default;opacity:.54}.three-d-dock-panel>.three-d-panel,.three-d-floating-dock-body>.three-d-panel{background:#0d1420a8!important}.three-d-dock-panel-body{background:#0d1420a8!important}.three-d-dock-panel-body>.three-d-panel{background:transparent!important}.three-d-panel-tabbar{border-bottom:1px solid rgba(139,160,210,.16)!important;background:#090f1ad1!important}.three-d-panel-tab{border:1px solid rgba(139,160,210,.1)!important;background:#ffffff06!important;color:var(--three-d-shell-muted)!important}.three-d-panel-tab.is-active{border-color:#60a5fa6b!important;background:#60a5fa29!important;color:var(--three-d-shell-text)!important}.three-d-floating-dock-panel{border:1px solid rgba(139,160,210,.34)!important;border-radius:8px;background:#111827f5!important;box-shadow:0 18px 50px #0000007a!important}.three-d-floating-dock-resize{width:16px;height:16px;background:linear-gradient(135deg,transparent 50%,rgba(96,165,250,.5) 50%),transparent!important}.three-d-dock-panel-resize:hover,.three-d-dock-area-resize:hover,.three-d-dock-area-resize--active{background:#60a5fa61!important}.three-d-main--resizing-dock{cursor:col-resize;-webkit-user-select:none;user-select:none}.three-d-main--resizing-dock .three-d-dock-area-resize--bottom{cursor:row-resize}.three-d-main--dragging-panel{cursor:grabbing;-webkit-user-select:none;user-select:none}.three-d-dock-zone{border-color:transparent!important;border-radius:10px;background:transparent!important;color:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:0;transform:scale(.985);transition:opacity .12s ease,transform .12s ease,background .12s ease,border-color .12s ease}.three-d-dock-zone--visible{opacity:0;transform:scale(1)}.three-d-dock-zone.active{opacity:0;border-color:transparent!important;background:transparent!important;color:transparent!important;box-shadow:none}@media (max-width: 1120px){.three-d-topbar{min-height:56px}.three-d-brand{min-width:124px;width:148px}.three-d-status{max-width:min(220px,22vw)}.three-d-topbar-meta,.three-d-center-toolbar small{display:none}}.three-d-center-viewport{min-height:180px;background:linear-gradient(180deg,#0f172a5c,#0206172e),#020617c7!important}.three-d-viewport-shell{isolation:isolate;background:linear-gradient(180deg,rgba(148,163,184,.06),transparent 34%),#03071247!important}.three-d-viewport-frame{--three-d-viewport-control-top: 10px;--three-d-viewport-control-size: 27px;--three-d-viewport-head-gap: 8px;border:1px solid rgba(125,148,178,.36)!important;background:linear-gradient(180deg,#0f172a3d,#0f172a0a)!important;box-shadow:inset 0 0 0 1px #ffffff06!important;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.three-d-viewport-frame:before{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:1px solid rgba(148,163,184,.1);border-radius:4px;pointer-events:none}.three-d-viewport-frame.active{border-color:#60a5faeb!important;box-shadow:inset 0 0 0 1px #60a5fa2e,0 0 0 1px #60a5fa1f!important}.three-d-viewport-frame.material-drop-ready,.three-d-viewport-frame.material-drop-hover{pointer-events:auto}.three-d-viewport-head{position:absolute;top:10px;left:10px;right:10px;z-index:14;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--three-d-viewport-head-gap);pointer-events:none}.three-d-viewport-window-label,.three-d-viewport-actions{pointer-events:auto;min-height:var(--three-d-viewport-control-size);border:1px solid rgba(148,163,184,.22);border-radius:7px;background:#070b14c2;color:#e2e8f0e0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 1px #ffffff0b}.three-d-viewport-window-label{flex:0 1 auto;display:inline-flex;align-items:center;max-width:min(120px,38%);padding:0 9px;overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.three-d-viewport-window-label span{min-width:0;overflow:hidden;text-overflow:ellipsis}.three-d-viewport-actions{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;max-width:calc(100% - 72px);padding:4px}.three-d-viewport-actions .three-d-viewport-icon,.three-d-viewport-actions .three-d-viewport-select{position:static;pointer-events:auto;flex:0 0 auto;height:24px;min-height:24px;border:1px solid rgba(148,163,184,.18)!important;border-radius:6px;background:#0f172ac7!important;color:#e2e8f0d1!important;box-shadow:none!important}.three-d-viewport-actions .three-d-viewport-icon{width:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.three-d-viewport-actions .three-d-viewport-select{width:72px;padding:0 7px;font-size:11px;font-weight:800}.three-d-viewport-actions .three-d-viewport-icon:hover:not(:disabled),.three-d-viewport-actions .three-d-viewport-select:hover{border-color:#60a5fa8f!important;background:#60a5fa24!important;color:#fff!important}.three-d-viewport-actions .three-d-viewport-close:hover:not(:disabled){border-color:#f8717194!important;background:#f8717124!important}.three-d-viewport-actions .three-d-viewport-icon:disabled{opacity:.42;cursor:not-allowed}.three-d-splitter{z-index:18;border-radius:999px;background:#60a5fa33!important;transition:background .12s ease,box-shadow .12s ease}.three-d-splitter:hover{background:#60a5fa7a!important;box-shadow:0 0 0 1px #60a5fa3d}.three-d-splitter--quad-x,.three-d-splitter--horizontal{width:8px!important;margin-left:-1px}.three-d-splitter--quad-y,.three-d-splitter--vertical{height:8px!important;margin-top:-1px}@media (max-width: 760px){.three-d-viewport-head{left:7px;right:7px;gap:6px}.three-d-viewport-window-label{max-width:82px;padding:0 7px}.three-d-viewport-actions{gap:4px;max-width:calc(100% - 58px)}.three-d-viewport-actions .three-d-viewport-icon{width:22px}.three-d-viewport-actions .three-d-viewport-select{width:62px;padding:0 5px}}.three-d-p4-panel{min-height:0}.three-d-p4-panel .three-d-panel-title{min-height:34px;height:auto;padding:6px 8px;align-items:center}.three-d-panel-title-copy{min-width:0;display:grid;gap:2px}.three-d-panel-title-copy strong{min-width:0;color:var(--three-d-shell-text);font-size:13px;line-height:1.08;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-panel-kicker{color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px;font-weight:900;letter-spacing:.09em;line-height:1;text-transform:uppercase}.three-d-panel-title-actions{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px}.three-d-panel-title-actions small{flex:0 0 auto;max-width:78px;padding:2px 6px;border:1px solid rgba(139,160,210,.14);border-radius:999px;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-panel-body{flex:1 1 auto;min-height:0;display:grid;align-content:start;gap:8px;padding:8px;overflow:auto}.three-d-panel-body--library{padding-top:8px;overflow-x:hidden}.three-d-library-hero{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.three-d-library-selected{min-height:48px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px;padding:6px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#070d1875}.three-d-library-selected-preview{width:44px;height:38px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(139,160,210,.16);border-radius:7px;background:#ffffff09;color:var(--three-d-shell-faint)}.three-d-library-selected-preview img{width:100%;height:100%;object-fit:cover}.three-d-library-selected-copy{min-width:0;display:grid;gap:3px}.three-d-library-selected-copy strong,.three-d-library-selected-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-selected-copy strong{color:var(--three-d-shell-text);font-size:12px}.three-d-library-selected-copy small{color:var(--three-d-shell-muted);font-size:11px}.three-d-library-storage-inline{min-width:0;width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(42px,70px);align-items:center;gap:5px;color:var(--three-d-shell-faint);font-size:10px;font-weight:800}.three-d-library-storage-inline>span:not(.three-d-library-storage-track){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-storage-track{height:5px;min-width:42px;overflow:hidden;border-radius:999px;background:#8ba0d229}.three-d-library-storage-track>span{display:block;height:100%;border-radius:inherit;background:#60a5fad1}.three-d-chip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.three-d-chip-grid--library-actions{grid-template-columns:repeat(5,minmax(30px,1fr));overflow:visible}.three-d-library-actions-inline{min-width:0;display:grid;grid-template-columns:repeat(3,26px);gap:4px;align-items:center;justify-content:end;overflow:visible}.three-d-library-actions-inline .three-d-chip-btn--icon{width:26px;min-width:26px;height:26px;min-height:26px;border-radius:6px}.three-d-library-actions-inline input[type=file],.three-d-chip-grid input[type=file]{display:none}.three-d-library-search{flex:0 0 auto;width:30px;min-width:30px;max-width:112px;min-height:30px;height:30px;display:flex;align-items:center;justify-content:flex-end;gap:0;padding:0;border:1px solid rgba(139,160,210,.18);border-radius:7px;background:#0307127a;color:var(--three-d-shell-faint);overflow:hidden;transition:width .14s ease,border-color .12s ease,box-shadow .12s ease}.three-d-library-search.is-open{width:min(112px,28vw);padding-right:8px;gap:6px}.three-d-library-search-trigger{flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.three-d-library-search input{width:0;flex:1 1 auto;height:28px;min-width:0;border:0;background:transparent;color:var(--three-d-shell-text);padding:0;outline:none;opacity:0;pointer-events:none}.three-d-library-search.is-open input{width:100%;opacity:1;pointer-events:auto}.three-d-library-search:focus-within{border-color:#60a5fa8f;box-shadow:0 0 0 2px #60a5fa1f}.three-d-chip-btn{min-width:0;min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:1px solid rgba(139,160,210,.18);border-radius:7px;background:#ffffff0a;color:var(--three-d-shell-muted);font-size:12px;font-weight:800;cursor:pointer}.three-d-chip-btn--icon{position:relative;min-height:32px;height:32px;padding:0;overflow:visible}.three-d-library-tooltip{position:absolute;top:calc(100% + 7px);left:0;z-index:82;width:max-content;max-width:240px;padding:7px 9px;border:1px solid rgba(15,23,42,.16);border-radius:6px;background:#fff;color:#111827;box-shadow:0 10px 24px #0000003d;font-size:11px;font-weight:800;line-height:1.35;opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease;white-space:normal}.three-d-chip-btn--tooltip:hover .three-d-library-tooltip,.three-d-chip-btn--tooltip:focus-visible .three-d-library-tooltip{opacity:1;transform:translateY(0);transition-delay:2s}.three-d-chip-btn:hover:not(:disabled){border-color:#60a5fa85;background:#60a5fa24;color:var(--three-d-shell-text)}.three-d-chip-btn:disabled{opacity:.45;cursor:not-allowed}.three-d-chip-btn--primary{border-color:#60a5fa75;background:linear-gradient(135deg,#60a5fa5c,#a78bfa38);color:var(--three-d-shell-text)}.three-d-library-path{min-height:52px;display:grid;gap:4px;padding:8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#070d1875}.three-d-library-path--browser{position:relative;gap:6px}.three-d-library-browser-row{min-width:0;display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:6px}.three-d-library-nav-buttons{min-width:0;display:inline-flex;align-items:center;gap:4px}.three-d-library-nav-buttons button{width:28px;height:28px;min-width:28px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(139,160,210,.18);border-radius:6px;background:#ffffff0a;color:var(--three-d-shell-muted);cursor:pointer}.three-d-library-nav-buttons button:hover:not(:disabled){border-color:#60a5fa85;background:#60a5fa24;color:var(--three-d-shell-text)}.three-d-library-nav-buttons button:disabled{opacity:.45;cursor:not-allowed}.three-d-library-breadcrumb,.three-d-library-path small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-breadcrumb{display:flex;align-items:center;gap:4px;color:var(--three-d-shell-text);font-size:13px}.three-d-library-path--browser .three-d-library-breadcrumb{width:100%;min-height:30px;padding:0 8px;border:1px solid rgba(139,160,210,.14);border-radius:7px;background:#03071252;cursor:default}.three-d-library-path--browser .three-d-library-breadcrumb:focus-within{border-color:#60a5fa85;box-shadow:0 0 0 2px #60a5fa1f}.three-d-library-breadcrumb-segment{min-width:0;display:inline-flex;align-items:center;gap:4px}.three-d-library-breadcrumb-separator{color:var(--three-d-shell-faint);font-size:11px}.three-d-library-breadcrumb,.three-d-library-breadcrumb-label,.three-d-library-breadcrumb-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-breadcrumb{justify-content:flex-start;border:1px solid rgba(139,160,210,.14);color:var(--three-d-shell-text);font:inherit;font-size:13px;text-align:left}.three-d-library-breadcrumb:hover:not(:disabled){border-color:#60a5fa6b}.three-d-library-breadcrumb-label{max-width:88px;color:var(--three-d-shell-accent, #7dd3fc);font-weight:800}.three-d-library-breadcrumb-current{max-width:112px;color:var(--three-d-shell-text);font-weight:800}.three-d-library-breadcrumb-jump{min-width:0;max-width:88px;padding:0;border:0;background:transparent;color:var(--three-d-shell-accent, #7dd3fc);cursor:pointer;font:inherit;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-breadcrumb-jump:hover,.three-d-library-breadcrumb-jump:focus-visible{color:var(--three-d-shell-text);text-decoration:underline;outline:none}.three-d-library-path small{color:var(--three-d-shell-muted);font-size:11px}.three-d-library-browser-head{min-width:0;min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 1px}.three-d-library-browser-head>span{flex:1 1 auto;min-width:0;display:grid;gap:2px}.three-d-library-browser-head strong,.three-d-library-browser-head small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-browser-head strong{color:var(--three-d-shell-text);font-size:12px;line-height:1.1}.three-d-library-browser-head small{color:var(--three-d-shell-muted);font-size:10px;line-height:1.2}.three-d-library-browser-tools{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.three-d-library-view-buttons{flex:0 0 auto;display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid rgba(139,160,210,.16);border-radius:7px;background:#03071238}.three-d-library-view-buttons button{width:24px;height:24px;min-width:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-library-view-buttons button:hover:not(:disabled){background:#60a5fa1f;color:var(--three-d-shell-text)}.three-d-library-view-buttons button.is-active{background:#60a5fa33;color:var(--three-d-shell-text)}.three-d-library-panel-title-actions{min-width:0;gap:4px}.three-d-library-panel-title-actions .three-d-library-view-buttons{gap:1px;padding:1px}.three-d-studio .three-d-library-panel-title-actions .three-d-library-view-buttons button,.three-d-studio .three-d-library-panel-title-actions .three-d-library-fullscreen-toggle{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--three-d-shell-muted)!important;box-shadow:none!important}.three-d-studio .three-d-library-panel-title-actions .three-d-library-view-buttons button:hover:not(:disabled),.three-d-studio .three-d-library-panel-title-actions .three-d-library-view-buttons button.is-active,.three-d-studio .three-d-library-panel-title-actions .three-d-library-fullscreen-toggle:hover:not(:disabled),.three-d-studio .three-d-library-panel-title-actions .three-d-library-fullscreen-toggle[aria-pressed=true]{background:#60a5fa33!important;color:var(--three-d-shell-text)!important}.three-d-library-fullscreen-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:grid;place-items:stretch;background:#030712ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.three-d-studio .three-d-library-panel--fullscreen{position:relative;z-index:1;width:100vw;height:100vh;height:100dvh;min-height:0;max-height:100vh;max-height:100dvh;flex:none;overflow:hidden!important;border:0;border-radius:0;box-shadow:0 28px 80px #00000085!important}.three-d-library-panel--fullscreen .three-d-panel-body--library{display:flex;flex-direction:column;align-content:stretch;overflow:hidden}.three-d-library-panel--fullscreen .three-d-library-list{flex:1 1 auto;min-height:0;overflow:auto}.three-d-studio .three-d-floating .three-d-library-view-buttons{border:1px solid rgba(139,160,210,.16)!important;background:#03071238!important}.three-d-studio .three-d-floating .three-d-library-view-buttons button{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--three-d-shell-muted)!important}.three-d-studio .three-d-floating .three-d-library-view-buttons button:hover:not(:disabled),.three-d-studio .three-d-floating .three-d-library-view-buttons button.is-active{background:#60a5fa33!important;color:var(--three-d-shell-text)!important}.three-d-library-list,.three-d-outliner-list{display:grid;align-content:start;gap:6px}.three-d-library-list{padding:0}.three-d-library-list--large,.three-d-library-list--medium,.three-d-library-list--small{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--three-d-library-card-size, 108px)),var(--three-d-library-card-size, 108px)));gap:8px;justify-content:start}.three-d-library-list--large{--three-d-library-card-size: 132px;--three-d-library-card-min: var(--three-d-library-card-size);--three-d-library-thumb-size: 54px;--three-d-library-card-height: var(--three-d-library-card-size);--three-d-library-action-size: 22px;--three-d-library-card-pad-top: 26px;--three-d-library-card-gap: 6px;--three-d-library-title-size: 12px}.three-d-library-list--medium{--three-d-library-card-size: 108px;--three-d-library-card-min: var(--three-d-library-card-size);--three-d-library-thumb-size: 34px;--three-d-library-card-height: var(--three-d-library-card-size);--three-d-library-action-size: 21px;--three-d-library-card-pad-top: 24px;--three-d-library-card-gap: 5px;--three-d-library-title-size: 11px}.three-d-library-list--small{--three-d-library-card-size: 96px;--three-d-library-card-min: var(--three-d-library-card-size);--three-d-library-thumb-size: 28px;--three-d-library-card-height: var(--three-d-library-card-size);--three-d-library-action-size: 18px;--three-d-library-card-pad-top: 18px;--three-d-library-card-gap: 4px;--three-d-library-title-size: 10px}.three-d-library-list--detail{grid-template-columns:1fr}.three-d-outliner-list{padding:8px}.three-d-outliner-root-drop{position:sticky;top:0;z-index:1;min-height:28px;margin:0 8px 8px;padding:0 10px;display:flex;align-items:center;border:1px dashed rgba(139,160,210,.22);border-radius:6px;background:#ffffff05;color:var(--three-d-shell-faint);font-size:11px;line-height:1}.three-d-outliner-root-drop:hover{border-color:#60a5fa85;background:#60a5fa1a;color:var(--three-d-shell-text)}.three-d-asset-row,.three-d-tree-row{min-height:34px;display:grid;align-items:center;gap:6px;border:1px solid rgba(139,160,210,.13);border-radius:7px;background:#ffffff09;transition:border-color .12s ease,background .12s ease}.three-d-asset-row{grid-template-columns:minmax(0,1fr) auto auto;padding:4px 5px}.three-d-asset-row--folder,.three-d-asset-row--model{grid-template-columns:minmax(0,1fr) auto auto}.three-d-tree-row{grid-template-columns:18px minmax(0,1fr) auto auto;padding:4px 5px 4px max(5px,calc(5px + var(--three-d-tree-depth, 0) * 13px))}.three-d-asset-row:hover,.three-d-tree-row:hover{border-color:#60a5fa61;background:#60a5fa1a}.three-d-tree-row.active,.three-d-asset-row.is-active{border-color:#60a5fa9e;background:#60a5fa29}.three-d-tree-row.is-selected{border-color:#60a5fa85;background:#60a5fa1f;box-shadow:inset 3px 0 #60a5fab8}.three-d-tree-row.active.is-selected{border-color:#7dd3fcbd;background:#60a5fa33}.three-d-asset-row--draft{border-style:dashed;border-color:#60a5fa70;background:#60a5fa14}.three-d-asset-row--model.is-dragging{opacity:.56;border-color:#60a5fa9e}.three-d-asset-row--folder.is-model-drop-target{border-color:#34d399d1;background:#34d39926;box-shadow:inset 0 0 0 1px #34d39961}.three-d-tree-row.is-drag-source{opacity:.58}.three-d-tree-row.material-drop-target{border-color:#facc15c7;background:#facc1524}.three-d-tree-row.hierarchy-drop-target,.three-d-outliner-list.hierarchy-drop-target{outline:1px dashed rgba(96,165,250,.78);outline-offset:-2px}.three-d-tree-row.hierarchy-drop-target--move,.three-d-outliner-list.hierarchy-drop-target--move{border-color:#60a5fac7;background:#60a5fa26}.three-d-tree-row.hierarchy-drop-target--copy,.three-d-outliner-list.hierarchy-drop-target--copy{border-color:#34d399c7;background:#34d39921;outline-color:#34d399c7}.three-d-asset-row .name,.three-d-library-name--editing,.three-d-tree-row .three-d-outliner-name{min-width:0;height:auto;min-height:26px;padding:0 4px;gap:7px;color:var(--three-d-shell-text)}.three-d-library-name--editing{display:flex;align-items:center;text-align:left}.three-d-library-thumb{flex:0 0 auto;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid rgba(139,160,210,.16);border-radius:7px;background:#0307126b;color:var(--three-d-shell-faint)}.three-d-library-thumb img{width:100%;height:100%;object-fit:cover}.three-d-library-row-copy,.three-d-outliner-name-main{min-width:0;display:grid;gap:2px;text-align:left}.three-d-library-row-copy--renaming{width:100%}.three-d-library-row-copy strong,.three-d-library-row-copy small,.three-d-outliner-name-main strong,.three-d-outliner-name-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-row-copy strong,.three-d-outliner-name-main strong{color:var(--three-d-shell-text);font-size:12px;line-height:1.08}.three-d-library-row-copy small,.three-d-outliner-name-main small{color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;line-height:1.1}.three-d-library-rename-input{width:100%;min-width:0;height:26px;padding:0 7px;border:1px solid rgba(96,165,250,.44);border-radius:6px;background:#070b14db;color:var(--three-d-shell-text);font:inherit;outline:none}.three-d-library-rename-input:focus{border-color:#60a5fac7;box-shadow:0 0 0 2px #60a5fa2e}.three-d-library-row-status{flex:0 0 auto;max-width:54px;padding:2px 6px;border:1px solid rgba(139,160,210,.16);border-radius:999px;color:var(--three-d-shell-muted);background:#ffffff09;font-size:10px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-row-status--active{border-color:#4ade805c;color:var(--three-d-shell-success);background:#4ade801a}.three-d-library-row-actions{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:3px}.three-d-library-row-actions button{width:24px;height:24px;min-width:24px;min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-library-row-actions button:hover:not(:disabled){background:#60a5fa1f;color:var(--three-d-shell-text)}.three-d-library-row-actions button.is-active{background:#60a5fa33;color:var(--three-d-shell-text)}.three-d-library-row-actions button:disabled{opacity:.42;cursor:not-allowed}.three-d-model-context-menu{position:fixed;z-index:280;width:min(260px,calc(100vw - 16px));max-height:min(380px,calc(100vh - 16px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;padding:4px;border:1px solid rgba(139,160,210,.24);border-radius:8px;background:#070b14fa;color:var(--three-d-shell-text);box-shadow:0 18px 36px #0000005c}.three-d-model-context-menu-head{min-width:0;display:flex;align-items:center;gap:8px;padding:7px 8px 8px;border-bottom:1px solid rgba(139,160,210,.18)}.three-d-model-context-menu-head>span{min-width:0;display:grid;gap:2px}.three-d-model-context-menu-head strong,.three-d-model-context-menu-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-model-context-menu-head strong{font-size:12px}.three-d-model-context-menu-head small{color:var(--three-d-shell-muted);font-size:10px}.three-d-model-context-menu-targets{min-height:0;overflow-y:auto;padding-top:3px}.three-d-model-context-menu-targets button{width:100%;min-height:30px;display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 7px;border:0;border-radius:6px;background:transparent;color:var(--three-d-shell-text);font-size:11px;text-align:left;cursor:pointer}.three-d-model-context-menu-targets button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-model-context-menu-targets button>small{color:var(--three-d-shell-muted);font-size:9px;white-space:nowrap}.three-d-model-context-menu-targets button:hover:not(:disabled){background:#60a5fa29}.three-d-model-context-menu-targets button:disabled{opacity:.52;cursor:default}.three-d-library-asset-detail{grid-column:1 / -1;min-width:0;display:grid;gap:5px;margin-top:4px;padding:7px;border:1px solid rgba(139,160,210,.18);border-radius:7px;background:#030712c7;box-shadow:0 10px 24px #0000003d}.three-d-library-asset-detail-head,.three-d-library-asset-detail>span:not(.three-d-library-asset-detail-head){min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.three-d-library-asset-detail-head{grid-template-columns:minmax(0,1fr) auto}.three-d-library-asset-detail strong,.three-d-library-asset-detail b,.three-d-library-asset-detail em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-library-asset-detail strong{color:var(--three-d-shell-text);font-size:11px;line-height:1.1}.three-d-library-asset-detail b{color:var(--three-d-shell-faint);font-size:10px;font-weight:800}.three-d-library-asset-detail em{color:var(--three-d-shell-text);font-size:10px;font-style:normal;font-weight:800;text-align:right}.three-d-library-asset-detail-head button{width:18px;height:18px;min-width:18px;min-height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-library-asset-detail-head button:hover{background:#60a5fa1f;color:var(--three-d-shell-text)}.three-d-library-row>button:not(.name),.three-d-library-row-actions button,.three-d-tree-row .three-d-row-actions button,.three-d-tree-row .three-d-outliner-toggle{flex:0 0 auto;width:24px;height:24px;min-height:24px;border-radius:6px!important}.three-d-library-list--large .three-d-library-row,.three-d-library-list--medium .three-d-library-row,.three-d-library-list--small .three-d-library-row{position:relative;width:100%;height:var(--three-d-library-card-size);min-height:var(--three-d-library-card-size);aspect-ratio:1 / 1;display:block;padding:6px;overflow:hidden;background:linear-gradient(180deg,#ffffff09,#ffffff03),#03071247}.three-d-library-list--large .three-d-library-row .name,.three-d-library-list--medium .three-d-library-row .name,.three-d-library-list--small .three-d-library-row .name,.three-d-library-list--large .three-d-library-name--editing,.three-d-library-list--medium .three-d-library-name--editing,.three-d-library-list--small .three-d-library-name--editing{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:var(--three-d-library-card-gap, 6px);padding:var(--three-d-library-card-pad-top, 22px) 4px calc(var(--three-d-library-action-size, 22px) + 10px);text-align:center}.three-d-library-list--large .three-d-library-thumb,.three-d-library-list--medium .three-d-library-thumb,.three-d-library-list--small .three-d-library-thumb{width:var(--three-d-library-thumb-size);height:var(--three-d-library-thumb-size);border-radius:10px;background:#03071266}.three-d-library-list--large .three-d-library-row-copy,.three-d-library-list--medium .three-d-library-row-copy,.three-d-library-list--small .three-d-library-row-copy{width:100%;justify-items:center;align-self:stretch;min-height:calc(var(--three-d-library-title-size, 11px) * 1.35)}.three-d-library-list--large .three-d-library-row-copy strong,.three-d-library-list--medium .three-d-library-row-copy strong,.three-d-library-list--small .three-d-library-row-copy strong{width:100%;max-width:100%;display:block;font-size:var(--three-d-library-title-size, 11px);line-height:1.18}.three-d-library-list--large .three-d-library-row-copy small,.three-d-library-list--medium .three-d-library-row-copy small,.three-d-library-list--small .three-d-library-row-copy small{display:none}.three-d-library-list--large .three-d-library-row-copy--renaming,.three-d-library-list--medium .three-d-library-row-copy--renaming,.three-d-library-list--small .three-d-library-row-copy--renaming{max-width:calc(var(--three-d-library-card-size, 108px) - 16px)}.three-d-library-list--small .three-d-library-row-status{display:none}.three-d-library-list--large .three-d-library-row-status,.three-d-library-list--medium .three-d-library-row-status,.three-d-library-list--small .three-d-library-row-status{position:absolute;left:6px;top:6px}.three-d-library-list--large .three-d-library-row-actions,.three-d-library-list--medium .three-d-library-row-actions,.three-d-library-list--small .three-d-library-row-actions{position:absolute;right:6px;bottom:6px;z-index:2;max-width:calc(100% - 12px);display:grid;grid-auto-flow:column;grid-auto-columns:var(--three-d-library-action-size, 24px);gap:3px}.three-d-library-list--large .three-d-library-row-actions button,.three-d-library-list--medium .three-d-library-row-actions button,.three-d-library-list--small .three-d-library-row-actions button{width:var(--three-d-library-action-size, 24px);height:var(--three-d-library-action-size, 24px);min-width:var(--three-d-library-action-size, 24px);min-height:var(--three-d-library-action-size, 24px);padding:0}.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img):after,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img):after,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#03071200 34%,#030712d6)}.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-thumb--model,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-thumb--model,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-thumb--model{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:100%;height:100%;border:0;border-radius:inherit;background:#0307126b}.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .name,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .name,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .name,.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-name--editing,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-name--editing,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-name--editing{justify-content:flex-end;align-items:stretch}.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-copy,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-copy,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-copy{position:relative;z-index:2;padding:3px 5px;border-radius:4px;background:#030712a8}.three-d-library-list--large .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-status,.three-d-library-list--medium .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-status,.three-d-library-list--small .three-d-asset-row--model:has(.three-d-library-thumb--model>img) .three-d-library-row-status{z-index:3;background:#030712a8}.three-d-library-list--large .three-d-library-asset-detail,.three-d-library-list--medium .three-d-library-asset-detail,.three-d-library-list--small .three-d-library-asset-detail{position:absolute;inset:6px 6px calc(var(--three-d-library-action-size, 24px) + 8px);z-index:3;margin:0;overflow:hidden}.three-d-library-list--small .three-d-library-asset-detail{gap:3px;padding:5px}.three-d-library-list--small .three-d-library-asset-detail strong,.three-d-library-list--small .three-d-library-asset-detail b,.three-d-library-list--small .three-d-library-asset-detail em{font-size:9px}.three-d-library-list--small .three-d-asset-row--draft .three-d-library-name--editing{gap:4px;padding-top:5px;padding-bottom:calc(var(--three-d-library-action-size, 18px) + 6px)}.three-d-library-list--small .three-d-asset-row--draft .three-d-library-rename-input{height:22px}.three-d-library-list--detail .three-d-library-thumb{width:30px;height:30px}.three-d-tree-row .three-d-row-actions{padding-right:0}.three-d-tree-row .three-d-row-actions button.active{border-color:#60a5fa8f!important;color:var(--three-d-shell-text)!important;background:#60a5fa29!important}.three-d-tree-row .three-d-outliner-name--editing{min-width:0;display:flex;align-items:center;gap:7px}.three-d-tree-row .three-d-outliner-rename-input{min-width:0;width:100%;height:26px;border:1px solid rgba(96,165,250,.42);border-radius:6px;background:#030712ad;color:var(--three-d-shell-text);padding:0 7px}.three-d-empty--p4{min-height:44px;display:grid;place-items:center;margin:0;padding:6px 0;border-radius:0;background:transparent}.three-d-empty--p4 strong{color:var(--three-d-shell-text);font-size:13px}.three-d-empty--p4 span{max-width:30ch;color:var(--three-d-shell-muted);line-height:1.45}@media (max-width: 760px){.three-d-chip-grid{grid-template-columns:1fr}.three-d-chip-grid--library-actions{grid-template-columns:repeat(5,minmax(28px,1fr))}.three-d-library-browser-row{grid-template-columns:60px minmax(0,1fr)}.three-d-panel-title-actions small,.three-d-library-row-status{display:none}.three-d-asset-row{grid-template-columns:minmax(0,1fr) auto auto}.three-d-tree-row{grid-template-columns:18px minmax(0,1fr) auto}.three-d-tree-row .three-d-row-actions{max-width:84px;overflow:hidden}}.three-d-inspector-p4{min-height:0}.three-d-inspector-p4 .three-d-panel-title{min-height:34px;height:auto;padding:6px 8px}.three-d-inspector-modebar{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 0}.three-d-panel-body--inspector{gap:9px}.three-d-inspector-hero{display:grid;gap:7px;padding:8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#070d1875}.three-d-inspector-name-field{margin:0}.three-d-inspector-badges{min-width:0;display:flex;flex-wrap:wrap;gap:5px}.three-d-inspector-badges span,.three-d-inspector-section-meta{max-width:132px;padding:2px 6px;border:1px solid rgba(139,160,210,.16);border-radius:999px;color:var(--three-d-shell-muted);background:#ffffff09;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-inspector-section{min-width:0;display:grid;gap:8px;padding:8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#ffffff07}.three-d-inspector-section-head{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.three-d-inspector-section-copy{min-width:0;display:grid;gap:2px}.three-d-inspector-section-copy strong{min-width:0;color:var(--three-d-shell-text);font-size:13px;line-height:1.08;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-inspector-section-body{min-width:0;display:grid;gap:8px}.three-d-inspector-p4 .three-d-object-stats{margin:0;gap:6px}.three-d-inspector-stat{min-width:0}.three-d-inspector-p4 .three-d-vector-editor{margin-top:0}.three-d-inspector-p4 .three-d-vector-grid{gap:6px}.three-d-inspector-p4 .three-d-text-field,.three-d-inspector-p4 .three-d-material-controls label{margin:0}.three-d-inspector-p4 .three-d-material-controls{display:grid;gap:7px}.three-d-inspector-p4 .three-d-camera-readout{margin:0}.three-d-camera-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.three-d-camera-action-grid .three-d-chip-btn{min-height:32px}.three-d-camera-action-grid .three-d-chip-btn.is-active,.three-d-inspector-p4 .three-d-bg-pill.active{border-color:#60a5fa8f;background:#60a5fa29;color:var(--three-d-shell-text)}.three-d-camera-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.three-d-inspector-p4 .three-d-frame-block,.three-d-bg-block--p4{display:grid;gap:7px;margin:0;padding:8px;border:1px solid rgba(139,160,210,.12);border-radius:8px;background:#0307124d}.three-d-inspector-p4 .three-d-frame-row{gap:6px}.three-d-inspector-p4 .three-d-frame-row .three-d-select,.three-d-inspector-p4 .three-d-bg-upstream-row .three-d-select{width:100%}.three-d-inspector-p4 .three-d-bg-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.three-d-inspector-p4 .three-d-bg-pill{min-width:0;min-height:30px;justify-content:center;border-radius:7px}.three-d-inspector-p4 .three-d-bg-hint,.three-d-inspector-p4 .three-d-light-fields{margin:0}.three-d-inspector-p4 .three-d-number-cell{min-height:28px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px}.three-d-inspector-p4 .three-d-vector-grid .three-d-number-cell{grid-template-columns:14px minmax(58px,1fr);gap:4px}.three-d-inspector-p4 .three-d-vector-grid .three-d-number-cell input{width:100%;font-variant-numeric:tabular-nums}.three-d-inspector-p4 .three-d-number-cell span{width:auto;color:var(--three-d-shell-muted)}.three-d-inspector-p4 .three-d-check-field{min-height:30px;margin:0;padding:0 8px;border:1px solid rgba(139,160,210,.13);border-radius:7px;background:#ffffff08}@media (max-width: 760px){.three-d-camera-action-grid,.three-d-inspector-p4 .three-d-bg-row{grid-template-columns:1fr}.three-d-inspector-section-head{align-items:flex-start}}.three-d-material-p4{display:flex;flex-direction:column;gap:8px;padding:8px;overflow:visible}.three-d-material-p4-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.three-d-material-p4-actions button,.three-d-material-p4 .three-d-material-create-actions button{min-width:0;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:1px solid rgba(139,160,210,.18);border-radius:7px;background:#ffffff0b;color:var(--three-d-shell-muted);font-size:11px;font-weight:800;cursor:pointer}.three-d-material-p4-actions button:hover:not(:disabled),.three-d-material-p4 .three-d-material-create-actions button:hover:not(:disabled){border-color:#60a5fa75;background:#60a5fa21;color:var(--three-d-shell-text)}.three-d-material-p4-actions button:first-child,.three-d-material-p4 .three-d-material-create-actions button:first-child{border-color:#60a5fa61;background:#60a5fa26;color:var(--three-d-shell-text)}.three-d-material-p4-actions button:disabled,.three-d-material-p4 .three-d-material-create-actions button:disabled{opacity:.42;cursor:not-allowed}.three-d-material-p4-section-title{min-height:auto;margin:0;padding:0 1px}.three-d-material-p4-section-title>span{min-width:0;display:grid;gap:2px}.three-d-material-p4-section-title strong{color:var(--three-d-shell-text);font-size:12px;line-height:1.1}.three-d-material-p4-section-title small{color:var(--three-d-shell-muted);font-size:10px;line-height:1.2}.three-d-material-p4-section-title>b{min-width:22px;min-height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border:1px solid rgba(139,160,210,.18);border-radius:999px;color:var(--three-d-shell-muted);font-size:10px}.three-d-material-title-tools,.three-d-material-library-title-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.three-d-material-title-tools>b{min-width:22px;min-height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border:1px solid rgba(139,160,210,.18);border-radius:999px;color:var(--three-d-shell-muted);font-size:10px}.three-d-material-view-toggle{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid rgba(139,160,210,.16);border-radius:7px;background:#03071238}.three-d-material-view-toggle button{width:24px;height:22px;min-width:24px;min-height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-material-view-toggle button:hover:not(:disabled){background:#60a5fa1f;color:var(--three-d-shell-text)}.three-d-material-view-toggle button.is-active{background:#60a5fa33;color:var(--three-d-shell-text)}.three-d-material-p4 .three-d-material-presets{flex:1 1 auto;min-height:92px;padding:0;align-content:start;overflow:auto}.three-d-material-p4 .three-d-material-presets--grid{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:8px}.three-d-material-p4 .three-d-material-presets--list{grid-template-columns:1fr;gap:6px}.three-d-material-p4-card-shell{min-width:0;position:relative}.three-d-material-p4-card-shell.is-active{z-index:1}.three-d-material-p4-card,.three-d-material-library-panel--p4 .three-d-material-library-row button.name{min-height:44px;border-color:#8ba0d224;border-radius:8px;background:linear-gradient(180deg,#ffffff09,#ffffff03),#03071247}.three-d-material-p4-card-main{width:100%}.three-d-material-p4 .three-d-material-presets--list .three-d-material-p4-card-main{padding-right:70px}.three-d-material-p4 .three-d-material-presets--grid .three-d-material-p4-card-main{min-height:118px;flex-direction:column;justify-content:center;gap:9px;padding:12px 8px 34px;text-align:center}.three-d-material-p4 .three-d-material-presets--grid .three-d-material-ball{width:42px;height:42px;flex-basis:42px}.three-d-material-p4 .three-d-material-presets--grid .three-d-material-p4-card-copy{justify-items:center}.three-d-material-p4-card.is-active{border-color:#60a5fa85;background:#60a5fa1f}.three-d-material-p4-card-shell.is-material-drop-target .three-d-material-p4-card{border-color:#facc15b8;box-shadow:inset 0 0 0 1px #facc155c}.three-d-material-p4-card.is-renaming{display:flex;align-items:center;gap:9px;padding:10px 70px 10px 10px}.three-d-material-rename-input{width:100%;min-width:0;height:26px;padding:0 7px;border:1px solid rgba(96,165,250,.44);border-radius:6px;background:#070b14db;color:var(--three-d-shell-text);font:inherit;outline:none}.three-d-material-rename-input:focus{border-color:#60a5fac7;box-shadow:0 0 0 2px #60a5fa2e}.three-d-material-card-actions{position:absolute;top:6px;right:6px;z-index:2;display:inline-flex;align-items:center;gap:4px}.three-d-material-p4 .three-d-material-card-actions button,.three-d-material-library-panel--p4 .three-d-material-card-actions button{width:26px;height:26px;min-width:26px;min-height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(139,160,210,.18);border-radius:6px;background:#070b14c7;color:var(--three-d-shell-muted);cursor:pointer}.three-d-material-p4 .three-d-material-card-actions button:hover:not(:disabled),.three-d-material-library-panel--p4 .three-d-material-card-actions button:hover:not(:disabled){border-color:#60a5fa7a;background:#60a5fa2e;color:var(--three-d-shell-text)}.three-d-material-p4 .three-d-material-card-actions button:disabled,.three-d-material-library-panel--p4 .three-d-material-card-actions button:disabled{opacity:.42;cursor:not-allowed}.three-d-material-context-menu{position:fixed;z-index:260;min-width:154px;padding:4px;border:1px solid rgba(139,160,210,.22);border-radius:8px;background:#070b14fa;box-shadow:0 18px 36px #00000057}.three-d-material-context-menu button{width:100%;min-height:30px;display:inline-flex;align-items:center;gap:7px;justify-content:flex-start;border:0;border-radius:6px;background:transparent;color:var(--three-d-shell-text);font-size:12px;cursor:pointer}.three-d-material-context-menu button:hover:not(:disabled){background:#60a5fa29}.three-d-material-context-menu button:disabled{color:var(--three-d-shell-muted);cursor:not-allowed;opacity:.55}.three-d-material-p4-card-copy,.three-d-material-library-panel--p4 .three-d-material-library-row button.name>span:last-child{min-width:0;display:grid;gap:2px}.three-d-material-p4-card-copy strong,.three-d-material-library-panel--p4 .three-d-material-library-row button.name strong{min-width:0;color:var(--three-d-shell-text);font-size:12px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-material-p4-card-copy small,.three-d-material-library-panel--p4 .three-d-material-library-row button.name small{min-width:0;color:var(--three-d-shell-muted);font-size:10px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-material-p4-empty{min-height:76px;display:grid;place-items:center;gap:4px;padding:12px;text-align:center}.three-d-material-p4-empty strong{color:var(--three-d-shell-text);font-size:12px;line-height:1.1}.three-d-material-p4-empty span{max-width:240px;color:var(--three-d-shell-muted);font-size:11px;line-height:1.35}.three-d-material-library-panel--p4,.three-d-material-properties-popover--p4{border-color:#8ba0d238;border-radius:8px;background:#070b14fa}.three-d-material-library-panel--p4{width:260px}.three-d-material-library-panel--p4 .three-d-material-library-panel-title,.three-d-material-properties-popover--p4 .three-d-material-properties-title{min-height:38px;padding:0 8px;border-bottom:1px solid rgba(139,160,210,.14);background:#0c1320db;cursor:move;-webkit-user-select:none;user-select:none}.three-d-material-library-panel--p4 .three-d-material-library-panel-title.is-dragging,.three-d-material-properties-popover--p4 .three-d-material-properties-title.is-dragging{cursor:grabbing}.three-d-material-library-panel--p4 .three-d-material-library-panel-title button,.three-d-material-properties-popover--p4 .three-d-material-properties-title button{cursor:pointer}.three-d-material-library-panel--p4 .three-d-material-library-panel-title>span,.three-d-material-properties-popover--p4 .three-d-material-properties-title>span{min-width:0;display:grid;gap:2px}.three-d-material-library-panel--p4 .three-d-material-library-panel-title strong,.three-d-material-properties-popover--p4 .three-d-material-properties-title strong{min-width:0;color:var(--three-d-shell-text);font-size:12px;line-height:1.1}.three-d-material-properties-popover--p4 .three-d-material-properties-title small{min-width:0;color:var(--three-d-shell-muted);font-size:10px;line-height:1.15}.three-d-material-library-panel--p4 .three-d-material-library-list{padding:8px}.three-d-material-library-panel--p4 .three-d-material-library-list--grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px;align-content:start}.three-d-material-library-panel--p4 .three-d-material-library-list--list{display:grid;grid-template-columns:1fr;gap:6px;align-content:start}.three-d-material-library-panel--p4 .three-d-material-library-row{position:relative;grid-template-columns:minmax(0,1fr) auto}.three-d-material-library-panel--p4 .three-d-material-library-row+.three-d-material-library-row{margin-top:0}.three-d-material-library-panel--p4 .three-d-material-card-actions--library{position:static;transform:none}.three-d-material-library-panel--p4 .three-d-material-library-list--grid .three-d-material-library-row{min-height:132px;grid-template-columns:1fr}.three-d-material-library-panel--p4 .three-d-material-library-list--grid .three-d-material-library-row button.name{min-height:132px;height:100%;grid-template-columns:1fr;justify-items:center;align-content:center;gap:8px;padding:14px 8px 36px;text-align:center}.three-d-material-library-panel--p4 .three-d-material-library-list--grid .three-d-material-library-row button.name .three-d-material-ball{width:46px;height:46px;flex-basis:46px}.three-d-material-library-panel--p4 .three-d-material-library-list--grid .three-d-material-library-row button.name>span:last-child{justify-items:center}.three-d-material-library-panel--p4 .three-d-material-library-list--grid .three-d-material-card-actions--library{position:absolute;top:6px;right:6px}.three-d-material-library-panel--p4 .three-d-material-library-list--list .three-d-material-library-row button.name{padding-right:8px}.three-d-material-properties-popover--p4{width:312px;padding:0}.three-d-material-properties-popover--p4 .three-d-material-template-grid,.three-d-material-properties-popover--p4 .three-d-material-preview-row,.three-d-material-properties-popover--p4 .three-d-material-controls,.three-d-material-properties-popover--p4 .three-d-material-create-actions,.three-d-material-p4-editor-label{margin-left:10px;margin-right:10px}.three-d-material-properties-popover--p4 .three-d-material-template-grid,.three-d-material-properties-popover--p4 .three-d-material-preview-row{margin-top:10px}.three-d-material-p4-editor-label{margin-top:8px;margin-bottom:6px;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.three-d-material-properties-popover--p4 .three-d-material-controls{display:grid;gap:7px}.three-d-material-properties-popover--p4 .three-d-material-controls label,.three-d-material-properties-popover--p4 .three-d-material-texture-control{min-height:32px;margin:0}.three-d-material-properties-popover--p4 .three-d-material-texture-actions,.three-d-material-properties-popover--p4 .three-d-material-texture-preset-list{margin-left:54px}.three-d-material-properties-popover--p4 .three-d-material-create-actions{margin-top:10px;margin-bottom:10px}.three-d-material-popover-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1200;pointer-events:none}.three-d-material-popover-layer .three-d-material-library-panel--p4,.three-d-material-popover-layer .three-d-material-properties-popover--p4{top:48px;z-index:1;pointer-events:auto}.three-d-material-popover-layer .three-d-material-library-panel--p4{left:50%;transform:translate(-50%);width:min(860px,calc(100% - 56px));height:min(620px,calc(100% - 72px));max-height:min(620px,calc(100% - 72px))}.three-d-material-popover-layer .three-d-material-library-panel--p4 .three-d-material-library-list{flex:1 1 auto;min-height:0;overflow:auto}.three-d-material-popover-layer .three-d-material-properties-popover--p4{left:auto;right:28px;width:min(420px,calc(100% - 56px));max-height:min(620px,calc(100% - 72px))}@media (max-width: 760px){.three-d-material-p4-actions{grid-template-columns:1fr}.three-d-material-popover-layer .three-d-material-library-panel--p4,.three-d-material-popover-layer .three-d-material-properties-popover--p4{top:16px;left:12px;right:12px;transform:none;width:auto;height:auto;max-height:calc(100% - 32px)}}.three-d-environment-p4{display:flex;flex-direction:column;gap:8px;padding:8px}.three-d-environment-p4>*{flex-shrink:0}.three-d-environment-p4-hero{min-width:0;min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:radial-gradient(circle at 85% 8%,rgba(56,189,248,.18),transparent 36%),linear-gradient(135deg,#60a5fa1a,#22c55e0d),#0307124d}.three-d-environment-p4-hero>div{min-width:0;display:grid;gap:3px}.three-d-environment-p4-kicker{color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:800;letter-spacing:.08em}.three-d-environment-p4-hero strong{min-width:0;color:var(--three-d-shell-text);font-size:14px;line-height:1.08;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-p4-hero small{min-width:0;color:var(--three-d-shell-muted);font-size:11px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-p4-status{min-width:0;min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid rgba(96,165,250,.28);border-radius:999px;background:#60a5fa1f;color:var(--three-d-shell-muted);font-size:11px;font-weight:800;white-space:nowrap}.three-d-environment-p4-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.three-d-environment-p4-thumb{min-width:0;aspect-ratio:1.34;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:radial-gradient(circle at 32% 34%,rgba(255,255,255,.28),transparent 18%),linear-gradient(135deg,#60a5fa2e,#0f172af2);box-shadow:inset 0 1px #ffffff0f}.three-d-environment-p4-thumb:nth-child(2){background:radial-gradient(circle at 60% 30%,rgba(187,247,208,.26),transparent 20%),linear-gradient(135deg,#14b8a629,#0f172af2)}.three-d-environment-p4-thumb:nth-child(3){background:radial-gradient(circle at 44% 42%,rgba(251,191,36,.2),transparent 18%),linear-gradient(135deg,#818cf82e,#0f172af2)}.three-d-environment-p4-thumb.is-primary{border-color:#60a5fa6b}.three-d-environment-p4-current{min-width:0;display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#0307123d}.three-d-environment-p4-current>span{min-width:0;display:grid;gap:2px}.three-d-environment-p4-current strong{color:var(--three-d-shell-text);font-size:12px;line-height:1.1}.three-d-environment-p4-current small{color:var(--three-d-shell-muted);font-size:10px;line-height:1.15}.three-d-environment-p4-current b{min-width:0;color:var(--three-d-shell-muted);font-size:11px;font-weight:800;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-p4 .three-d-environment-controls{gap:7px;padding:0;border:0;background:transparent!important}.three-d-environment-p4-slider{min-height:34px;display:grid;grid-template-columns:54px minmax(0,1fr) 42px;align-items:center;gap:7px;padding:0 8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#ffffff09}.three-d-environment-p4-slider span{color:var(--three-d-shell-muted);font-size:11px;font-weight:800}.three-d-environment-p4-slider input[type=range]{min-width:0}.three-d-environment-p4-slider b{color:var(--three-d-shell-text);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:800;text-align:right}.three-d-environment-p4 .three-d-env-upload{min-height:34px;border-radius:8px;font-weight:800}@media (max-width: 760px){.three-d-environment-p4-hero,.three-d-environment-p4-current,.three-d-environment-p4-slider{grid-template-columns:1fr}.three-d-environment-p4-status,.three-d-environment-p4-current b{justify-content:flex-start;text-align:left}}.three-d-catalog-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:grid;place-items:center;padding:18px}.three-d-catalog-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#030712ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.three-d-catalog-shell{position:relative;z-index:1;width:min(1120px,calc(100vw - 36px));max-height:min(820px,calc(100vh - 36px));min-height:560px;display:grid;grid-template-rows:auto auto minmax(0,1fr);border:1px solid rgba(139,160,210,.24);border-radius:8px;background:linear-gradient(180deg,#111827f5,#080d18fa),#0b1220;color:var(--three-d-shell-text);box-shadow:0 28px 80px #00000085,inset 0 1px #ffffff14;overflow:hidden}.three-d-catalog-shell--expanded{width:calc(100vw - 36px);height:calc(100vh - 36px);max-height:calc(100vh - 36px)}.three-d-catalog-header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(139,160,210,.18)}.three-d-catalog-title{min-width:0;display:inline-flex;align-items:center;gap:10px}.three-d-catalog-title>svg{flex:0 0 auto;color:var(--three-d-shell-accent)}.three-d-catalog-title span{min-width:0;display:grid;gap:2px}.three-d-catalog-title strong,.three-d-catalog-title small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-catalog-title strong{font-size:15px}.three-d-catalog-title small{color:var(--three-d-shell-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.three-d-catalog-header-actions{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px}.three-d-catalog-icon-btn{width:30px;height:30px;min-height:30px;display:inline-grid;place-items:center;border:1px solid rgba(139,160,210,.18);border-radius:6px;background:#ffffff0a;color:var(--three-d-shell-muted);cursor:pointer}.three-d-catalog-icon-btn:hover{border-color:#60a5fa85;color:var(--three-d-shell-text);background:#60a5fa24}.three-d-catalog-icon-btn--danger:hover{border-color:#f871716b;color:var(--three-d-shell-text);background:#f871711f}.three-d-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:10px;padding:10px 14px;border-bottom:1px solid rgba(139,160,210,.14)}.three-d-catalog-tabs{min-width:0;display:inline-flex;flex-wrap:wrap;gap:6px}.three-d-catalog-tabs button,.three-d-catalog-sidebar button,.three-d-catalog-pager button,.three-d-catalog-card-actions button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(139,160,210,.16);border-radius:6px;background:#ffffff0a;color:var(--three-d-shell-muted);cursor:pointer}.three-d-catalog-tabs button{padding:0 12px;font-size:12px;font-weight:800}.three-d-catalog-tabs button:hover,.three-d-catalog-tabs button.is-active,.three-d-catalog-sidebar button:hover,.three-d-catalog-sidebar button.is-active,.three-d-catalog-card-actions button:hover,.three-d-catalog-card-actions button.is-active,.three-d-catalog-pager button:hover:not(:disabled){border-color:#60a5fa85;background:#60a5fa24;color:var(--three-d-shell-text)}.three-d-catalog-search{min-width:0;min-height:34px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid rgba(139,160,210,.18);border-radius:7px;background:#03071261;color:var(--three-d-shell-faint)}.three-d-catalog-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--three-d-shell-text)}.three-d-catalog-body{min-height:0;display:grid;grid-template-columns:190px minmax(0,1fr)}.three-d-catalog-sidebar{min-height:0;display:grid;align-content:start;gap:6px;padding:10px;border-right:1px solid rgba(139,160,210,.14);overflow:auto}.three-d-catalog-sidebar button{width:100%;justify-content:flex-start;padding:0 9px;font-size:12px;font-weight:750}.three-d-catalog-sidebar button span{min-width:0;flex:1 1 auto;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.three-d-catalog-sidebar button small{flex:0 0 auto;min-width:26px;color:var(--three-d-shell-faint);font-size:10px;text-align:right}.three-d-catalog-content{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:10px;overflow:hidden}.three-d-catalog-summary{min-height:24px;display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.three-d-catalog-grid{min-height:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));align-content:start;gap:10px;overflow:auto;padding-right:2px}.three-d-catalog-card{min-width:0;display:grid;grid-template-rows:118px auto auto;gap:8px;padding:8px;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#ffffff09}.three-d-catalog-thumb{min-width:0;width:100%;height:118px;display:grid;place-items:center;border:1px solid rgba(139,160,210,.14);border-radius:7px;background:#03071270;color:var(--three-d-shell-faint);overflow:hidden;cursor:pointer}.three-d-catalog-thumb img{width:100%;height:100%;object-fit:cover;display:block}.three-d-catalog-thumb:hover{border-color:#60a5fa7a}.three-d-catalog-card-copy{min-width:0;display:grid;gap:3px}.three-d-catalog-card-copy strong,.three-d-catalog-card-copy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-catalog-card-copy strong{color:var(--three-d-shell-text);font-size:12px}.three-d-catalog-card-copy small{color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}.three-d-catalog-card-actions{display:grid;grid-template-columns:32px minmax(0,1fr);gap:6px}.three-d-catalog-card-actions button{min-width:0;padding:0 8px;font-size:12px;font-weight:800}.three-d-catalog-card-actions button:disabled,.three-d-catalog-pager button:disabled{opacity:.48;cursor:not-allowed}.three-d-catalog-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed rgba(139,160,210,.2);border-radius:8px;color:var(--three-d-shell-muted);background:#ffffff06}.three-d-catalog-empty strong{color:var(--three-d-shell-text);font-size:13px}.three-d-catalog-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px}.three-d-catalog-pager button{padding:0 10px;font-size:12px;font-weight:800}@media (max-width: 760px){.three-d-catalog-modal{padding:10px}.three-d-catalog-shell{width:calc(100vw - 20px);max-height:calc(100vh - 20px);min-height:0}.three-d-catalog-shell--expanded{height:calc(100vh - 20px)}.three-d-catalog-toolbar,.three-d-catalog-body{grid-template-columns:1fr}.three-d-catalog-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));max-height:160px;border-right:0;border-bottom:1px solid rgba(139,160,210,.14)}.three-d-catalog-grid{grid-template-columns:1fr}}.three-d-snapshot-p4{min-height:0;display:flex;flex-direction:column;gap:10px;padding:10px;background:transparent!important}.three-d-snapshot-p4__hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#ffffff09}.three-d-snapshot-p4__hero h3,.three-d-snapshot-p4__hero p{margin:0}.three-d-snapshot-p4__hero h3{margin-top:3px;color:var(--three-d-shell-text);font-size:14px;font-weight:850}.three-d-snapshot-p4__hero p{color:var(--three-d-shell-muted);font-size:11px}.three-d-snapshot-p4__count{min-width:46px;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(96,165,250,.28);border-radius:999px;background:#60a5fa1f;color:var(--three-d-shell-text);font-size:12px;font-weight:850}.three-d-snapshot-p4__actions{display:flex;justify-content:flex-end}.three-d-snapshot-p4__actions button{width:auto;min-width:72px;height:28px}.three-d-snapshot-p4 .three-d-snapshot-strip{gap:8px;padding:0;background:transparent!important}.three-d-snapshot-p4__empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:7px;padding:14px;border:1px dashed rgba(139,160,210,.22);border-radius:8px;background:#03071247;color:var(--three-d-shell-muted);text-align:center}.three-d-snapshot-p4__empty strong{color:var(--three-d-shell-text);font-size:13px}.three-d-snapshot-p4__empty span{max-width:210px;color:var(--three-d-shell-faint);font-size:11px;line-height:1.45}.three-d-snapshot-row{flex:0 0 auto!important;min-width:0;min-height:76px;height:auto!important;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px;align-items:center;margin:0;padding:8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#ffffff09;overflow:visible}.three-d-snapshot-row.active{border-color:#facc158f;background:#facc1513}.three-d-snapshot-row__thumb{width:64px!important;height:50px!important;min-width:64px;display:block;padding:0!important;border:1px solid rgba(139,160,210,.16)!important;border-radius:7px;background:#03071270!important;overflow:hidden;cursor:zoom-in}.three-d-snapshot-row__thumb img{width:100%;height:100%;display:block;object-fit:cover}.three-d-snapshot-p4 .three-d-snapshot-row__body{min-width:0;display:grid;gap:4px;padding:0;height:auto;align-items:center}.three-d-snapshot-p4 .three-d-snapshot-row__body strong,.three-d-snapshot-p4 .three-d-snapshot-row__body span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-snapshot-p4 .three-d-snapshot-row__body strong{color:var(--three-d-shell-text);font-size:12px}.three-d-snapshot-p4 .three-d-snapshot-row__body span{display:inline-flex;align-items:center;gap:4px;color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px}.three-d-snapshot-row__actions{display:inline-grid;grid-template-columns:repeat(2,24px);gap:4px}.three-d-snapshot-row__actions button{width:24px!important;height:24px!important;display:inline-flex;align-items:center;justify-content:center;border-radius:6px}.three-d-snapshot-lightbox--p4{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:18px;background:#000000c7!important}.three-d-snapshot-lightbox__card{max-width:92vw;max-height:88vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(139,160,210,.22);border-radius:10px;background:#070b14f5;box-shadow:0 24px 60px #00000085;overflow:hidden}.three-d-snapshot-lightbox__head,.three-d-snapshot-lightbox__foot{display:flex;align-items:center;gap:8px;padding:8px 10px;color:var(--three-d-shell-text);font-size:12px}.three-d-snapshot-lightbox__head{border-bottom:1px solid rgba(139,160,210,.16);background:#ffffff09}.three-d-snapshot-lightbox__head strong{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-snapshot-lightbox__head button,.three-d-snapshot-lightbox__actions button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(139,160,210,.22);border-radius:7px;background:#ffffff0b;color:var(--three-d-shell-text);cursor:pointer}.three-d-snapshot-lightbox__card>img{max-width:92vw;max-height:calc(88vh - 86px);display:block;object-fit:contain;background:#000}.three-d-snapshot-lightbox__foot{border-top:1px solid rgba(139,160,210,.16);background:#ffffff09}.three-d-snapshot-lightbox__dot{color:var(--three-d-shell-faint)}.three-d-snapshot-lightbox__star{color:#facc15}.three-d-snapshot-lightbox__actions{display:inline-flex;gap:6px;margin-left:auto}.three-d-snapshot-lightbox__actions button.active{border-color:#facc1594;background:#facc152e;color:#fde68a}.three-d-snapshot-viewport-restore{position:absolute;right:16px;top:16px;z-index:60;height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(96,165,250,.3);border-radius:999px;background:#070b14e6;color:var(--three-d-shell-text);font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 12px 28px #00000061}.three-d-snapshot-viewport--p4{z-index:60;display:flex;flex-direction:column;border:1px solid rgba(139,160,210,.22);border-radius:8px;background:#070b14f0;box-shadow:0 16px 38px #00000070;overflow:hidden;pointer-events:auto}.three-d-snapshot-viewport__bar{min-height:36px;display:grid;grid-template-columns:auto minmax(68px,1fr) minmax(86px,auto) auto auto auto auto auto;align-items:center;gap:6px;padding:5px 8px;border-bottom:1px solid rgba(139,160,210,.16);background:#ffffff0b;color:var(--three-d-shell-text);font-size:12px;-webkit-user-select:none;user-select:none;cursor:move}.three-d-snapshot-viewport__bar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-snapshot-viewport__bar select,.three-d-snapshot-viewport__bar button{height:24px;border:1px solid rgba(139,160,210,.22);border-radius:6px;background:#ffffff0b;color:var(--three-d-shell-text);font-size:11px}.three-d-snapshot-viewport__bar select{min-width:0;max-width:112px;padding:0 6px}.three-d-snapshot-viewport__bar option{background:#101624;color:#f8fafc}.three-d-snapshot-viewport__bar button{min-width:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;cursor:pointer}.three-d-snapshot-viewport__bar button.active{border-color:#60a5fa85;background:#60a5fa29;color:#bfdbfe}.three-d-snapshot-viewport__body{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;border-top:1px solid rgba(3,7,18,.42);background:#000;overflow:hidden}.three-d-snapshot-viewport__body img{width:100%;height:100%;display:block;object-fit:contain}.three-d-snapshot-viewport__body span{color:#ffffff85;font-size:12px}.three-d-snapshot-viewport__resize{position:absolute;right:0;bottom:0;width:14px;height:14px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.25) 50%)}.three-d-snapshot-viewport--p4.is-collapsed{min-height:36px}.three-d-snapshot-viewport--p4.is-collapsed .three-d-snapshot-viewport__bar{border-bottom:0}@media (max-width: 720px){.three-d-snapshot-row{grid-template-columns:56px minmax(0,1fr)}.three-d-snapshot-row__thumb{width:56px!important;min-width:56px}.three-d-snapshot-row__actions{grid-column:1 / -1;grid-template-columns:repeat(4,24px);justify-content:end}.three-d-snapshot-viewport__bar{grid-template-columns:auto minmax(54px,1fr) minmax(74px,auto) repeat(5,auto)}}.three-d-pose-panel--p5{--three-d-pose-p5-panel: rgba(15, 23, 42, .78);--three-d-pose-p5-panel-strong: rgba(15, 23, 42, .94);--three-d-pose-p5-border: rgba(139, 160, 210, .18);--three-d-pose-p5-border-strong: rgba(96, 165, 250, .42);--three-d-pose-p5-accent: #60a5fa;--three-d-pose-p5-accent-2: #a78bfa;--three-d-pose-p5-text: #e5eefb;--three-d-pose-p5-muted: #93a4bc;gap:10px;padding:10px}.three-d-pose-panel--p5 .three-d-pose-head,.three-d-pose-panel--p5 .three-d-pose-presets,.three-d-pose-panel--p5 .three-d-rig-preview,.three-d-pose-panel--p5 .three-d-bone-editor--p5,.three-d-pose-panel--p5 .three-d-bone-tree-panel{border:1px solid var(--three-d-pose-p5-border);border-radius:8px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),var(--three-d-pose-p5-panel);box-shadow:inset 0 1px #ffffff0f}.three-d-pose-panel--p5 .three-d-pose-head{padding:8px}.three-d-pose-panel--p5 .three-d-pose-title{color:var(--three-d-pose-p5-text);font-weight:800}.three-d-pose-panel--p5 .three-d-pose-title em{color:var(--three-d-pose-p5-muted)}.three-d-pose-panel--p5 .three-d-pose-actions{flex-wrap:wrap}.three-d-pose-panel--p5 .three-d-pose-actions button,.three-d-pose-panel--p5 .three-d-pose-presets-head button{border-color:var(--three-d-pose-p5-border);background:#1e293bd1;color:var(--three-d-pose-p5-text)}.three-d-pose-panel--p5 .three-d-pose-actions button:hover,.three-d-pose-panel--p5 .three-d-pose-presets-head button:hover{border-color:var(--three-d-pose-p5-border-strong);background:#2563eb2e}.three-d-pose-body--p5{display:grid;grid-template-columns:minmax(180px,.92fr) minmax(220px,1.08fr);align-items:stretch;gap:10px}.three-d-rig-preview{min-height:0;display:flex;flex-direction:column;overflow:hidden}.three-d-rig-preview-head--sub{border-top:1px solid var(--three-d-pose-p5-border)}.three-d-rig-preview-head,.three-d-bone-tree-head{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid var(--three-d-pose-p5-border);color:var(--three-d-pose-p5-text);font-size:11px;font-weight:800}.three-d-rig-preview-head em,.three-d-bone-tree-head em{font-style:normal;color:var(--three-d-pose-p5-muted);font-weight:700}.three-d-rig-viewport{position:relative;flex:1 1 auto;min-height:330px;margin:10px;border:1px solid rgba(96,165,250,.22);border-radius:8px;background:linear-gradient(180deg,#0f172a47,#080d18c2),#08111f;overflow:hidden;touch-action:none}.three-d-rig-viewport:before{content:"";position:absolute;top:14px;right:14px;bottom:14px;left:14px;border:1px dashed rgba(148,163,184,.16);pointer-events:none;z-index:2}.three-d-rig-viewport-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.three-d-rig-viewport-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none}.three-d-pose-viewport-toolbar{position:absolute;top:10px;right:10px;z-index:5;min-width:86px;display:inline-flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid rgba(139,160,210,.28);border-radius:8px;background:#080d18e6;color:var(--three-d-pose-p5-muted);font-size:10px;font-weight:800;box-shadow:0 10px 24px #00000038}.three-d-pose-viewport-toolbar span{white-space:nowrap}.three-d-pose-viewport-select{min-width:50px;height:24px;border:1px solid rgba(96,165,250,.34);border-radius:6px;background:#0f172af0;color:var(--three-d-pose-p5-text);font-size:11px;font-weight:800;outline:none}.three-d-pose-viewport-select:focus{border-color:#60a5fab8;box-shadow:0 0 0 2px #60a5fa29}.three-d-rig-viewport-marker{position:absolute;z-index:4;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.78);border-radius:999px;box-shadow:0 0 0 3px #60a5fa1f,0 0 14px currentColor;color:#dbeafe;cursor:pointer;pointer-events:auto;transform-origin:center}.three-d-rig-viewport-marker:hover,.three-d-rig-viewport-marker.is-active{border-color:#fffffff2;box-shadow:0 0 0 4px #facc152e,0 0 18px currentColor}.three-d-rig-viewport-marker span{position:absolute;left:50%;top:calc(100% + 5px);transform:translate(-50%);max-width:92px;padding:2px 5px;border:1px solid rgba(250,204,21,.42);border-radius:999px;background:#080d18e0;color:#fef3c7;font-size:9px;font-weight:800;line-height:1.1;white-space:nowrap;pointer-events:none}.three-d-rig-part-grid{min-height:0;max-height:170px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;padding:10px;overflow:auto}.three-d-rig-human{position:relative;flex:1 1 auto;min-height:330px;margin:10px;border:1px solid rgba(96,165,250,.18);border-radius:8px;background:linear-gradient(180deg,rgba(96,165,250,.12),transparent 58%),radial-gradient(circle at 50% 22%,rgba(167,139,250,.16),transparent 34%),#080d18db;overflow:hidden}.three-d-rig-human:before{content:"";position:absolute;top:14px;right:14px;bottom:14px;left:14px;border:1px dashed rgba(148,163,184,.16);border-radius:50% 50% 46% 46%;pointer-events:none}.three-d-rig-avatar{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.three-d-rig-avatar span{position:absolute;display:block;border:1px solid rgba(96,165,250,.34);background:linear-gradient(180deg,#60a5fa57,#a78bfa2e),#0f172acc;box-shadow:0 0 22px #60a5fa24}.three-d-rig-avatar__head{left:50%;top:8%;width:46px;height:46px;transform:translate(-50%);border-radius:50%}.three-d-rig-avatar__torso{left:50%;top:24%;width:74px;height:152px;transform:translate(-50%);border-radius:36px 36px 42px 42px}.three-d-rig-avatar__arm{top:33%;width:116px;height:12px;border-radius:999px;transform-origin:center}.three-d-rig-avatar__arm--left{left:8%;transform:rotate(112deg)}.three-d-rig-avatar__arm--right{right:8%;transform:rotate(68deg)}.three-d-rig-avatar__leg{top:62%;width:128px;height:13px;border-radius:999px;transform-origin:center}.three-d-rig-avatar__leg--left{left:24%;transform:rotate(104deg)}.three-d-rig-avatar__leg--right{right:24%;transform:rotate(76deg)}.three-d-pose-hotspot{position:absolute;z-index:2;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(191,219,254,.68);border-radius:999px;background:#0f172ae6;color:#dbeafe;box-shadow:0 0 0 4px #60a5fa24,0 0 20px #60a5fa2e;cursor:pointer;transform:translate(-50%,-50%)}.three-d-pose-hotspot span{position:absolute;left:50%;top:calc(100% + 5px);transform:translate(-50%);max-width:42px;padding:2px 5px;border:1px solid rgba(139,160,210,.22);border-radius:999px;background:#080d18db;color:var(--three-d-pose-p5-muted);font-size:9px;font-weight:800;line-height:1.1;white-space:nowrap;pointer-events:none}.three-d-pose-hotspot:hover,.three-d-pose-hotspot.is-active{border-color:#a78bfaf2;background:#60a5fa47;color:#fff;box-shadow:0 0 0 5px #a78bfa33,0 0 26px #60a5fa4d}.three-d-pose-hotspot.is-active span{border-color:#60a5fa8c;background:#2563eb38;color:#bfdbfe}.three-d-rig-empty{position:absolute;left:16px;right:16px;bottom:14px;padding:8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#0f172ad6;color:var(--three-d-pose-p5-muted);font-size:11px;line-height:1.5;text-align:center}.three-d-pose-control-stack{min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:auto}.three-d-pose-section-panel{min-width:0;min-height:0;display:flex;flex:0 0 auto;flex-direction:column;overflow:hidden}.three-d-pose-section-panel[open]{flex:0 0 auto}.three-d-pose-section-body{min-width:0;min-height:0;display:grid;gap:8px;padding:8px;overflow:auto}.three-d-bone-editor--p5{padding:10px;background:var(--three-d-pose-p5-panel-strong)}.three-d-bone-editor--p5 .three-d-number-cell{border-color:#8ba0d229;background:#080d1894}.three-d-pose-rotation-slider-list{display:grid;gap:8px}.three-d-pose-rotation-slider{min-width:0;display:grid;grid-template-columns:58px minmax(96px,1fr) 64px;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#080d1894}.three-d-pose-rotation-slider span{color:var(--three-d-pose-p5-muted);font-size:10px;font-weight:800;white-space:nowrap}.three-d-pose-rotation-slider input[type=range]{width:100%;min-width:0;accent-color:#60a5fa}.three-d-pose-rotation-slider input[type=number]{width:64px;min-width:0;height:28px;padding:0 6px;border:1px solid rgba(139,160,210,.2);border-radius:6px;background:#0f172ad1;color:var(--three-d-pose-p5-text);font-size:11px;font-weight:800;text-align:right}.three-d-pose-rotation-slider input[type=number]:focus{border-color:#60a5fa9e;outline:none;box-shadow:0 0 0 2px #60a5fa24}.three-d-bone-control-list{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;overflow:auto}.three-d-bone-control-card{min-width:0;min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:linear-gradient(180deg,#ffffff0b,#ffffff04),#0f172ac2;color:var(--three-d-pose-p5-text);text-align:left;cursor:pointer}.three-d-bone-control-card:hover,.three-d-bone-control-card.is-active{border-color:var(--three-d-pose-p5-border-strong);background:#2563eb2e}.three-d-bone-control-label{min-width:0;display:flex;flex-direction:column;gap:2px}.three-d-bone-control-label strong,.three-d-bone-control-label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-bone-control-label strong{font-size:11px;font-weight:800}.three-d-bone-control-label span{color:var(--three-d-pose-p5-muted);font-size:10px}.three-d-bone-control-card em{min-width:34px;color:#bfdbfe;font-style:normal;font-size:11px;font-weight:800;text-align:right}.three-d-hand-panel{min-width:0;display:grid;gap:8px}.three-d-hand-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.three-d-hand-toolbar button{min-width:0;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#0f172ab8;color:var(--three-d-pose-p5-text);font-size:11px;font-weight:800;cursor:pointer}.three-d-hand-toolbar button:hover,.three-d-hand-toolbar button.is-active{border-color:var(--three-d-pose-p5-border-strong);background:#2563eb33}.three-d-hand-toolbar button em{color:#bfdbfe;font-style:normal;font-size:10px}.three-d-rig-viewport--hand{min-height:220px;flex:0 0 auto}.three-d-hand-finger-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.three-d-mannequin-inline{min-width:0;border:1px solid rgba(139,160,210,.14);border-radius:8px;background:#080d186b;overflow:hidden}.three-d-mannequin-inline-body{display:grid;gap:8px;padding:8px}.three-d-mannequin-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.three-d-mannequin-preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:4px}.three-d-mannequin-field-group{display:grid;gap:4px}.three-d-mannequin-field-group>.three-d-bone-tree-head{padding:5px 0;border-bottom:none}.three-d-bone-tree-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.three-d-bone-tree-panel--foldable>.three-d-bone-tree-head{cursor:pointer;list-style:none}.three-d-bone-tree-panel--foldable>.three-d-bone-tree-head::-webkit-details-marker{display:none}.three-d-bone-tree-panel--foldable>.three-d-bone-tree-head span:before{content:"▸";display:inline-block;margin-right:6px;color:var(--three-d-pose-p5-muted)}.three-d-bone-tree-panel--foldable[open]>.three-d-bone-tree-head span:before{content:"▾"}.three-d-bone-tree-panel--foldable:not([open]){flex:0 0 auto}.three-d-bone-tree-panel--foldable:not([open])>:not(summary){display:none}.three-d-pose-panel--p5 .three-d-bone-list{border:0;border-radius:0;background:transparent}.three-d-bone-group{cursor:default!important}.three-d-bone-list .three-d-bone-group:hover{background:transparent}.three-d-bone-group--hand{min-height:24px;color:#bfdbfe;font-size:11px;font-weight:800}.three-d-bone-group--finger{min-height:20px;color:var(--three-d-pose-p5-muted);font-size:10px;font-weight:700}.three-d-pose-panel--p5 .three-d-pose-presets{padding:8px}@media (max-width: 900px){.three-d-pose-body--p5{grid-template-columns:1fr}.three-d-rig-human,.three-d-rig-viewport{min-height:300px}.three-d-pose-control-stack{overflow:visible}}@media (max-width: 560px){.three-d-pose-panel--p5 .three-d-pose-head,.three-d-pose-panel--p5 .three-d-pose-actions,.three-d-bone-control-list{grid-template-columns:1fr}.three-d-bone-control-list{display:flex;flex-direction:column}.three-d-hand-finger-grid,.three-d-hand-toolbar,.three-d-pose-rotation-slider{grid-template-columns:1fr}.three-d-pose-rotation-slider input[type=number]{width:100%;text-align:left}.three-d-rig-part-grid{grid-template-columns:1fr}}.three-d-studio[data-three-d-skin=light] .three-d-left-rail,.three-d-studio[data-three-d-skin=light] .three-d-right-rail,.three-d-studio[data-three-d-skin=light] .three-d-bottom-rail{background:var(--three-d-shell-surface)!important;border-color:var(--three-d-shell-border)!important;box-shadow:inset 0 1px #ffffff94!important}.three-d-studio[data-three-d-skin=light] .three-d-dock-panel,.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-panel{background:var(--three-d-shell-surface)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-dock-panel-chrome,.three-d-studio[data-three-d-skin=light] .three-d-dock-panel-body,.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-body>.three-d-panel,.three-d-studio[data-three-d-skin=light] .three-d-panel-tabbar{background:var(--three-d-shell-surface-2)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-panel-tab{background:var(--three-d-shell-surface-3)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-muted)!important}.three-d-studio[data-three-d-skin=light] .three-d-panel-tab.is-active{background:color-mix(in oklch,var(--three-d-shell-accent),white 86%)!important;border-color:color-mix(in oklch,var(--three-d-shell-accent),var(--three-d-shell-border) 58%)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-library-path,.three-d-studio[data-three-d-skin=light] .three-d-library-selected,.three-d-studio[data-three-d-skin=light] .three-d-library-selected-preview,.three-d-studio[data-three-d-skin=light] .three-d-asset-row,.three-d-studio[data-three-d-skin=light] .three-d-tree-row,.three-d-studio[data-three-d-skin=light] .three-d-inspector-hero,.three-d-studio[data-three-d-skin=light] .three-d-inspector-section,.three-d-studio[data-three-d-skin=light] .three-d-inspector-p4 .three-d-frame-block,.three-d-studio[data-three-d-skin=light] .three-d-bg-block--p4,.three-d-studio[data-three-d-skin=light] .three-d-inspector-p4 .three-d-check-field,.three-d-studio[data-three-d-skin=light] .three-d-material-p4-card,.three-d-studio[data-three-d-skin=light] .three-d-material-context-menu,.three-d-studio[data-three-d-skin=light] .three-d-model-context-menu,.three-d-studio[data-three-d-skin=light] .three-d-material-library-panel--p4 .three-d-material-library-row button.name,.three-d-studio[data-three-d-skin=light] .three-d-material-texture-summary,.three-d-studio[data-three-d-skin=light] .three-d-material-texture-preview,.three-d-studio[data-three-d-skin=light] .three-d-material-texture-empty,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-strip figure,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-panel,.three-d-studio[data-three-d-skin=light] .three-d-environment-p4-current,.three-d-studio[data-three-d-skin=light] .three-d-environment-p4-status,.three-d-studio[data-three-d-skin=light] .three-d-inspector-badges span,.three-d-studio[data-three-d-skin=light] .three-d-inspector-section-meta,.three-d-studio[data-three-d-skin=light] .three-d-library-row-status,.three-d-studio[data-three-d-skin=light] .three-d-tree-row .three-d-outliner-rename-input,.three-d-studio[data-three-d-skin=light] .three-d-library-rename-input,.three-d-studio[data-three-d-skin=light] .three-d-library-search{background:color-mix(in oklch,var(--three-d-shell-surface-3),var(--three-d-shell-bg) 12%)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-outliner-material-menu{background:#fffffffa;border-color:var(--three-d-shell-border);color:var(--three-d-shell-text)}.three-d-studio[data-three-d-skin=light] .three-d-outliner-material-menu-group{border-bottom-color:var(--three-d-shell-border)}.three-d-studio[data-three-d-skin=light] .three-d-outliner-material-menu button{color:var(--three-d-shell-text)}.three-d-studio[data-three-d-skin=light] .three-d-outliner-material-menu button:hover{background:color-mix(in oklch,var(--three-d-shell-accent),white 82%);color:var(--three-d-shell-text)}.three-d-studio[data-three-d-skin=light] .three-d-outliner-material-menu button.is-danger:hover{background:#f871712e;color:#991b1b}.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-title,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__title,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__title,.three-d-studio[data-three-d-skin=light] .three-d-material-library-panel--p4 .three-d-material-library-panel-title,.three-d-studio[data-three-d-skin=light] .three-d-material-properties-popover--p4 .three-d-material-properties-title,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__bar,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__head,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__foot{background:var(--three-d-shell-surface-2)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-title small,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__title small,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__title small,.three-d-studio[data-three-d-skin=light] .three-d-material-library-panel--p4 .three-d-material-library-panel-title small,.three-d-studio[data-three-d-skin=light] .three-d-material-properties-popover--p4 .three-d-material-properties-title small,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__dot,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__body span{color:var(--three-d-shell-muted)!important}.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-title button,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__title button,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__title button,.three-d-studio[data-three-d-skin=light] .three-d-material-view-toggle,.three-d-studio[data-three-d-skin=light] .three-d-material-card-actions button,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__bar button,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__head button,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__actions button{border:1px solid var(--three-d-shell-border)!important;background:var(--three-d-shell-surface-3)!important;color:var(--three-d-shell-muted)!important}.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-title button:hover,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__title button:hover,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__title button:hover,.three-d-studio[data-three-d-skin=light] .three-d-material-view-toggle button:hover,.three-d-studio[data-three-d-skin=light] .three-d-material-card-actions button:hover,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__bar button:hover,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__head button:hover,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__actions button:hover{border-color:color-mix(in oklch,var(--three-d-shell-accent),var(--three-d-shell-border) 58%)!important;background:color-mix(in oklch,var(--three-d-shell-accent),white 88%)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-material-view-toggle button.is-active{background:color-mix(in oklch,var(--three-d-shell-accent),white 82%)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-floating-dock-title .three-d-panel-lock-toggle:disabled{opacity:.56}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport--p4,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__card,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog,.three-d-studio[data-three-d-skin=light] .three-d-material-library-panel--p4,.three-d-studio[data-three-d-skin=light] .three-d-material-properties-popover--p4{background:var(--three-d-shell-surface)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important;box-shadow:0 10px 26px #2d3a541a!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox--p4{background:#f4f6facc!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__body{background:var(--three-d-shell-surface-2)!important;border-color:var(--three-d-shell-border)!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__body img,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__card>img{background:var(--three-d-shell-bg)!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport-restore{border-color:var(--three-d-shell-border)!important;background:var(--three-d-shell-surface)!important;color:var(--three-d-shell-text)!important;box-shadow:0 10px 26px #2d3a541a!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__bar option{background:var(--three-d-shell-surface)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-snapshot-viewport__bar button.active,.three-d-studio[data-three-d-skin=light] .three-d-snapshot-lightbox__actions button.active,.three-d-studio[data-three-d-skin=light] .three-d-import-segment button.active,.three-d-studio[data-three-d-skin=light] .three-d-import-material button.active,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__actions button.primary{border-color:color-mix(in oklch,var(--three-d-shell-accent),var(--three-d-shell-border) 58%)!important;background:color-mix(in oklch,var(--three-d-shell-accent),white 86%)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__grid div,.three-d-studio[data-three-d-skin=light] .three-d-perf-panel__foot,.three-d-studio[data-three-d-skin=light] .three-d-import-summary,.three-d-studio[data-three-d-skin=light] .three-d-import-row input,.three-d-studio[data-three-d-skin=light] .three-d-import-row select,.three-d-studio[data-three-d-skin=light] .three-d-import-size-grid div{background:var(--three-d-shell-surface-2)!important;border-color:var(--three-d-shell-border)!important;color:var(--three-d-shell-text)!important}.three-d-studio[data-three-d-skin=light] .three-d-import-segment button,.three-d-studio[data-three-d-skin=light] .three-d-import-material button,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__actions button{border:1px solid var(--three-d-shell-border)!important;background:var(--three-d-shell-surface-3)!important;color:var(--three-d-shell-muted)!important}.three-d-studio[data-three-d-skin=light] .three-d-import-segment button:hover,.three-d-studio[data-three-d-skin=light] .three-d-import-material button:hover,.three-d-studio[data-three-d-skin=light] .three-d-import-dialog__actions button:hover{border-color:color-mix(in oklch,var(--three-d-shell-accent),var(--three-d-shell-border) 58%)!important;background:color-mix(in oklch,var(--three-d-shell-accent),white 88%)!important;color:var(--three-d-shell-text)!important}.three-d-coordinate-inspector{min-width:0;display:grid;color:var(--three-d-shell-text)}.three-d-object-tools{container-type:inline-size}.three-d-coordinate-heading{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 7px;border-bottom:1px solid var(--three-d-shell-border)}.three-d-coordinate-heading strong{font-size:13px;font-weight:800}.three-d-coordinate-reset{min-width:0;height:24px;padding:0 7px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--three-d-shell-border);border-radius:5px;background:var(--three-d-shell-surface-3);color:var(--three-d-shell-muted);cursor:pointer}.three-d-coordinate-reset:hover{border-color:var(--three-d-shell-accent);color:var(--three-d-shell-text)}.three-d-coordinate-section{min-width:0;border-bottom:1px solid var(--three-d-shell-border)}.three-d-coordinate-section>summary{min-height:30px;display:flex;align-items:center;gap:6px;padding:0 4px;color:var(--three-d-shell-text);font-size:11px;font-weight:800;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.three-d-coordinate-section>summary::-webkit-details-marker{display:none}.three-d-coordinate-section>summary:before{content:"›";width:10px;color:var(--three-d-shell-muted);font-size:15px;line-height:1;transform:rotate(0);transform-origin:center;transition:transform .12s ease}.three-d-coordinate-section[open]>summary:before{transform:rotate(90deg)}.three-d-coordinate-section-body{min-width:0;display:grid;gap:8px;padding:2px 4px 9px}.three-d-coordinate-grid{min-width:0;display:grid;gap:4px}.three-d-coordinate-row{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.three-d-coordinate-field{position:relative;min-width:0;display:grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:2px}.three-d-keyframe-button{width:12px;height:22px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--three-d-shell-muted);opacity:.72;cursor:pointer}.three-d-keyframe-button:hover:not(:disabled),.three-d-keyframe-button:focus-visible{color:var(--three-d-shell-text);opacity:1;outline:none}.three-d-keyframe-button.is-animated{color:var(--three-d-shell-accent);opacity:.88}.three-d-keyframe-button.is-keyed{color:var(--three-d-shell-accent);opacity:1}.three-d-keyframe-button.is-keyed svg{fill:currentColor}.three-d-keyframe-button:disabled{color:var(--three-d-shell-muted);opacity:.36;cursor:not-allowed}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell{min-width:0;min-height:24px;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:2px}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell>span{overflow:hidden;color:var(--three-d-shell-muted);font-size:10px;line-height:1;white-space:nowrap}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell input{width:100%;min-width:0;height:24px;padding:0 5px;border:1px solid var(--three-d-shell-border);border-radius:4px;background:var(--three-d-shell-surface-2);color:var(--three-d-shell-text);text-align:right;font-variant-numeric:tabular-nums}.three-d-inspector-p4 .three-d-coordinate-field.has-unit .three-d-number-cell input{padding-right:22px}.three-d-coordinate-unit{position:absolute;right:5px;top:50%;color:var(--three-d-shell-muted);font-size:9px;line-height:1;pointer-events:none;transform:translateY(-50%)}.three-d-coordinate-grid--frozen{opacity:.82}.three-d-coordinate-grid--frozen .three-d-number-cell input:disabled{opacity:1;color:var(--three-d-shell-muted);cursor:default}.three-d-coordinate-options{min-width:0;display:grid;grid-template-columns:minmax(102px,1fr) auto 26px;align-items:center;gap:8px}.three-d-coordinate-order,.three-d-coordinate-quaternion{min-width:0;display:inline-flex;align-items:center;gap:6px;color:var(--three-d-shell-muted);font-size:10px;white-space:nowrap}.three-d-coordinate-order select{min-width:68px;height:26px;padding:0 22px 0 7px;border:1px solid var(--three-d-shell-border);border-radius:5px;background:var(--three-d-shell-surface-2);color:var(--three-d-shell-text)}.three-d-coordinate-quaternion input{margin:0}.three-d-coordinate-options .three-d-scale-lock-toggle{width:26px;height:26px;min-width:26px;margin:0}.three-d-freeze-actions,.three-d-freeze-components{min-width:0;display:grid;gap:6px}.three-d-freeze-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.three-d-freeze-components{grid-template-columns:repeat(3,minmax(0,1fr))}.three-d-freeze-actions button,.three-d-freeze-components button{min-width:0;height:27px;padding:0 6px;border:1px solid var(--three-d-shell-border);border-radius:5px;background:var(--three-d-shell-surface-3);color:var(--three-d-shell-muted);font-size:10px;cursor:pointer}.three-d-freeze-actions button:hover:not(:disabled),.three-d-freeze-components button:hover{border-color:var(--three-d-shell-accent);color:var(--three-d-shell-text)}.three-d-freeze-actions button:disabled{opacity:.45;cursor:not-allowed}.three-d-viewport-object-info{position:absolute;z-index:13;top:46px;right:11px;max-width:calc(100% - 22px);display:grid;justify-items:end;gap:2px;color:#e2e8f0db;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px;line-height:1.25;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 8px rgba(0,0,0,.7);pointer-events:none}.three-d-viewport-object-info strong{max-width:100%;overflow:hidden;color:#f8fafc;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.three-d-viewport-object-info span{white-space:nowrap}@container (max-width: 300px){.three-d-coordinate-section-body{padding-inline:0}.three-d-coordinate-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.three-d-coordinate-field{grid-template-columns:8px minmax(0,1fr);gap:1px}.three-d-keyframe-button{width:8px}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell{grid-template-columns:20px minmax(0,1fr);gap:1px}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell>span{font-size:9px}.three-d-inspector-p4 .three-d-coordinate-field .three-d-number-cell input{padding-inline:3px;font-size:10px}.three-d-inspector-p4 .three-d-coordinate-field.has-unit .three-d-number-cell input{padding-right:16px}.three-d-coordinate-unit{right:3px;font-size:8px}}@media (max-width: 760px){.three-d-coordinate-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.three-d-coordinate-options{grid-template-columns:minmax(0,1fr) auto 26px}}.three-d-environment-file-input{display:none}.three-d-environment-library-trigger{min-width:0;min-height:28px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(96,165,250,.34);border-radius:6px;background:#60a5fa1f;color:var(--three-d-shell-text);font-size:11px;font-weight:800;cursor:pointer}.three-d-environment-library-trigger:hover{border-color:#60a5fa9e;background:#60a5fa33}.three-d-environment-library-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-inline-error{max-height:46px;padding:6px 8px;overflow:auto;border:1px solid rgba(248,113,113,.3);border-radius:6px;background:#7f1d1d2e;color:#fecaca;font-size:10px;line-height:1.35}.three-d-environment-quick-row{min-width:0;display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:center;gap:5px}.three-d-environment-page-button{width:26px;height:42px;min-width:26px;padding:0;display:inline-grid;place-items:center;border:1px solid rgba(139,160,210,.18);border-radius:6px;background:#ffffff0a;color:var(--three-d-shell-muted);cursor:pointer}.three-d-environment-page-button:hover:not(:disabled){border-color:#60a5fa8c;color:var(--three-d-shell-text)}.three-d-environment-page-button:disabled{opacity:.35;cursor:not-allowed}.three-d-environment-p4 .three-d-environment-p4-thumbs{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.three-d-environment-p4 .three-d-environment-p4-thumb{position:relative;width:100%;min-width:0;aspect-ratio:1.34;padding:0;display:grid;place-items:center;border-radius:6px;background:#0f172ab8;color:var(--three-d-shell-faint);overflow:hidden;cursor:pointer}.three-d-environment-p4 .three-d-environment-p4-thumb:disabled{cursor:wait}.three-d-environment-p4 .three-d-environment-p4-thumb img{width:100%;height:100%;display:block;object-fit:cover}.three-d-environment-p4 .three-d-environment-p4-thumb>span{position:absolute;right:3px;bottom:3px;left:3px;padding:2px 4px;overflow:hidden;border-radius:3px;background:#030712cc;color:#f8fafc;font-size:8px;line-height:1.2;text-align:left;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-p4 .three-d-environment-p4-thumb>b,.three-d-environment-p4 .three-d-environment-p4-thumb>i{position:absolute;top:3px;right:3px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#2563ebe6;color:#fff;font-style:normal}.three-d-environment-p4 .three-d-environment-p4-thumb.is-empty{cursor:default}.three-d-environment-p4-current{flex:0 0 auto;min-height:70px;grid-template-columns:50px minmax(0,1fr) 28px 28px;grid-template-areas:"preview label library clear" "copy copy copy copy"}.three-d-environment-current-preview{grid-area:preview;position:relative;width:50px;height:34px;padding:0;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(139,160,210,.18);border-radius:5px;background:#0f172ab8;color:var(--three-d-shell-faint);cursor:zoom-in}.three-d-environment-current-label{grid-area:label}.three-d-environment-current-preview:hover:not(:disabled){border-color:#60a5fa94}.three-d-environment-current-preview:disabled{cursor:default}.three-d-environment-current-preview-icon{position:absolute;right:2px;bottom:2px;width:16px;height:16px;padding:3px;border-radius:4px;background:#030712d1;color:#f8fafc;opacity:.78;transition:opacity .12s ease}.three-d-environment-current-preview:hover .three-d-environment-current-preview-icon{opacity:1}.three-d-environment-current-preview img{width:100%;height:100%;display:block;object-fit:cover}.three-d-environment-current-copy{grid-area:copy;min-width:0;display:grid;gap:3px;text-align:left}.three-d-environment-current-copy b,.three-d-environment-current-copy small{min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-current-copy small{color:var(--three-d-shell-faint);font-size:9px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}.three-d-environment-library-icon,.three-d-environment-clear{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;display:inline-grid;place-items:center;border:1px solid rgba(139,160,210,.18);border-radius:5px;background:#ffffff0a;color:var(--three-d-shell-muted);cursor:pointer}.three-d-environment-library-icon{grid-area:library}.three-d-environment-clear{grid-area:clear}.three-d-environment-library-icon:hover{border-color:#60a5fa94;background:#60a5fa24;color:#bfdbfe}.three-d-environment-clear:hover:not(:disabled){border-color:#f8717173;color:#fecaca}.three-d-environment-lightbox.three-d-snapshot-lightbox--p4{z-index:1250;background:#000000d1!important}.three-d-environment-lightbox .three-d-snapshot-lightbox__card{width:min(960px,92vw)}.three-d-environment-lightbox .three-d-snapshot-lightbox__card>img{width:100%;height:min(68vh,540px);object-fit:contain}.three-d-environment-lightbox .three-d-snapshot-lightbox__foot{flex-wrap:wrap}.three-d-environment-clear:disabled{opacity:.35;cursor:not-allowed}.three-d-environment-library-modal{position:fixed;z-index:1250;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px}.three-d-environment-library-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#030712c2;cursor:default}.three-d-environment-library-shell{position:relative;z-index:1;width:min(1040px,calc(100vw - 36px));height:min(760px,calc(100vh - 36px));min-height:420px;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);border:1px solid rgba(139,160,210,.26);border-radius:8px;background:#0b1220;color:#e5edf8;box-shadow:0 28px 80px #0000008c;overflow:hidden}.three-d-environment-library-header,.three-d-environment-library-toolbar,.three-d-environment-library-summary{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid rgba(139,160,210,.16)}.three-d-environment-library-title{min-width:0;display:flex;align-items:center;gap:9px}.three-d-environment-library-title>svg{flex:0 0 auto;color:#60a5fa}.three-d-environment-library-title span{min-width:0;display:grid;gap:2px}.three-d-environment-library-title strong,.three-d-environment-library-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-library-title strong{font-size:15px}.three-d-environment-library-title small{color:#94a3b8;font-size:11px}.three-d-environment-library-header-actions,.three-d-environment-library-tabs,.three-d-environment-library-card-actions{display:flex;align-items:center;gap:6px}.three-d-environment-library-header-actions button,.three-d-environment-library-tabs button,.three-d-environment-library-card-actions button,.three-d-environment-library-empty button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(139,160,210,.2);border-radius:6px;background:#ffffff0d;color:#a9b7ca;cursor:pointer}.three-d-environment-library-header-actions button{width:30px;padding:0}.three-d-environment-library-header-actions button:hover,.three-d-environment-library-tabs button:hover,.three-d-environment-library-tabs button.is-active,.three-d-environment-library-card-actions button:hover:not(:disabled),.three-d-environment-library-empty button:hover{border-color:#60a5fa94;background:#60a5fa29;color:#f8fafc}.three-d-environment-library-header-actions button.is-danger:hover,.three-d-environment-library-card-actions button.is-danger:hover{border-color:#f8717180;background:#7f1d1d40;color:#fecaca}.three-d-environment-library-tabs{flex-wrap:wrap}.three-d-environment-library-tabs button{padding:0 11px;font-size:11px;font-weight:800}.three-d-environment-library-search{width:min(300px,44vw);min-width:150px;min-height:32px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid rgba(139,160,210,.2);border-radius:6px;background:#0307126b;color:#7f91a8}.three-d-environment-library-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#e5edf8}.three-d-environment-library-error{max-height:54px;padding:7px 14px;overflow:auto;border-bottom:1px solid rgba(248,113,113,.22);background:#7f1d1d33;color:#fecaca;font-size:11px}.three-d-environment-library-summary{min-height:32px;padding-block:6px;justify-content:flex-end;color:#7f91a8;font-size:10px}.three-d-environment-library-grid{min-height:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-content:start;gap:10px;padding:12px;overflow:auto}.three-d-environment-library-card{min-width:0;display:grid;grid-template-rows:112px auto 30px;gap:8px;padding:8px;border:1px solid rgba(139,160,210,.16);border-radius:8px;background:#111a2a}.three-d-environment-library-card.is-active{border-color:#60a5fab8;box-shadow:inset 0 0 0 1px #60a5fa3d}.three-d-environment-library-thumb{position:relative;width:100%;height:112px;min-width:0;padding:0;display:grid;place-items:center;border:1px solid rgba(139,160,210,.16);border-radius:6px;background:#080d18;color:#64748b;overflow:hidden;cursor:pointer}.three-d-environment-library-thumb img{width:100%;height:100%;display:block;object-fit:cover}.three-d-environment-library-source,.three-d-environment-library-active,.three-d-environment-library-progress{position:absolute;min-height:20px;padding:0 6px;display:inline-flex;align-items:center;gap:4px;border-radius:4px;background:#030712d1;color:#f8fafc;font-size:9px;font-weight:800}.three-d-environment-library-source{top:5px;left:5px}.three-d-environment-library-active{top:5px;right:5px;background:#2563ebe6}.three-d-environment-library-progress{right:5px;bottom:5px}.three-d-environment-library-card-copy{min-width:0;display:grid;gap:3px}.three-d-environment-library-card-copy strong,.three-d-environment-library-card-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-environment-library-card-copy strong{font-size:12px}.three-d-environment-library-card-copy small{color:#7f91a8;font-size:10px}.three-d-environment-library-card-actions{display:grid;grid-template-columns:minmax(64px,1fr) 30px 30px 30px}.three-d-environment-library-card-actions button{min-width:0;height:30px;padding:0 6px;font-size:10px;font-weight:800}.three-d-environment-library-card-actions button:disabled,.three-d-environment-library-header-actions button:disabled{opacity:.45;cursor:not-allowed}.three-d-environment-library-empty{grid-column:1 / -1;min-height:220px;display:grid;place-items:center;align-content:center;gap:9px;border:1px dashed rgba(139,160,210,.2);border-radius:8px;color:#7f91a8}.three-d-environment-library-empty strong{font-size:12px}.three-d-environment-library-empty button{padding:0 10px}@media (max-width: 760px){.three-d-environment-library-modal{padding:8px}.three-d-environment-library-shell{width:calc(100vw - 16px);height:calc(100vh - 16px);min-height:0}.three-d-environment-library-toolbar{align-items:stretch;flex-direction:column}.three-d-environment-library-search{width:100%}.three-d-environment-library-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.three-d-timeline-toggle.is-active{border-color:color-mix(in srgb,var(--three-d-shell-accent) 68%,var(--three-d-shell-border) 32%)!important;background:color-mix(in srgb,var(--three-d-shell-accent) 18%,transparent)!important;color:var(--three-d-shell-text)!important}.three-d-center-stack{--three-d-animation-timeline-height: 176px}.three-d-center-stack--timeline-open .three-d-center-viewport{min-height:180px}.three-d-center-stack--timeline-open .three-d-bottom-rail{max-height:calc(100% - var(--three-d-animation-timeline-height) - 210px)}.three-d-animation-timeline{flex:0 0 var(--three-d-animation-timeline-height);width:100%;height:var(--three-d-animation-timeline-height);min-width:0;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--three-d-shell-border);background:color-mix(in srgb,var(--three-d-shell-surface) 92%,var(--three-d-shell-bg) 8%);color:var(--three-d-shell-text);overflow:hidden}.three-d-animation-timeline__header{flex:0 0 38px;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px;border-bottom:1px solid var(--three-d-shell-border);background:var(--three-d-shell-surface-2)}.three-d-animation-timeline__title,.three-d-animation-timeline__summary{min-width:0;display:inline-flex;align-items:center}.three-d-animation-timeline__title{gap:7px;color:var(--three-d-shell-text);white-space:nowrap}.three-d-animation-timeline__title svg{flex:0 0 auto;color:var(--three-d-shell-accent)}.three-d-animation-timeline__title strong{font-size:12px;letter-spacing:0}.three-d-animation-timeline__summary{justify-content:flex-end;color:var(--three-d-shell-muted);font-size:10px;white-space:nowrap;overflow:hidden}.three-d-animation-timeline__summary span{padding:0 7px}.three-d-animation-timeline__summary span+span{border-left:1px solid var(--three-d-shell-border)}.three-d-animation-timeline__controls{flex:0 0 42px;min-width:0;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid var(--three-d-shell-border);background:color-mix(in srgb,var(--three-d-shell-surface-2) 92%,var(--three-d-shell-bg) 8%)}.three-d-animation-timeline__controls-inner{min-width:720px;height:41px;display:flex;align-items:center;gap:12px;padding:0 10px}.three-d-animation-timeline__transport,.three-d-animation-timeline__fields{display:flex;align-items:center}.three-d-animation-timeline__transport{flex:0 0 auto;gap:2px}.three-d-animation-timeline__transport button{width:27px;height:27px;min-width:27px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-animation-timeline__transport button:hover:not(:disabled),.three-d-animation-timeline__transport button:focus-visible{border-color:var(--three-d-shell-border-strong);background:var(--three-d-shell-surface-3);color:var(--three-d-shell-text);outline:none}.three-d-animation-timeline__transport button:disabled{opacity:.32;cursor:not-allowed}.three-d-animation-timeline__transport .three-d-animation-timeline__play{border-color:color-mix(in srgb,var(--three-d-shell-accent) 58%,var(--three-d-shell-border) 42%);background:color-mix(in srgb,var(--three-d-shell-accent) 18%,transparent);color:var(--three-d-shell-text)}.three-d-animation-timeline__fields{flex:1 1 auto;justify-content:flex-end;gap:9px}.three-d-animation-timeline__fields label{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;color:var(--three-d-shell-muted);font-size:9px;white-space:nowrap}.three-d-animation-timeline__fields input[type=number],.three-d-animation-timeline__fields select{height:25px;border:1px solid var(--three-d-shell-border);border-radius:3px;background:var(--three-d-shell-bg);color:var(--three-d-shell-text);font:10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.three-d-animation-timeline__fields input[type=number]{width:58px;padding:0 4px}.three-d-animation-timeline__fields select{width:62px;padding:0 4px}.three-d-animation-timeline__fields input:focus,.three-d-animation-timeline__fields select:focus{border-color:var(--three-d-shell-accent);outline:none}.three-d-animation-timeline__fields .three-d-animation-timeline__loop{gap:4px;cursor:pointer}.three-d-animation-timeline__loop input{width:13px;height:13px;margin:0;accent-color:var(--three-d-shell-accent)}.three-d-animation-timeline__body{flex:1 1 auto;min-width:0;min-height:0;overflow:auto}.three-d-animation-timeline__content{min-width:720px;min-height:100%;display:grid;grid-template-columns:190px minmax(330px,1fr)}.three-d-animation-timeline__tracks{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:6px 12px;border-right:1px solid var(--three-d-shell-border);background:color-mix(in srgb,var(--three-d-shell-surface-2) 84%,transparent)}.three-d-animation-timeline__tracks strong,.three-d-animation-timeline__tracks span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-timeline__tracks strong{font-size:11px}.three-d-animation-timeline__tracks span{color:var(--three-d-shell-muted);font-size:10px}.three-d-animation-timeline__tracks span.is-warning{color:#eab308}.three-d-animation-timeline__stage{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--three-d-shell-bg);overflow:hidden}.three-d-animation-timeline__ruler{position:relative;flex:0 0 30px;border-bottom:1px solid var(--three-d-shell-border);color:var(--three-d-shell-faint);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px}.three-d-animation-timeline__ruler-track{position:relative;width:100%;height:100%;cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none}.three-d-animation-timeline__ruler-track:focus-visible{outline:1px solid var(--three-d-shell-accent);outline-offset:-1px}.three-d-animation-timeline__ruler-track span{position:absolute;top:6px;transform:translate(-50%);line-height:12px}.three-d-animation-timeline__ruler-track span:first-of-type{transform:none}.three-d-animation-timeline__ruler-track span:last-of-type{transform:translate(-100%)}.three-d-animation-timeline__ruler-track span:after{content:"";position:absolute;left:50%;top:14px;width:1px;height:6px;background:var(--three-d-shell-border-strong)}.three-d-animation-timeline__ruler-track span:first-of-type:after{left:0}.three-d-animation-timeline__ruler-track span:last-of-type:after{left:auto;right:0}.three-d-animation-timeline__playhead-cap{position:absolute;top:0;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid var(--three-d-shell-accent);transform:translate(-5px);pointer-events:none}.three-d-animation-timeline__playhead-line{position:absolute;z-index:2;top:30px;bottom:0;width:1px;background:var(--three-d-shell-accent);transform:translate(-1px);pointer-events:none}.three-d-animation-timeline__lane{position:relative;flex:1 1 auto;min-height:68px;overflow:hidden}.three-d-animation-timeline__lane:before{content:"";position:absolute;left:10px;right:10px;top:46px;height:1px;background:var(--three-d-shell-border)}.three-d-animation-timeline__lane-label{position:absolute;left:10px;right:10px;top:7px;overflow:hidden;color:var(--three-d-shell-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-timeline__key{position:absolute;z-index:3;top:36px;width:19px;height:21px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:color-mix(in srgb,var(--three-d-shell-accent) 72%,var(--three-d-shell-muted) 28%);transform:translate(-50%);cursor:pointer}.three-d-animation-timeline__key:hover,.three-d-animation-timeline__key:focus-visible,.three-d-animation-timeline__key.is-current{color:var(--three-d-shell-accent);outline:none}.three-d-animation-timeline__key.is-current svg{fill:currentColor}.three-d-animation-timeline__empty{position:relative;flex:1 1 auto;min-height:68px;display:grid;place-items:center;color:var(--three-d-shell-faint);font-size:10px}.three-d-animation-timeline__empty:before{content:"";position:absolute;left:10px;right:10px;top:50%;height:1px;background:var(--three-d-shell-border)}.three-d-animation-timeline__empty span{position:relative;z-index:3;padding:0 9px;background:var(--three-d-shell-bg)}@media (max-width: 1120px){.three-d-animation-timeline__content{grid-template-columns:160px minmax(320px,1fr)}.three-d-animation-timeline__summary span:first-child{display:none}}@media (max-height: 820px){.three-d-center-stack{--three-d-animation-timeline-height: 144px}.three-d-animation-timeline__header{flex-basis:34px}.three-d-animation-timeline__controls{flex-basis:38px}.three-d-animation-timeline__controls-inner{height:37px}.three-d-animation-timeline__empty{min-height:42px}}.three-d-animation-timeline__summary .is-warning{color:#eab308}.three-d-animation-timeline__controls-inner{min-width:1180px;gap:8px}.three-d-animation-timeline__fields{flex:0 0 auto;justify-content:flex-start;gap:7px}.three-d-animation-timeline__scope,.three-d-animation-timeline__key-editor,.three-d-animation-timeline__zoom{flex:0 0 auto;display:inline-flex;align-items:center}.three-d-animation-timeline__scope{height:25px;padding:2px;border:1px solid var(--three-d-shell-border);border-radius:4px;background:var(--three-d-shell-bg)}.three-d-animation-timeline__scope button{height:19px;padding:0 7px;border:0;border-radius:2px;background:transparent;color:var(--three-d-shell-muted);font-size:9px;cursor:pointer}.three-d-animation-timeline__scope button.is-active{background:var(--three-d-shell-surface-3);color:var(--three-d-shell-text)}.three-d-animation-timeline__scope button:disabled{opacity:.35;cursor:not-allowed}.three-d-animation-timeline__key-editor{gap:5px;padding-left:8px;border-left:1px solid var(--three-d-shell-border)}.three-d-animation-timeline__key-editor label{display:inline-flex;align-items:center;gap:4px;color:var(--three-d-shell-muted);font-size:9px;white-space:nowrap}.three-d-animation-timeline__key-editor input{width:58px;height:25px;padding:0 4px;border:1px solid var(--three-d-shell-border);border-radius:3px;background:var(--three-d-shell-bg);color:var(--three-d-shell-text);font:10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.three-d-animation-timeline__key-editor input:focus{border-color:var(--three-d-shell-accent);outline:none}.three-d-animation-timeline__key-editor input:disabled{opacity:.38}.three-d-animation-timeline__key-editor>button{width:25px;height:25px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-animation-timeline__key-editor>button:hover:not(:disabled),.three-d-animation-timeline__key-editor>button:focus-visible{border-color:var(--three-d-shell-border-strong);background:var(--three-d-shell-surface-3);color:#ef4444;outline:none}.three-d-animation-timeline__key-editor>button:disabled{opacity:.3;cursor:not-allowed}.three-d-animation-timeline__zoom{gap:4px;min-width:96px;color:var(--three-d-shell-muted)}.three-d-animation-timeline__zoom input{width:68px;accent-color:var(--three-d-shell-accent)}.three-d-animation-timeline__body{scrollbar-gutter:stable}.three-d-animation-timeline__content{position:relative;min-width:calc(210px + var(--three-d-timeline-canvas-width));min-height:calc(30px + var(--three-d-timeline-rows-height));display:grid;grid-template-columns:210px var(--three-d-timeline-canvas-width);align-items:start}.three-d-animation-timeline__tree-column,.three-d-animation-timeline__stage-column{min-height:calc(30px + var(--three-d-timeline-rows-height))}.three-d-animation-timeline__tree-column{position:sticky;z-index:9;left:0;width:210px;border-right:1px solid var(--three-d-shell-border);background:var(--three-d-shell-surface-2)}.three-d-animation-timeline__corner,.three-d-animation-timeline__ruler-track{position:sticky;z-index:8;top:0;height:30px;border-bottom:1px solid var(--three-d-shell-border)}.three-d-animation-timeline__corner{left:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px;background:var(--three-d-shell-surface-3)}.three-d-animation-timeline__corner strong,.three-d-animation-timeline__corner span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-timeline__corner strong{color:var(--three-d-shell-text);font-size:10px}.three-d-animation-timeline__corner span{color:var(--three-d-shell-faint);font-size:9px}.three-d-animation-timeline__tree-rows,.three-d-animation-timeline__stage-rows{position:relative;height:var(--three-d-timeline-rows-height)}.three-d-animation-timeline__tree-row{position:absolute;left:0;right:0;height:26px;min-width:0;display:flex;align-items:center;border:0;border-bottom:1px solid color-mix(in srgb,var(--three-d-shell-border) 68%,transparent);background:color-mix(in srgb,var(--three-d-shell-surface-2) 92%,var(--three-d-shell-bg) 8%);color:var(--three-d-shell-muted);font-size:10px}.three-d-animation-timeline__tree-row.is-object{background:color-mix(in srgb,var(--three-d-shell-surface-3) 78%,var(--three-d-shell-surface-2) 22%)}.three-d-animation-timeline__tree-row.is-object.is-selected{box-shadow:inset 2px 0 0 var(--three-d-shell-accent);color:var(--three-d-shell-text)}.three-d-animation-timeline__tree-row.is-group{padding-left:14px}.three-d-animation-timeline__tree-row.is-channel{width:100%;padding:0 8px 0 46px;text-align:left;cursor:pointer}.three-d-animation-timeline__tree-row.is-channel:hover:not(:disabled),.three-d-animation-timeline__tree-row.is-channel:focus-visible{background:var(--three-d-shell-surface-3);color:var(--three-d-shell-text);outline:none}.three-d-animation-timeline__tree-row.is-orphan,.three-d-animation-timeline__tree-row:disabled{opacity:.52}.three-d-animation-timeline__expand,.three-d-animation-timeline__row-delete{flex:0 0 auto;display:grid;place-items:center;padding:0;border:0;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-animation-timeline__expand{width:24px;height:25px}.three-d-animation-timeline__row-delete{width:26px;height:25px;opacity:0}.three-d-animation-timeline__tree-row:hover .three-d-animation-timeline__row-delete,.three-d-animation-timeline__row-delete:focus-visible,.three-d-animation-timeline__tree-row.is-orphan .three-d-animation-timeline__row-delete{opacity:1}.three-d-animation-timeline__row-delete:hover,.three-d-animation-timeline__row-delete:focus-visible{color:#ef4444;outline:none}.three-d-animation-timeline__tree-label{flex:1 1 auto;min-width:0;height:25px;display:flex;align-items:center;gap:6px;padding:0 3px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.three-d-animation-timeline__tree-label span,.three-d-animation-timeline__tree-label small,.three-d-animation-timeline__tree-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-timeline__tree-label span{flex:1 1 auto}.three-d-animation-timeline__tree-label small{flex:0 0 auto;color:#eab308;font-size:8px}.three-d-animation-timeline__tree-label:disabled{cursor:default}.three-d-animation-timeline__tree-text{min-width:0}.three-d-animation-timeline__stage-column{position:relative;width:var(--three-d-timeline-canvas-width);background:var(--three-d-shell-bg)}.three-d-animation-timeline__ruler-track{width:var(--three-d-timeline-canvas-width);background:color-mix(in srgb,var(--three-d-shell-surface-2) 92%,var(--three-d-shell-bg) 8%)}.three-d-animation-timeline__row-track{position:absolute;left:0;right:0;height:26px;border-bottom:1px solid color-mix(in srgb,var(--three-d-shell-border) 68%,transparent);background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(10% - 1px),color-mix(in srgb,var(--three-d-shell-border) 42%,transparent) calc(10% - 1px),color-mix(in srgb,var(--three-d-shell-border) 42%,transparent) 10%)}.three-d-animation-timeline__row-track.is-object{background-color:color-mix(in srgb,var(--three-d-shell-surface-2) 54%,transparent)}.three-d-animation-timeline__row-track.is-group{background-color:color-mix(in srgb,var(--three-d-shell-surface-2) 30%,transparent)}.three-d-animation-timeline__row-track.is-orphan{opacity:.45}.three-d-animation-timeline__row-playhead{position:absolute;z-index:2;top:0;bottom:0;width:1px;background:color-mix(in srgb,var(--three-d-shell-accent) 78%,transparent);transform:translate(-1px);pointer-events:none}.three-d-animation-timeline__key{top:2px;width:20px;height:22px;touch-action:none}.three-d-animation-timeline__key.is-selected,.three-d-animation-timeline__key.is-dragging{color:var(--three-d-shell-accent)}.three-d-animation-timeline__key.is-selected svg{fill:currentColor}.three-d-animation-timeline__key.is-dragging{z-index:5;cursor:grabbing;filter:drop-shadow(0 0 3px color-mix(in srgb,var(--three-d-shell-accent) 72%,transparent))}.three-d-animation-timeline__view-switch{flex:0 0 auto;height:25px;display:inline-flex;align-items:center;padding:2px;border:1px solid var(--three-d-shell-border);border-radius:4px;background:var(--three-d-shell-bg)}.three-d-animation-timeline__view-switch button{width:25px;height:19px;display:grid;place-items:center;padding:0;border:0;border-radius:2px;background:transparent;color:var(--three-d-shell-muted);cursor:pointer}.three-d-animation-timeline__view-switch button:hover,.three-d-animation-timeline__view-switch button:focus-visible,.three-d-animation-timeline__view-switch button.is-active{background:var(--three-d-shell-surface-3);color:var(--three-d-shell-text);outline:none}.three-d-animation-timeline__controls-inner{min-width:1320px}.three-d-animation-timeline__key-editor select{width:64px;height:25px;padding:0 3px;border:1px solid var(--three-d-shell-border);border-radius:3px;background:var(--three-d-shell-bg);color:var(--three-d-shell-text);font-size:9px}.three-d-animation-timeline__key-editor select:focus{border-color:var(--three-d-shell-accent);outline:none}.three-d-animation-timeline__key-editor select:disabled{opacity:.38}.three-d-animation-timeline__tree-row.is-channel.is-selected{box-shadow:inset 2px 0 0 var(--three-d-shell-accent);background:var(--three-d-shell-surface-3);color:var(--three-d-shell-text)}.three-d-animation-timeline__key:after{content:"";position:absolute;bottom:2px;width:3px;height:3px;border-radius:50%;background:currentColor}.three-d-animation-timeline__key[data-easing=linear]:after{display:none}.three-d-animation-timeline__key[data-easing=ease-in]:after{left:2px}.three-d-animation-timeline__key[data-easing=ease-out]:after{right:2px}.three-d-animation-timeline__key[data-easing=ease-in-out]:after{left:50%;transform:translate(-50%)}.three-d-animation-timeline__curve-view{flex:1 1 auto;min-width:0;min-height:0;display:grid;grid-template-columns:210px minmax(0,1fr);background:var(--three-d-shell-bg);overflow:hidden}.three-d-animation-timeline__curve-legend{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:7px 10px;border-right:1px solid var(--three-d-shell-border);background:var(--three-d-shell-surface-2)}.three-d-animation-timeline__curve-legend strong,.three-d-animation-timeline__curve-legend span,.three-d-animation-timeline__curve-legend small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.three-d-animation-timeline__curve-legend strong{color:var(--three-d-shell-text);font-size:10px}.three-d-animation-timeline__curve-legend span{color:var(--three-d-shell-accent);font:10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.three-d-animation-timeline__curve-legend small{color:var(--three-d-shell-faint);font-size:8px}.three-d-animation-timeline__curve-graph{min-width:0;min-height:0;overflow:hidden}.three-d-animation-timeline__curve-graph svg{width:100%;height:100%;display:block}.three-d-animation-timeline__curve-grid{stroke:color-mix(in srgb,var(--three-d-shell-border) 68%,transparent);stroke-width:1;vector-effect:non-scaling-stroke}.three-d-animation-timeline__curve-path{fill:none;stroke:var(--three-d-shell-accent);stroke-width:2;vector-effect:non-scaling-stroke}.three-d-animation-timeline__curve-playhead{stroke:color-mix(in srgb,var(--three-d-shell-accent) 76%,transparent);stroke-width:1;vector-effect:non-scaling-stroke}.three-d-animation-timeline__curve-key{fill:var(--three-d-shell-bg);stroke:color-mix(in srgb,var(--three-d-shell-accent) 78%,var(--three-d-shell-text) 22%);stroke-width:1.5;vector-effect:non-scaling-stroke}.three-d-animation-timeline__curve-key.is-selected{fill:var(--three-d-shell-accent);stroke:var(--three-d-shell-text)}.three-d-animation-timeline__curve-empty{grid-column:1 / -1;display:grid;place-items:center;color:var(--three-d-shell-faint);font-size:10px;background-image:linear-gradient(to bottom,transparent calc(50% - 1px),color-mix(in srgb,var(--three-d-shell-border) 58%,transparent) 50%,transparent calc(50% + 1px))}.three-d-canvas-node-wrap{isolation:isolate}.three-d-canvas-node{isolation:isolate;position:relative;overflow:visible;border:1px solid rgba(148,163,184,.24);border-radius:10px;background:#111827;box-shadow:0 18px 50px #00000047;color:#f8fafc}.three-d-canvas-node.is-selected{border-color:#38bdf8db;box-shadow:0 0 0 2px #38bdf82e,0 20px 56px #0000005c}.three-d-canvas-node .node-handle{z-index:3}.three-d-canvas-node__preview{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;border:0;background:linear-gradient(135deg,#0f172a5c,#14532d2e),repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 8px,transparent 8px 16px);color:#cbd5e1;cursor:default}.three-d-canvas-node__preview img{display:block;width:100%;height:100%;object-fit:cover}.three-d-canvas-node__empty{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#93c5fd;font-size:12px}.three-d-canvas-node__actions{position:absolute;left:50%;bottom:calc(100% + 10px);z-index:4;transform:translate(-50%);display:flex;width:max-content;max-width:min(calc(100vw - 32px),1000px);align-items:center;justify-content:center;gap:8px;overflow:visible}.three-d-canvas-node__snapshot-count{flex:0 0 auto;min-width:48px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:#1e293be0;color:#cbd5e1;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.three-d-editor-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#020617;box-shadow:none}.three-d-editor-modal__studio{flex:1 1 auto;min-height:0}@media (max-width: 760px){.three-d-editor-modal{top:0;right:0;bottom:0;left:0;border-radius:0}}.three-d-close-dialog-backdrop{position:absolute;top:44px;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:24px;background:#0206179e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.three-d-close-dialog{width:min(430px,100%);border:1px solid rgba(125,211,252,.24);border-radius:10px;background:#0f172a;box-shadow:0 24px 70px #0000008c;color:#e2e8f0;overflow:hidden}.three-d-close-dialog__head{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:18px 18px 14px;border-bottom:1px solid rgba(148,163,184,.16)}.three-d-close-dialog__icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(125,211,252,.34);border-radius:8px;background:#0ea5e924;color:#bae6fd}.three-d-close-dialog h2{margin:0;color:#f8fafc;font-size:15px;line-height:1.3}.three-d-close-dialog p{margin:5px 0 0;color:#94a3b8;font-size:12px;line-height:1.45}.three-d-close-dialog__error{margin:12px 18px 0;padding:9px 10px;border:1px solid rgba(248,113,113,.35);border-radius:7px;background:#7f1d1d3d;color:#fecaca;font-size:12px}.three-d-close-dialog__actions{display:flex;justify-content:flex-end;gap:8px;padding:16px 18px 18px}.three-d-close-dialog__button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:7px;padding:0 12px;font-size:12px;cursor:pointer}.three-d-close-dialog__button.ghost{border:1px solid rgba(148,163,184,.22);background:#0f172abf;color:#cbd5e1}.three-d-close-dialog__button.primary{border:1px solid rgba(125,211,252,.42);background:#0e7490;color:#f0f9ff}.three-d-close-dialog__button:hover:not(:disabled){border-color:#7dd3fc9e;color:#fff}.three-d-close-dialog__button:disabled{opacity:.55;cursor:not-allowed}.three-d-canvas-node{background:color-mix(in srgb,var(--canvas-node-bg) 88%,var(--canvas-bg) 12%)!important;border-color:color-mix(in srgb,var(--canvas-node-border) 72%,var(--canvas-border) 28%)!important;color:var(--canvas-text)!important;box-shadow:0 18px 42px color-mix(in srgb,var(--canvas-bg) 46%,transparent)!important}.three-d-canvas-node.is-selected{border-color:var(--canvas-selection)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--canvas-selection) 48%,transparent),0 22px 48px color-mix(in srgb,var(--canvas-bg) 52%,transparent)!important}.three-d-canvas-node__preview,.three-d-canvas-node__empty{background:color-mix(in srgb,var(--canvas-panel-soft) 78%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 60%,transparent)!important;color:var(--canvas-text)!important}.three-d-canvas-node-wrap .titan-node-topline__title,.three-d-canvas-node-wrap .titan-node-topline__idnum{color:var(--canvas-text)!important}.three-d-canvas-node__empty{color:var(--canvas-muted)!important}.three-d-canvas-node__snapshot-count,.three-d-close-dialog__button{background:color-mix(in srgb,var(--canvas-panel-soft) 84%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 62%,transparent)!important;color:var(--canvas-text)!important}.three-d-close-dialog__button:hover:not(:disabled){background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft) 82%)!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-text)!important}.three-d-editor-modal,.three-d-close-dialog-backdrop{background:color-mix(in srgb,var(--canvas-bg) 74%,transparent)!important}.three-d-close-dialog{background:color-mix(in srgb,var(--canvas-panel) 96%,transparent)!important;border-color:color-mix(in srgb,var(--canvas-border) 68%,transparent)!important;color:var(--canvas-text)!important}.three-d-close-dialog h2{color:var(--canvas-text)!important}.three-d-close-dialog p{color:var(--canvas-muted)!important}.three-d-close-dialog__icon,.three-d-close-dialog__button.primary{background:linear-gradient(135deg,var(--canvas-accent),var(--canvas-edge))!important;border-color:color-mix(in srgb,var(--canvas-accent) 54%,var(--canvas-border) 46%)!important;color:var(--canvas-bg)!important}.three-d-close-dialog__error{background:color-mix(in srgb,var(--canvas-danger) 16%,var(--canvas-panel-soft) 84%)!important;border-color:color-mix(in srgb,var(--canvas-danger) 48%,var(--canvas-border) 52%)!important;color:var(--canvas-danger)!important}.world-model-editor{display:grid;gap:12px;width:100%;min-width:0}.world-model-editor__hint{color:var(--canvas-muted, rgba(255,255,255,.58));font-size:11px}.world-model-editor button.world-model-editor__generate{display:inline-flex;align-items:center;justify-content:center;justify-self:end;gap:6px;border:1px solid color-mix(in srgb,var(--canvas-accent) 46%,var(--canvas-border));border-radius:6px;padding:7px 9px;background:color-mix(in srgb,var(--canvas-accent) 16%,var(--canvas-panel-soft));color:var(--canvas-text);cursor:pointer}.world-model-editor button.world-model-editor__generate:hover{background:color-mix(in srgb,var(--canvas-accent) 24%,var(--canvas-panel-soft))}.world-model-editor button.world-model-editor__generate:focus-visible{outline:2px solid color-mix(in srgb,var(--canvas-accent) 72%,transparent);outline-offset:2px}.world-model-editor button.world-model-editor__generate:disabled{cursor:not-allowed;opacity:.45}.world-model-editor__recovery-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.world-model-editor button.world-model-editor__restart{background:color-mix(in srgb,var(--canvas-panel-soft) 88%,var(--canvas-text) 12%);border-color:var(--canvas-border)}.world-model-editor__status{display:flex;align-items:center;gap:6px;min-height:18px;color:var(--canvas-muted, rgba(255,255,255,.64));font-size:12px}.world-model-editor__hq{display:grid;gap:7px;padding-top:10px;border-top:1px solid var(--canvas-border)}.world-model-editor__hq-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--canvas-text);font-size:12px;font-weight:600}.world-model-editor__hq-head span:last-child{color:var(--canvas-muted);font-size:11px;font-weight:500}.world-model-editor__hq-head span.is-unavailable{color:color-mix(in srgb,#ef4444 76%,var(--canvas-text))}.world-model-editor__hq-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.world-model-editor__hq-variants button{min-width:0;border:1px solid var(--canvas-border);border-radius:6px;padding:6px 8px;background:color-mix(in srgb,var(--canvas-panel-soft) 90%,var(--canvas-text) 10%);color:var(--canvas-text);font-size:11px;cursor:pointer}.world-model-editor__hq-variants button.is-active{border-color:color-mix(in srgb,var(--canvas-accent) 62%,var(--canvas-border));background:color-mix(in srgb,var(--canvas-accent) 20%,var(--canvas-panel-soft))}.world-model-editor__hq-variants button:disabled{cursor:not-allowed;opacity:.45}.world-model-editor__hq-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:31px;color:var(--canvas-muted);font-size:11px}.world-model-editor__hq-actions>span{min-width:0;overflow-wrap:anywhere}.world-model-editor__hq-actions>span.is-error{color:color-mix(in srgb,#ef4444 76%,var(--canvas-text))}.world-model-editor__spin{animation:world-model-spin 1s linear infinite}@keyframes world-model-spin{to{transform:rotate(360deg)}}@media (max-width: 720px){.world-model-editor .titan-node-editor__actions--composer{flex-wrap:wrap}.world-model-editor .titan-node-editor__action-cluster--composer-left{flex:1 1 100%;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.world-model-editor .titan-node-editor__action-cluster--composer-right{flex:1 1 100%;width:100%;justify-content:flex-end}.world-model-editor .titan-node-editor__menu-wrap:has(.titan-node-editor__menu-button--modelchip){grid-column:1}.world-model-editor .titan-node-editor__menu-wrap:has(.titan-node-editor__menu-button--summary){grid-column:2}.world-model-editor .titan-node-editor__menu-button--modelchip,.world-model-editor .titan-node-editor__menu-button--summary{width:100%;min-width:0}.world-model-editor .titan-node-editor__menu-popover--video-settings{width:min(344px,calc(100vw - 32px));min-width:0;max-width:calc(100vw - 32px)}}.titan-video-ref-marks{position:absolute;left:3px;top:3px;right:3px;z-index:2;display:flex;flex-wrap:wrap;align-items:flex-start;gap:2px;pointer-events:none}.titan-video-ref-marks>span{box-sizing:border-box;height:14px;padding:0 4px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:9px;line-height:1;font-weight:600;white-space:nowrap}.titan-video-ref-marks__index{min-width:14px;color:#fff;background:#0a0c10c7}.titan-video-ref-marks__frame{color:#0b1017;background:color-mix(in srgb,var(--canvas-accent) 88%,#fff)}.titan-video-ref-marks__flag{color:#fff;background:#ef4444e0}.titan-node-editor__reference-card.is-unused .titan-node-editor__reference-preview,.titan-node-editor__reference-card.is-unused .titan-node-editor__reference-audio-glyph{opacity:.4;filter:grayscale(1)}.titan-video-ref-hints{display:flex;flex-direction:column;gap:2px;padding:2px 6px;color:#ef4444;font-size:11px;line-height:1.35}.titan-node-editor__reference-row--visual-media{gap:8px}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-section-heading{flex-wrap:wrap;justify-content:flex-start;gap:2px 6px;color:var(--canvas-text)}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-section-heading small{color:var(--canvas-muted)}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-section-heading small+span:before{content:"·";margin-right:6px;color:var(--canvas-muted);font-weight:400}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-section-heading:empty{display:none}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-list--visual-media{flex-wrap:nowrap;align-items:flex-start;overflow-x:auto;overflow-y:hidden;padding:8px 8px 20px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--canvas-accent) 42%,transparent) transparent}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-list--visual-media.is-replace-menu-open{overflow:visible}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-list--visual-media:empty{display:none}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card{--titan-ref-tile: 64px;flex:0 0 auto;width:var(--titan-ref-tile);height:var(--titan-ref-tile);padding:0;cursor:pointer}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-preview{display:block;border-radius:inherit}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--video .titan-node-editor__reference-preview{object-fit:cover;background:#111318}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--audio,.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--text{flex-direction:column;gap:2px;background:color-mix(in srgb,var(--canvas-panel-soft) 88%,transparent);border:1px solid color-mix(in srgb,var(--canvas-border) 64%,transparent);color:var(--canvas-text)}.titan-node-editor__reference-audio-probe{display:none}.titan-node-editor__reference-audio-glyph,.titan-node-editor__reference-text-glyph{display:inline-flex;align-items:center;justify-content:center;color:var(--canvas-accent);font-size:11px;font-weight:700}.titan-node-editor__reference-audio-duration{font-size:10px;line-height:12px;font-weight:600;color:var(--canvas-muted)}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--text.is-active{box-shadow:0 0 0 2px color-mix(in srgb,var(--canvas-accent) 56%,transparent)}.titan-node-editor__reference-row--visual-media .titan-node-editor__inject-pos-btn--corner{position:absolute;left:-6px;bottom:-6px;width:20px;height:20px;border-radius:999px;background:#fff;color:#111318;border:1px solid rgba(0,0,0,.12);box-shadow:0 1px 3px #00000047;z-index:4}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-zoom,.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-replace{background:#fff;color:#111318;border:1px solid rgba(0,0,0,.12);box-shadow:0 1px 3px #00000047}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-remove{display:none;background:#ef4444;color:#fff;border:1px solid rgba(255,255,255,.85);box-shadow:0 1px 3px #00000047;cursor:pointer;z-index:4}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--thumb:hover .titan-node-editor__reference-zoom,.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--thumb:hover .titan-node-editor__reference-replace,.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-card--thumb:hover .titan-node-editor__reference-remove{display:inline-flex}.titan-node-editor__reference-row--visual-media .titan-node-editor__reference-replace-menu{bottom:calc(var(--titan-ref-tile) + 10px)}.titan-node-editor__reference-row--visual-media .titan-node-editor__stale-chip{flex:0 0 auto;align-self:center}.image-reverse-prompt{position:relative;display:inline-flex;align-items:center}.image-reverse-prompt__panel{position:fixed;box-sizing:border-box;height:78px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content max-content;grid-template-rows:30px 18px;width:min(560px,calc(100vw - 16px));align-items:center;column-gap:6px;row-gap:8px;padding:8px 10px;border:1px solid var(--canvas-border);border-radius:10px;background:var(--canvas-panel);color:var(--canvas-text);box-shadow:0 4px 16px color-mix(in srgb,var(--canvas-text) 14%,transparent);white-space:nowrap;z-index:calc(var(--z-node-overlay, 100) + 10);pointer-events:auto;font-family:inherit}.image-reverse-prompt__select{width:100%;min-width:0;height:30px;flex-shrink:0;padding:4px 6px;font:inherit;font-size:12px;border:1px solid var(--canvas-border);border-radius:4px;background:var(--canvas-panel-soft);color:var(--canvas-text)}.image-reverse-prompt__select option{background:var(--canvas-panel);color:var(--canvas-text)}.image-reverse-prompt__panel .image-reverse-prompt__submit{min-width:56px;padding:5px 10px;border:1px solid var(--canvas-accent)!important;border-radius:5px;background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft))!important;color:var(--canvas-text)!important;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.image-reverse-prompt__panel .image-reverse-prompt__submit:disabled{cursor:default;opacity:.5}.image-reverse-prompt__languages{display:inline-flex;gap:2px}.image-reverse-prompt__panel .image-reverse-prompt__language{padding:5px 7px;border:1px solid var(--canvas-border)!important;border-radius:5px;background:var(--canvas-panel-soft)!important;color:var(--canvas-text)!important;font:inherit;font-size:12px;cursor:pointer}.image-reverse-prompt__panel .image-reverse-prompt__language[aria-pressed=true]{border-color:var(--canvas-accent)!important;background:color-mix(in srgb,var(--canvas-accent) 18%,var(--canvas-panel-soft))!important}.image-reverse-prompt__language:focus-visible,.image-reverse-prompt__select:focus-visible,.image-reverse-prompt__submit:focus-visible{outline:2px solid var(--canvas-accent);outline-offset:2px}.image-reverse-prompt__status{grid-column:1 / -1;min-width:0;height:18px;line-height:18px;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--canvas-muted);white-space:nowrap}.image-reverse-prompt__retry{margin-left:8px;color:var(--canvas-text);background:transparent;border:0;text-decoration:underline;cursor:pointer}.image-reverse-prompt .image-reverse-prompt__trigger,.image-reverse-prompt .image-reverse-prompt__trigger:not(:disabled):hover,.image-reverse-prompt .image-reverse-prompt__trigger:not(:disabled):active{transform:none;transition:background .16s ease,box-shadow .12s ease,border-color .16s ease}
