:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202126;background:#f4f4f2;font-size:16px;font-synthesis:none;--ink:#131519;--accent:#deff81;--border:#e4e5e0;--muted:#6d726b}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #6f9125;outline-offset:3px}input,textarea,select{width:100%;border:1px solid #dfe1da;border-radius:10px;padding:12px 14px;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#718d39;box-shadow:0 0 0 3px #a4ca6525}textarea{resize:vertical;min-height:84px}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:600;margin:18px 0}button{border:0;border-radius:10px;padding:12px 18px;font-weight:600}.primary{background:var(--ink);color:var(--accent);transition:background .15s}.primary:hover{background:#30362a}.secondary{background:#f0f1ed;color:#34382f;border:1px solid #e0e3d9}.secondary:hover{background:#e5e8df}.full{width:100%}.muted{color:var(--muted);line-height:1.55}.small{font-size:.875rem}.hint{font-size:.8125rem;color:#73796d;line-height:1.55;font-weight:400}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.15em;color:#6b7561;margin:0 0 12px}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:2rem;line-height:1.15;letter-spacing:-.05em;margin:0}h2{font-size:1.125rem;letter-spacing:-.025em;margin:0}h3{font-size:1rem;margin-top:30px}.error{color:#ae3d2c;font-size:.875rem;min-height:20px}[hidden]{display:none!important}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-card{width:min(420px,85%);align-self:center;justify-self:center;padding:50px 0}.brand-mark{font-size:2.5rem;font-weight:900;letter-spacing:-.15em;margin-bottom:50px}.brand-mark span{color:#92b953}.login-card h1{font-size:2.8rem;margin-bottom:20px}.login-card .primary{width:100%;margin-top:12px}.login-art{background:#dfff86;display:grid;place-items:center;overflow:hidden;padding:70px}.art-frame{width:min(350px,100%);aspect-ratio:9/16;border:2px solid #242d1f;position:relative;padding:100px 24px 24px;transform:rotate(-7deg);box-shadow:22px 22px 0 #b8d967}.art-frame span{font-size:clamp(28px,4vw,48px);font-weight:900;line-height:1.1;letter-spacing:-.055em;position:relative;z-index:1}.art-frame em{font-style:normal;color:#40532d}.art-frame i{position:absolute;width:220px;height:220px;border:40px solid #222b1e;border-radius:50%;bottom:50px;right:-60px}.art-frame small{position:absolute;bottom:24px;left:24px;font-size:.75rem;letter-spacing:.12em}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#141619;color:#fff;padding:36px 20px;display:flex;flex-direction:column;z-index:2}.wordmark{font-size:1.2rem;font-weight:800;letter-spacing:.02em;text-decoration:none;color:#fff;white-space:nowrap;margin:0 10px 52px}.wordmark span{color:var(--accent)}.sidebar-caption{color:#92988b;font-size:.625rem;letter-spacing:.12em;margin:0 10px 18px}.nav{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;background:none;color:#a8ada3;font-size:.875rem;padding:15px 14px;margin-bottom:8px}.nav.active{background:#deff81;color:#20261b}.nav:hover:not(.active){background:#262a24;color:#fff}.nav span{font-size:.75rem;border-radius:6px;padding:2px 6px;background:#ffffff20}.sidebar-bottom{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#a9b29f;font-size:.75rem;line-height:1.6;padding:20px 10px 0}.server-dot{width:7px;height:7px;border-radius:50%;background:#c9eb82}.text-button{background:none;color:#a9b29f;font-size:.8125rem;padding:8px 0;flex-basis:100%;text-align:left}main{margin-left:244px;padding:44px 48px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:38px;gap:16px}.private-badge{font-size:.75rem;color:#66715a;border:1px solid #d9e0cd;padding:9px 13px;border-radius:999px;background:#edf2e4;white-space:nowrap}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:34px}.panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px;margin-bottom:22px}.panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #eef0e9;padding-bottom:19px;margin-bottom:12px}.panel-heading>span{font-size:.75rem;color:#949b8a;font-variant-numeric:tabular-nums}.field-row{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.scene{padding:18px;background:#f7f8f4;border:1px solid #e8ebe1;border-radius:12px;margin:18px 0}.scene-top{display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;font-weight:700;color:#68765b}.scene-actions{display:flex;gap:8px}.scene-actions button{padding:5px 9px;font-size:.75rem;background:#fff;border:1px solid #e2e6d9;color:#737b68}.scene label:last-child{margin-bottom:0}.upload-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.upload-button{border:1px dashed #b7c1a8;padding:12px 16px;border-radius:8px;cursor:pointer;background:#f5f8ee;display:inline-flex;font-size:.8125rem}.upload-button input{display:none}.preview-sticky{position:sticky;top:30px}.phone-preview{aspect-ratio:9/16;background:#fff;border:8px solid #222721;border-radius:28px;position:relative;overflow:hidden;color:#1c2617;display:flex;flex-direction:column;padding:30px 20px;box-shadow:0 18px 40px #20271912}.preview-top{font-size:.625rem;letter-spacing:.12em;font-weight:700;opacity:.65}.preview-content{margin:auto 0}.preview-content h2{font-size:1.8rem;line-height:1.15;margin:16px 0;letter-spacing:-.045em}.preview-content p{font-size:.8125rem;line-height:1.5;opacity:.7}.preview-index{font-size:.625rem;letter-spacing:.16em}.preview-footer{font-size:.5625rem;letter-spacing:.08em;opacity:.65;position:relative;z-index:1}.preview-line{height:4px;width:40%;position:absolute;bottom:0;left:0;background:#a4cf56}.phone-preview[data-theme="poster"]{background:#dcff80;color:#142214}.phone-preview[data-theme="passport"]{background:#101f1b;color:#7ce6bc}.phone-preview[data-theme="premium"]{background:#151412;color:#d9bd83}.phone-preview[data-theme="cards"]{background:#142c59;color:#e4ecff}.phone-preview[data-theme="heat"]{background:#ed7d3e;color:#321b11}.export-note{border-top:1px solid #dfe2d9;margin-top:22px;padding-top:20px;display:flex;flex-direction:column;gap:8px;font-size:.75rem;color:#707a65}.export-note strong{color:#3e4835;font-size:.8125rem}.section-description{font-size:.9375rem;color:#6d7565;line-height:1.6;margin:0 0 26px}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.preset-card{background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden;display:flex;flex-direction:column}.preset-swatch{height:150px;padding:26px;display:flex;align-items:center;justify-content:center;position:relative}.preset-swatch span{font-size:1.6rem;line-height:1.05;font-weight:900;letter-spacing:-.05em;max-width:180px}.preset-swatch small{position:absolute;top:16px;right:16px;font-size:.6875rem;padding:4px 7px;border:1px solid currentColor;border-radius:5px}.preset-body{padding:20px;display:flex;flex-direction:column;flex:1}.preset-body p{font-size:.8125rem;color:#7c8274;line-height:1.5;flex:1}.preset-body button{width:100%;font-size:.8125rem}.section-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.section-toolbar button{white-space:nowrap}.job{background:white;border:1px solid var(--border);border-radius:14px;padding:22px;margin-bottom:16px}.job-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.job h3{margin:0;font-size:1rem}.job-meta{font-size:.75rem;color:#78806e;margin-top:8px}.status{font-size:.75rem;padding:6px 10px;border-radius:6px;background:#f1f3eb;color:#737f60;white-space:nowrap}.status.done{background:#e5f4d2;color:#426c27}.status.failed,.status.interrupted{background:#fff0eb;color:#a45034}.status.running{background:#e9efff;color:#3e619f}.progress{height:5px;border-radius:5px;background:#eef0e8;margin:18px 0 10px;overflow:hidden}.progress>div{background:#8aa947;height:100%;transition:width 1s}.job-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.job-actions button,.job-actions a{font-size:.8125rem;padding:9px 13px;border-radius:8px;text-decoration:none}.job-message{font-size:.8125rem;color:#7d816f;margin:12px 0 0}.empty{padding:70px 20px;text-align:center;border:1px dashed #cfd5c4;border-radius:14px;color:#7e8872}.empty h2{color:#35432a;margin-bottom:10px}.api-panel{max-width:820px}.api-panel>h2{font-size:1.65rem;line-height:1.2;margin-bottom:20px}.api-panel>p{color:#6d7565;line-height:1.6}.endpoint{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #eef0e9;font-size:.8125rem;flex-wrap:wrap}.endpoint b{width:42px;font-size:.6875rem;color:#648635}.endpoint code{color:#33422a}.endpoint span{color:#8b927f;margin-left:auto}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#151b13;color:#c9dfb9;border-radius:10px;padding:22px;font-size:.8125rem;line-height:1.7;max-height:60vh;overflow:auto}#notice{background:#edf5df;border:1px solid #d4e5ba;border-radius:10px;padding:14px 18px;margin-bottom:24px;font-size:.875rem}#notice.bad{background:#fff0e8;border-color:#f1d4c5;color:#9b4e2c}footer{margin-top:45px;padding:24px 0;border-top:1px solid #dfe3d8;color:#89917e;font-size:.75rem}dialog{border:1px solid #d8ddcf;border-radius:16px;padding:22px;max-width:min(760px,94vw);width:100%}dialog::backdrop{background:#0d140dcc;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}dialog video{display:block;width:auto;max-width:100%;max-height:74vh;margin:auto;background:#111;border-radius:8px}#render-log{margin-bottom:0;font-size:.75rem}
@media(min-width:1450px){main{padding-left:70px;padding-right:70px}.editor-layout{grid-template-columns:minmax(0,1fr) 310px;gap:45px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 14px}main{margin-left:210px;padding:36px 26px}.editor-layout{grid-template-columns:minmax(0,1fr) 220px;gap:22px}.panel{padding:22px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-content h2{font-size:1.5rem}}@media(max-width:850px){.sidebar{position:relative;width:100%;padding:20px;gap:20px}.wordmark{margin:0}.sidebar-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:8px;overflow-x:auto}.nav{width:auto;white-space:nowrap;padding:10px 13px;margin:0}.nav span{margin-left:8px}main{margin-left:0;padding:28px 20px}.editor-layout{grid-template-columns:minmax(0,1fr) 220px}.private-badge{font-size:.6875rem}header{margin-bottom:28px}.login-art{padding:30px}}@media(max-width:650px){.editor-layout{display:flex;flex-direction:column}.preview-column{order:-1}.preview-sticky{position:static;display:grid;grid-template-columns:100px 1fr;gap:12px;align-items:center}.phone-preview{border-width:4px;border-radius:13px;padding:12px 8px;grid-row:span 2}.preview-content h2{font-size:.7rem;margin:6px 0}.preview-content p{font-size:.375rem}.preview-index,.preview-top,.preview-footer{font-size:.25rem}.preview-sticky>.hint{margin:0}.export-note{margin-top:0;padding-top:10px}.field-row{grid-template-columns:1fr;gap:0}.field-row label{margin:12px 0}.panel{padding:20px}.preset-grid{gap:12px}.preset-swatch{height:130px;padding:20px}.preset-swatch span{font-size:1.25rem}.preset-body{padding:16px}.job-head{flex-direction:column;gap:12px}.section-toolbar{flex-wrap:wrap;margin-bottom:20px}.section-toolbar p{margin:0}h1{font-size:1.7rem}.private-badge{padding:7px 10px}.login-wrap{display:block}.login-art{display:none}.login-card{margin:auto;padding:45px 0}.login-card h1{font-size:2.4rem}.brand-mark{margin-bottom:45px}.endpoint span{margin-left:58px;flex-basis:100%}.api-panel>h2{font-size:1.35rem}}

.editor-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 22px}.editor-toolbar .hint{flex-basis:100%}.brief-panel summary{display:flex;flex-direction:column;gap:7px;cursor:pointer;font-size:1.125rem;font-weight:700;list-style:inside}.brief-panel summary small{font-size:.8125rem;font-weight:400;color:#7a856e}.brief-panel[open] summary{padding-bottom:18px;border-bottom:1px solid #e8ede1}.brief-panel>p{margin-top:18px}.brief-panel textarea[readonly]{margin-top:18px}.scene-thumb{width:100%;height:160px;object-fit:contain;background:#e9ede3;border-radius:8px;display:block;margin-top:12px}.scene-top{gap:10px;flex-wrap:wrap}.scene-actions{flex-wrap:wrap}.preview-photo{position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}.preview-content,.preview-top{position:relative;z-index:1}.phone-preview.has-photo{color:#fff}.phone-preview.has-photo .preview-line{background:#deff81}#music-preview{display:block;width:100%;margin:16px 0}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.watch-stage{background:#171a16;border-radius:16px;display:flex;justify-content:center;align-items:center;padding:18px;min-height:320px}.watch-stage video{display:block;max-height:74vh;width:100%;max-width:100%;border-radius:8px}.watch-info h2{line-height:1.3;font-size:1.35rem}.watch-info>button{margin-top:14px}.link-button{display:block;text-decoration:none;text-align:center;padding:14px;border-radius:10px;font-weight:600}.watch-info .error{font-size:.8125rem;line-height:1.5}.project-topic{margin-top:0}.preset-grid>.empty{grid-column:1/-1}#save-status{max-width:160px;text-align:right;font-size:.6875rem}
@media(max-width:850px){.watch-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}}@media(max-width:650px){.watch-layout{grid-template-columns:1fr}.watch-stage video{max-height:64vh}.watch-stage{padding:10px}.watch-info{margin-bottom:0}.brief-panel summary{font-size:1rem}.scene-actions button{padding:8px 10px}.editor-toolbar button{flex:1}.scene-thumb{height:130px}}
