/* Reference UI: observed 192.168.0.143:5173, 2026-09-27. Custom production controls remain available. */
:root{--bg:#0e0e0e;--panel:#151515;--line:#282828;--muted:#828282;--accent:#909090}
body{background:radial-gradient(ellipse at 70% 0%,#14141455,transparent 45%),var(--bg)}
.sidebar{background:#111111;border-color:#232323;padding:20px 14px 14px}.brand{padding:0 8px 24px}.brand strong{font-size:17px}.project-picker{height:64px;padding:8px;border-color:#282828;border-radius:12px;background:#191919;margin-bottom:18px}.project-picker small{font-size:10px}.nav button{padding:7px 9px;border:0;border-radius:11px}.nav button.active{background:linear-gradient(90deg,#282828,#1b1b1b);box-shadow:inset 2px 0 #a5a5a5}.nav button.active:after{content:'›';color:#b6b6b6;font-size:22px;margin-left:auto}.nav button .num{font-size:10px;width:22px}.nav button strong{font-size:14px}.nav button small{font-size:9px;color:#757575}.nav button>.icon{width:19px;height:19px}.bottom-nav{gap:4px}.bottom-nav button{height:40px;padding:0 11px;font-size:12px}.bottom-nav button:last-child{margin-top:6px;padding-top:0}.collapsed .nav button.active:after{display:none}
.topbar{background:rgba(14,14,14,.94);border-color:#242424;gap:9px}.topbar button{font-size:10px;min-height:32px;padding:6px 10px}.topbar .credit{height:34px;font-size:10px}.topbar .credit small{font-size:8px}.topbar .crumb{font-size:12px}.topbar #storage-status{font-size:9px;color:#88ac9d}.test-label{font-size:8px}.topbar .icon{width:16px;height:16px}
.page{padding:34px 29px;max-width:none}.page-heading{min-height:89px;margin-bottom:25px;align-items:flex-end}.page-heading h1{font-size:29px}.page-heading p{font-size:12px;margin-top:7px}.page-heading button{height:36px;font-size:11px}.eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:7px}.panel{border-color:#2e2e2e;background:linear-gradient(125deg,#151515,#121212);border-radius:16px}.panel-head{padding:16px}.panel-head small{font-size:9px}.panel-head h3{font-size:13px}.two-col{gap:15px;grid-template-columns:1.104fr 1fr}.story-panel{height:calc(100vh - 219px)}.story-input{font-size:14px}.story-panel .panel-foot{min-height:36px;padding:9px 16px}.story-panel .panel-foot small{font-size:8px}.story-panel .panel-foot .primary{height:36px;font-size:10px}.story-panel .empty p{font-size:10px}.story-panel .chip{font-size:8px}.primary{background:linear-gradient(120deg,#919191,#696969);border-color:#979797;box-shadow:0 6px 18px #6666661c}.primary:hover{background:#979797}
.assets-page .asset-extraction{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:12px;min-height:185px;padding:14px 16px;background:linear-gradient(110deg,#1a1a1a,#151515 70%)}.asset-extraction>.row{flex-wrap:nowrap;gap:20px}.asset-extraction>.row>div:first-child{min-width:160px}.asset-extraction h3{font-size:12px}.asset-extraction small{font-size:8px}.asset-extraction .row.wrap button,.asset-extraction .file{height:36px;font-size:10px}.asset-extraction [data-action=extract]{border-color:#486a67;color:#a6e4d7;background:#172326}.asset-extraction [data-action=extract-ai]{background:#6a6a6a;border-color:#878787}.asset-extraction>label{grid-column:2;grid-row:1;padding:12px;border:1px solid #434343;border-radius:12px;background:#181818}.asset-extraction>label textarea{height:76px;margin-top:10px;font-size:12px}.asset-extraction>small{display:none}.asset-art{display:grid;grid-template-columns:1.1fr 1fr;gap:0 14px;padding:14px!important;margin-top:12px!important}.asset-art>.eyebrow,.asset-art>h3,.asset-art>p{grid-column:1/-1}.asset-art>.eyebrow{font-size:8px}.asset-art>h3{font-size:12px}.asset-art>p{font-size:8px;padding-bottom:12px;border-bottom:1px solid #2e2e2e}.asset-art .styles{grid-column:1;grid-row:4/6;margin:14px 0 0;gap:8px}.asset-art .choice{padding:12px 10px;min-height:120px;font-size:11px}.asset-art .choice small{font-size:8px}.choice.active{background:linear-gradient(115deg,#282828,#1d1d1d);border-color:#838383}.choice.active:after{content:'✓';margin-left:auto;color:#94dfc8;font-size:14px}.asset-art>label{grid-column:2;grid-row:4;margin-top:14px}.asset-art>label small,.asset-art>small{font-size:8px}.asset-art textarea{height:82px;font-size:9px;padding:10px}.asset-art>small{grid-column:2;margin-top:4px}.stat-row{grid-template-columns:repeat(4,1fr) 1.35fr;margin:14px 0 17px;gap:10px}.stat{height:72px;position:relative;padding:14px;border-radius:12px;font-size:10px;color:#9b9b9b}.stat b{float:right;color:#fff;font:700 22px Georgia,serif}.stat small{font-size:8px}.assets-page .tabs button{font-size:10px;padding:8px 10px;background:transparent;border-color:transparent}.assets-page .tabs button.active{background:#242424;border-color:#2e2e2e}.assets-page>.row button,.assets-page #asset-query{height:36px;font-size:10px}.assets-page [data-action=add-asset]{background:linear-gradient(120deg,#939393,#6a6a6a);border-color:#999999}.assets-page>.empty{border:1px dashed #2d2d2d;background:#121212;border-radius:14px;min-height:245px;margin-top:14px}.assets-page>.empty>.icon{width:48px;height:48px;padding:12px;border-radius:13px;background:#242424;color:#ababab}.assets-page>.empty h3{font-size:12px}.assets-page>.empty p{font-size:9px;max-width:600px}.assets-page>.notice{font-size:10px;padding:9px 12px}.assets-grid{gap:12px}.asset-meta h3{font-size:12px}.asset-meta p{font-size:11px}
.narrow{max-width:865px}.narrow .page-heading{margin-bottom:16px}.split-controls{margin-top:0}.split-controls .panel{padding:17px}.split-controls h3,.split-controls strong{font-size:11px}.split-controls small{font-size:8px}.split-controls .choice{height:64px;font-size:10px;padding:12px}.split-controls .row{gap:8px}.result-panel>.panel-head{min-height:80px}.result-panel>.panel-head h3{font:18px SimSun,serif}.result-panel>.panel-head>label{width:43%}.result-panel>.panel-head>label small{display:block;font-size:8px}.result-panel select{font-size:10px}.result-panel #episode-select{width:100%;height:36px;margin-top:4px}.result-panel>.empty{min-height:calc(100vh - 440px)!important}.result-panel>.empty>.icon{height:32px;width:32px;color:#878787}.result-panel>.empty h3{font-size:12px}.result-panel>.empty p{font-size:9px}
.finish-grid{grid-template-columns:minmax(500px,1fr) 300px;gap:14px}.finish-grid>.panel{padding:12px}.finish-grid .viewer{height:auto;aspect-ratio:16/9;background:#080808}.finish-grid h3{font-size:12px}.finish-grid small{font-size:8px}.finish-grid .viewer button{font-size:9px}.finish-grid .settings-row{min-height:62px;padding:14px 0}.finish-grid .settings-row .icon{color:#8e8e8e}.finish-grid .settings-row strong{font-size:10px}.finish-grid select{font-size:9px;padding:6px}.finish-grid .notice{font-size:11px;background:#181818;border-color:#373737}.finish-page .track{font-size:9px;background:#181818}.finish-page .timeline{min-height:54px}.finish-page>.panel .panel-head{border-bottom:0}
.canvas-toolbar{height:44px;padding:6px 10px;gap:6px;background:#111;border-color:#303030}.canvas-toolbar>strong{font-size:10px;color:#eee;padding:0 6px}.canvas-toolbar button{font-size:10px;height:30px;padding:5px 9px;border-radius:7px;background:#222;border-color:#373737}.canvas-toolbar .cyan{background:#22d3ee;border-color:#22d3ee;color:#092127}.canvas-toolbar .canvas-new-node{font-weight:600}.canvas{height:calc(100vh - 106px);background-color:#111;background-image:radial-gradient(#303030 .8px,transparent .8px),linear-gradient(#2223 1px,transparent 1px),linear-gradient(90deg,#2223 1px,transparent 1px);background-size:18px 18px,108px 108px,108px 108px}.canvas-hint{top:10px;font-size:9px;padding:5px 12px;border-radius:20px;background:#171719;color:#a6a3ad}.canvas-empty{background:#131313;border-color:#323232;height:214px;min-height:214px;padding:24px;gap:10px}.canvas-empty .eyebrow{font-size:8px}.canvas-empty h2{font:bold 18px SimSun,serif}.canvas-empty p{font-size:9px;max-width:350px}.canvas-empty button{height:34px;padding:0 12px;font-size:9px}.canvas-tools{height:43px;bottom:9px;padding:5px;gap:3px;background:#222;border-color:#3b3b3b}.canvas-tools button{width:34px;height:32px;padding:7px;border-radius:6px}.canvas-tools button.active{background:#373737;color:#fff}.canvas-tools button:nth-child(2),.canvas-tools button:nth-child(6){border-right:1px solid #444;border-radius:0}.canvas-tools .icon{height:18px;width:18px}.zoom-tools{right:28px;bottom:53px;gap:1px}.zoom-tools button{width:26px;height:26px;padding:0;background:#292929;border-color:#404040;color:#ddd}.zoom-tools button:last-child{width:36px;font-size:9px}.node{background:#202020;border-color:#444;border-radius:14px;box-shadow:0 8px 30px #0005}.node .node-head{background:#242424;border-color:#393939;font-size:13px}.node .node-body{background:#1c1c1e}.node .node-preview{background:#111;border:1px solid #323232;border-radius:8px}.node-parameters select{background:#121212;border-color:#3d3d3d}.node-prompt-heading strong{font-size:11px;color:#c8c3d1}.node .reference-panel{border-color:#343434}.node .small{font-size:10px}.node .node-cost{background:#232323;border-color:#474747}
.node-create-menu{position:fixed;z-index:45;width:280px;max-height:calc(100vh - 24px);overflow:auto;padding:14px;background:#242424;border:1px solid #454545;border-radius:22px;box-shadow:0 16px 50px #0008}.node-create-menu h3{font-size:13px;color:#c1bdc7;font-weight:400;padding:5px 12px 12px}.node-create-menu button{display:flex;width:100%;justify-content:flex-start;background:transparent;border:0;border-radius:9px;height:46px;padding:0 14px;font-size:14px;font-weight:600}.node-create-menu button:hover,.node-create-menu button:focus{background:#353535;outline:0}.node-create-menu .icon{width:20px;height:20px;margin-right:6px}.node-create-menu hr{border:0;border-top:1px solid #404040;margin:8px}.canvas-selection{position:absolute;border:1px solid #a3a3a3;background:#91919126;pointer-events:none;z-index:3}.canvas-minimap{position:absolute;left:27px;bottom:72px;width:200px;height:150px;border:1px solid #333;border-radius:2px;background:#1b1b1bea;padding:5px;overflow:hidden}.canvas-minimap svg{width:100%;height:100%}.canvas-count{position:absolute;bottom:16px;right:25px;color:#999;font-size:9px}
@media(max-width:1200px){.asset-extraction>.row{flex-wrap:wrap!important}.assets-page .asset-extraction{grid-template-columns:1fr 280px}.asset-art{grid-template-columns:1fr}.asset-art>label{grid-column:1;grid-row:6}.asset-art>small{grid-column:1}.finish-grid{grid-template-columns:minmax(0,1fr) 280px}.topbar .test-label{display:none}}
@media(max-width:760px){.page{padding:24px 15px}.assets-page .asset-extraction{display:flex}.asset-extraction>label{width:100%}.asset-art .styles{grid-template-columns:1fr}.asset-art .choice{min-height:64px}.stat-row{grid-template-columns:repeat(2,1fr)}.finish-grid{grid-template-columns:1fr}.story-panel{height:450px}.canvas-minimap{display:none}.topbar #storage-status{display:none}.page-heading{gap:12px}.nav button.active:after{display:none}}

/* Final alignment from the reference project and asset screens. */
.sidebar{padding-top:23px}.page-heading{min-height:83px}.assets-page .asset-extraction>.row{display:grid;grid-template-columns:minmax(160px,.7fr) 1fr}.asset-extraction>.row>.row{justify-content:flex-start}.asset-extraction>.row>.row button{padding-left:14px;padding-right:14px}.asset-art{grid-template-rows:16px 20px 25px auto 16px}.asset-art .styles{margin-top:14px}.asset-art .choice{min-height:120px}.asset-art>p{padding-bottom:8px}.assets-page .page-heading [data-action=nav]{background:linear-gradient(120deg,#919191,#696969);border-color:#979797}.projects-page{max-width:1380px;padding:36px 30px}.main:has(.projects-page){background:#111;min-height:100vh}.projects-page h1{font:700 20px Inter,'Microsoft YaHei',sans-serif}.projects-page>.row{height:44px;margin-bottom:36px!important}.projects-page>.row input{font-size:12px;height:44px;width:288px;background:#191919;border-color:#333}.projects-page>.row button{height:44px;font-size:12px;background:#191919}.projects-page>.row .cyan{background:#22d3ee}.project-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:24px 18px}.project-card{border:0;border-radius:8px;background:none;overflow:visible}.project-cover{height:140px;border:1px solid #393939;border-radius:8px;background:radial-gradient(at 65% 20%,#40505e,#213140 45%,#232a35);font:60px SimSun,serif;color:#d4d7d9}.project-card:nth-child(3n) .project-cover{background:radial-gradient(at 65% 20%,#4d4d4d,#333333 45%,#252525)}.project-card:nth-child(3n+1) .project-cover{background:radial-gradient(at 65% 20%,#3c635e,#1e403d 45%,#253131)}.project-card.current .project-cover{border-color:#999999;box-shadow:0 0 0 2px #81818122}.project-card .panel-body{padding:8px}.project-card .panel-body strong{font-size:13px}.project-card .panel-body small{font-size:10px}.project-card .small{border:0;background:transparent}.project-grid>button{min-height:140px!important;height:140px;background:#242424!important;border-color:#393939;border-radius:8px;position:relative;overflow:visible}.project-grid>button>.icon{width:48px;height:48px;padding:12px;background:#313131;border-radius:14px;color:#a7a7a7}.project-grid>button h3{font-size:14px}.project-grid>button small{position:absolute;top:150px;left:8px;font-size:10px}.project-grid>button{margin-bottom:54px}
@media(max-width:1200px){.assets-page .asset-extraction>.row{display:flex}.asset-art{grid-template-rows:auto}}
.sidebar-version{display:flex;align-items:center;gap:10px;height:40px;padding:0 11px;font-size:12px;color:var(--muted);white-space:nowrap}.collapsed .sidebar-version{justify-content:center}
