/* Scoped to the canvas/list shell. No node, canvas transform or editor styles. */
body .studio-shell .cs-rail{padding:8px 0 0;gap:0;width:56px;background:#262626;border-right:1px solid #393939;overflow:visible}
body .studio-shell .cs-rail button{display:flex;justify-content:center;align-items:center;position:relative;padding:0;border:0;background:transparent;width:36px;height:36px;min-height:0;border-radius:32px;color:#c5c5c5}
body .studio-shell .cs-rail button svg{width:20px;height:20px;flex:none}
body .studio-shell .cs-rail button:hover,body .studio-shell .cs-rail button[aria-expanded=true]{background:#363636;color:#fff}
body .studio-shell .cs-rail .cs-logo{height:36px;width:40px;margin-bottom:12px}
.cs-logo img{width:23px;height:23px;object-fit:contain}
.cs-divider{height:1px;width:16px;flex:none;background:#4c4c4c;display:block;margin:0 auto 12px}
body .studio-shell .cs-rail .cs-primary{gap:4px;margin:0 0 12px}
body .studio-shell .cs-rail .cs-primary button{width:44px;height:44px;border-radius:8px}
body .studio-shell .cs-rail .cs-primary button.active{background:#303030;color:white;border-radius:12px}
body .studio-shell .cs-rail .cs-tools{gap:16px}
body .studio-shell .cs-rail .cs-tools button:last-child{height:32px}
.cs-rail-space{flex:1;min-height:16px}
body .studio-shell .cs-rail .cs-bottom{gap:8px}
body .studio-shell .cs-rail .cs-bottom button{width:32px;height:32px;color:#929292}
body .studio-shell .cs-rail .cs-bottom button:first-child{color:#eee;margin-bottom:-4px}
body .studio-shell .cs-rail .cs-bottom button:last-child{margin-top:2px}
.cs-bottom-divider{margin-top:10px;margin-bottom:10px;background:#393939}
body .studio-shell .cs-rail .cs-avatar{height:32px;width:32px;margin-bottom:8px}
.cs-avatar img{width:24px;height:24px;object-fit:contain;background:#fff;border-radius:50%;padding:4px}
.cs-rail [data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;left:calc(100% + 9px);top:50%;transform:translateY(-50%);white-space:nowrap;background:#252525;border:1px solid #393939;border-radius:8px;padding:8px 12px;color:#eee;font-size:12px;z-index:200;pointer-events:none}
body .studio-shell .cs-header{padding:0 4px 0 23px;gap:12px;background:transparent;height:48px;min-height:48px;overflow:visible;position:relative;z-index:41;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.cs-header button,.cs-popover button,.cs-dialog button{border:0;background:transparent;color:#eee;font:500 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:0}
.cs-header button:focus-visible,.cs-rail button:focus-visible,.cs-popover button:focus-visible{outline:1px solid #bbb;outline-offset:2px}
.cs-header svg,.cs-popover svg,.cs-dialog svg{width:16px;height:16px;flex:none}
.cs-project-title{display:flex;align-items:center;gap:12px;min-width:0;flex-shrink:0}
.cs-project-title>span{color:#858585;font-size:12px;white-space:nowrap}
.cs-header .cs-project-name{display:block;padding:0;overflow:hidden;text-overflow:ellipsis;max-width:230px;text-align:left;flex-shrink:1;font-weight:500}
.cs-project-name-input{background:#262626;border:1px solid #595959;border-radius:4px;padding:3px 6px;min-width:70px;width:160px;max-width:230px;font-size:12px;color:white}
.cs-view-tabs{display:flex;align-items:center;gap:2px;flex:none;background:#222;border:1px solid #333;border-radius:999px;padding:3px}
.cs-header .cs-view-tabs button{height:24px;min-width:64px;padding:0 10px;font-size:11px;border-radius:999px;background:transparent}
.cs-header .cs-view-tabs button[aria-checked=true]{background:#343434}
.cs-view-tabs svg{width:14px;height:14px}
.cs-header-spacer{flex:1;min-width:0}
.cs-header-actions{display:flex;align-items:center;gap:6px;flex:none}
.cs-header-actions>button{height:32px;padding:0 9px}
.cs-header-actions button:hover{background:#282828;border-radius:999px}
.cs-header-actions .cs-style{padding:0 2px;max-width:190px}
.cs-style>span{max-width:155px;overflow:hidden;text-overflow:ellipsis}
.cs-header-divider{height:16px;width:1px;background:#303030;margin:0 2px}
body .cs-header .cs-pill,.cs-display{height:32px;border-radius:999px;background:#1c1c1c;border:1px solid #262626;display:flex;align-items:center;gap:5px;padding:0 12px;flex:none}
.cs-header .cs-membership{padding:0 10px;gap:8px;min-width:70px;justify-content:center}
.cs-membership>button{height:28px;padding:0}
.cs-membership>button:first-child svg{color:#9f5aff;width:12px;height:12px}
.cs-membership>i{width:3px;height:3px;background:#777}
.cs-membership small{font-size:9px;line-height:16px;padding:0 5px;background:#ddd;color:#555;border-radius:10px;margin-left:3px}
.cs-display{font-size:12px;gap:5px;color:#eee}
.agent-panel-heading .cs-display{margin-left:auto;padding:0 6px;height:30px}
.cs-popover{position:fixed;z-index:120;background:#151515;color:#ccc;border:1px solid #242424;box-shadow:0 16px 45px #0006;border-radius:24px;padding:8px;min-width:190px;overflow:auto;font:13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif}
.cs-popover>button{height:40px;display:flex;width:100%;padding:0 12px;justify-content:space-between;color:#bbb;text-align:left;border-radius:12px;font-size:13px}
.cs-popover button:hover{background:#303030;color:#fff}
.cs-popover>small{display:block;color:#7f7f7f;margin:8px 12px}
.cs-popover.cs-display-menu{min-width:200px}
.cs-display-menu>button{justify-content:flex-start;gap:10px}
.cs-display-menu>button>span{flex:1}
.cs-dialog{background:#232323;color:#eee;border:1px solid #3c3c3c;border-radius:24px;padding:24px;width:min(480px,calc(100vw - 32px));box-shadow:0 18px 70px #0009;font:14px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
.cs-dialog::backdrop{background:#0007}
.cs-dialog header{display:flex;align-items:center;justify-content:space-between;gap:24px}
.cs-dialog h2{font-size:18px;line-height:26px;margin:0;font-weight:600}
.cs-dialog .cs-close{width:24px;height:24px;color:#999}
.cs-dialog-body{margin-top:16px;color:#aaa}
.cs-dialog-body p{margin:0}
.cs-dialog footer{margin-top:24px;display:flex;justify-content:flex-end;gap:12px}
.cs-dialog footer button{height:36px;padding:0 22px;border:1px solid #4a4a4a;border-radius:999px;font-size:14px}
.cs-dialog button.cs-primary-button{background:#f3f3f3;color:#171717;border-color:#f3f3f3}
.cs-dialog button:disabled{opacity:.45;cursor:wait}
.cs-profile{width:288px;padding:8px;border-radius:24px;background:#262626cc;backdrop-filter:blur(24px);border-color:#ffffff0a}
.cs-profile>button{height:40px;padding:8px 8px 8px 12px;font-weight:400;color:#eee}
.cs-profile hr{border:0;border-top:1px solid #353535;margin:6px 0}
.cs-profile-person{display:flex;align-items:center;gap:12px;padding:10px;height:56px;color:#eee;cursor:pointer}
.cs-profile-person>img{width:32px;height:32px;border-radius:50%;background:#fff;padding:5px}
.cs-profile-person>div{flex:1;min-width:0}
.cs-profile-person>div>span{display:inline-block;max-width:145px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-profile-person small{margin-left:6px;color:#bbb;background:#333;padding:1px 6px;border-radius:5px;font-size:10px}
.cs-profile-person button{display:block;color:#999;margin-top:4px;padding:0;font-size:11px;font-weight:400;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cs-profile .cs-create-team{height:56px;justify-content:flex-start;padding:10px;gap:10px}
.cs-create-team svg:last-child{width:14px}
.cs-publish-row{display:flex;height:40px;align-items:stretch}
.cs-publish-row button{padding:8px 8px 8px 12px;font-size:13px;font-weight:400;justify-content:flex-start}
.cs-publish-row button:first-child{flex:1}
.cs-publish-row button:last-child{font-size:12px;color:#999}
.cs-profile [data-cs=signout]{color:#d25c4e}
.cs-profile .cs-profile-legal{height:21px;padding:0;justify-content:center}
.cs-profile-person>svg,.cs-profile [data-cs=signout]>svg{color:#888}
.cs-profile [data-value="Blender 插件"]>svg{width:26px;height:14px}
.cs-profile [data-value="Blender 插件"]>svg path{fill:#262626}
.cs-profile-more{position:fixed;width:160px;padding:5px;border:1px solid #444;border-radius:12px;background:#242424}
.cs-profile-more button{height:32px;width:100%;justify-content:flex-start;padding:0 12px}
.cs-history{width:440px;max-width:calc(100vw - 64px);padding:16px;border-radius:24px;background:#262626cc;backdrop-filter:blur(24px);border-color:#ffffff0a}
.cs-history>header{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;height:32px}
.cs-history h2{font-size:14px;margin:0;font-weight:500}
.cs-history header button{width:32px;height:32px}
.cs-history-controls{display:flex;justify-content:space-between;gap:12px;align-items:center}
.cs-history-controls [role=tablist]{display:flex;gap:8px}
.cs-history-controls [role=tablist] button{height:32px;min-width:54px;font-size:13px}
.cs-history-controls button,.cs-history summary{border-radius:999px;padding:7px 12px;border:1px solid #2e2e2e;font-size:12px;color:#aaa}
.cs-history [aria-selected=true]{background:#292929;color:#eee}
.cs-history details{position:relative;flex:none}
.cs-history summary{list-style:none;display:flex;align-items:center;gap:6px;background:#242424;cursor:pointer}
.cs-history details>div{position:absolute;right:0;top:36px;z-index:2;width:140px;background:#242424;border:1px solid #414141;border-radius:14px;padding:5px}
.cs-history details button{display:flex;width:100%;border:0;border-radius:8px;justify-content:flex-start}
.cs-history-results{max-height:460px;overflow:auto;margin-top:8px}
.cs-history-results>.cs-empty{min-height:115.5px;padding:0;display:grid;place-content:center}
.cs-empty{text-align:center;color:#777;padding:40px 8px;margin:0;font-size:13px}
.cs-history-results article{border:1px solid #333;border-radius:12px;padding:8px;margin:8px 0}
.cs-history-preview>*{width:100%;max-height:240px;object-fit:contain}
.cs-history-results article p{display:flex;justify-content:space-between;margin:6px 0;font-size:12px}
.cs-history-results small{color:#ca938a}
.cs-style-popover{width:658px;max-width:calc(100vw - 72px);height:314px;padding:16px;border-radius:24px;display:flex;flex-direction:column;background:#262626cc;backdrop-filter:blur(24px)}
.cs-style-search{display:flex;gap:8px;align-items:center;color:#ddd;height:32px;min-height:32px;margin-bottom:8px;padding:0 14px}
.cs-style-search input{border:0;background:transparent;color:#eee;outline:none;font-size:13px;width:100%;padding:0}
.cs-style-tabs{display:flex;align-items:center;gap:8px;margin-bottom:12px;min-height:32px}
.cs-style-tabs button{border-radius:999px;padding:0 14px;height:32px;background:transparent}
.cs-style-tabs button[aria-selected=true]{background:#353535;color:#eee}
.cs-style-tabs button:last-child{margin-left:auto}
.cs-style-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:120px;gap:12px;overflow:auto;align-content:start;flex:1;min-height:0;scrollbar-width:none}
.cs-style-grid>button{display:flex;flex-direction:column;gap:8px;align-items:stretch;border-radius:12px;background:transparent;min-width:0;padding:0;white-space:normal;flex:none;font-weight:400}
.cs-style-grid>button[aria-pressed=true] .cs-style-cover{outline:2px solid white;outline-offset:-2px}
.cs-style-cover{display:grid;place-items:center;aspect-ratio:4/3;background:#292929;border-radius:16px;overflow:hidden;flex:none}
.cs-style-cover img{width:100%;height:100%;object-fit:cover}
.cs-style-cover svg{width:24px;height:24px;color:#b6b6b6}
.cs-style-grid>button>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}
body .studio-shell.cs-chat-only .creation-content{display:none}
body .studio-shell.cs-chat-only .agent-panel{width:100%;flex-basis:100%;margin-top:0;height:100%}
body .studio-shell.cs-chat-only>.cs-header{width:100%}
body .studio-shell .cs-header ~ main .agent-panel-heading{min-height:48px;height:48px}
body .studio-shell .cs-header{justify-content:flex-end;padding:0 16px;gap:16px;clip-path:inset(0)}
.cs-header-left{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;overflow:hidden;padding-right:12px}
.cs-project-title{flex:0 1 auto;overflow:hidden;padding-left:7px}
.cs-project-title>button{flex-shrink:0!important}
.cs-project-title>span{flex-shrink:0}
.cs-header-actions{gap:5.5px}
.cs-header,.cs-rail,.cs-popover,.cs-dialog{-webkit-font-smoothing:antialiased;letter-spacing:.0804px}
.cs-header button,.cs-popover button,.cs-dialog button{letter-spacing:inherit;line-height:1.15}
.cs-header .cs-project-name{line-height:1.4}
.cs-header .cs-style{width:146px;padding:0;gap:4px}
.cs-header .cs-style>svg:last-child{width:12px;height:12px}
.cs-header .cs-style[aria-expanded=true]>svg:last-child,.cs-display[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}
.cs-header .cs-ratio{width:83px;padding:0 8px}
.cs-header [data-cs=market]{width:90px;padding:0 10px}
.cs-header [data-cs=share]{width:72px;padding:0 14px}
.cs-header [data-cs=display]{width:90px;padding:0 14px}
.cs-style-tabs button{min-width:48px;flex-shrink:0}
.cs-style-grid>button{gap:12px;justify-content:flex-start}
.cs-style-grid>button>span:last-child{font-size:12px;font-weight:500;line-height:18px}
.cs-style-search button{height:32px;font-size:12px;padding:0;background:transparent}
.cs-style-popover [hidden]{display:none!important}
.cs-style-searching{height:318px}
.cs-style-searching .cs-style-search{height:36px;min-height:36px;padding:0;position:relative}
.cs-style-searching input{height:36px;border:1px solid #444;border-radius:24px;padding:0 34px 0 12px;background:#333;font-size:14px}
.cs-style-searching [data-cs=style-clear]{position:absolute;right:10px;top:2px}
