/* Rocanvas creative workspace. Original assets; existing application behavior. */
:root{--creative-bg:#0b0d0f;--creative-panel:#191b1d;--creative-control:#23262a;--creative-line:#ffffff0e;--creative-muted:#8d9098;--creative-radius:18px;--bg:var(--creative-bg);--surface:var(--creative-panel);--elevated:var(--creative-control)}
body{background-color:var(--creative-bg)}
.workspace-page{background-image:radial-gradient(#ffffff20 1px,transparent 1px);background-size:22px 22px}
.auth-form-side{min-height:0}
.creative-composer .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.creative-features>.creative-feature{min-width:0;width:100%}
:root{--workspace-rail-width:68px}:root.workspace-rail-expanded{--workspace-rail-width:208px}
.workspace-layout,.workspace-page .shell{padding-left:var(--workspace-rail-width);min-width:0;transition:padding-left .18s ease}
.workspace-header{height:72px;display:flex;justify-content:space-between;padding:0 30px;background:transparent;border:0;gap:16px}
.workspace-location{font-size:12px;color:#c2c2ca;white-space:nowrap;letter-spacing:.1px}.workspace-location i{font-style:normal;color:#51545d;margin:0 10px}
.workspace-identity{gap:18px}.workspace-header .workspace-environment{font-size:10px;color:#686d76}
.workspace-account{gap:12px}.workspace-redeem{display:flex;align-items:center;gap:7px;border-radius:99px;border:1px solid #ffffff0a;padding:9px 12px;background:#1c1e20;font-size:11px;color:#d5c5ed}.workspace-redeem:hover{background:#29252f}
.workspace-header .points-balance{border-radius:99px;background:#1c1e20;border-color:#ffffff0a;min-height:37px;padding:8px 12px}.workspace-header .points-balance strong{font-size:19px;color:#e0c7ff}.workspace-header .points-balance span{font-size:10px;color:#a6a1ae}
.profile-menu summary img{border-radius:50%;border-color:#ffffff1c}.profile-dropdown{background:#1f2125;border-radius:18px;border-color:#ffffff12;box-shadow:0 16px 50px #0008}
.workspace-rail{position:fixed;inset:0 auto 0 0;width:68px;height:100dvh;z-index:60;display:flex;flex-direction:column;align-items:stretch;padding:15px 10px 12px;background:#191b1d;border:0;border-right:1px solid #ffffff07;transition:width .18s ease;overflow:visible}
.workspace-rail .brand{height:39px;min-height:39px;margin:0 0 24px;padding:0 6px;gap:12px;overflow:hidden;white-space:nowrap}.workspace-rail .brand-logo{width:34px;height:34px;min-width:34px;border-radius:10px;box-shadow:none}.workspace-rail .brand-wordmark{display:none;font-size:19px;letter-spacing:-.5px;border:0;padding:0}.workspace-rail .brand-wordmark small{display:none}
.workspace-rail .workspace-navigation{display:flex;flex-direction:column;align-items:stretch;gap:12px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;border:0;background:transparent;border-radius:0;padding:0;margin:0;scrollbar-width:none}.workspace-rail .workspace-navigation::-webkit-scrollbar{display:none}
.workspace-rail .workspace-nav-link,.workspace-rail .rail-toggle{width:44px;height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:14px;padding:0;border:0;border-radius:12px;background:transparent;color:#96979b;flex-shrink:0}
.workspace-rail .workspace-nav-link svg{flex:none;width:21px;height:21px}.workspace-rail .workspace-nav-link>span,.workspace-rail .rail-toggle>span{display:none;white-space:nowrap;font-size:12px}.workspace-rail .workspace-nav-link:hover,.workspace-rail .rail-toggle:hover{background:#ffffff08;color:#fff}.workspace-rail .workspace-nav-link.active{background:#2a2d31;color:#fff;box-shadow:none}.workspace-rail .workspace-nav-link[href*="create=image"]:first-of-type{color:#dac8ff}
.workspace-rail .workspace-navigation>a:nth-child(2){background:linear-gradient(145deg,#292737,#615386);color:#eee7ff;box-shadow:inset 0 1px #ffffff12}.workspace-rail .rail-divider{height:1px;min-height:1px;background:#ffffff08;margin:1px 7px}.rail-bottom{display:grid;gap:8px;padding-top:18px}.workspace-rail .rail-toggle{height:32px;min-height:32px;color:#72747d}.workspace-rail.expanded{width:208px;box-shadow:none}.workspace-rail.expanded .brand-wordmark{display:block}.workspace-rail.expanded .workspace-nav-link,.workspace-rail.expanded .rail-toggle{width:100%;justify-content:flex-start;padding:0 13px}.workspace-rail.expanded .workspace-nav-link>span,.workspace-rail.expanded .rail-toggle>span{display:block}.workspace-rail.expanded .rail-toggle>svg{transform:rotate(180deg)}
.workspace-main{max-width:1536px;padding:34px 44px 64px}.workspace-page-heading{margin-bottom:28px}.workspace-page-heading h1{font-size:28px;font-weight:650;letter-spacing:-.8px}
.workspace-page .primary:not(.roc-generate-button){border-radius:12px;box-shadow:inset 0 1px #ffffff1c,0 2px 10px #7c3aed12}.workspace-page .secondary{background:var(--creative-control);border-color:#ffffff0a;border-radius:12px;color:#dbdbe1}.workspace-page .secondary:hover{background:#303238}
.workspace-page input,.workspace-page select,.workspace-page textarea{background:#17191c;border-color:#ffffff12}.workspace-page .studio-dialog{background:#1a1c20;border:1px solid #ffffff15;border-radius:22px;box-shadow:0 30px 100px #0009}.studio-dialog::backdrop{background:#0009;backdrop-filter:blur(9px)}
.creative-home .workspace-main{padding-top:28px}.creative-home .workspace-location{color:#7c7d85}.creative-hero{max-width:1000px;margin:0 auto 42px}.creative-signature{display:flex;justify-content:center;align-items:center;gap:10px;min-height:44px;margin:0 0 26px;color:#f4f2f8}.creative-signature>img{width:36px;height:36px;object-fit:contain}.creative-signature>span{font-size:15px;font-weight:750;letter-spacing:-.6px;line-height:1.15}.creative-signature small{display:block;font-size:7px;letter-spacing:1.1px;font-weight:500;color:#9a94aa;margin-top:4px}.creative-signature h1{margin:0 0 0 16px;font-size:17px;letter-spacing:.15px;font-weight:500}
.creative-mode-switch{position:relative;display:flex;justify-content:center;width:max-content;max-width:100%;gap:3px;margin:0 auto 28px;border-radius:99px;padding:4px;background:linear-gradient(180deg,#16171b,#24202c);box-shadow:0 12px 30px -14px #c5a0ff55,inset 0 -1px #ffffff18}.creative-mode-switch a{display:flex;align-items:center;gap:7px;color:#909098;padding:8px 18px;border-radius:99px;font-size:12px;line-height:18px}.creative-mode-switch a.active{color:#fff;background:linear-gradient(#292b2f,#1d1e22);box-shadow:inset 0 1px #ffffff1c,0 3px 8px #0005}.creative-mode-switch a:hover{color:#f0e8ff}.creative-mode-switch a>span{font-size:8px;border:1px solid #c7a3ff35;background:#a88bdb14;color:#d4bbff;border-radius:5px;line-height:14px;padding:0 3px}
.creative-composer{position:relative;padding:12px;background:#191b1d;border:1px solid #ffffff06;border-radius:25px;box-shadow:0 -18px 40px -36px #c6a2ffcc;transition:border-color .2s,box-shadow .2s}.creative-composer:focus-within{border-color:#b18be552;box-shadow:0 0 0 3px #a37ae908,0 -18px 40px -32px #bfa0ff88}.composer-content{display:flex;gap:12px}.composer-mark{width:72px;min-width:72px;min-height:82px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#9993aa;background:#23262a;border:1px solid #ffffff08;border-radius:16px}.composer-mark span{font-size:10px}.creative-composer textarea{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:4px 8px;min-height:82px;height:82px;max-height:240px;resize:vertical;line-height:1.8;font-size:14px;color:#edebf3;flex:1}.creative-composer textarea::placeholder{color:#777981}.composer-controls{display:flex;align-items:center;gap:6px;margin-top:10px;min-width:0}.composer-select{margin:0!important;background:#23262a;border:1px solid #ffffff08;border-radius:99px;padding:5px 10px;display:flex;align-items:center;gap:6px;min-width:0;color:#d5c6fa}.composer-select select{color:#eeecf4;background:transparent!important;border:0!important;padding:1px 17px 1px 0;box-shadow:none!important;min-height:23px;font-size:12px;width:auto;max-width:100%;cursor:pointer}.composer-select option{background:#23262a;color:#fff}.composer-model{max-width:330px}.composer-hint{font-size:10px;color:#71737d;margin:0 9px}.composer-submit{display:grid;place-items:center;width:37px;height:37px;min-width:37px;padding:0;margin-left:auto;border:1px solid #b89ce438;border-radius:50%;color:#e1d3ff;background:#68538f;transition:background .18s,transform .18s}.composer-submit svg{transform:rotate(-90deg)}.composer-submit:hover:not(:disabled){background:#8963bd;transform:translateY(-1px)}.composer-submit:disabled{opacity:1;background:#30313a;color:#81818c;border-color:transparent;cursor:default}.creative-composer .inline-error{margin:0;padding:0 4px;min-height:0}.creative-composer .inline-error:not(:empty){padding-top:12px}
.creative-under-composer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px}.creative-new{display:flex;align-items:center;gap:9px;min-width:190px;padding:8px;border:1px solid #ffffff02;border-radius:16px;background:#17191b;color:#fff;text-align:left}.creative-new>svg{width:38px;height:38px;padding:8px;border-radius:11px;background:linear-gradient(140deg,#2f2b3e,#6b5c9b);color:#e7dfff}.creative-new b,.creative-new small{display:block;font-size:12px;font-weight:500}.creative-new small{font-size:10px;color:#82828b;margin-top:2px}.creative-new:hover{border-color:#b59ad433;background:#202025}.creative-ideas{display:flex;align-items:center;gap:7px;font-size:10px;color:#71717b}.creative-ideas button{border:1px solid #ffffff0a;background:#17191b;color:#9c98a8;border-radius:99px;padding:6px 10px;font-size:10px;white-space:nowrap}.creative-ideas button:hover{background:#292333;color:#e0ccff}
.creative-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 44px}.creative-feature{position:relative;min-height:177px;aspect-ratio:1.75;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #ffffff10;border-radius:22px;padding:20px;overflow:hidden;isolation:isolate;background:#1b1924;transition:transform .2s,border-color .2s}.creative-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.72;transition:transform .35s}.creative-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#10111c10,#10101ad9);z-index:-1}.creative-feature:hover{transform:translateY(-3px);border-color:#c5a8ef66}.creative-feature:hover>img{transform:scale(1.04)}.feature-index{font-size:9px;letter-spacing:1.8px;color:#e2daebcc}.creative-feature small{font-size:10px;color:#d4c6e2}.creative-feature h2{font-size:23px;margin:5px 0;font-weight:650;letter-spacing:-.5px;color:#fff}.creative-feature p{font-size:10px;color:#b6afc3;margin:0;line-height:1.7}.creative-feature>i{position:absolute;right:15px;bottom:16px;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;background:#ffffff0c;color:#d2c9df}.feature-production>img{object-position:center 35%}.feature-library{background:linear-gradient(130deg,#273646,#423059)}.feature-account{background:linear-gradient(130deg,#1b1c2b,#45405a)}.feature-orbit{position:absolute;right:12%;top:15%;width:120px;height:120px;z-index:-2;transform:rotate(-22deg)}.feature-orbit span{position:absolute;inset:0;border:1px solid #c0a2ff77;border-radius:25px;background:linear-gradient(140deg,#a89bf42c,#cfbaff08);box-shadow:8px 8px 20px #13121e44}.feature-orbit span:nth-child(2){transform:translate(-18px,-18px)}.feature-orbit span:nth-child(3){transform:translate(-36px,-36px)}.feature-brand-art{position:absolute;right:-8px;top:-10px;width:180px;height:180px;opacity:.7;z-index:-2;transform:rotate(15deg)}.feature-brand-art img{width:100%;height:100%;object-fit:contain}
.creative-home .workspace-project-toolbar{border:0;margin-bottom:20px;padding-bottom:0;gap:14px}.creative-home .section-title{font-size:15px;gap:9px}.creative-home .section-title>#count{background:#1d1f23;border-radius:99px;padding:1px 8px;color:#8e8e99}.creative-home .section-title .section-active-dot{padding:0;margin:0;width:6px;height:6px;border-radius:50%;background:#b794f1}.workspace-project-toolbar .search input{border-radius:99px;background:#1b1d20;border-color:#ffffff08}.workspace-projects{gap:24px 16px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.workspace-projects .project-card{background:#17191c;border:1px solid #ffffff05;border-radius:20px;overflow:hidden;padding-bottom:12px}.workspace-projects .project-cover{border:0;border-radius:19px 19px 0 0;aspect-ratio:16/10}.workspace-projects .project-meta{padding:12px 13px 0;min-width:0}.workspace-projects .project-meta>a{min-width:0}.workspace-projects .project-meta h3{max-width:100%;font-size:13px}.workspace-cover-art{background:radial-gradient(ellipse at 70% 30%,#63537733,transparent 70%),#1b1d22}.workspace-cover-art span{border-color:#bca4e523;background:linear-gradient(145deg,#37313f,#22232a);color:#b39bd0}.workspace-cover-art span+span{background:linear-gradient(145deg,#2d2d3c,#1d2029)}.workspace-projects .empty{border-color:#c4b0e21b;background:#16171b80;border-radius:22px;min-height:240px;padding:64px 20px}
/* Account and administration retain their exact data and table mechanics. */
.workspace-admin .workspace-main{max-width:1536px}.workspace-admin .stat,.workspace-page .card{background:#191b1d;border-color:#ffffff0c;border-radius:18px}.workspace-admin .stat svg{color:#bcacd7}.workspace-admin .admin-tabs{gap:7px;border-bottom-color:#ffffff0a}.workspace-admin .admin-tabs button{background:#1d1f22;border:1px solid #ffffff04;border-radius:99px;color:#92909d;padding:9px 15px}.workspace-admin .admin-tabs button.active{background:#f3f0f8;color:#26232b;box-shadow:none}.workspace-admin .table-wrap{background:#191b1d;border-radius:18px}.workspace-admin th{background:#212327}.workspace-admin .tiny-button{background:#27292d;border-color:#ffffff0a;border-radius:8px}.workspace-admin .admin-model-frame{border-radius:18px;background:#191b1d}.workspace-page .settings-sections{background:#191b1d;border-color:#ffffff0b;border-radius:16px}.workspace-page .settings-sections button{border-radius:12px}.workspace-page .settings-sections button.active{background:#33303a;color:#e5d6f8}.workspace-page .points-wallet-card{background:linear-gradient(130deg,#282331,#1c1e26);border-color:#b595d32b}.workspace-page .note{background:#272330;border-color:#a388bf;color:#c0b7cc}.workspace-page .shell>main{max-width:1200px}.embedded aside,.embedded main,.embedded .actions{background:#191b1d}.embedded .points-wallet-card{background:#2b2436;border-color:#a985cf26}#pricing-page{background:#141619e8;border:1px solid #ffffff0c;border-radius:22px;min-width:0;overflow-x:auto}
/* Centered authentication with the existing invitation/password forms. */
body:has(.auth-page){background-image:radial-gradient(#ffffff19 .65px,transparent .65px),radial-gradient(ellipse at 50% 38%,#7c3aed0c,transparent 60%);background-size:22px 22px,100% 100%}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100svh;padding:34px 20px;background:transparent}.auth-visual{display:none}.auth-form-side{width:440px;max-width:100%;padding:34px;background:#191b1df5;border:1px solid #ffffff10;border-radius:26px;box-shadow:0 32px 90px #0005,0 -25px 90px -65px #ac81ff80}.auth-form{width:100%;max-width:none}.auth-form .mobile-brand{display:block;margin-bottom:25px}.auth-form .mobile-brand .brand{justify-content:center;font-size:21px}.auth-form .brand-wordmark{font-size:23px;letter-spacing:-.7px}.auth-form .brand-wordmark small{display:none}.auth-form .brand-logo{width:34px;height:34px;box-shadow:none}.auth-form>.eyebrow{display:none}.auth-form h2{font-size:25px;text-align:center;letter-spacing:-.7px;font-weight:600}.auth-form>.muted{text-align:center;font-size:12px;line-height:1.8}.auth-switch{display:flex;border:0;border-radius:12px;background:#24262a;padding:4px;margin:22px 0;gap:4px}.auth-switch a{flex:1;text-align:center;border:0;border-radius:9px;color:#90909a;font-size:12px;padding:8px}.auth-switch a.active{background:#37323e;color:#e9dcff;box-shadow:0 2px 6px #0003}.auth-form input{background:#23262a;border-color:#ffffff0a;border-radius:12px;padding:12px 14px}.auth-form label{font-size:12px;color:#a8a5b0;margin-top:17px}.auth-form .primary{border-radius:12px;min-height:44px;font-size:13px}.auth-note{text-align:center;font-size:10px;line-height:1.9;color:#777781;margin-top:22px}.auth-form .password-wrap button{font-size:11px;color:#aaa0b7}
/* Production keeps bounded panes, report colors and all seven stage actions. */
.production-main{max-width:1536px;padding:34px 44px 60px}.production-heading{padding:18px 0 25px}.production-heading h1{font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:10px}.production-tabs{gap:8px}.production-tabs>button{border:1px solid #ffffff08;border-radius:99px;background:#1c1e21;color:#a6a1af}.production-tabs>button.active{background:#f2eef7;color:#29242e;box-shadow:none}.production-card{background:linear-gradient(145deg,#202126,#17191b);border-color:#ffffff0b;border-radius:22px;position:relative;overflow:hidden;padding:25px}.production-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 100% 0,#aa82ed13,transparent 60%)}.production-card h3{font-size:18px;line-height:1.5}.production-card .primary{position:relative}.production-empty{border-radius:22px;background:#191b1d;border-color:#ffffff0e}.production-workspace{background:#101214}.production-app-rail{background:#191b1d;border-color:#ffffff08}.production-rail-link{border-radius:12px}.production-rail-link.active{background:#302a3d;color:#ddc9fc}.production-project-sidebar{background:#151719;border-right-color:#ffffff09}.production-workspace-header{background:#16181a;border-color:#ffffff0a}.production-workspace .production-inspector{background:#17191b;border-color:#ffffff0a}.production-workspace .production-stage{border-radius:12px}.production-workspace .production-stage.active{background:#292532;border-color:#bc91f12a}.production-workspace .production-assistant{background:#202225;border-radius:18px;border-color:#ffffff0b}.production-workspace .production-model-bar{background:#191b1d;border-color:#ffffff0c;border-radius:14px}.production-model-grid select{background:#23262a;border-color:#ffffff0e;border-radius:10px}.production-model-grid select:focus{border-color:#b39add}.production-workspace .production-center{background-image:radial-gradient(#ffffff0a .6px,transparent .6px);background-size:22px 22px}.production-workspace .artifact-tabs{background:#181a1c}.production-workspace .artifact-tabs button{border-radius:9px}.production-workspace .production-breadcrumb h1{font-weight:550}.production-workspace #production-chat textarea{background:#23262a;border-color:#ffffff0e;border-radius:13px}.production-workspace .production-points{border-radius:12px;background:#232029;border-color:#c9a8fa1f}
/* Canvas chrome only; light mode and generated content keep their own palette. */
body.canvas-studio:not(:has(.studio-canvas-header button[title="切换到夜间模式"])) #canvas-background{background-color:#0c0e10;background-image:radial-gradient(#ffffff20 .65px,transparent .65px);background-size:22px 22px}
.canvas-studio .studio-canvas-header{background:#16181bea;border-bottom-color:#ffffff0a;backdrop-filter:blur(18px)}.canvas-studio .roc-header-actions>button{border-radius:99px;background:#23262a;border-color:#ffffff0a}.canvas-studio .rocanvas-points-badge{border-radius:99px;background:#24212c;border-color:#c6a2ff1c}.canvas-studio .studio-canvas-tools:not(.border-neutral-200){background:#1c1e20eb;border-color:#ffffff0d;border-radius:17px;box-shadow:0 8px 30px #0004}.canvas-studio .studio-canvas-tools>button{border-radius:11px}.canvas-studio .roc-creator-launcher{background:#24212e;border-color:#b695e429;border-radius:99px;box-shadow:0 6px 25px #0005}.canvas-studio .roc-creator-panel:not(:has(.roc-light)){background:#191b1d;border-color:#ffffff0e}.canvas-studio .roc-creator-panel:not(:has(.roc-light))>div:has(.roc-creator-heading){background:#1d1f22;border-bottom-color:#ffffff0a}.canvas-studio .roc-creator-panel:not(:has(.roc-light)) .roc-agent-guide{background:#24262a;border-color:#ffffff09;border-radius:16px}.canvas-studio .roc-creator-panel:not(:has(.roc-light))>div:last-child{background:#191b1d}.canvas-studio .roc-creator-panel:not(:has(.roc-light))>div:last-child>div{background:#23262a;border-color:#ffffff0c;border-radius:18px}.canvas-studio .canvas-modal-card:not(:has(.border-neutral-200)){border-radius:22px}
@media(min-width:1800px){.creative-home .workspace-main{padding-top:40px}.creative-hero{margin-bottom:48px}.creative-features{margin-bottom:50px}}
@media(max-width:1200px){.workspace-header{padding:0 24px}.workspace-main,.production-main{padding-left:28px;padding-right:28px}.creative-hero{max-width:900px}.creative-feature{min-height:170px;padding:16px}.creative-feature h2{font-size:20px}.creative-feature p{font-size:9px}.composer-hint{display:none}.creative-signature h1{font-size:16px}.workspace-projects{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}
@media(max-width:980px){.creative-features{grid-template-columns:repeat(2,minmax(0,1fr))}.creative-feature{aspect-ratio:2}.creative-ideas>span{display:none}.creative-ideas{gap:5px}.creative-ideas button{padding:6px 8px}.workspace-header .workspace-environment{display:none}}
@media(max-width:760px){
 .workspace-layout,.workspace-page .shell{padding-left:0;transition:none}.workspace-rail,.workspace-rail.expanded{position:relative;inset:auto;width:100%;height:62px;min-height:62px;padding:8px 12px;flex-direction:row;align-items:center;gap:8px;border-right:0;border-bottom:1px solid #ffffff08;box-shadow:none;z-index:50}.workspace-rail .brand{margin:0;padding:0;width:32px;min-width:32px;height:38px}.workspace-rail .brand-logo{width:30px;height:30px;min-width:30px}.workspace-rail.expanded .brand-wordmark{display:none}.workspace-rail .workspace-navigation{display:flex;flex-direction:row;gap:4px;overflow-x:auto;overflow-y:hidden;min-width:0;max-width:none;padding:0;justify-content:flex-start;align-items:center}.workspace-rail .workspace-nav-link,.workspace-rail.expanded .workspace-nav-link{width:36px;min-width:36px;height:38px;min-height:38px;padding:0;justify-content:center;border-radius:10px}.workspace-rail .workspace-nav-link svg{width:18px;height:18px}.workspace-rail.expanded .workspace-nav-link>span{display:none}.workspace-rail .rail-divider{width:1px;min-width:1px;height:21px;margin:0 3px}.workspace-rail .rail-toggle{display:none}.rail-bottom{display:flex;padding:0;gap:2px}.workspace-header{height:60px;min-height:60px;padding:0 16px;display:flex;gap:8px}.workspace-location{font-size:11px}.workspace-location i{margin:0 5px}.workspace-account{gap:8px}.workspace-redeem{display:none}.workspace-header .points-balance{padding:7px 10px;min-height:32px}.workspace-header .points-balance strong{font-size:17px}.workspace-header .points-balance span{display:none}.profile-menu summary img{width:28px;height:28px}.profile-menu summary{gap:4px}.workspace-main,.production-main,.workspace-page .shell>main{padding:22px 16px 40px}.creative-home .workspace-main{padding-top:22px}.creative-signature{flex-wrap:wrap;gap:8px;margin-bottom:20px}.creative-signature>img{width:30px;height:30px}.creative-signature>span{font-size:15px}.creative-signature h1{width:100%;text-align:center;font-size:17px;margin:10px 0 0}.creative-mode-switch{margin-bottom:22px}.creative-mode-switch a{padding:7px 12px;font-size:11px}.creative-hero{margin-bottom:28px}.creative-composer{border-radius:21px;padding:12px}.composer-content{gap:8px}.composer-mark{min-width:48px;width:48px;min-height:64px;height:64px;border-radius:13px;gap:5px}.composer-mark svg{width:22px;height:22px}.composer-mark span{font-size:8px}.creative-composer textarea{font-size:13px;min-height:115px;height:115px;padding:2px 3px}.composer-controls{flex-wrap:wrap;gap:7px}.composer-select{padding:4px 8px}.composer-select select{font-size:11px}.composer-model{max-width:calc(100% - 45px);order:3;flex:1}.composer-submit{order:4;margin-left:auto;width:34px;height:34px;min-width:34px}.creative-under-composer{align-items:flex-start;flex-direction:column;gap:13px}.creative-new{min-width:170px}.creative-ideas{width:100%;max-width:100%;overflow-x:auto}.creative-ideas>span{display:block;white-space:nowrap}.creative-ideas button{flex:none}.creative-features{display:flex;overflow-x:auto;gap:12px;margin:0 -16px 30px;padding:0 16px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin}.creative-feature{width:80%;flex:0 0 80%;aspect-ratio:1.9;min-height:165px;scroll-snap-align:center;padding:20px}.creative-feature h2{font-size:25px}.creative-feature p{font-size:10px}.creative-home .workspace-project-toolbar{gap:13px;align-items:stretch}.creative-home .workspace-project-toolbar .actions-row{display:flex;flex-wrap:wrap;width:100%;gap:7px}.workspace-project-toolbar .search{flex:1;min-width:100px}.workspace-project-toolbar .secondary,.workspace-project-toolbar .primary{padding:8px 10px;font-size:11px;white-space:nowrap}.workspace-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.workspace-projects .project-card{border-radius:15px}.workspace-projects .project-cover{border-radius:14px 14px 0 0;aspect-ratio:1.3}.workspace-projects .project-meta{padding:10px 9px 0;gap:4px}.workspace-projects .project-meta h3{font-size:12px}.workspace-projects .project-meta small{font-size:9px}.workspace-projects .project-options{width:22px;height:25px;min-width:22px}.workspace-projects .node-count{left:7px;bottom:7px;font-size:8px}.workspace-cover-art{gap:12px}.workspace-cover-art span{width:34px;height:45px}.workspace-cover-art span+span{width:49px;height:34px}.workspace-cover-art svg{width:18px;height:18px}.workspace-projects .empty{grid-column:1/-1}.auth-page{padding:20px 16px;align-items:flex-start;min-height:100svh}.auth-form-side{margin:auto 0;padding:27px 23px;border-radius:23px}.auth-form h2{font-size:23px}.workspace-admin .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-admin .stat{padding:13px 10px;border-radius:14px}.workspace-admin .stat strong{font-size:23px}.workspace-admin .stat .help{font-size:10px}.workspace-admin .workspace-page-heading h1{font-size:25px}.production-heading{padding-top:6px;gap:15px}.production-heading h1{font-size:25px}.production-grid{grid-template-columns:1fr}.production-card{padding:22px}.production-tabs{flex-wrap:wrap}.production-main .production-actions{gap:6px}#pricing-page{margin:18px 12px!important;padding:18px!important;border-radius:18px}
}
@media(prefers-reduced-motion:reduce){.workspace-rail,.creative-feature,.creative-feature>img,.creative-composer,.composer-submit{transition:none!important}.creative-features{scroll-behavior:auto}}

/* Rocanvas / Atelier: quiet surfaces, clear hierarchy, restrained motion. */
:root{--roc-ease:cubic-bezier(.22,.8,.25,1);--creative-bg:#101112;--creative-panel:#1a1b1e;--creative-control:#25262b;--creative-muted:#98979e;--roc-ink:#f2f0f5;--roc-lilac:#c4b4ed}
.workspace-page{background-image:none;color:var(--roc-ink)}
.workspace-header{position:relative;z-index:55;border-bottom:1px solid #ffffff06;background:#101112b8}
.workspace-location{color:#c9c6d0}.workspace-header .workspace-environment{color:#77777f}.workspace-header .status-dot{box-shadow:none;width:5px;height:5px;background:#b5a2d2}
.workspace-main,.production-main{max-width:1600px}.workspace-main{padding-top:38px}
.workspace-layout,.workspace-page .shell,.workspace-rail{transition:padding-left .28s var(--roc-ease),width .28s var(--roc-ease)}
.workspace-rail{background:#151618;border-right:1px solid #ffffff0a;padding-top:18px}
.workspace-rail .workspace-navigation{gap:8px}.workspace-rail .brand{margin-bottom:30px}.workspace-rail .workspace-nav-link,.workspace-rail .rail-toggle{border-radius:10px;transition:color .18s,background-color .18s,box-shadow .18s}
.workspace-rail .workspace-navigation>a:nth-child(2){background:#c3b0ef;color:#24202d;box-shadow:inset 0 1px #fff4}
.workspace-rail .workspace-navigation>a:nth-child(2):hover{background:#d2c0f8}
.workspace-rail .workspace-nav-link.active{background:#29282e;box-shadow:inset 0 0 0 1px #ffffff09;color:#e3d5ff}
.workspace-rail .rail-toggle{color:#a5a1af}.workspace-rail.expanded .rail-toggle>svg{transform:none}.rail-toggle .panel-direction{transform-origin:center;transition:transform .25s var(--roc-ease)}.rail-toggle[aria-expanded=true] .panel-direction{transform:translateX(-1px) rotate(180deg)}
.workspace-rail .workspace-nav-link:focus-visible,.rail-toggle:focus-visible{outline:2px solid #c3b0ef;outline-offset:3px}
.workspace-header .workspace-account{gap:12px}.workspace-redeem{border-radius:9px;background:transparent;border-color:transparent;color:#a8a1b3;font-size:11px}.workspace-redeem:hover{background:#ffffff06;color:#e1d4f9}
.account-popover{position:relative;margin:0;padding:0;border:0;flex:none;color:#e8e5ee}
.account-popover>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;user-select:none}
.account-popover>summary::-webkit-details-marker{display:none}
.account-popover>summary:focus-visible{outline:2px solid #c4b4ed;outline-offset:4px}
.account-popover-panel{position:absolute;top:calc(100% + 12px);right:0;z-index:100;width:278px;max-width:calc(100vw - 24px);border-radius:17px;border:1px solid #ffffff18;background:#232327;box-shadow:0 20px 56px #0006,0 2px 6px #0004;animation:roc-popover-in .18s var(--roc-ease);transform-origin:top right;text-align:left;color:#ebe7f1;line-height:1.5}
.account-popover-panel:before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
@keyframes roc-popover-in{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.workspace-header .points-balance,.canvas-studio .rocanvas-points-badge{height:38px;min-height:38px;padding:0 12px;border-radius:11px;background:#24212d;border:1px solid #b798eb1c;color:#cbb7ef;font-size:11px;display:flex;align-items:center;gap:7px}
.points-balance .balance-symbol{display:flex}.workspace-header .points-balance strong,.canvas-studio .rocanvas-points-badge strong{color:#e0cbff;font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.wallet-popover{padding:21px}.popover-eyebrow{font-size:10px;font-weight:500;color:#a5a1ae;letter-spacing:1px}.wallet-amount{display:flex;align-items:baseline;gap:9px;margin:10px 0 3px}.wallet-amount strong{font-size:37px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#e2d0ff}.wallet-amount>span{font-size:11px;color:#a89abf}.wallet-popover p{margin:0;font-size:11px;color:#a8a3b0}.wallet-popover-note{padding:13px 0 16px;font-size:10px;color:#7f7b89}
.wallet-popover>a{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:9px;padding:10px;font-size:12px}.wallet-primary{background:#c7b3f0;color:#282132}.wallet-primary:hover{background:#d5c4f7}.wallet-primary svg:last-child{margin-left:auto}.wallet-primary svg:first-child{margin-right:auto}.wallet-detail{margin-top:6px;color:#a9a1b9}.wallet-detail:hover{color:#ece3ff;background:#ffffff05}
.profile-menu summary{padding:3px;border-radius:12px;color:#aaa2b8}.profile-menu summary img{display:block;width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid #ffffff1f}.profile-menu summary:hover,.profile-menu[open] summary{background:#ffffff08}
.profile-dropdown{padding:7px;width:260px}.profile-dropdown .account-card{display:flex;gap:11px;margin:0 0 6px;padding:13px 10px 18px;border:0;border-bottom:1px solid #ffffff0c}.profile-dropdown .account-card>img{border-radius:50%;object-fit:cover;flex:none}.profile-dropdown .account-card>span{min-width:0}.profile-dropdown .account-card b{font-size:14px;color:#ece8f2;font-weight:600;display:block;overflow-wrap:anywhere}.profile-dropdown .account-card small{font-size:10px;margin-top:4px;display:block;color:#aaa0b9}
.profile-dropdown>a,.profile-dropdown>button{display:flex;align-items:center;gap:11px;min-height:39px;width:100%;padding:10px;border:0;border-radius:9px;background:transparent;font-size:12px;color:#c5bfce;text-align:left;transition:background-color .15s,color .15s}.profile-dropdown>a:hover,.profile-dropdown>button:hover{background:#ffffff09;color:#f0eaf8}.profile-dropdown>a>svg:last-child{margin-left:auto;width:13px;color:#67616f}.profile-dropdown svg{flex:none;color:#9e93ae}.profile-menu-divider{height:1px;background:#ffffff0b;margin:6px 8px}
.canvas-account-controls{display:flex;gap:12px;align-items:center}.canvas-studio .roc-header-points{overflow:visible}.canvas-studio .studio-canvas-header{z-index:55;overflow:visible}.canvas-studio .profile-menu>summary>svg{display:none}
.studio-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.studio-kicker{margin:0 0 16px;font-size:9px;font-weight:650;letter-spacing:2px;color:#b1a6c5}.studio-kicker span{font-weight:400;color:#8c8597}.studio-intro h1{font-size:clamp(25px,2.5vw,37px);font-weight:550;letter-spacing:-1.2px;margin:0;color:#eeebf2;line-height:1.45}.studio-intro-copy{font-size:12px;color:#85828d;margin:9px 0 0;letter-spacing:.3px}
.creative-hero{max-width:none;margin:0 0 30px}.creative-home .workspace-main{padding-top:32px}.creative-mode-switch{margin:0 0 4px;padding:4px;border:1px solid #ffffff0a;background:#1b1b1f;border-radius:12px;box-shadow:none;flex:none}.creative-mode-switch a{border-radius:8px;padding:8px 14px;color:#85818e;font-size:11px}.creative-mode-switch a.active{background:#333038;color:#e5d7fb;box-shadow:inset 0 1px #ffffff0c}.creative-mode-switch a>span{border:0;background:transparent;color:#8d829f;font-size:9px}
.creative-composer{padding:19px 20px 12px;border-radius:24px;background:#1b1c1f;border:1px solid #ffffff0c;box-shadow:0 12px 44px -28px #000b,inset 0 1px #ffffff04;isolation:isolate}
.creative-composer:before{content:"";position:absolute;left:18%;right:18%;height:1px;top:-1px;background:linear-gradient(90deg,transparent,#ad8cdc80,transparent);pointer-events:none;opacity:.65;transition:opacity .25s}
.creative-composer:focus-within,.creative-composer.dragging-reference{border-color:#ad8cdc55;box-shadow:0 0 0 3px #a78bfa05}.creative-composer:focus-within:before{opacity:1}
.composer-content{position:relative;gap:15px;align-items:flex-start}.composer-reference{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:78px;min-width:78px;height:93px;padding:9px;border:1px solid #ffffff0c;border-radius:16px;background:#24252a;color:#a8a3b2;font-size:11px;transition:background-color .2s,border-color .2s}.composer-reference:hover{background:#2e2a37;border-color:#c6ace94a;color:#d6c2f2}
.creative-composer textarea{height:113px;min-height:113px;padding:3px 35px 3px 0;font-size:15px;line-height:1.85;resize:vertical;transition:height .22s var(--roc-ease)}.creative-composer textarea::placeholder{color:#76737d}.creative-composer.composer-expanded textarea{height:280px}
.composer-expand{position:absolute;top:0;right:0;display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid #ffffff0a;border-radius:50%;background:#28292e;color:#94909e}.composer-expand:hover{color:#e3d2ff;background:#37303f}
.composer-controls{gap:8px;flex-wrap:wrap;margin-top:18px}.composer-select,.composer-parameters>summary{height:38px;min-width:0;padding:5px 11px;border:1px solid #ffffff0c;border-radius:99px;background:#26272c;color:#c3b0df;font-size:12px;gap:7px;transition:background-color .15s,border-color .15s}.composer-select:hover,.composer-parameters>summary:hover{background:#2d2d33;border-color:#ffffff1d}.composer-select select{font-size:12px;max-width:100%;color:#e7e3ed;padding-right:16px}.composer-model{max-width:min(310px,32%)}.composer-model select{overflow:hidden;text-overflow:ellipsis}.composer-select>svg{flex:none}.composer-parameters{position:relative;flex:none}.composer-parameters>summary{list-style:none;display:flex;align-items:center;cursor:pointer;color:#d9d4e2;white-space:nowrap}.composer-parameters>summary::-webkit-details-marker{display:none}.composer-parameters>summary:focus-visible{outline:2px solid #bda4e4;outline-offset:3px}.composer-parameter-panel{position:absolute;top:calc(100% + 10px);left:0;z-index:20;width:244px;padding:18px;background:#27262d;border:1px solid #ffffff16;border-radius:14px;box-shadow:0 18px 50px #0008;animation:roc-popover-in .16s ease}.composer-parameter-panel label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0 0;font-size:11px;color:#bbb3c8}.composer-parameter-panel select{width:120px;min-height:32px;padding:5px 9px;border-radius:8px;color:#e7dff1;background:#34303d}.composer-parameter-panel small{display:block;font-size:9px;color:#807989;margin-top:17px}
.composer-generate{display:flex;align-items:center;gap:14px;margin-left:auto}.composer-submit{width:38px;height:38px;min-width:38px;background:#c4afea;color:#27212f;border:1px solid #dbc7fa55;box-shadow:inset 0 1px #fff3}.composer-submit:hover:not(:disabled){background:#dac7f6;transform:translateY(-1px);color:#27212f}.composer-submit:active:not(:disabled){transform:translateY(0)}.composer-submit:disabled{background:#34323e;color:#888290}.composer-submit>svg{transform:rotate(-90deg)}
.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:20px;margin-top:12px;font-size:10px;color:#76717f}.composer-footer button{display:flex;align-items:center;gap:5px;padding:3px 0;background:transparent;border:0;color:#97909f;font-size:10px}.composer-footer button:hover:not(:disabled){color:#d5bdf3}.composer-footer button:disabled{opacity:.45;cursor:default}.composer-footer #composer-note{overflow-wrap:anywhere}.composer-references{display:flex;flex-wrap:wrap;gap:8px}.composer-references:not(:empty){margin:10px 0}.composer-reference-chip{position:relative;width:68px;height:68px;border:1px solid #ffffff20;border-radius:10px}.composer-reference-chip img{width:100%;height:100%;object-fit:cover;border-radius:9px}.composer-reference-chip span{position:absolute;bottom:0;left:0;right:0;padding:4px;font-size:9px;color:#fff;background:linear-gradient(transparent,#000b);border-radius:0 0 9px 9px}.composer-reference-chip button{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:19px;height:19px;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#29252e;color:#eee}
.composer-result{display:flex;align-items:center;gap:20px;padding:18px;margin-top:16px;border:1px solid #ffffff10;border-radius:17px;background:#1a1a1e}.composer-result[hidden]{display:none}.composer-result>img,.composer-result>video{width:180px;max-height:160px;object-fit:contain;border-radius:10px;background:#111}.composer-result-symbol{display:grid;place-items:center;width:57px;height:57px;background:#c3a4f00e;border:1px solid #c3a4f020;border-radius:16px;color:#bea7e0;flex:none}.composer-result[data-status=pending] .composer-result-symbol{animation:roc-breathe 2.8s ease-in-out infinite}.composer-result h3{margin:5px 0;font-size:14px;font-weight:550}.composer-result p{font-size:11px;color:#96909e;margin:0;line-height:1.7;overflow-wrap:anywhere}.composer-result a{display:flex;align-items:center;gap:8px;font-size:11px;color:#c7b0eb;margin-top:8px}.composer-result[data-status=failed] .composer-result-symbol{color:#d69b9b;background:#b547470d}
.creative-under-composer{margin-top:14px;gap:12px}.creative-new{background:transparent;border:0;padding:7px 0;gap:8px;min-width:0;border-radius:7px;color:#c8c1d1}.creative-new>svg{width:25px;height:25px;padding:4px;background:#26222f;border:1px solid #ffffff08;border-radius:7px}.creative-new b{font-size:11px}.creative-new:hover{background:transparent;color:#eadbff}.creative-ideas>span{font-size:10px;color:#686571}.creative-ideas button{background:transparent;border-color:#ffffff09;color:#8e879b;padding:5px 10px;font-size:10px}.creative-ideas button:hover{background:#25212c}
.creative-features{grid-template-columns:1.1fr 1fr;gap:16px;margin:0 0 36px}.creative-feature{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:24px;aspect-ratio:auto;min-height:181px;padding:20px;border:1px solid #ffffff0c;border-radius:18px;background:#191a1c;isolation:auto;transition:border-color .24s,transform .24s var(--roc-ease)}.creative-feature:after{display:none}.creative-feature:hover{transform:translateY(-2px);border-color:#c2a6e532}.creative-feature>div{min-width:0}.creative-feature .feature-index{font-size:8px;letter-spacing:1.5px;color:#908599}.creative-feature h2{font-size:20px;letter-spacing:-.5px;font-weight:550;margin:9px 0 9px;color:#e9e4ee}.creative-feature p{font-size:11px;color:#837d8c;line-height:1.8;max-width:260px}.feature-link{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:10px;color:#c4b2d9}.feature-link svg{transition:transform .22s}.creative-feature:hover .feature-link svg{transform:translateX(3px)}
.feature-image-window{position:relative;overflow:hidden;border-radius:12px;width:35%;min-width:116px;height:144px;background:#27252c;flex:none}.feature-image-window>img{width:100%;height:100%;object-fit:cover;filter:saturate(.55) brightness(.74);transform:scale(1.03);transition:transform .8s var(--roc-ease),filter .5s}.creative-feature:hover .feature-image-window>img{filter:saturate(.75) brightness(.88);transform:scale(1.09)}.feature-frame-mark{position:absolute;left:10px;bottom:10px;font-size:8px;letter-spacing:2px;color:#ffffffb8}.feature-library{background:#1b1a1f}.feature-library-art{position:relative;height:135px;width:33%;min-width:110px;flex:none;perspective:450px}.feature-library-art>span{position:absolute;inset:22px 22% 12px;display:grid;place-items:center;border-radius:10px;background:#292730;border:1px solid #ac99c72d;color:#bba6d4;box-shadow:0 8px 20px #0003;transform:rotate(-16deg) translate(-21px,-4px);transition:transform .5s var(--roc-ease)}.feature-library-art>span:nth-child(2){background:#33303a;transform:rotate(0deg)}.feature-library-art>span:nth-child(3){background:#393241;transform:rotate(16deg) translate(21px,4px)}.feature-library:hover .feature-library-art>span:first-child{transform:rotate(-23deg) translate(-28px,-6px)}.feature-library:hover .feature-library-art>span:nth-child(3){transform:rotate(23deg) translate(28px,6px)}
.creative-home .workspace-project-toolbar{padding-top:24px;border-top:1px solid #ffffff09;margin-bottom:20px}.creative-home .section-title{font-size:16px;font-weight:550}.creative-home .section-title .section-active-dot{background:#b09acb;width:4px;height:4px}.workspace-project-toolbar .search input{border-radius:9px;background:#1a1a1d}.workspace-projects .project-card{background:#18191b;border-color:#ffffff0a;border-radius:13px;transition:transform .25s var(--roc-ease),border-color .25s,box-shadow .25s}.workspace-projects .project-card:hover{transform:translateY(-3px);border-color:#b79ad92f;box-shadow:0 14px 30px -20px #000a}.workspace-projects .project-cover{border-radius:12px 12px 0 0}.workspace-projects .project-cover>img{transition:transform .6s var(--roc-ease)}.workspace-projects .project-card:hover .project-cover>img{transform:scale(1.035)}.workspace-projects .project-meta h3{font-weight:500}.workspace-cover-art{background:radial-gradient(ellipse at 70% 15%,#9581b016,transparent 65%),#202024}.workspace-cover-art span{box-shadow:0 12px 25px #0003;border-color:#ad96ca26;background:#302b38}.workspace-cover-art span+span{background:#27252f}
.workspace-page .primary:not(.roc-generate-button){background:#c3afea;color:#27202f;border:1px solid #dac7fa30;box-shadow:inset 0 1px #fff3;border-radius:9px}.workspace-page .primary:not(.roc-generate-button):hover{background:#d2bff4}.workspace-page .secondary{border-radius:9px;background:#252429;border-color:#ffffff0c}.workspace-admin .admin-tabs button{border-radius:9px}.workspace-admin .admin-tabs button.active{background:#d3c2ed;color:#292130}.workspace-page .card,.workspace-admin .stat,.workspace-admin .table-wrap{border-radius:14px}.workspace-page .settings-sections button{border-radius:9px}.production-workspace .production-center{background-image:none}.production-card{border-radius:16px;background:#1b1b1f}.production-card:before{background:none}.production-tabs>button{border-radius:9px}.production-tabs>button.active{background:#d3c2ed;color:#292130}.production-workspace .production-rail-link{border-radius:9px}
body:has(.auth-page){background-image:radial-gradient(ellipse at 50% 20%,#88719c12,transparent 55%);background-size:100% 100%}.auth-form-side{border-radius:20px;background:#1b1b1f;border-color:#ffffff12;box-shadow:0 24px 90px #0005}.auth-form .primary{background:#c7b2ee;color:#292132}.auth-form input{background:#26252b;border-radius:9px}
@keyframes roc-breathe{0%,100%{opacity:.55}50%{opacity:1}}
@media(min-width:1600px){.creative-home .workspace-main{padding-top:45px}.studio-intro{margin-bottom:32px}.creative-composer textarea{height:130px;min-height:130px}.creative-features{margin-top:30px}}
@media(max-width:1150px){.composer-model{max-width:260px}.composer-controls{gap:7px}.composer-reference-mode{order:3}.composer-parameters{order:4}.composer-generate{order:5}.creative-feature{gap:15px;padding:16px}.creative-feature h2{font-size:18px}.feature-image-window{min-width:100px}.feature-library-art{min-width:85px}}
@media(max-width:900px){.studio-intro{align-items:flex-start}.creative-mode-switch a{padding:7px 10px}.creative-mode-switch a>span{display:none}.creative-features{grid-template-columns:1fr}.creative-feature{min-height:158px}.feature-image-window{width:30%;height:130px}.feature-library-art{width:30%;height:125px}.creative-feature p{max-width:none}.workspace-header .points-balance .balance-label{display:none}}
@media(max-width:760px){.workspace-rail{padding-top:8px}.workspace-rail .brand{margin-bottom:0}.workspace-rail .workspace-navigation{gap:4px}.workspace-header{z-index:55;padding:0 14px;min-height:57px;height:57px}.workspace-main,.creative-home .workspace-main{padding:26px 16px 40px}.studio-intro{display:block;margin-bottom:21px}.studio-kicker{font-size:8px;letter-spacing:1.4px;margin-bottom:12px}.studio-intro h1{font-size:27px;letter-spacing:-.9px}.studio-intro-copy{font-size:11px;margin-top:7px}.creative-mode-switch{margin:19px 0 0}.creative-mode-switch a{padding:7px 14px}.creative-composer{padding:13px 12px 10px;border-radius:18px}.composer-reference{width:58px;min-width:58px;height:73px;border-radius:12px;font-size:9px;gap:6px}.composer-reference>svg{width:22px}.composer-content{gap:11px}.creative-composer textarea{height:128px;min-height:128px;font-size:13px;padding-right:23px}.composer-expand{width:23px;height:23px}.composer-controls{gap:7px;margin-top:12px}.composer-select,.composer-parameters>summary{height:34px;padding:4px 8px;font-size:11px}.composer-select>svg,.composer-parameters>summary>svg{width:15px}.composer-select select{font-size:11px}.composer-kind{order:1}.composer-model{order:2;flex:1;max-width:calc(100% - 118px)}.composer-reference-mode{order:3;max-width:108px}.composer-reference-mode>svg{display:none}.composer-parameters{order:4;max-width:calc(100% - 104px)}.composer-parameters>summary{gap:5px;font-size:10px}.composer-parameters>summary>svg{display:none}.composer-parameter-panel{left:auto;right:0;width:224px}.composer-generate{order:5;gap:6px}.composer-generate .roc-point-cost{gap:3px}.composer-generate .roc-point-cost b{font-size:12px}.composer-generate .roc-point-cost svg{width:12px}.composer-submit{width:32px;height:32px;min-width:32px}.composer-footer{align-items:flex-start;gap:10px;font-size:9px}.composer-footer button{font-size:9px;flex:none}.creative-under-composer{flex-direction:column;align-items:flex-start;gap:9px}.creative-ideas{gap:5px}.creative-ideas>span{font-size:9px}.creative-ideas button{font-size:9px;padding:5px 8px}.creative-hero{margin-bottom:24px}.creative-features{display:grid;grid-template-columns:1fr;overflow:visible;margin:0 0 27px;padding:0;gap:10px}.creative-feature{flex:none;width:100%;padding:14px;gap:18px;min-height:143px;aspect-ratio:auto;border-radius:14px}.feature-image-window{width:28%;min-width:80px;height:113px}.feature-library-art{width:28%;min-width:80px;height:113px}.creative-feature h2{font-size:17px;margin:7px 0}.creative-feature p{font-size:10px}.creative-feature .feature-index{font-size:7px;letter-spacing:1px}.feature-link{margin-top:11px;font-size:9px}.creative-home .workspace-project-toolbar{padding-top:21px}.workspace-projects .project-card{border-radius:11px}.workspace-projects .project-cover{border-radius:10px 10px 0 0}.account-popover-panel{max-width:calc(100vw - 28px)}.points-menu .account-popover-panel{right:-42px}.profile-dropdown{width:250px}.wallet-popover{width:266px}.workspace-header .points-balance{height:32px;min-height:32px;padding:0 9px}.workspace-header .points-balance strong{font-size:17px}.canvas-account-controls{gap:7px}.canvas-studio .profile-menu summary img{width:27px;height:27px}.canvas-studio .rocanvas-points-badge{height:31px;min-height:31px}.composer-result{gap:12px;padding:13px;align-items:flex-start}.composer-result>img,.composer-result>video{width:100px;max-height:120px}.composer-result p{font-size:10px}.composer-result h3{font-size:12px}.composer-result .popover-eyebrow{font-size:8px}}
@media(prefers-reduced-motion:reduce){.workspace-layout,.workspace-page .shell,.workspace-rail,.rail-toggle .panel-direction,.creative-feature,.feature-image-window>img,.feature-library-art>span,.workspace-projects .project-card,.workspace-projects .project-cover>img,.creative-composer textarea,.feature-link svg{transition:none!important}.account-popover-panel,.composer-parameter-panel,.composer-result-symbol{animation:none!important}}
@media(max-width:760px){.workspace-header .points-balance .balance-symbol{display:flex}.workspace-header .points-balance .balance-label{display:none}}
.canvas-studio:has(.canvas-account-controls) .studio-canvas-header button[title^="进入"][title$="个人中心"]{display:none!important}

/* Prompt-first composer layout with the existing controls and event targets. */
.creative-composer{padding:10px 17px 12px;border-radius:20px;background:#1b1c1f;border-color:#ffffff12;box-shadow:0 16px 48px -32px #000d,inset 0 1px #ffffff05}
.creative-composer:focus-within{border-color:#b99bd344;box-shadow:0 0 0 3px #a886d70a,0 18px 48px -30px #000d}
.composer-content{display:block;position:relative;min-height:218px}
.creative-composer textarea{display:block;width:100%;height:210px;min-height:164px;padding:71px 48px 15px 9px;font-size:15px;line-height:1.85;resize:vertical}
.composer-reference{position:absolute;z-index:1;left:8px;top:9px;width:46px;min-width:46px;height:46px;min-height:46px;padding:0;border:1px solid #ffffff20;border-radius:11px;background:#28292e;color:#c8bfd3}
.composer-reference>svg{width:22px;height:22px}
.composer-reference>span{display:none}
.composer-reference:hover{background:#34313b;border-color:#d0b4ee70;color:#f1e8ff}
.composer-expand{top:9px;right:6px;width:30px;height:30px;background:#28292e;border-color:#ffffff14}
.composer-expand:hover{background:#34313b;color:#fff}
.composer-references:not(:empty){margin:0 0 12px 7px}
.composer-controls{align-items:center;gap:8px;flex-wrap:nowrap;margin:0;padding:12px 0 1px;border-top:1px solid #ffffff12}
.composer-select,.composer-parameters>summary{height:40px;padding:5px 11px;background:#25262a;border-color:#ffffff10;color:#c9c1d3}
.composer-select:hover,.composer-parameters>summary:hover{background:#2d2d33;border-color:#c3a8e640}
.composer-kind{flex:none}
.composer-model{max-width:min(300px,29%)}
.composer-reference-mode{flex:none;max-width:170px}
.composer-generate{flex:none;gap:7px;margin-left:auto;padding:3px;border:1px solid #ffffff17;border-radius:99px;background:#222327;min-height:46px}
.composer-generate .roc-point-cost{padding-left:11px}
.composer-submit{width:38px;height:38px;min-width:38px;background:#f1edf7;color:#382c46;border-color:#fff;box-shadow:0 1px 5px #0006,inset 0 1px #fff}
.composer-submit:hover:not(:disabled){background:#fff;color:#382c46;transform:scale(1.035)}
.composer-submit:disabled{background:#4b4850;color:#938c9a;border-color:#ffffff0a}
.composer-footer{margin-top:9px;padding:0 4px;font-size:10px;color:#7f7c86}
.composer-footer button{transition:color .18s ease,transform .18s ease}
.composer-footer button:hover:not(:disabled){transform:translateX(2px)}
.workspace-navigation .workspace-nav-link,.workspace-navigation .rail-toggle,.creative-mode-switch a,.profile-menu>summary,.points-menu>summary,.workspace-redeem,.production-tabs>button,.production-app-rail .production-rail-link,.production-workspace button,.production-workspace select,.production-workspace textarea{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s cubic-bezier(.2,.7,.3,1)}
.workspace-navigation .workspace-nav-link:hover,.production-tabs>button:hover,.production-app-rail .production-rail-link:hover{transform:translateY(-1px)}
.workspace-page :is(button,a,input,select,textarea):focus-visible{outline-offset:3px}
@media(max-width:1150px){.composer-controls{flex-wrap:wrap}.composer-generate{margin-left:auto}.composer-model{max-width:260px}}
@media(max-width:760px){
 .creative-composer{padding:9px 11px 10px;border-radius:17px}
 .composer-content{min-height:177px}
 .creative-composer textarea{height:170px;min-height:138px;padding:67px 34px 13px 7px;font-size:13px}
 .creative-composer.composer-expanded textarea{height:280px}
 .composer-reference{left:5px;top:8px;width:44px;min-width:44px;height:44px;min-height:44px;border-radius:10px}
 .composer-expand{top:8px;right:3px;width:27px;height:27px}
 .composer-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"kind model" "reference reference" "parameters generate";gap:7px;margin:0;padding-top:10px;align-items:center}
 .composer-kind{grid-area:kind}.composer-model{grid-area:model;max-width:none;min-width:0}.composer-reference-mode{grid-area:reference;max-width:none}.composer-parameters{grid-area:parameters;max-width:100%;min-width:0}.composer-generate{grid-area:generate;justify-self:end;margin:0;min-height:40px}
 .composer-select,.composer-parameters>summary{width:100%;min-width:0;height:35px;padding:4px 8px;font-size:10px}
 .composer-select select{width:100%;max-width:none;min-width:0;font-size:10px;padding-right:11px}
 .composer-select>svg{width:14px}
 .composer-reference-mode>svg{display:block}
 .composer-parameters>summary{gap:5px;font-size:10px}.composer-parameters>summary>svg{display:block}
 .composer-parameter-panel{left:0;right:auto;width:min(224px,calc(100vw - 40px))}
 .composer-generate .roc-point-cost{padding-left:7px}.composer-submit{width:32px;height:32px;min-width:32px}
 .composer-footer{align-items:center;gap:8px;padding:0 2px;font-size:9px}.composer-footer button{font-size:9px;flex:none}
}
@media(prefers-reduced-motion:reduce){.composer-footer button,.workspace-navigation .workspace-nav-link,.production-tabs>button,.production-app-rail .production-rail-link,.production-workspace button{transition:none!important}}
.creative-composer>.creative-mode-switch{width:max-content;max-width:100%;justify-content:flex-start;margin:0 0 2px;padding:0 2px 8px;border:0;border-bottom:1px solid #ffffff12;border-radius:0;background:transparent;box-shadow:none}
.creative-composer>.creative-mode-switch a{min-height:34px;padding:7px 12px;border-radius:9px}
.creative-composer>.creative-mode-switch a.active{background:#2b292f;box-shadow:inset 0 1px #ffffff12}
@media(max-width:760px){.creative-composer>.creative-mode-switch{margin-bottom:2px;padding-bottom:7px}.creative-composer>.creative-mode-switch a{min-height:32px;padding:6px 10px}}

/* UI 1.1 — product workspace: graphite/lavender, compact creation, readable metadata.
   CSS only: existing fields, links, handlers and canvas geometry are preserved. */
.creative-home .workspace-main{padding-top:24px}
.creative-home .studio-intro{margin-bottom:20px}
.creative-home .studio-kicker{margin-bottom:10px;color:#bcb0cd}
.creative-home .studio-intro h1{font-size:clamp(25px,2.3vw,33px);line-height:1.4}
.creative-home .studio-intro-copy{color:#a6a0af;line-height:1.7}
.creative-home .creative-hero{margin-bottom:22px}
.creative-home .creative-mode-switch a{color:#ada5b7;min-height:36px}
.creative-home .creative-mode-switch a.active{color:#e9dcfb}
.creative-home .creative-mode-switch a>span{color:#aaa0b9}
.creative-home .creative-composer{padding:16px 18px 10px;border-radius:var(--ui-radius-panel,22px)}
.creative-home .composer-content{min-height:160px}
.creative-home .creative-composer textarea{height:160px;min-height:160px;font-size:14px;line-height:1.8;padding:66px 48px 15px 9px}
.creative-home .creative-composer textarea::placeholder{color:#a19ba9}
.creative-home .creative-composer.composer-expanded textarea{height:280px}
.creative-home .composer-reference{height:44px;min-height:44px;width:44px;min-width:44px;border-radius:var(--ui-radius-control,10px);color:#c5bbd1}
.creative-home .composer-expand{width:32px;height:32px}
.creative-home .composer-controls{margin-top:0;gap:8px}
.creative-home .creative-composer>.creative-mode-switch{margin:0 0 8px;padding:0 2px 8px}
.creative-home .composer-select,.creative-home .composer-parameters>summary{border-radius:var(--ui-radius-control,10px)}
.creative-home .composer-footer{margin-top:8px;color:#aaa2b5;font-size:11px;line-height:1.65}
.creative-home .composer-footer button{font-size:11px;color:#c2b5d1}
.creative-home .composer-footer button:disabled{opacity:.6}
.creative-home .composer-parameter-panel label{color:#cec4dc;font-size:12px}
.creative-home .composer-parameter-panel small{color:#b1a6bf;font-size:11px}
.creative-home .creative-under-composer{margin-top:10px}
.creative-home .creative-new{color:#b9b1c4;min-height:36px}
.creative-home .creative-ideas>span{color:#a69bad}
.creative-home .creative-ideas button{color:#b5a9c4;font-size:11px}
.creative-home .creative-features{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;margin-bottom:24px}
.creative-home .creative-feature{min-height:144px;padding:16px;gap:20px;border-radius:var(--ui-radius-card,16px)}
.creative-home .feature-production{border-color:#c0a3e322}
.creative-home .feature-library{background:#17181b;border-color:#ffffff0a}
.creative-home .feature-image-window{width:29%;min-width:110px;height:112px;border-radius:var(--ui-radius-control,10px)}
.creative-home .feature-library-art{width:24%;min-width:88px;height:108px}
.creative-home .creative-feature h2{font-size:19px;margin:6px 0;line-height:1.5}
.creative-home .feature-library h2{font-size:17px}
.creative-home .creative-feature p{color:#aca2b8;font-size:12px;line-height:1.7}
.creative-home .creative-feature .feature-index{color:#afa0be;font-size:9px}
.creative-home .feature-link{margin-top:10px;font-size:11px}
.creative-home .workspace-project-toolbar{padding-top:20px;margin-bottom:16px}
.creative-home .workspace-project-toolbar .primary.new-project{background:#2a2532!important;color:#dfccee!important;border-color:#bfa3df38!important;box-shadow:inset 0 1px #ffffff06}
.creative-home .workspace-project-toolbar .primary.new-project:hover{background:#37303f!important;border-color:#c6a4ee66!important}
.workspace-projects{gap:20px 16px}
.workspace-projects .project-meta small{color:#a6a0ae;font-variant-numeric:tabular-nums}
.workspace-projects .node-count{color:#c2bacd;font-variant-numeric:tabular-nums}
.creative-home .workspace-projects .empty{min-height:184px;padding:38px 20px}
.workspace-header .workspace-environment{color:#a29ba9}
.workspace-location,.creative-home .workspace-location{color:#ada6b6}

/* Keep the project list useful even with a single project. No project data is reordered. */
.production-main{padding-top:24px}
.production-main>.production-heading{padding:8px 0 18px;margin-bottom:12px;align-items:center}
.production-main>.production-heading h1{font-size:27px;line-height:1.45;margin-top:6px;letter-spacing:-.7px}
.production-main>.production-heading p{color:#aca4b7;line-height:1.8}
.production-main>.production-tabs{margin:8px 0 20px;padding-bottom:16px;border-bottom:1px solid #ffffff0b}
.production-main>.production-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.production-grid>.production-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.65fr) auto;grid-template-areas:"kicker meta action" "title meta action" "description meta action";align-items:center;gap:5px 24px;padding:20px 22px;border-radius:var(--ui-radius-card,16px);border-color:#ffffff12;transition:border-color var(--dur-2,180ms),background-color var(--dur-2,180ms),box-shadow var(--dur-2,180ms)}
.production-grid>.production-card:hover{transform:none;background:#202025;border-color:#bca4dd3d;box-shadow:0 8px 24px -20px #09070f80}
.production-grid>.production-card:focus-within{border-color:#c6a7ed80}
.production-grid>.production-card>.production-kicker{grid-area:kicker;color:#afa1bd;font-size:10px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.production-grid>.production-card>h3{grid-area:title;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.production-grid>.production-card>p{grid-area:description;color:#b0a7bc;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.production-grid>.production-card>.production-meta{grid-area:meta;align-content:center;gap:8px}
.production-grid>.production-card>.production-meta .production-badge{font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums}
.production-grid>.production-card>a.primary{grid-area:action;align-self:center;margin:0;white-space:nowrap;min-height:40px}
.production-main .production-kicker{color:#b3a2c3}
.production-main .production-empty{min-height:220px;padding:44px 24px}
.production-workspace .production-sidebar-meta,.production-workspace .production-all-projects{color:#b3a6bf}
.production-workspace .production-stage em,.production-workspace .production-stage small{color:#b4a6c3}
.production-workspace .production-stage.active em,.production-workspace .production-stage.active small{color:#dac7ef}
.production-workspace .production-assistant-heading>span,.production-workspace .production-composer-footer small{color:#b0a3bc}
.production-workspace .production-model-heading h2,.production-workspace #model-save-status{color:#b4a6c4}
.production-workspace .artifact-subheading span,.production-workspace .artifact-version time{color:#afa0c0;font-variant-numeric:tabular-nums}
.production-workspace .production-stage{transition:background-color var(--dur-2,180ms),border-color var(--dur-2,180ms)}
.production-workspace .production-stage:hover{border-color:#c5a9e340}

@media(max-width:1100px){
 .creative-home .creative-feature{gap:14px}
 .creative-home .feature-image-window{min-width:90px;width:27%}
 .creative-home .feature-library-art{min-width:74px;width:23%}
 .production-grid>.production-card{grid-template-columns:minmax(0,1fr) minmax(120px,.65fr) auto;gap:5px 16px}
}
@media(max-width:900px){
 .creative-home .creative-features{grid-template-columns:minmax(0,1fr)}
 .creative-home .creative-feature{min-height:128px}
 .creative-home .feature-image-window,.creative-home .feature-library-art{width:24%;height:100px}
}
@media(max-width:760px){
 .workspace-rail .workspace-nav-link,.workspace-rail.expanded .workspace-nav-link{width:44px;min-width:44px;height:44px;min-height:44px}
 .workspace-rail,.workspace-rail.expanded{height:64px;min-height:64px}
 .workspace-header .points-balance{min-height:44px;height:44px}
 .workspace-header .profile-menu summary{min-width:44px;min-height:44px;justify-content:center}
 .creative-home .workspace-main{padding:20px 16px calc(36px + env(safe-area-inset-bottom))}
 .creative-home .studio-intro{margin-bottom:18px}
 .creative-home .studio-intro h1{font-size:26px}
 .creative-home .creative-mode-switch{margin-top:15px}
 .creative-home .creative-mode-switch a{min-height:44px;padding:9px 13px;font-size:12px}
 .creative-home .creative-hero{margin-bottom:18px}
 .creative-home .creative-composer{padding:12px;border-radius:var(--ui-radius-card,16px)}
 .creative-home .composer-content{min-height:154px}
 .creative-home .creative-composer textarea{height:154px;min-height:154px;font-size:14px;padding:64px 44px 12px 7px}
 .creative-home .composer-reference{width:44px;min-width:44px;height:44px;padding:0}
 .creative-home .composer-content{gap:10px}
 .creative-home .composer-expand{width:40px;height:44px}
 .creative-home .composer-controls{gap:8px}
 .creative-home .composer-select,.creative-home .composer-parameters>summary{height:44px;min-height:44px;padding:6px 9px}
 .creative-home .composer-select select{min-height:30px;font-size:12px}
 .creative-home .composer-model{max-width:none}
 .creative-home .composer-reference-mode{max-width:none}
 .creative-home .composer-parameters{max-width:100%}
 .creative-home .composer-parameters>summary{font-size:11px}
 .creative-home .composer-generate{gap:10px}
 .creative-home .composer-submit{width:44px;height:44px;min-width:44px}
 .creative-home .composer-parameter-panel select{min-height:44px}
 .creative-home .composer-footer{align-items:center;gap:10px;font-size:11px}
 .creative-home .composer-footer button{min-height:44px;font-size:11px}
 .creative-home .creative-new,.creative-home .creative-ideas button{min-height:44px}
 .creative-home .creative-ideas{flex-wrap:wrap;gap:5px}
 .creative-home .creative-ideas>span{font-size:11px}
 .creative-home .creative-ideas button{padding:7px 9px}
 .creative-home .creative-features{gap:10px;margin-bottom:18px}
 .creative-home .creative-feature{padding:14px;gap:14px;min-height:128px}
 .creative-home .creative-feature h2{font-size:17px}
 .creative-home .feature-library h2{font-size:16px}
 .creative-home .creative-feature p{font-size:11px}
 .creative-home .feature-image-window,.creative-home .feature-library-art{width:25%;min-width:68px;height:100px}
 .creative-home .workspace-project-toolbar .search input{height:44px}
 .creative-home .workspace-project-toolbar .search svg{top:14px}
 .creative-home .workspace-project-toolbar .primary,.creative-home .workspace-project-toolbar .secondary{min-height:44px}
 .workspace-projects .project-options{width:44px;height:44px}
 .production-main{padding:20px 16px calc(36px + env(safe-area-inset-bottom))}
 .production-main>.production-heading{align-items:flex-start;gap:16px}
 .production-main>.production-heading h1{font-size:25px}
 .production-main .production-actions>button,.production-main .production-tabs>button,.production-main .production-tabs>a{min-height:44px}
 .production-grid>.production-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"kicker kicker" "title title" "description description" "meta meta" "action action";padding:18px;gap:8px}
 .production-grid>.production-card>.production-meta{margin:4px 0}
 .production-grid>.production-card>a.primary{min-height:44px;justify-self:start}
 .production-workspace .production-stage{min-height:44px}
 .production-workspace .production-mobile-button,.production-workspace .production-drawer-close{min-height:44px;min-width:44px}
 .production-workspace .production-stage>span{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 .production-grid>.production-card,.production-workspace .production-stage{transition:none}
}

/* Shared page canvas: vector dots stay crisp at any screen resolution. */
:root{--roc-page-canvas:#0c0e10;--roc-page-dots:radial-gradient(circle,rgba(206,208,220,.18) .7px,transparent .95px)}
body:not(.canvas-studio),body.workspace-page,body:has(.auth-page),.production-workspace,
.embedded body,.embedded main{
 background-color:var(--roc-page-canvas);
 background-image:var(--roc-page-dots);
 background-size:22px 22px;
 background-position:11px 11px;
}
body:not(.canvas-studio) .workspace-layout,body.workspace-page .shell,
body:not(.canvas-studio) .workspace-main,.production-main,
.production-workspace .production-center{background-color:transparent;background-image:none}
