:root,[data-theme=dark]{--bg:#08090e;--panel:rgba(18,19,28,.84);--side:rgba(9,10,16,.94);--text:#f1eef6;--muted:#aca7ba;--line:rgba(224,219,242,.14);--accent:#e0bd7b;--accent-soft:rgba(224,189,123,.14);--green:#82c6a0;--shadow:0 16px 48px #0005;color-scheme:dark}body{background:#08090e;isolation:isolate}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#05060c2e,#05060c70),url(/background.webp) center center/cover no-repeat}.sidebar,.topbar{background:var(--side);backdrop-filter:blur(16px)}.sidebar{border-right-color:var(--line)}.topbar{background:#090a10d4}.page{min-height:calc(100vh - 77px)}.panel,.entry,.project-card,.stat,.model-card,.work-card,.agent-subnav,.agent-stat,.agent-parking-card{background:var(--panel);box-shadow:0 12px 32px #0002;backdrop-filter:blur(12px)}.nav a,.breadcrumb strong,.balance,.balance b,.icon-btn,label.field{color:var(--muted)}.nav a.active{color:var(--accent)}.nav a:hover,[data-theme=dark] .nav a:hover{background:#ffffff0f;color:var(--text)}.nav-label,.eyebrow,.footer,.section-head h2 small,.entry p,.entry small,.project-info p,.field small{color:var(--muted)}.btn.primary{color:#211920;background:var(--accent);border-color:var(--accent);box-shadow:0 4px 18px #e0bd7b1a}.btn:hover{border-color:var(--accent)}.btn.danger,.credit-negative{color:#fb8f9d}.credit-positive{color:#8fddb3}.btn,.input,input:not([type=checkbox]):not([type=file]),select,textarea{background:#10111ae8}.btn.primary,.btn.soft{background:var(--accent-soft)}.btn.primary{background:var(--accent)}input::placeholder,textarea::placeholder{color:#858092}.hero,[data-theme=dark] .hero{background:linear-gradient(110deg,#0f101ae6,#14101c85);border-color:var(--line)}.hero h2 em,[data-theme=dark] .hero h2 em{color:var(--accent)}.hero p,.hero .eyebrow,.side-note strong{color:#c0b7cd}.entry-icon{background:#e7707e21;color:#f096a2}.entry:nth-child(2) .entry-icon{background:#9677de26;color:#c2a4f3}.entry:nth-child(3) .entry-icon{background:#71a5d726;color:#9ebfe9}.entry:nth-child(4) .entry-icon{background:#e0bd7b24;color:var(--accent)}.side-note,.welcome-note,.code,th,.dropzone,[data-theme=dark] th,[data-theme=dark] .code,[data-theme=dark] .welcome-note,[data-theme=dark] .side-note,[data-theme=dark] .dropzone{background:#14141fe8;color:var(--muted);border-color:var(--line)}.avatar,.nav .nav-count{background:var(--accent-soft);color:var(--accent)}.badge{background:#a097b926;color:#bbb0cf}.badge.green{background:#61be8924;color:#90d9ae}.badge.orange,.notice{background:#dcae5924;color:#e4c58d}.badge.red{background:#eb5f7424;color:#f99ba9}.agent-stat:first-child,[data-theme=dark] .agent-stat:first-child,.agent-key-notice,.agent-user-notice,[data-theme=dark] .agent-key-notice,[data-theme=dark] .agent-user-notice{background:#181723e0;border-color:var(--line)}.agent-key-notice strong,.agent-key-notice p,.agent-user-notice{color:#c3b7d7}.parking-slots>span,[data-theme=dark] .parking-slots>span{background:#1e1d2ad6;border-color:#c7b8e040;color:#83768f}.parking-slots>.occupied,[data-theme=dark] .parking-slots>.occupied{background:var(--accent-soft);border-color:#a58a58;color:var(--accent)}.shot-cover,[data-theme=dark] .shot-cover,.poster{background:#1c1927e6}.canvas-wrap{background:#0a0a12bf}dialog{background:#12121dfa;color:var(--text);border-color:var(--line)}dialog::backdrop{background:#000000a6;backdrop-filter:blur(5px)}#toast,[data-theme=dark] #toast{background:#2b2338;color:#f5efff;border:1px solid #584069}[data-theme=light]{--bg:#eeeaf2;--panel:rgba(255,253,255,.94);--side:rgba(250,248,253,.96);--text:#292232;--muted:#71677f;--line:rgba(66,48,85,.15);--accent:#995f32;--accent-soft:rgba(153,95,50,.1);color-scheme:light}[data-theme=light] body:before{background-image:linear-gradient(#f4f0f9cf,#f4f0f9e0),url(/background.webp)}[data-theme=light] .topbar{background:var(--side)}[data-theme=light] .btn,[data-theme=light] input:not([type=checkbox]):not([type=file]),[data-theme=light] select,[data-theme=light] textarea{background:#fffafd}[data-theme=light] .btn.primary{background:var(--accent);color:#fff}[data-theme=light] .hero{background:#fffaffe0}[data-theme=light] dialog{background:#fbf8fd}@media(max-width:700px){body:before{background-position:58% center}.page{min-height:calc(100vh - 63px)}}.page{max-width:1700px;margin:auto;padding-top:30px}.page-head h1{font-size:25px}.page-head{margin-bottom:24px}.side-note{display:none}.topbar{gap:15px}.top-actions{gap:14px}.creation-intro{padding:38px 6px 32px}.creation-intro h2{font-size:34px;letter-spacing:-1px;margin:14px 0}.creation-intro p{color:var(--muted)}.creation-entries{margin-bottom:42px}.creation-entries .entry{min-height:215px;padding:26px}.creation-entries .entry h3{font-size:17px}.entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.project-settings{padding:18px 22px}.project-settings .field{margin:0}.project-settings p{margin-bottom:0}.toolbar{flex-wrap:wrap;gap:10px}.toolbar input:not([type=checkbox]){min-width:170px;max-width:320px}.fields{gap:18px}.composer{max-width:1000px}.composer textarea{font-size:14px;line-height:1.85}.storyboard-table{display:grid;gap:14px}.storyboard-row{display:grid;grid-template-columns:42px 180px minmax(200px,1fr) 125px;gap:20px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);backdrop-filter:blur(12px)}.shot-selector{display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--muted)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);flex-shrink:0}.shot-preview{height:130px;display:flex;align-items:center;justify-content:center;background:#05050b77;border-radius:8px;overflow:hidden}.shot-preview img,.shot-preview video{width:100%;height:100%;object-fit:contain}.shot-preview>.icon{width:35px;height:35px;color:var(--muted)}.shot-copy h3{margin:0;font-size:15px}.shot-copy p{font-size:13px;line-height:1.8;white-space:pre-wrap;max-height:180px;overflow:auto}.shot-operations{display:flex;flex-direction:column;gap:8px}.shot-copy .row,.row{flex-wrap:wrap}.asset-image{position:relative}.asset-image audio{max-width:95%}.asset-status{position:absolute;bottom:9px;right:9px}.model-card{display:flex;flex-direction:column;gap:8px}.model-card h3{margin-bottom:0}.model-card .model-price{color:var(--accent);font-weight:700}.model-card p{line-height:1.6}.model-card>.row:last-child{margin-top:auto}.work-card{position:relative;padding-bottom:20px}.work-card>p,.work-card>.btn{margin-left:18px;margin-right:18px}.work-select{position:absolute;z-index:2;top:10px;left:10px;display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:6px;background:#111c;color:#fff}.station-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.station-segment .fields{grid-template-columns:minmax(0,1fr) 140px}.station-segment .row{justify-content:flex-end}.segment-reference-preview{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;min-height:27px}.station-materials{position:sticky;top:95px;max-height:calc(100vh - 130px);overflow:auto}.station-material{padding:16px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:9px}.station-material img{width:100%;max-height:120px;object-fit:contain;border-radius:7px;background:#05050b88}.station-material audio{width:100%}.station-material small{color:var(--muted)}.mention-suggest{display:flex;flex-wrap:wrap;padding:8px;gap:6px;background:var(--bg);border:1px solid var(--accent);border-radius:8px}.mention-suggest button{padding:6px 10px;border:0;color:var(--text);background:var(--accent-soft);border-radius:5px;cursor:pointer}.captcha-row{display:flex;align-items:center;gap:14px}.captcha-row input{min-width:0}.captcha-button{border:0;background:transparent;cursor:pointer;flex-shrink:0}.captcha-button img{display:block;width:156px;height:48px;border-radius:6px}.command-option{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 12px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);cursor:pointer}.command-option:hover{background:var(--accent-soft)}#command-results{max-height:55vh;overflow:auto}.task-center{max-height:60vh;overflow:auto}.task-center article{padding:14px 0;border-bottom:1px solid var(--line)}.task-center article>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.task-center p{font-size:13px;line-height:1.7}.upload-progress{display:flex;align-items:center;gap:16px;margin:16px 0}.upload-progress[hidden]{display:none}.upload-progress progress{width:70%;accent-color:var(--accent)}.extraction-record{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:15px 0}.extraction-record span{margin-right:15px}.notice{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.notice>.icon{flex-shrink:0}.graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}.graph-viewport{height:calc(100vh - 240px);min-height:500px;position:relative;overflow:hidden;background-color:#080810b3;background-image:radial-gradient(#c4afd12e 1px,transparent 1px);background-size:20px 20px;border:1px solid var(--line);border-radius:12px;touch-action:none;cursor:grab}.graph-stage{position:absolute;transform-origin:0 0;left:0;top:0}.graph-edges{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.graph-edge{fill:none;stroke:#8b789e;stroke-width:2;pointer-events:stroke;cursor:pointer}.graph-edge.lit{stroke:var(--accent);stroke-width:3}.graph-node{position:absolute;width:260px;min-height:150px;max-height:245px;background:#171522fa;border:1px solid #56425f;border-radius:10px;padding:18px;color:var(--text);box-shadow:0 6px 22px #0004;user-select:none;touch-action:none}.graph-node.selected{border:2px solid var(--accent);box-shadow:0 0 0 4px #e0bd7b22}.graph-node small{font-size:10px;text-transform:uppercase;color:var(--accent)}.graph-node h3{font-size:14px;margin:10px 0}.graph-node p{font-size:11px;line-height:1.7;color:var(--muted);max-height:100px;overflow:hidden;white-space:pre-wrap}.graph-node img{width:100%;height:90px;object-fit:cover;border-radius:5px}.graph-node:has(img) p{max-height:36px}.graph-port{position:absolute;top:70px;width:14px;height:14px;border-radius:50%;background:var(--accent);border:3px solid #2c2437;padding:0;z-index:2}.graph-port.input{left:-7px}.graph-port.output{right:-7px;cursor:crosshair}.graph-tools{position:absolute;bottom:15px;left:15px;display:flex;align-items:center;gap:12px;z-index:3;padding:6px;background:#12101ce8;border:1px solid var(--line);border-radius:8px;color:#d6cfdf;font-size:11px}.graph-map{position:absolute;right:14px;bottom:14px;border:1px solid var(--line);border-radius:7px;cursor:crosshair;z-index:3}.graph-inspector{max-height:calc(100vh - 240px);overflow:auto;margin:0;padding:20px}.graph-inspector h3{font-size:15px}.graph-inspector img{width:100%;border-radius:6px}.graph-detail{font-size:12px;line-height:1.8;white-space:pre-wrap;max-height:420px;overflow:auto}.graph-inspector .btn{width:100%;justify-content:center}.graph-inspector .row{gap:8px}details{padding:12px 0;border-bottom:1px solid var(--line)}summary{cursor:pointer;font-size:13px}#site-announcement{white-space:pre-wrap}[data-theme=light] .graph-node{background:#fff8fc;color:var(--text)}[data-theme=light] .graph-viewport{background-color:#efe5f3c4}[data-theme=light] .graph-tools{background:#fff6fb;color:var(--text)}@media(max-width:1250px){.entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storyboard-row{grid-template-columns:30px 130px minmax(180px,1fr)}.shot-operations{grid-column:2/4;flex-direction:row;flex-wrap:wrap}.station-columns{grid-template-columns:minmax(0,1fr) 250px}.graph-layout{grid-template-columns:minmax(0,1fr) 220px}.search{max-width:180px}}@media(max-width:900px){.station-columns{grid-template-columns:1fr}.station-columns>aside{grid-row:1}.station-materials{position:static;max-height:280px}.station-material{display:inline-flex;vertical-align:top;width:160px;margin-right:12px}.station-material img{height:65px}.graph-layout{display:block}.graph-inspector{margin-top:14px;max-height:350px}.graph-viewport{height:60vh}.graph-map{width:120px;height:74px}.top-actions>.btn{font-size:11px;padding:7px}.top-actions .search{display:none}}@media(max-width:600px){.page{padding:20px 14px}.entry-grid{grid-template-columns:1fr}.creation-entries .entry{min-height:160px}.creation-intro{padding:20px 0}.creation-intro h2{font-size:26px}.page-head{align-items:flex-start;gap:14px}.page-head h1{font-size:22px}.page-head>.row{flex-wrap:wrap}.storyboard-row{grid-template-columns:26px 1fr;gap:10px;padding:14px}.shot-preview{height:150px}.shot-copy{grid-column:2}.shot-operations{grid-column:2;display:flex;gap:6px}.shot-operations .btn{font-size:10px}.project-settings .fields,.station-segment .fields{grid-template-columns:1fr}.captcha-row{gap:7px}.captcha-button img{width:128px;height:auto}.extraction-record{align-items:flex-start;flex-direction:column}.graph-tools{gap:6px;left:7px;bottom:7px}.graph-tools .btn{padding:6px}.graph-map{right:7px;bottom:65px}.toolbar .push,.top-actions .balance span{display:none}.top-actions .balance b{font-size:11px}.topbar{padding:12px}.breadcrumb strong{font-size:12px}.top-actions{gap:7px}.top-actions>.icon-btn:last-child{display:none}.creation-entries .entry h3{font-size:16px}}.skill-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(400px,1.3fr);gap:20px;align-items:start}.skill-layout .panel{margin-bottom:18px}.skill-consent{margin:20px 0;align-items:flex-start}.skill-run{display:grid;grid-template-columns:1fr auto;gap:6px;width:100%;padding:14px;margin:8px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);text-align:left;cursor:pointer}.skill-run.selected{border-color:var(--accent)}.skill-run small{grid-column:1/-1;color:var(--muted)}.skill-steps{padding-left:24px}.skill-steps li{padding:14px 0;border-bottom:1px solid var(--line)}.skill-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto;font:13px/1.8 monospace;background:#0000001f;padding:14px;border-radius:8px}.skill-detail .skill-output{max-height:650px}.skill-layout details{margin:14px 0}.skill-layout summary{cursor:pointer;font-weight:600}.skill-layout .muted{overflow-wrap:anywhere}@media(max-width:1000px){.skill-layout,.skill-run{grid-template-columns:1fr}}.skill-image-candidate{padding:14px 0}.skill-image-candidate img{display:block;width:100%;max-height:400px;object-fit:contain}.skill-module{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;margin:10px 0}.skill-module input{margin:4px 0;width:16px;height:16px}#skill-storyboard-settings[hidden]{display:none}.station-shell .brand{gap:10px;padding-inline:18px}.station-shell .brand-mark{width:36px;height:36px;object-fit:contain}.station-shell .brand strong{font-size:17px;white-space:nowrap}.station-vehicles{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:14px;margin-bottom:22px}.station-vehicle{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}.station-vehicle strong{overflow-wrap:anywhere}.station-vehicle .muted{font-size:12px;min-height:38px;line-height:1.7}.station-vehicle .btn{width:100%;justify-content:center}.station-count{font-size:14px;font-variant-numeric:tabular-nums}.station-count b{font-size:24px}.station-count small{color:var(--muted)}.station-progress{height:5px;background:var(--line);border-radius:6px;overflow:hidden}.station-progress i{display:block;background:var(--accent);height:100%;border-radius:6px}.station-vehicle-empty{border-style:dashed}.station-board{min-width:0}.station-board table{min-width:1050px}.station-board-footer{display:flex;justify-content:flex-end;padding-top:12px}.station-empty-row{text-align:center;color:var(--muted);padding:35px!important}.station-step{padding:24px;margin-bottom:18px}.station-step h2{display:flex;align-items:center;gap:12px;font-size:17px;margin-top:0}.station-step-number{font:600 12px/1 monospace;padding:5px 7px;color:var(--accent);border:1px solid var(--accent);border-radius:4px}.station-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.station-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;min-height:138px;padding:20px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);cursor:pointer}.station-choice strong{font-size:16px}.station-choice span,.station-choice small{color:var(--muted);line-height:1.7}.station-choice small{border-top:1px solid var(--line);width:100%;padding-top:9px;margin-top:auto}.station-choice.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 3px 0 var(--accent)}.station-choice.selected small{color:var(--accent)}.station-step>.fields{margin:20px 0}.station-upload-zone{padding:24px;border:1px dashed var(--line);border-radius:9px;outline-offset:4px;background:var(--bg)}.station-upload-zone small{display:block;color:var(--muted);margin-top:12px}.station-material-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:14px}.station-material-grid .station-material{padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0;width:auto;margin:0;display:flex}.station-material-grid .station-material input{width:100%;min-width:0}.station-step .station-segment{padding:20px;margin:14px 0;border:1px solid var(--line);border-radius:9px}.station-step .station-segment input[readonly],.station-step .station-segment textarea[readonly]{opacity:.75}.station-step .notice{overflow-wrap:anywhere}.station-step [data-fleet-control][hidden],.station-step [hidden],.station-board [hidden]{display:none}.station-shell .sidebar-bottom>.btn{width:100%;justify-content:center;margin-bottom:12px}.station-shell .sidebar .nav>a{margin-bottom:6px}.station-shell .stats{grid-template-columns:repeat(4,minmax(0,1fr))}.station-shell .page{min-width:0}.station-shell .task-prompt{max-width:460px}.station-shell .table-wrap td{vertical-align:top}.station-shell .table-wrap small{color:var(--muted)}@media(max-width:900px){.station-shell .stats,.station-vehicles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.station-vehicles,.station-choice-grid{grid-template-columns:1fr}.station-step{padding:17px}.station-choice{padding:16px;min-height:120px}.station-step .station-segment{padding:14px}.station-upload-zone{padding:16px}.station-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.station-shell .topbar .breadcrumb{gap:9px}.station-material-grid .station-material{padding:10px}.station-material-grid .station-material audio{min-width:0}.station-step>.fields{grid-template-columns:1fr}}
