/* TapNow-inspired spatial workspace, with Xiyou's own identity and existing editing semantics. */
:root{--bg:#101010;--panel:#191919;--panel2:#222;--panel3:#2c2c2c;--field:#131313;--line:#343434;--line2:#292929;--text:#f3f3f3;--muted:#a1a1a1;--faint:#727272;--accent:#e4e3eb;--accent2:#a6aac2;--accent-dim:#29292e;--green:#9dd9b6;--amber:#e4bd82;--red:#eda1a9;--radius:16px;--shadow:0 22px 70px #0008;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
body{background:#101010}button:focus-visible,a:focus-visible{outline-color:#b9c9ef}.btn{background:#242424;border-color:#383838;border-radius:9px}.btn:hover:not(:disabled){background:#303030;border-color:#4a4a4a}.btn.primary,.btn.light{background:#eeeeef;color:#171717;border-color:#eeeeef}.btn.primary:hover:not(:disabled),.btn.light:hover:not(:disabled){background:#fff;border-color:#fff}.btn.ghost{color:#a9a9ac;background:transparent}.btn.ghost:hover:not(:disabled){background:#262626;color:#fff}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px #bac6e611}.badge.purple{background:#2b2a30;color:#d5d1e3;border-color:#44404f}.panel,.studio-assets,.editor-panel,.timeline,.canvas-inspector,.job-card{background:#191919;border-color:#343434}.notice.info,.help-card{background:#212126;border-color:#393941;color:#bebec9}.help-card strong{color:#dedde6}.panel-body,.script-footer{background:#191919}.script-textarea,.prompt-surface{background:#111}.asset-banner{background:linear-gradient(110deg,#24252a,#1c1c1e);border-color:#393b42}.asset-banner p{color:#aaaab4}.asset-card:hover{background:#202020;border-color:#555}.asset-thumb{background:#121212;border-color:#333}.prompt-textarea{background:#121212}.editor-alert{background:transparent}.badge{border-radius:5px}.app-shell{padding-left:60px}.rail{width:60px;background:#101010;border-color:#292929;padding:15px 8px;gap:11px}.rail button{width:40px;height:40px;color:#909090;border-radius:11px}.rail button.active{background:#2b2b2c;color:#f1f1f1}.rail button.active:before{display:none}.rail .rail-logo{display:none}.rail .rail-divider:first-of-type{margin-top:52px}.rail .avatar{background:#2b2d35;color:#c8cddd;border-color:#454752}.is-home{padding-left:0}.is-home>.rail{display:none}.studio-header{position:relative;height:68px;padding:0 25px;border-bottom:1px solid #252525;background:#101010;gap:23px}.studio-header .brand{padding:0;white-space:nowrap;font-size:18px;letter-spacing:-.5px;gap:9px}.studio-header .brand img{width:31px;height:31px}.studio-header .brand-name{color:#f1f1f1;font-size:18px;font-weight:650;letter-spacing:-.5px}.studio-header .brand-name>span{font-size:15px;letter-spacing:-.5px;font-weight:450;color:#bdbdbd;margin-left:5px}.top-nav{display:flex;position:absolute;left:50%;transform:translateX(-50%);gap:5px;align-items:center}.top-nav>.btn{border-radius:99px;font-size:13px;min-height:34px;padding:7px 14px}.top-nav>.btn.selected{background:#242424;color:white;border-color:#333}.studio-header .header-right{gap:12px}.profile-pill{display:flex;align-items:center;gap:8px;background:#202020;border:1px solid #343434;border-radius:24px;padding:5px 10px 5px 5px;color:#c2c2c2;font-size:12px;max-width:195px}.profile-pill>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-avatar{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#32343a;color:#e5e5ed;font-size:12px;flex:none}.command-trigger{display:flex;align-items:center;gap:8px;color:#898989;padding:7px;border-radius:8px}.command-trigger:hover{background:#242424;color:#ddd}kbd{font-family:inherit;border:1px solid #3b3b3b;border-radius:4px;padding:1px 4px;font-size:10px;color:#a8a8a8}.project-breadcrumb{display:flex;align-items:center;gap:13px;min-width:0}.project-breadcrumb .header-title{max-width:330px}.project-breadcrumb .badge{font-size:10px}.is-project .studio-header{padding-left:20px}.is-project .brand-name>span{display:none}.project-nav{height:52px;padding:0 22px;gap:24px;background:#151515;border-color:#292929}.project-tab{height:52px;font-size:12px}.project-tab.active:after{height:2px;background:#ececee}.project-nav .nav-end .small{font-size:10px}.project-nav .nav-end{gap:5px}.project-nav .nav-end .btn{font-size:11px}.project-nav .nav-end .btn.ghost{max-width:130px}.project-nav .num{color:#888}.data-notice{background:#29271f;border-color:#444033}
/* Home: generous but useful composition, project covers are actual persisted media. */
.studio-home{min-height:calc(100vh - 68px);background-image:radial-gradient(#ffffff0a .8px,transparent .8px);background-size:23px 23px;padding:54px 42px 42px}.home-intro{width:min(810px,100%);margin:0 auto 56px}.home-eyebrow{display:flex;align-items:center;gap:7px;color:#8d8d91;font-size:11px;letter-spacing:1px;margin-bottom:15px}.live-dot{width:5px;height:5px;display:inline-block;background:#abc9bc;border-radius:50%;box-shadow:0 0 8px #abc9bc40}.home-intro h1{display:flex;align-items:center;gap:14px;font-size:31px;font-weight:600;letter-spacing:-1px;margin:0 0 10px}.story-orbit{display:grid;place-items:center;width:34px;height:34px;color:#e8e6ef}.story-orbit svg{width:32px;height:32px}.home-intro>p{font-size:12px;color:#88888d;margin:0 0 24px 48px}.home-composer{background:#1e1e1e;border:1px solid #383838;box-shadow:0 0 0 4px #1c1c1c66,0 8px 30px #0002;border-radius:20px;overflow:hidden}.home-composer:focus-within{border-color:#696a75;box-shadow:0 0 0 4px #a2a6c50b}.home-composer>textarea{width:100%;resize:none;border:0;box-shadow:none!important;background:transparent;padding:20px 21px 6px;font-size:14px;min-height:91px;line-height:1.8}.home-composer textarea::placeholder{color:#888}.composer-toolbar{display:flex;align-items:center;gap:10px;padding:10px 13px}.composer-toolbar select{max-width:285px;font-size:11px;background:#272727;border:1px solid #383838;padding:5px 22px 5px 8px;border-radius:7px;min-height:29px}.tiny-label{font-size:10px;letter-spacing:.5px;color:#777}.composer-mode{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:11px;color:#a2a2a6}.composer-send{width:32px;height:32px;display:grid;place-items:center;background:#e9e9eb;color:#171717;border-radius:50%;flex:none}.composer-send:hover:not(:disabled){background:#fff;transform:translateY(-1px)}.composer-send svg{transform:rotate(-90deg);width:17px;height:17px}.composer-send:disabled{opacity:.35}.home-quick-tools{display:flex;align-items:center;gap:7px;padding:13px 0 0}.quick-tool{background:#1c1c1c;border:1px solid #292929;min-height:30px;font-size:11px;padding:5px 10px;color:#c2c2c6;border-radius:8px}.quick-tool:hover{background:#2a2a2b}.home-composer-note{font-size:10px;color:#6f6f74;margin-left:auto}.home-projects{max-width:1280px;margin:0 auto}.home-projects .section-heading{margin:0 0 21px}.home-projects .section-heading h2{font-size:17px;letter-spacing:-.3px}.home-projects .section-heading .count{font-size:11px;margin-left:6px;color:#777}.home-projects .section-heading p{font-size:11px;color:#777}.home-projects .search{background:#171717}.project-grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:17px}.project-card{border-radius:16px;background:#1a1a1a;border-color:#333;box-shadow:0 3px 18px #0002}.project-card:hover{border-color:#6e6e75;background:#212121;transform:translateY(-3px)}.project-cover{height:162px;background:#202024}.project-cover img{filter:brightness(.85);transition:transform .3s}.project-card:hover .project-cover img{transform:scale(1.035)}.project-cover .badge{font-size:9px;border-color:#ffffff20;background:#111a;left:11px;top:11px}.project-cover .cover-count{font-size:9px;right:10px;bottom:10px;background:#111b;backdrop-filter:blur(10px);border-radius:5px}.project-info{padding:14px 15px}.project-info h3{font-size:13px;font-weight:550;margin-bottom:7px;color:#dedee2}.project-info p{font-size:10px;color:#85858a}.project-meta{margin-top:12px;font-size:10px;color:#727277}.project-meta .icon{width:14px;height:14px}.project-cover-placeholder{height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;background:radial-gradient(ellipse at 10% 20%,#3d424a80,transparent 70%),linear-gradient(120deg,#22242a,#1a1a1d);color:#a8a9b3}.project-cover-placeholder>span{width:39px;height:39px;background:#ffffff08;border-radius:12px;display:grid;place-items:center}.project-cover-placeholder>strong{font-size:12px;letter-spacing:1px;font-weight:500}.project-cover-placeholder>small{color:#656671;font-size:7px;letter-spacing:2px}.project-add{min-height:259px;background:#1d1d1dcc;border:1px solid #353535;border-radius:16px;gap:10px;box-shadow:inset 0 0 0 7px #22222265}.project-add:hover{background:#252525;border-color:#6f707a;color:white}.project-add-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #3a3a3a;border-radius:13px;background:#262626;margin-bottom:6px}.project-add-icon svg{width:21px;height:21px;color:#bbb}.project-add>span:not(.project-add-icon){font-size:12px;font-weight:500;color:#d0d0d3}.project-add>small{font-size:10px;color:#717176}.search-empty{padding:30px;text-align:center;color:#85858a;font-size:12px}.workflow-strip{max-width:1280px;margin:34px auto 0;border:1px solid #29292b;border-radius:18px;background:linear-gradient(120deg,#1d1e22,#171717);padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px}.workflow-strip h2{font-size:16px;letter-spacing:-.3px;font-weight:500;margin-top:5px}.workflow-steps{display:flex;gap:12px;align-items:center}.workflow-steps>span{display:flex;gap:5px;align-items:center;font-size:10px;white-space:nowrap;color:#a2a2aa}.workflow-steps>i{font-style:normal;color:#48484d;font-size:11px}.workflow-steps svg{width:13px;height:13px}
/* Project: chat is a real persisted workspace alongside all existing editors. */
.creation-workspace{display:flex;min-height:calc(100vh - 120px);position:relative}.creation-content{min-width:0;flex:1;background:#131313;overflow:hidden}.agent-panel{width:326px;flex:0 0 326px;height:calc(100vh - 120px);min-height:570px;position:sticky;top:0;display:flex;flex-direction:column;background:#161616;border-right:1px solid #2e2e2e;overflow:hidden}.agent-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 16px 17px;border-bottom:1px solid #262626}.agent-panel-heading>div:first-child{min-width:0}.agent-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:550}.agent-title svg{color:#d0d1dc;width:17px;height:17px}.agent-panel-heading small{display:block;font-size:9px;color:#7b7b83;margin:5px 0 0 25px;white-space:nowrap}.agent-panel-heading .icon-btn{width:25px;height:25px}.agent-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:19px 16px;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#393939 transparent}.agent-welcome{padding:14px 0 0}.agent-symbol{width:43px;height:43px;display:grid;place-items:center;border:1px solid #414047;background:radial-gradient(at 20% 0%,#414049,#232327);border-radius:15px;margin-bottom:20px;box-shadow:0 4px 20px #0002}.agent-symbol svg{width:23px;height:23px;color:#e5e1ef}.agent-welcome h2{font-size:19px;font-weight:500;letter-spacing:-.5px}.agent-welcome>p{font-size:11px;color:#96969c;line-height:1.9;margin-top:11px}.agent-context-stats{display:flex;gap:8px;align-items:center;margin:17px 0 22px;flex-wrap:wrap}.agent-context-stats>span{font-size:9px;border:1px solid #303033;border-radius:5px;padding:4px 6px;color:#94949b;background:#1d1d20}.agent-starters{display:flex;flex-direction:column;gap:8px}.agent-starters .btn{font-size:11px;font-weight:400;justify-content:space-between;white-space:normal;text-align:left;line-height:1.5;padding:10px 11px;min-height:39px;background:#1c1c1d;border-color:#2d2d31;color:#bcbcc2;border-radius:10px}.agent-starters .btn:hover{background:#28282b;border-color:#48484f;color:#fff}.agent-starters .icon{width:13px;height:13px;color:#777780}.agent-load{display:flex;align-items:center;gap:8px}.agent-message{margin-bottom:24px}.agent-message-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#b1b1b8;margin-bottom:9px;font-weight:500}.agent-message-meta .icon{width:13px;height:13px}.agent-message-meta time{margin-left:auto;font-size:9px;font-weight:400;color:#62626b}.agent-message-content{font-size:11px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;color:#c4c4cd}.agent-message.user .agent-message-content{background:#2a2a2d;border:1px solid #37373c;border-radius:12px 12px 3px 12px;padding:10px 12px;color:#ededf0}.agent-message.user .agent-message-meta{justify-content:flex-end}.agent-message.user time{display:none}.agent-action-card{margin-top:14px;border:1px solid #43434b;background:#212125;border-radius:11px;overflow:hidden;padding:12px}.agent-action-card.dismissed{opacity:.5}.agent-action-heading{display:flex;align-items:center;gap:7px}.agent-action-heading strong{font-size:11px;font-weight:550;flex:1;min-width:0}.action-glyph{width:25px;height:25px;display:grid;place-items:center;background:#34343c;border-radius:7px;flex:none;color:#d6d4e4}.agent-action-heading>.badge{padding:3px 4px;font-size:8px}.agent-action-card>p{font-size:10px;line-height:1.8;margin-top:11px;color:#9999a3;white-space:pre-wrap;overflow-wrap:anywhere}.action-skills{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}.action-skills>span{display:flex;align-items:center;gap:4px;font-size:8px;padding:3px 5px;background:#2d2d34;border-radius:4px;color:#b4b1c7}.action-skills svg{width:10px;height:10px}.agent-action-footer{display:flex;align-items:center;gap:6px;margin-top:12px}.agent-action-footer .btn{font-size:10px;min-height:27px;padding:4px 8px}.agent-action-footer>.spinner{margin-left:auto}.action-job-state{display:flex;gap:7px;align-items:center;margin-top:9px;font-size:9px;color:#a7a6b5}.action-job-state>.badge{font-size:8px}.agent-compose-wrap{padding:10px 12px 12px;background:linear-gradient(transparent,#161616 8px);flex:none}.agent-composer{border:1px solid #3b3b40;background:#222225;border-radius:13px;overflow:hidden}.agent-composer:focus-within{border-color:#777884}.agent-composer textarea{background:transparent;width:100%;resize:none;border:0;border-radius:0;box-shadow:none!important;padding:11px 12px 0;min-height:76px;max-height:160px;font-size:11px;line-height:1.8}.agent-composer .composer-toolbar{padding:7px 8px;gap:3px}.agent-composer .composer-toolbar .btn{font-size:10px;padding:4px 6px;min-height:25px}.agent-composer .composer-toolbar small{font-size:8px;color:#72727c;margin-right:5px}.agent-composer .composer-send{width:26px;height:26px}.agent-composer .composer-send svg{width:13px;height:13px}.agent-cost-note{font-size:8px;text-align:center;line-height:1.6;color:#71717a;margin:8px 0 0}.agent-selected-skills{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 7px}.agent-selected-skills:empty{display:none}.agent-selected-skills>button{display:flex;align-items:center;gap:4px;border:1px solid #48434f;background:#2b2732;border-radius:6px;padding:4px 6px;font-size:9px;color:#c3b7d2}.agent-selected-skills .icon{width:10px;height:10px}.agent-selected-skills small{font-size:8px;color:#867795}.with-agent .studio{display:block;height:calc(100vh - 120px);padding:15px;min-height:570px}.with-agent .studio-assets{display:none}.with-agent .studio-main{height:100%;grid-template-rows:minmax(350px,1fr) 139px;gap:13px}.with-agent .editor-columns{grid-template-columns:minmax(0,1fr) 245px;gap:13px}.with-agent .editor-panel{padding:13px;border-radius:16px}.with-agent .prompt-meta{font-size:10px;gap:6px}.with-agent .prompt-meta>.faint{display:none}.with-agent .prompt-meta .btn{font-size:9px;padding:4px 5px}.with-agent .prompt-meta .binding-summary{font-size:9px;max-width:120px}.with-agent .prompt-meta .grow{min-width:3px}.with-agent .prompt-meta input{width:42px}.with-agent .prompt-textarea{padding:14px;font-size:12px;line-height:2}.with-agent .editor-heading h2{font-size:13px}.with-agent .editor-heading input{font-size:12px}.with-agent .prompt-footer{font-size:9px;padding:8px}.with-agent .prompt-footer .btn{font-size:10px;min-height:30px;padding:5px 8px}.with-agent .editor-alert{font-size:10px;line-height:1.7;padding:10px 0 0}.with-agent .timeline{border-radius:15px;padding:12px}.with-agent .timeline-head{font-size:10px}.with-agent .shot-card{height:80px;width:137px;min-width:137px;border-radius:8px}.with-agent .shot-name{font-size:9px}.with-agent .shot-duration{font-size:9px}.with-agent .page{padding:26px}.with-agent .page h1{font-size:23px}.with-agent .script-layout{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.with-agent .script-textarea{min-height:440px;font-size:13px;padding:19px}.with-agent .asset-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}.with-agent .asset-thumb{width:82px;height:116px}.with-agent .asset-thumb.landscape{width:114px;height:87px}.with-agent .asset-card{gap:13px;padding:14px;min-height:160px}.with-agent .asset-card-info p{font-size:10px}.with-agent .canvas-page{height:calc(100vh - 120px);min-height:570px;padding:15px;gap:12px}.with-agent .canvas-toolbar{gap:8px;flex-wrap:wrap}.with-agent .canvas-toolbar h2{font-size:14px}.with-agent .canvas-toolbar p{font-size:9px}.with-agent .canvas-toolbar-actions{gap:4px}.with-agent .canvas-toolbar-actions .btn{font-size:9px;padding:5px 7px}.with-agent .canvas-layout{grid-template-columns:minmax(0,1fr) 208px}.with-agent .canvas-inspector{padding:14px}.with-agent .canvas-inspector h3{font-size:12px}.with-agent .canvas-inspector p{font-size:10px}.canvas-viewport{background:#151515;border-color:#363636}.canvas-dots{opacity:.35}.canvas-node{border-color:#47474e;background:#222226}.canvas-node.selected{border-color:#b8b5c4;box-shadow:0 0 0 2px #c0bac824}.canvas-node-top{background:#26262c}.canvas-toolbar-actions .light{background:#dedde4}.canvas-help{background:#1b1b1dcc;border-color:#3a3a3e;color:#96969f}.canvas-zoom{background:#202023;border-color:#3e3e43}.canvas-inspector{background:#1b1b1d}.canvas-minimap-wrap{background:#1c1c1f;border-color:#404046}.canvas-node-open{background:#34343c;color:#ddd9e8;border-color:#565360}.canvas-node-open:hover{background:#4b4855}.canvas-node-note{background:#282622;border-color:#514d43}.canvas-note-text{color:#c8c1ad}.preview-window{background:#101010}.preview-empty p{font-size:13px}.preview-empty small{font-size:10px}.play-ring{border-color:#606069;color:#d8d5df}.preview-config select{font-size:10px;padding:8px 7px}.preview-generate{font-size:11px}.jobs-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.source,.meta,.source-label{color:#8c8b94}
/* Skill library and command palette. */
.skills-page{max-width:1190px;padding-top:50px}.skills-page .eyebrow{color:#9c9aa8;font-size:10px;letter-spacing:2px}.skills-page h1{font-size:29px;font-weight:550;letter-spacing:-1px}.skills-page .page-top p{font-size:12px;color:#8e8e94}.skills-toolbar{display:flex;gap:10px;align-items:center;margin:30px 0 22px}.skills-toolbar .search input{width:260px}.skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.skill-card{display:flex;flex-direction:column;padding:21px;border:1px solid #36363a;border-radius:16px;background:linear-gradient(140deg,#222226,#1a1a1c);min-width:0;transition:border-color .18s,transform .18s}.skill-card:hover{border-color:#65626f;transform:translateY(-2px)}.skill-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.skill-icon{display:grid;place-items:center;width:37px;height:37px;background:#34313c;border:1px solid #4c4659;border-radius:11px;color:#ccc0e2}.skill-card-heading .badge{font-size:9px;color:#92909e;border-color:#414047}.skill-card h3{font-size:15px;font-weight:550;line-height:1.5}.skill-card>p{font-size:11px;line-height:1.9;color:#92919b;margin:10px 0 16px;min-height:41px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.skill-tools{display:flex;gap:5px;flex-wrap:wrap}.skill-tools>span{font-size:9px;color:#b1aebb;background:#29282f;border:1px solid #3d3b46;border-radius:5px;padding:3px 6px}.skill-card-footer{display:flex;align-items:center;gap:5px;margin-top:auto;padding-top:21px}.skill-card-footer .btn{font-size:10px}.skill-card-footer .btn:first-child{margin-right:auto}.skill-explainer{margin:30px 0;display:flex;align-items:center;gap:8px;font-size:11px;color:#777580;line-height:1.8}.skill-editor-modal{width:700px}.skill-tool-fieldset{border:1px solid #3a3942;border-radius:12px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0}.skill-tool-fieldset legend{font-size:12px;color:#bbb7c6;padding:0 7px}.skill-tool-fieldset label{display:flex;align-items:center;gap:8px;font-size:12px;color:#bab7c5}.skill-selector{display:flex;flex-direction:column;gap:10px}.skill-selector>label{display:flex;gap:13px;align-items:flex-start;padding:15px;background:#202024;border:1px solid #393840;border-radius:12px;cursor:pointer}.skill-selector>label:has(input:checked){border-color:#93859f;background:#29242e}.skill-selector input{margin-top:3px;flex:none}.skill-selector strong{display:block;font-size:13px;font-weight:550}.skill-selector small{display:block;font-size:11px;color:#a09aa9;margin:5px 0;line-height:1.8}.skill-selector span{display:block;font-size:10px;color:#82788e}.skill-rule-preview{white-space:pre-wrap;font:12px/1.9 inherit;overflow-wrap:anywhere;background:#141416;border:1px solid #34323a;border-radius:12px;padding:19px;margin:20px 0 0;max-height:440px;overflow:auto;color:#c0bacb}.action-review-detail{padding:20px;border:1px solid #3b3945;background:#1d1c22;border-radius:12px;margin-bottom:24px}.action-review-detail h3{font-size:13px;margin-bottom:9px}.action-review-detail>p{font-size:12px;line-height:1.9;color:#aba3b9;white-space:pre-wrap}.action-input-stats{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#93899e;padding:16px 0}.action-review-detail details{font-size:11px;margin-top:9px;line-height:1.8}.action-review-detail details>summary{cursor:pointer;color:#bfb3d0}.action-review-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#99909f;font-size:10px;padding:11px;background:#141317;border-radius:6px}.command-modal{width:550px}.command-search{display:flex;align-items:center;gap:11px;border-bottom:1px solid #33313b;padding-bottom:16px;color:#92899d}.command-search input{background:transparent;border:0;box-shadow:none;flex:1;font-size:14px;padding:5px 0}.command-list{display:flex;flex-direction:column;gap:4px;margin-top:13px}.command-list button{display:flex;align-items:center;gap:14px;text-align:left;padding:12px;border:1px solid transparent;border-radius:10px;color:#a8a1b0}.command-list button:hover{background:#302a39;border-color:#51425d;color:#e5dceb}.command-list button>span{flex:1}.command-list strong{font-size:12px;font-weight:500;color:#d0c8da;display:block}.command-list small{display:block;font-size:10px;color:#89818f;margin-top:3px}.command-list button[hidden]{display:none}.modal-head,.modal-foot{border-color:#36353c}dialog{background:#202023;border-color:#43414a}dialog .modal-sub{color:#aaa5b2}.login-page{background:#121214}.login-art{background:radial-gradient(ellipse at 30% 30%,#34373d,#17171b 70%)}.login-art .decor{opacity:.55}.login-note{color:#75717e}.login-form-wrap{background:#171719}.login-art footer{color:#89828f}.brand-mark{background:linear-gradient(140deg,#e4d9f8,#c2dfed,#cbebd3);color:#28303b}.login-copy h1{font-weight:500;letter-spacing:-1px}.preset-card,.example-card{background:#1c1c1f;border-color:#37353f}.preset-card:hover,.example-card:hover{background:#28252e;border-color:#5c5367}.preset-filter-row .preset-search{background:#17161c}.history-list{background:#19181f}.history-list>button.active{background:#302a39;border-color:#655471}.history-prompt,.snapshot-prompt,.audit-pre{background:#141317}.project-refresh-notice{font-size:11px}
@media(min-width:1700px){.agent-panel{width:355px;flex-basis:355px}.with-agent .editor-columns{grid-template-columns:minmax(0,1fr) 310px}.with-agent .prompt-textarea{font-size:13px}.with-agent .canvas-layout{grid-template-columns:minmax(0,1fr) 240px}.studio-home{padding-top:65px}.home-intro{margin-bottom:68px}.project-cover{height:184px}.home-projects{max-width:1400px}.workflow-strip{max-width:1400px}.agent-message-content{font-size:12px}}
@media(max-width:1250px){.top-nav{position:static;transform:none;margin-left:auto}.studio-header{gap:12px;padding:0 18px}.studio-header .brand-name{font-size:16px}.studio-header .brand-name>span{font-size:12px}.studio-header .header-right{margin-left:auto;gap:6px}.profile-pill{max-width:150px}.studio-home{padding:42px 28px}.home-intro{width:750px;max-width:100%}.workflow-strip{display:block}.workflow-steps{margin-top:18px;justify-content:space-between}.agent-panel{width:290px;flex-basis:290px}.agent-panel-heading{padding:17px 12px}.agent-panel-heading small{font-size:8px}.agent-scroll{padding:17px 12px}.agent-composer .composer-toolbar small{display:none}.with-agent .editor-columns{grid-template-columns:minmax(0,1fr) 210px;gap:10px}.with-agent .prompt-meta>.flex{display:none}.with-agent .prompt-footer .save-state{display:none}.with-agent .script-layout{grid-template-columns:1fr}.with-agent .script-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.with-agent .canvas-layout{grid-template-columns:minmax(0,1fr) 180px}.with-agent .canvas-inspector{padding:11px}.project-nav{gap:17px;padding:0 16px}.project-nav .nav-end .small{display:none}.is-project .brand-name{display:none}.project-breadcrumb .header-title{max-width:300px}.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skills-page{padding:35px 28px}}
@media(max-width:1000px){.with-agent .editor-columns{grid-template-columns:1fr}.with-agent .preview-column{display:none}.with-agent .studio-main{grid-template-rows:minmax(320px,1fr) 139px}.with-agent .canvas-layout{grid-template-columns:1fr}.with-agent .canvas-inspector{display:none}.agent-panel{width:285px;flex-basis:285px}.project-nav .nav-end [data-action=prompt-library]{display:none}.top-nav .btn{padding:7px 10px;font-size:11px}.studio-header .command-trigger{display:none}.profile-pill{max-width:130px}.home-intro h1{font-size:28px}.home-composer-note{display:none}.project-breadcrumb .header-title{max-width:240px}}
@media(max-width:800px){.is-home{padding-left:0}.studio-header .brand-name>span{display:none}.studio-header .top-nav{gap:0}.studio-header .top-nav .btn{padding:7px}.studio-header .top-nav .btn svg{display:none}.profile-pill>span:nth-child(2),.profile-pill>svg{display:none}.profile-pill{padding:3px}.studio-home{padding:34px 22px}.home-intro{margin-bottom:35px}.home-intro h1{font-size:25px;gap:9px}.home-intro>p{margin-left:0;font-size:11px}.home-composer .tiny-label{display:none}.composer-mode{font-size:10px}.composer-toolbar select{max-width:210px}.home-quick-tools{gap:5px;flex-wrap:wrap}.quick-tool{font-size:10px;padding:5px 8px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.project-add{min-height:250px}.workflow-steps{flex-wrap:wrap;justify-content:flex-start;gap:9px}.workflow-steps>i{display:none}.workflow-steps>span{width:28%}.agent-panel{position:fixed;left:54px;top:120px;bottom:0;width:305px;height:calc(100vh - 120px);min-height:0;z-index:29;box-shadow:15px 0 45px #0005}.with-agent .creation-content{margin-left:0}.creation-workspace.with-agent:before{content:'';position:fixed;inset:120px 0 0 359px;background:#0003;z-index:28;pointer-events:none}.with-agent .studio .preview-column{display:flex}.with-agent .studio .editor-columns{grid-template-columns:minmax(0,1fr) 220px}.is-project .header-title{max-width:180px}.project-breadcrumb>.badge{display:none}.is-project .brand{display:none}.project-nav .nav-end{display:none}.project-nav{overflow-x:auto;gap:18px}.project-tab{white-space:nowrap}.skills-page h1{font-size:24px}.skill-grid{gap:12px}.skill-card{padding:16px}.skill-card>p{font-size:10px}.skills-toolbar .search{display:flex}.skills-toolbar .search input{width:170px}.skill-explainer{align-items:flex-start}.with-agent .page{padding:22px}.with-agent .script-layout>aside{display:block}.with-agent .canvas-page .canvas-layout{grid-template-columns:minmax(0,1fr) 185px}.with-agent .canvas-inspector{display:block}}
@media(max-width:580px){.studio-header{height:60px;padding:0 13px}.studio-header .brand img{width:28px;height:28px}.studio-header .brand-name{font-size:14px}.top-nav .btn:nth-child(n+3){display:none}.home-intro h1{font-size:22px}.story-orbit{display:none}.studio-home{padding:29px 16px}.home-intro>p{font-size:10px}.home-eyebrow{font-size:9px}.home-composer>textarea{font-size:12px;padding:16px}.home-composer .composer-mode{display:none}.composer-toolbar select{max-width:230px}.home-composer .composer-send{margin-left:auto}.home-projects .section-heading p{display:none}.home-projects .section-heading .search{display:none}.project-cover{height:130px}.project-add{min-height:221px}.project-info{padding:12px}.project-info h3{font-size:11px}.project-info p{font-size:9px}.project-meta{font-size:8px}.workflow-strip{padding:20px}.workflow-strip h2{font-size:14px}.skill-grid{grid-template-columns:1fr}.skills-page .page-top{align-items:flex-start}.skills-page h1{font-size:21px}.skills-page .page-top>.btn{font-size:10px;padding:8px}.skills-toolbar{gap:2px;flex-wrap:wrap}.skills-toolbar .search{width:100%;margin-bottom:8px}.skills-toolbar .search input{width:100%}.skill-tool-fieldset{grid-template-columns:1fr}.agent-panel{left:49px;top:112px;width:calc(100vw - 49px);height:calc(100vh - 112px)}.creation-workspace.with-agent:before{display:none}.with-agent .studio .editor-columns{grid-template-columns:1fr}.with-agent .studio .preview-column{display:none}.with-agent .canvas-page .canvas-layout{grid-template-columns:1fr}.with-agent .canvas-inspector{display:none}.studio-header .header-right .btn{font-size:10px;padding:6px}.project-breadcrumb .header-title{font-size:12px;max-width:190px}.profile-pill{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.composer-mode-select{margin-left:auto;font-size:11px!important;min-width:87px;background:transparent!important;border-color:transparent!important;color:#a7a7ae}.agent-composer .composer-toolbar #agent-mode{font-size:9px;background:transparent;border-color:transparent;padding:4px 15px 4px 5px;min-height:25px;max-width:92px;color:#a4a1b0}.agent-composer .composer-toolbar small{font-size:7px;white-space:nowrap}.agent-official-reply{padding:12px;border:1px solid #3f4744;border-radius:11px;background:#1c2320}.agent-answer-label{display:flex;align-items:center;gap:5px;font-size:8px;color:#a1b9ab;margin-bottom:12px}.agent-answer-label svg{width:11px;height:11px}.agent-answer-full{margin:14px 0 0}.agent-answer-full summary{cursor:pointer;font-size:10px;color:#a9c4b4;line-height:1.8}.agent-answer-full[open] summary{margin-bottom:14px}.agent-official-reply>.btn{font-size:9px;padding:4px 0;min-height:24px;margin-top:12px;color:#97b2a2}.agent-official-reply .agent-message-content{color:#c1d0c8}
@media(max-width:1000px) and (min-width:801px){.with-agent .editor-columns{grid-template-columns:minmax(0,1fr) 190px}.with-agent .preview-column{display:flex}.with-agent .prompt-meta>.btn{display:none}.with-agent .prompt-footer .btn{padding:5px;font-size:9px}.with-agent .canvas-inspector{display:block}.with-agent .canvas-layout{grid-template-columns:minmax(0,1fr) 170px}}
@media(max-width:580px){.with-agent .studio .editor-columns{display:flex;flex-direction:column;overflow:auto}.with-agent .studio .prompt-surface{flex:0 0 330px}.with-agent .studio .preview-column{display:flex;min-height:350px;flex:none}.with-agent .studio .preview-window{min-height:245px}.with-agent .canvas-inspector{display:block}.with-agent .canvas-page .canvas-layout{display:flex;flex-direction:column;overflow:auto}.with-agent .canvas-viewport{min-height:420px}.with-agent .canvas-inspector{max-height:280px;overflow:auto}}
/* The local demo opens one workspace directly; provider credentials remain server-side. */
.workspace-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#a4aaa8;font-size:11px;padding:7px 10px;border:1px solid #313735;border-radius:99px;background:#1a1e1c}.workspace-status .dot{width:5px;height:5px;color:#9cc4aa}.workspace-connection{min-height:100vh;display:grid;place-items:center;background:radial-gradient(#ffffff0a .8px,transparent .8px) 0 0/23px 23px,#101010;padding:24px}.workspace-connection-card{width:min(480px,100%);display:flex;align-items:center;flex-direction:column;gap:18px;padding:40px 32px;border:1px solid #35363a;border-radius:22px;background:linear-gradient(140deg,#202124,#161618);text-align:center;box-shadow:0 20px 70px #0004}.workspace-connection-card>img{width:47px;height:47px}.workspace-connection-card>.eyebrow{margin:0;color:#aba9b6;font-size:11px;letter-spacing:1px}.workspace-connection-card>h1{font-size:23px;font-weight:550;letter-spacing:-.5px}.workspace-connection-card>p{color:#96959e;font-size:12px;line-height:1.9}.workspace-connection-card>.workspace-connection-error{color:#d0b3ab;background:#2b2423;border:1px solid #4f3b37;border-radius:9px;padding:11px 14px;width:100%;overflow-wrap:anywhere;font-size:11px}.workspace-connection-card>small{color:#71717b;font-size:10px}.workspace-connection-card>.btn{font-size:12px;min-width:125px}.workspace-connection-card>.spinner{width:22px;height:22px}
@media(max-width:800px){.workspace-status{font-size:9px;padding:5px 7px}.workspace-status .dot{width:4px;height:4px}}@media(max-width:580px){.is-project .workspace-status{display:none}.workspace-connection-card{padding:32px 23px}.workspace-connection-card>h1{font-size:21px}}

/* Persistent creation navigation and real project entry points. */
.studio-shell{--studio-nav-width:218px;padding-left:var(--studio-nav-width)!important}.studio-shell.nav-collapsed{--studio-nav-width:68px}.global-sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--studio-nav-width);z-index:40;background:#151515;border-right:1px solid #242424;display:flex;flex-direction:column;padding:18px 12px 12px;box-sizing:border-box;color:#a4a4a4}.sidebar-brand{display:flex;align-items:center;gap:5px;padding:0 1px 22px;min-height:48px}.sidebar-wordmark{display:flex;align-items:center;gap:9px;border:0;padding:5px;background:transparent;color:#ededed;white-space:nowrap;min-width:0}.sidebar-wordmark img{width:28px;height:28px}.sidebar-wordmark strong{font-size:15px;font-weight:650;letter-spacing:.3px}.sidebar-collapse{margin-left:auto;flex-shrink:0;opacity:.65}.global-sidebar button{cursor:pointer}.sidebar-main,.sidebar-footer{display:flex;flex-direction:column;gap:6px}.sidebar-main>button,.sidebar-footer>button{display:flex;align-items:center;gap:11px;min-height:42px;padding:0 13px;background:none;border:0;border-radius:10px;color:#a6a6a6;text-align:left;font-size:13px;white-space:nowrap}.sidebar-main>button:hover,.sidebar-footer>button:hover,.sidebar-project-list>button:hover{background:#222;color:#eee}.sidebar-main>button.active,.sidebar-footer>button.active{background:#292929;color:#fff}.global-sidebar .icon{width:17px;height:17px;flex-shrink:0;stroke-width:1.65}.sidebar-main>button:nth-child(3){margin-bottom:10px}.sidebar-main>button:nth-child(4){border-top:1px solid #252525;border-radius:0;padding-top:11px;min-height:54px}.sidebar-projects{display:flex;flex-direction:column;min-height:0;flex:1;margin-top:22px;border-top:1px solid #252525;padding-top:12px}.sidebar-section-heading{display:flex;align-items:center;justify-content:space-between;min-height:32px;font-size:12px;padding:0 10px 8px;color:#777}.sidebar-section-heading .icon-btn{width:25px;height:25px}.sidebar-project-list{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#363636 transparent}.sidebar-project-list>button{display:flex;align-items:center;gap:9px;min-height:38px;padding:7px 10px;width:100%;background:transparent;border:0;border-radius:8px;color:#9c9c9c;font-size:12px;text-align:left}.sidebar-project-list>button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.sidebar-project-list>button.active{color:#e9e9e9;background:#232323}.sidebar-current-dot{width:5px;height:5px;border-radius:50%;background:#bbb}.sidebar-empty{font-size:12px;color:#666;padding:12px;display:block}.sidebar-footer{border-top:1px solid #252525;padding-top:9px;margin-top:12px}.sidebar-footer>button{min-height:36px;font-size:12px}.nav-collapsed .global-sidebar{padding-left:10px;padding-right:10px}.nav-collapsed .sidebar-brand{justify-content:center;flex-direction:column;padding-bottom:12px;gap:6px}.nav-collapsed .sidebar-wordmark strong,.nav-collapsed .sidebar-main>button>span,.nav-collapsed .sidebar-footer>button>span,.nav-collapsed .sidebar-projects{display:none}.nav-collapsed .sidebar-collapse{margin:0;height:23px}.nav-collapsed .sidebar-main>button,.nav-collapsed .sidebar-footer>button{justify-content:center;padding-left:0;padding-right:0}.nav-collapsed .sidebar-footer{margin-top:auto}.studio-shell>.studio-header{left:0;padding-left:27px;padding-right:26px;background:#101010e8}.studio-shell .header-section-title{font-size:14px;color:#9b9b9b;font-weight:500}.studio-shell .studio-header .workspace-status{font-size:11px;color:#7e7e7e}.studio-shell .studio-header .dot{width:5px;height:5px;background:#8a958c}.studio-shell.is-home .studio-home{padding-top:30px;max-width:1230px;margin:0 auto;padding-left:42px;padding-right:42px}.studio-shell.is-home .creation-intro{padding-top:46px;padding-bottom:60px}.studio-shell .creation-intro h1{font-size:33px;font-weight:500;letter-spacing:.4px;margin-bottom:28px}.studio-shell .home-composer{border:1px solid #383838;border-radius:22px;background:#202020;box-shadow:none;max-width:820px;margin:auto;padding:20px 18px 10px;transition:border-color .15s}.studio-shell .home-composer:focus-within{border-color:#6a6a6a}.studio-shell .home-composer textarea{font-size:15px;line-height:1.8;min-height:108px;resize:vertical;padding:2px 5px 15px;color:#eee}.studio-shell .home-composer textarea::placeholder{color:#6f6f6f}.studio-shell .home-composer .composer-toolbar{border:0;padding-top:9px;gap:7px}.studio-shell .home-composer select{max-width:180px;border:0!important;background:#2a2a2a!important;border-radius:16px!important;font-size:11px!important;color:#bebebe!important;min-height:31px!important;padding:5px 24px 5px 10px!important}.studio-shell .home-composer select.composer-mode-select{max-width:114px}.composer-symbol{width:29px;height:29px;flex-shrink:0;background:transparent;border:1px solid transparent;border-radius:7px;color:#c2c2c2;cursor:pointer;font-size:17px;line-height:1}.composer-symbol:hover{background:#363636;color:#fff}.studio-shell .home-composer .icon-btn{width:29px;height:29px}.studio-shell .home-quick-tools{gap:12px;margin-top:24px;flex-wrap:wrap}.studio-shell .quick-tool{background:transparent;border-color:#333;border-radius:20px;font-size:12px;font-weight:400;min-height:34px;padding:7px 15px;color:#c1c1c1;box-shadow:none}.studio-shell .quick-tool:hover{background:#242424;border-color:#525252;color:#eee}.studio-shell .home-projects{margin-top:8px}.studio-shell .section-heading{margin-bottom:22px}.studio-shell .section-heading h2{font-size:16px;font-weight:550}.studio-shell .section-heading .count{font-size:12px;color:#777;margin-left:5px}.studio-shell .project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.studio-shell .project-card{border:1px solid #2c2c2c;box-shadow:none;background:#171717}.studio-shell .project-card:hover{border-color:#555;transform:translateY(-2px)}.studio-shell .project-cover{height:138px}.studio-shell .project-cover-placeholder{background:linear-gradient(145deg,#222,#191919)}.studio-shell .project-cover-placeholder strong{font-size:15px;font-weight:400}.studio-shell .project-cover-placeholder>span{width:34px;height:34px;margin-bottom:10px;color:#808080}.studio-shell .project-cover .badge{font-size:10px;background:#141414b3;backdrop-filter:blur(8px)}.studio-shell .cover-count{font-size:10px;color:#c2c2c2}.studio-shell .project-info{padding:14px 15px}.studio-shell .project-info h3{font-size:13px}.studio-shell .project-info p{font-size:11px;color:#777;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-shell .project-meta{margin-top:13px;font-size:10px;color:#686868}.studio-shell .project-add{border:1px dashed #3a3a3a;border-radius:13px;min-height:240px;gap:13px;background:#17171780;color:#a2a2a2;font-size:13px}.studio-shell .project-add:hover{border-color:#777;color:#eee;background:#202020}.studio-shell .project-add-icon{width:44px;height:44px;border-radius:12px;background:#242424;color:#aaa;border:1px solid #353535}.home-skill-chips{display:flex;gap:5px;flex-wrap:wrap}.home-skill-chips>span{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:6px;background:#2c2c2c;font-size:10px;color:#aaa}.home-skill-chips .icon{width:12px;height:12px}
/* Script intake uses the existing persistent project API; submit only saves. */
.short-drama-intro{max-width:920px;margin:0 auto;padding:27px 0 44px}.short-drama-intro>h1{text-align:center;font-size:39px;letter-spacing:1px;font-weight:500;margin:10px 0 40px}.short-drama-intro>h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1px}.short-drama-composer{background:#202020;border:1px solid #292929;border-radius:23px;overflow:hidden}.short-drama-tabs{display:flex;align-items:center;gap:5px;background:#222;padding:0 10px 0 0;border-bottom:1px solid #282828}.short-drama-tabs>button[role=tab]{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 25px;border:0;border-radius:22px 22px 0 0;background:transparent;color:#858585;font-size:13px;cursor:pointer;min-width:160px}.short-drama-tabs>button[role=tab].active{background:#202020;color:#f3f3f3}.short-drama-tabs>.btn{font-size:11px;color:#929292;border:none}.short-drama-body{padding:18px 18px 4px}.short-drama-body .short-project-name{width:100%;border:0!important;border-bottom:1px solid #2b2b2b!important;background:transparent!important;padding:3px 9px 12px!important;border-radius:0!important;color:#bbb!important;font-size:12px!important;min-height:32px!important;margin-bottom:14px}.short-drama-body textarea{background:transparent!important;border:0!important;border-radius:0!important;color:#e2e2e2!important;font-size:14px!important;line-height:1.9!important;padding:7px 10px!important;width:100%;min-height:180px;resize:vertical;max-height:460px}.short-drama-body textarea:focus{box-shadow:none!important}.script-upload-zone{border:1px dashed #3b3b3b;border-radius:14px;min-height:195px;display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;align-content:center;padding:26px}.script-upload-trigger{border:0;background:none;display:flex;align-items:center;gap:8px;color:#dadada;font-size:13px;cursor:pointer}.script-upload-trigger>.icon{width:32px;height:32px;color:#aaa}.script-upload-trigger strong{font-weight:500;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-upload-zone small{flex-basis:100%;text-align:center;color:#777;font-size:10px;margin-top:10px}.upload-separator{font-size:11px;color:#666}.script-upload-zone>.btn{color:#bababa;font-size:12px}.short-drama-bottom{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 18px;gap:15px}.short-drama-settings{display:flex;align-items:center;gap:8px;min-width:0}.compact-select{display:flex;align-items:center;gap:5px;background:#2c2c2c;border:1px solid #363636;border-radius:17px;padding:0 8px;min-width:0}.compact-select>.icon{width:13px;height:13px;color:#9a9a9a}.compact-select select{background:transparent!important;border:0!important;border-radius:0!important;padding:6px 18px 6px 2px!important;font-size:11px!important;color:#bfbfbf!important;min-height:30px!important;max-width:190px}.short-drama-bottom>.btn{border-radius:18px;padding:8px 17px;font-size:12px;flex-shrink:0}.short-input-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#777;padding:0 9px}.short-custom-style{padding:0 20px 20px}.short-custom-style[hidden]{display:none}.short-custom-style input{width:100%;font-size:12px}.short-tool-row{display:flex;justify-content:center;gap:12px;margin-top:24px}
/* Shared resource view keeps project ownership explicit. */
.studio-shell .resource-page{max-width:1400px;padding:32px 36px;margin:auto}.resource-page .page-top{align-items:center}.resource-page h1,.studio-shell .skills-page h1{font-size:24px;font-weight:500;letter-spacing:0}.resource-page .page-top select{max-width:270px;font-size:12px}.resource-kind-tabs{display:flex;gap:5px;margin-bottom:23px;border-bottom:1px solid #292929;padding-bottom:13px}.resource-kind-tabs .selected,.skill-filter-tabs .selected{background:#2b2b2b;color:#eee}.resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px}.resource-card{border:1px solid #303030;border-radius:12px;background:#191919;overflow:hidden;display:flex;flex-direction:column;text-align:left;min-width:0;padding:0 0 12px;color:#ddd;cursor:pointer}.resource-card:hover{border-color:#555}.resource-thumb{aspect-ratio:4/3;position:relative;background:#202020;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:12px}.resource-thumb>img,.resource-thumb>video{width:100%;height:100%;object-fit:contain}.resource-thumb>.icon{width:32px;height:32px;color:#626262}.resource-thumb>.badge{position:absolute;left:8px;top:8px;pointer-events:none;background:#111a;font-size:10px}.resource-card>strong{margin:0 12px;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-card>small{margin:7px 12px 0;font-size:10px;color:#777}.resource-card>.flex{margin:7px 8px 0;justify-content:space-between}.resource-video{cursor:default}.resource-loading,.resource-empty{display:flex;gap:9px;align-items:center;justify-content:center;min-height:220px;font-size:12px;color:#777}.resource-page .notice{margin-top:25px}.studio-asset-picker,.studio-reference-list{display:flex;flex-direction:column;gap:7px;max-height:440px;overflow:auto}.reference-picker-search{margin-bottom:16px}.reference-choice{display:flex;align-items:center;gap:13px;width:100%;padding:10px 12px;background:#202020;border:1px solid #333;border-radius:9px;text-align:left;color:#dedede;cursor:pointer}.reference-choice[hidden]{display:none}.reference-choice:hover{background:#2b2b2b;border-color:#555}.reference-choice>img,.reference-choice>span{width:43px;height:43px;object-fit:cover;flex-shrink:0;border-radius:6px;background:#292929;display:flex;align-items:center;justify-content:center}.reference-choice>span .icon{width:20px;height:20px;color:#818181}.reference-choice>div{flex:1;min-width:0}.reference-choice strong{display:block;font-size:12px;font-weight:500}.reference-choice small{display:block;font-size:10px;color:#777;margin-top:6px}.reference-choice>.icon{width:15px;height:15px;color:#8c8c8c}
/* The conversation stays compact beside the production workspace. */
.studio-shell .creation-workspace.with-agent{display:grid;grid-template-columns:310px minmax(0,1fr)}.studio-shell .agent-panel{width:auto;min-width:0;background:#161616}.studio-shell .agent-panel-heading{min-height:58px;padding:15px 15px;border-bottom:1px solid #282828;align-items:center}.studio-shell .agent-title{font-size:13px;font-weight:500}.studio-shell .agent-title>.icon{width:16px;height:16px}.studio-shell .agent-welcome{padding-top:36px}.studio-shell .agent-welcome h2{font-size:17px;font-weight:450}.studio-shell .agent-context-stats{margin:17px 0 22px;gap:6px}.studio-shell .agent-context-stats span{font-size:9px;padding:4px 6px}.studio-shell .agent-starters>.btn{font-size:11px;font-weight:400;padding:10px}.studio-shell .agent-compose-wrap{padding:11px}.studio-shell .agent-composer{border-radius:14px;background:#232323}.studio-shell .agent-composer textarea{font-size:12px;padding:12px 11px;min-height:85px}.studio-shell .agent-composer .composer-toolbar{padding:3px 7px 8px;gap:4px}.studio-shell .agent-composer select{font-size:10px!important;background:#2c2c2c!important;max-width:93px;min-height:27px!important;padding:3px 16px 3px 6px!important}.studio-shell .agent-composer .composer-send{width:28px;height:28px}.studio-shell .agent-cost-note{font-size:9px;margin-top:8px;color:#676767}.studio-shell .agent-message-meta{font-size:10px}.studio-shell .agent-message-content{font-size:12px;line-height:1.8}.studio-shell .agent-action-card>p{font-size:11px;color:#858585;line-height:1.7}.studio-shell .agent-action-heading strong{font-size:11px}.studio-shell .agent-action-heading .badge{font-size:9px}.studio-shell .agent-action-footer .btn{font-size:10px}.agent-answer-actions{display:flex;gap:3px;flex-wrap:wrap;margin-top:10px}.agent-answer-actions .btn{font-size:10px;padding:5px 7px}.studio-shell .agent-answer-label{font-size:9px;color:#999}.studio-shell .agent-answer-full summary{font-size:10px}.studio-shell .skills-page{padding-top:34px}.studio-shell .skills-toolbar{margin-top:26px}.skill-filter-tabs{display:flex;gap:5px}.studio-shell .skill-card{background:#191919;border-color:#2d2d2d;box-shadow:none}.studio-shell .skill-card h3{font-size:15px;font-weight:500}.studio-shell .skill-card p{font-size:12px;color:#888}.studio-shell .skill-icon{background:#272727;color:#a8a8a8}.studio-shell .skill-tools span{background:#232323;border-color:#333;color:#929292;font-size:10px}.studio-shell .skill-card-footer .btn{font-size:11px}.studio-shell .skill-card-heading .badge{font-size:10px}
@media(max-width:1280px){.studio-shell{--studio-nav-width:192px}.sidebar-wordmark strong{font-size:13px}.sidebar-wordmark img{width:25px;height:25px}.sidebar-main>button{font-size:12px}.studio-shell.is-home .studio-home{padding-left:26px;padding-right:26px}.studio-shell .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-shell .creation-workspace.with-agent{grid-template-columns:280px minmax(0,1fr)}.short-drama-tabs>button[role=tab]{min-width:135px;padding-left:18px;padding-right:18px}.studio-shell .resource-page{padding-left:24px;padding-right:24px}}
@media(max-width:1000px){.studio-shell{--studio-nav-width:68px}.global-sidebar{padding-left:10px;padding-right:10px}.sidebar-brand{justify-content:center;flex-direction:column;padding-bottom:12px;gap:6px}.sidebar-wordmark strong,.sidebar-main>button>span,.sidebar-footer>button>span,.sidebar-projects{display:none}.sidebar-collapse{margin:0;height:23px}.sidebar-main>button,.sidebar-footer>button{justify-content:center;padding-left:0;padding-right:0}.sidebar-footer{margin-top:auto}.studio-shell .creation-workspace.with-agent{grid-template-columns:270px minmax(0,1fr)}.studio-shell .home-composer select{max-width:150px}.studio-shell .home-quick-tools{gap:7px}}
@media(max-width:700px){.studio-shell .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell .studio-header{padding-left:14px;padding-right:14px}.studio-shell .workspace-status{display:none}.studio-shell.is-home .studio-home{padding-left:18px;padding-right:18px}.studio-shell .home-composer .composer-toolbar{flex-wrap:wrap}.studio-shell .creation-intro h1{font-size:26px}.short-drama-tabs>button[role=tab]{min-width:0;padding:14px;font-size:12px}.short-drama-tabs>.btn{padding:5px;font-size:10px}.short-drama-bottom{align-items:flex-end;gap:6px;padding-left:12px;padding-right:12px}.short-drama-settings{flex-wrap:wrap;gap:5px}.compact-select select{max-width:155px}.studio-shell .resource-page .page-top{align-items:flex-start;gap:18px}.studio-shell .resource-page .page-top>.flex{flex-wrap:wrap}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:800px){.studio-shell .creation-workspace.with-agent{display:flex}.studio-shell .agent-panel{left:var(--studio-nav-width);width:305px;min-height:0}.studio-shell .creation-workspace.with-agent:before{left:calc(var(--studio-nav-width) + 305px)}}
@media(max-width:560px){.studio-shell .agent-panel{left:var(--studio-nav-width);width:calc(100vw - var(--studio-nav-width));top:112px;height:calc(100vh - 112px)}}

.sidebar-main>button:nth-child(4).active{border-radius:10px;border-top-color:transparent}.sidebar-main>button:nth-child(4){margin-top:1px}
