:root{color:#151515;background:#f3f4f6;font-family:Noto Sans CJK SC,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:1120px;background:#f3f4f6}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.app{min-height:100vh;display:flex;flex-direction:column;background:#f3f4f6}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;background:#fff;border-bottom:1px solid #dedede}.brand-block{min-width:190px}.topbar h1,.panel h2,.stage h2,.section-title h3{margin:0}.topbar h1{max-width:260px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#151515;font-size:18px;line-height:1.1}.eyebrow{margin:0 0 4px;color:#777;font-size:11px;font-weight:800}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.topbar-actions button,.scale-control{min-height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border-radius:7px;background:#151515;color:#fff;font-weight:750}.topbar-actions button:hover{background:#2a2a2a}.topbar-actions .ghost{background:#f1f1f1;color:#202020;font-weight:650}.topbar-actions .ghost:hover{background:#e4e4e4}.topbar-actions .primary{min-width:82px;background:#ffd338;color:#151515}.topbar-actions .primary:hover{background:#f1c400}.topbar-actions button:disabled{cursor:not-allowed;opacity:.42}.topbar-actions button:disabled:hover{background:#f1f1f1}.topbar-actions .icon-button{min-width:36px;padding:0;justify-content:center;font-size:18px}.toolbar-divider{width:1px;height:24px;margin:0 3px;background:#dedede}.scale-control{background:transparent;color:#555;padding:0 2px 0 8px;font-size:13px;font-weight:700}.scale-control select{height:30px;color:#151515;background:#fff;border:1px solid #d4d4d4;border-radius:6px;padding:0 6px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:218px minmax(620px,1fr) 332px;gap:0}.panel,.layer-panel{min-height:0;background:#fff;overflow:auto}.left-panel{border-right:1px solid #dedede}.right-panel,.layer-panel{border-left:1px solid #dedede}.panel{padding:16px 12px}.panel-header{margin-bottom:14px;padding:0 4px}.panel-header h2,.stage h2{color:#151515;font-size:17px;letter-spacing:0}.template-list,.layer-list{display:grid;gap:6px}.template-card{position:relative;width:100%;min-height:54px;display:grid;align-content:center;gap:2px;padding:9px 10px 9px 16px;text-align:left;color:#151515;background:transparent;border:1px solid transparent;border-radius:7px}.template-card:hover{background:#f4f4f4}.template-card.active{background:#151515;color:#fff}.template-card strong{font-size:14px;line-height:1.15}.template-meta{color:#777;font-size:12px}.template-card.active .template-meta{color:#cfcfcf}.template-accent{position:absolute;left:6px;top:10px;bottom:10px;width:4px;border-radius:8px}.stage{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto auto auto;align-content:start;gap:14px;padding:18px 22px;background:linear-gradient(90deg,rgba(0,0,0,.035) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.035) 1px,transparent 1px),#ededed;background-size:24px 24px}.stage-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.status-pill{max-width:380px;margin:0;padding:7px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;background:#ffffffc7;color:#555;border:1px solid rgba(0,0,0,.08);font-size:12px;font-weight:700}.quality-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:7px;background:#ffffffdb;border:1px solid rgba(0,0,0,.08);color:#555;font-size:12px}.quality-bar strong{color:#151515;font-size:13px}.quality-bar span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.quality-bar em{color:#777;font-style:normal;font-weight:750}.quality-bar.warning{border-color:#f2c94cd9}.quality-bar.blocked{border-color:#dc26268c}.canvas-shell{width:100%;align-self:start;aspect-ratio:16 / 9;min-height:0;background:#202020;border-radius:6px;overflow:hidden;box-shadow:0 28px 58px #0003,0 0 0 1px #00000038}.cover-canvas{display:block;width:100%;height:100%;background:#fff;touch-action:none;-webkit-user-select:none;user-select:none}.cover-canvas.static{pointer-events:none}.layer{cursor:move}.layer.locked{cursor:not-allowed}.preview-row{display:flex;align-items:center;gap:12px;min-height:76px;padding:10px 12px;border-radius:7px;background:#ffffffc7;border:1px solid rgba(0,0,0,.08)}.thumbnail-preview{aspect-ratio:16 / 9;overflow:hidden;border-radius:4px;border:1px solid #bdbdbd;flex:none;background:#fff}.preview-row strong{display:block;margin-bottom:3px;color:#151515;font-size:14px}.preview-row span{color:#666;font-size:12px}.right-stack{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 260px}.control-grid{display:grid;gap:8px;margin-bottom:14px}.control-grid.two{grid-template-columns:1fr 1fr}.section-label{margin:14px 0 8px;color:#777;font-size:11px;font-weight:850}.coach-card{display:grid;gap:8px;margin-bottom:14px;padding:12px;border-radius:7px;background:#151515;color:#fff}.coach-card div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.coach-card strong{font-size:18px}.coach-card p,.coach-card span{margin:0;color:#ffffffc7;font-size:12px;line-height:1.45}.coach-kicker{color:#ffffff8f!important;font-size:11px!important;font-weight:850}.quick-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;margin-top:2px}.quick-actions button{min-height:32px;border-radius:6px;background:#ffd338;color:#151515;font-size:12px;font-weight:850}.field{display:grid;gap:5px;color:#666;font-size:11px;font-weight:800}.field.stack{margin-bottom:12px}.field input,.field select,.field textarea{width:100%;min-height:34px;border:1px solid #d6d6d6;border-radius:7px;background:#fff;color:#151515;padding:7px 9px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#151515;box-shadow:0 0 0 2px #00000014}.field textarea{min-height:104px;resize:vertical;line-height:1.45;font-weight:650}.color-field input{height:36px;padding:3px}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-bottom:14px;padding:3px;border-radius:7px;background:#eee}.segmented button{min-height:32px;border-radius:5px;color:#555;background:transparent;font-weight:750}.segmented button.active{color:#151515;background:#fff;box-shadow:0 1px 3px #0000001a}.muted{color:#666;line-height:1.55}.advanced-panel{margin-top:16px;border-top:1px solid #e3e3e3}.advanced-panel summary{min-height:38px;display:flex;align-items:center;color:#555;cursor:pointer;font-size:12px;font-weight:850}.advanced-panel .control-grid{margin-top:6px}.layer-panel{padding:12px;border-top:1px solid #dedede}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding:0 4px}.section-title h3{color:#151515;font-size:15px}.section-title span{color:#777;font-size:12px;font-weight:800}.layer-row{display:grid;grid-template-columns:1fr 28px 28px 28px 28px 28px;gap:3px;align-items:center;padding:4px;border-radius:7px;background:#f7f7f7;border:1px solid transparent}.layer-row.selected{background:#fff;border-color:#151515}.layer-row button{min-height:28px;border-radius:5px;background:transparent;color:#444;font-size:12px;font-weight:800}.layer-row button:hover{background:#e8e8e8}.layer-row button:disabled{cursor:not-allowed;color:#b5b5b5}.layer-row button:disabled:hover{background:transparent}.layer-row .danger:hover{background:#ffe8e8;color:#b40000}.layer-main{display:flex;align-items:center;gap:7px;min-width:0;text-align:left;color:#151515!important}.layer-main span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layer-kind{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:5px;color:#fff;font-size:11px;font-weight:900}.layer-kind.text{background:#151515}.layer-kind.image{background:#2563eb}.layer-kind.shape{background:#0f8b5f}@media(max-width:1180px){body{min-width:1040px}.workspace{grid-template-columns:198px minmax(560px,1fr) 304px}.topbar-actions button,.scale-control{padding-left:9px;padding-right:9px}}
