:root{--bg:#fff;--bg-2:#f5f5f5;--bg-3:#ebebeb;--canvas:#e6e6e6;--line:#e5e5e5;--line-2:#d4d4d4;--text:#1e1e1e;--text-2:#6b6b6b;--text-3:#9a9a9a;--accent:#0d99ff;--accent-soft:#e5f4ff;--danger:#f24822;--field:#8a38f5;--radius:6px;--panel-w:260px;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:12px}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;margin:0}button,input,select,textarea{font:inherit;color:inherit}code,kbd,.mono{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:11px}kbd{color:var(--text-3);background:0 0}a{color:inherit;text-decoration:none}.muted{color:var(--text-2)}.small{font-size:11px}.ellipsis{white-space:nowrap;text-overflow:ellipsis;max-width:120px;overflow:hidden}.btn{border:1px solid var(--line-2);border-radius:var(--radius);background:var(--bg);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;height:30px;padding:0 12px;font-weight:500;display:inline-flex}.btn:hover{background:var(--bg-2)}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:#0a85e0}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.small{height:24px;padding:0 8px;font-size:11px}.btn.wide{width:100%}.link{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:11px;display:inline-flex}.link.danger{color:var(--danger)}.icon-btn{cursor:pointer;width:26px;height:26px;color:var(--text);background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--bg-3)}.icon-btn.on{background:var(--accent-soft);color:var(--accent)}.text-input,.select{background:var(--bg-2);border:1px solid #0000;border-radius:5px;outline:none;width:100%;min-width:0;height:28px;padding:0 8px}textarea.text-input{resize:vertical;height:auto;padding:6px 8px}.text-input:hover,.select:hover{border-color:var(--line-2)}.text-input:focus,.select:focus{border-color:var(--accent);background:var(--bg)}.select{cursor:pointer;padding-right:2px}.check{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:inline-flex}.check input{accent-color:var(--accent);margin:0}.error-box{color:#b3290b;border-radius:var(--radius);white-space:pre-wrap;word-break:break-word;background:#fff1ee;border:1px solid #ffd2c7;margin:8px 0;padding:8px 10px}.num{background:var(--bg-2);border:1px solid #0000;border-radius:5px;align-items:center;min-width:0;height:28px;display:flex}.num:hover{border-color:var(--line-2)}.num:focus-within{border-color:var(--accent);background:var(--bg)}.num-label{min-width:24px;color:var(--text-3);cursor:ew-resize;-webkit-user-select:none;user-select:none;flex:none;padding:0 4px 0 7px;font-size:11px}.num input{background:0 0;border:0;outline:none;flex:1;width:100%;min-width:0;height:100%;padding:0 4px}.num-suffix{color:var(--text-3);padding-right:7px;font-size:11px}.num.auto-gap span:last-child{color:var(--text-2);padding:0 6px}.color-field{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.swatch{cursor:pointer;background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-size:8px 8px;border:1px solid #0000001f;border-radius:4px;flex:none;width:22px;height:22px;position:relative;overflow:hidden}.swatch input{opacity:0;cursor:pointer;position:absolute;inset:0}.color-field .hex{background:var(--bg-2);text-transform:uppercase;border:1px solid #0000;border-radius:5px;outline:none;flex:1;min-width:0;height:28px;padding:0 6px;font-family:ui-monospace,Menlo,monospace;font-size:11px}.color-field .hex:focus{border-color:var(--accent)}.menu,.context-menu{z-index:50;color:#fff;background:#1e1e1e;border-radius:8px;min-width:200px;padding:6px;position:absolute;box-shadow:0 8px 24px #00000040}.menu{top:calc(100% + 6px);left:0}.menu.right{left:auto;right:0}.toolbar .menu button{white-space:nowrap}.context-menu{max-height:80vh;position:fixed;overflow:auto}.menu button,.context-menu button{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;width:100%;padding:6px 8px;display:flex}.context-menu button{justify-content:space-between}.menu button:hover:not(:disabled),.context-menu button:hover:not(:disabled){background:var(--accent)}.menu button:disabled,.context-menu button:disabled{opacity:.35;cursor:default}.menu kbd,.context-menu kbd{color:#aaa;margin-left:auto}.context-menu .sep{background:#3a3a3a;height:1px;margin:4px 0}.home{max-width:1180px;margin:0 auto;padding:28px 32px 60px}.home-head{justify-content:space-between;align-items:center;display:flex}.home-head h1{align-items:center;gap:8px;font-size:22px;display:flex}.start-cards{grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 24px;display:grid}.start-card{border:1px solid var(--line);border-radius:10px;flex-direction:column;align-items:stretch;gap:10px;padding:18px;display:flex}.start-card h3{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.start-card p{margin:0}.start-card .link{align-self:flex-start}.font-form{flex-flow:wrap;align-items:center;margin:16px 0}.font-form .text-input,.font-form .select{flex:1;width:auto}.list-head{justify-content:space-between;align-items:center;display:flex}.list-head h2{font-size:15px}.search{background:var(--bg-2);border-radius:6px;align-items:center;gap:6px;height:30px;padding:0 8px;display:flex}.search input{background:0 0;border:0;outline:none}.grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.card{border:1px solid var(--line);border-radius:10px;flex-direction:column;display:flex;position:relative;overflow:hidden}.card:hover{border-color:var(--line-2)}.thumb{background:var(--canvas);justify-content:center;align-items:center;height:170px;display:flex}.thumb img{object-fit:contain;max-width:90%;max-height:90%;box-shadow:0 1px 4px #00000026}.card-body{padding:10px 12px}.card-title{margin-bottom:2px;font-weight:600;display:block}.card-actions{background:var(--bg);border-radius:6px;gap:2px;display:none;position:absolute;top:6px;right:6px;box-shadow:0 1px 4px #00000026}.card:hover .card-actions{display:flex}.empty{text-align:center;color:var(--text-2);border:1px dashed var(--line-2);border-radius:10px;padding:40px}.font-table{border-collapse:collapse;width:100%}.font-table th,.font-table td{text-align:left;border-bottom:1px solid var(--line);padding:8px}.center-msg{height:100vh;color:var(--text-2);justify-content:center;align-items:center;display:flex}.center-msg.error{color:var(--danger)}.editor{flex-direction:column;height:100vh;display:flex;overflow:hidden}.toolbar{color:#fff;background:#2c2c2c;flex:none;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;height:44px;padding:0 8px;display:grid}.toolbar .icon-btn,.toolbar .tool{color:#fff}.toolbar .icon-btn:hover,.toolbar .tool:hover:not(:disabled){background:#3d3d3d}.tb-left,.tb-right,.tb-tools{align-items:center;gap:2px;display:flex}.tb-right{justify-content:flex-end;gap:8px}.title-input{color:#fff;background:0 0;border:1px solid #0000;border-radius:5px;outline:none;width:260px;height:28px;padding:0 8px;font-weight:500}.title-input:hover{border-color:#4a4a4a}.title-input:focus{border-color:var(--accent)}.tool{cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:2px;min-width:32px;height:32px;padding:0 7px;display:inline-flex}.tool.on{background:var(--accent)!important}.tool:disabled{opacity:.35;cursor:default}.tool.caret-btn{min-width:16px;padding:0 2px}.tool-group{align-items:center;display:flex;position:relative}.tb-sep{background:#4a4a4a;width:1px;height:20px;margin:0 6px}.zoom-btn{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:2px;height:28px;padding:0 6px;display:inline-flex}.zoom-btn:hover{background:#3d3d3d}.save-state{color:#aaa;text-align:right;min-width:50px;font-size:11px}.save-state.err{color:#ff8a70}.editor-body{flex:1;min-height:0;display:flex}.left-panel,.right-panel{width:var(--panel-w);background:var(--bg);flex-direction:column;flex:none;min-height:0;display:flex}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line)}.canvas-wrap{flex:1;min-width:0;position:relative;overflow:hidden}.tabs{border-bottom:1px solid var(--line);flex:none;gap:2px;padding:6px 8px;display:flex}.tabs button{cursor:pointer;color:var(--text-2);background:0 0;border:0;border-radius:5px;padding:6px 8px;font-weight:500}.tabs button.on{color:var(--text);background:var(--bg-2)}.tab-body{flex:1;overflow:hidden auto}.canvas{background:var(--canvas);touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}.world{transform-origin:0 0;position:absolute;top:0;left:0}.canvas-paint{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.text-edit{transform-origin:0 0;-webkit-font-smoothing:antialiased;text-rendering:geometricprecision;font-kerning:normal;position:absolute;top:0;left:0}.text-edit .n{box-sizing:border-box;flex-shrink:0}.text-edit .tx{margin:0}.canvas-shadow{background-color:#fff;background-image:linear-gradient(45deg,#f2f2f2 25%,#0000 25%),linear-gradient(-45deg,#f2f2f2 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#f2f2f2 75%),linear-gradient(-45deg,#0000 75%,#f2f2f2 75%);background-size:16px 16px;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #0000000f,0 2px 10px #00000014}.overlay{pointer-events:none;position:absolute;inset:0;overflow:visible}.root-label{fill:var(--text-2);-webkit-user-select:none;user-select:none;font-size:11px}.root-label.on,.size-label rect{fill:var(--accent)}.size-label text{fill:#fff;font-size:10px;font-weight:500}.field-badge rect{fill:var(--field)}.field-badge text{fill:#fff;font-family:ui-monospace,Menlo,monospace;font-size:9px;font-weight:700}.canvas-hint{color:#fff;pointer-events:none;white-space:nowrap;background:#1e1e1e;border-radius:6px;padding:7px 12px;font-size:11px;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.warnings{background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;align-items:flex-start;gap:8px;max-width:420px;padding:8px 10px;font-size:11px;display:flex;position:absolute;top:10px;left:10px}.warnings ul{margin:4px 0 0;padding-left:16px}.toast{color:#fff;z-index:100;background:#1e1e1e;border-radius:8px;padding:8px 14px;font-size:12px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.layers{flex-direction:column;flex:1;min-height:0;display:flex}.panel-title{align-items:center;gap:6px;padding:12px 12px 8px;font-weight:600;display:flex}.layer-list{flex:1;padding-bottom:40px;overflow:auto}.layer{cursor:default;border:1px solid #0000;align-items:center;gap:4px;height:28px;padding-right:6px;display:flex;position:relative}.layer:hover,.layer.hover{border-color:var(--accent)}.layer.sel{background:var(--accent-soft)}.layer.dim .layer-name,.layer.dim .layer-icon{opacity:.45}.layer.root{font-weight:600}.layer .caret{width:14px;color:var(--text-3);flex:none;display:inline-flex}.layer-icon{color:var(--text-2);flex:none}.layer-name{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.layer .rename{border:1px solid var(--accent);border-radius:4px;outline:none;flex:1;min-width:0;height:22px;padding:0 4px}.layer .badge{color:var(--field);display:inline-flex}.layer-actions{gap:2px;display:none}.layer-actions button{cursor:pointer;color:var(--text-2);background:0 0;border:0;padding:2px;display:inline-flex}.layer-actions button.on{display:inline-flex}.layer:hover .layer-actions{display:flex}.layer .layer-actions:has(.on){display:flex}.layer-actions button:not(.on){visibility:hidden}.layer:hover .layer-actions button{visibility:visible}.layer.drop-before:before,.layer.drop-after:after{content:"";background:var(--accent);height:2px;position:absolute;left:0;right:0}.layer.drop-before:before{top:-1px}.layer.drop-after:after{bottom:-1px}.layer.drop-inside{border:2px solid var(--accent)}.props{padding-bottom:40px}.panel-section{border-bottom:1px solid var(--line);padding:10px 12px}.panel-section>header{justify-content:space-between;align-items:center;min-height:24px;font-weight:600;display:flex}.section-actions{align-items:center;gap:2px;display:flex}.section-body{flex-direction:column;gap:6px;margin-top:6px;display:flex}.row{align-items:center;gap:6px;min-width:0;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:6px;display:grid}.grid2.with-lock{grid-template-columns:1fr 1fr 26px}.grid4{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.grid4 .num-label{min-width:16px;padding-left:5px}.grid-img{grid-template-columns:1fr auto;display:grid}.sub-label{color:var(--text-2);flex:none;font-size:11px}.align-bar{border-bottom:1px solid var(--line);justify-content:space-between;padding:6px 10px;display:flex}.radius{align-items:center;gap:2px;display:flex}.radius .num{flex:1}.radius.split{grid-column:span 2}.radius.split .num-label{display:none}.seg{background:var(--bg-2);border-radius:5px;padding:1px;display:flex}.seg-row,.al-top{justify-content:space-between}.al-grid{background:var(--bg-2);border-radius:5px;grid-template-columns:repeat(3,14px);gap:4px;padding:6px;display:grid}.al-dot{cursor:pointer;background:0 0;border:0;border-radius:3px;width:14px;height:14px;position:relative}.al-dot:after{content:"";background:var(--text-3);border-radius:2px;width:4px;height:4px;position:absolute;top:5px;left:5px}.al-dot:hover{background:var(--bg-3)}.al-dot.on:after{background:var(--accent);width:10px;height:10px;top:2px;left:2px}.paint{flex-direction:column;gap:6px;display:flex}.paint.hidden .color-field,.paint.hidden .paint-chip,.effect.hidden .select{opacity:.4}.paint-row{gap:2px}.paint-row .color-field{gap:4px}.paint-row .color-field .num{width:50px!important}.paint-row .num-suffix{padding-right:4px}.paint-row>.select{flex:none}.paint-chip{background:var(--bg-2);cursor:pointer;border:0;border-radius:5px;flex:1;align-items:center;gap:6px;min-width:0;height:28px;padding:0 4px;display:flex}.paint-detail{background:var(--bg-2);border-radius:6px;flex-direction:column;gap:6px;padding:8px;display:flex}.paint-detail .num,.paint-detail .select,.paint-detail .text-input,.paint-detail .color-field .hex{background:var(--bg)}.grad-bar{border:1px solid #0000001a;border-radius:4px;height:14px}.gradient{flex-direction:column;gap:6px;display:flex}.stop-row .color-field .num{width:48px!important}.img-preview{background:var(--bg-3) center / contain no-repeat;cursor:pointer;height:110px;color:var(--text-2);border-radius:5px;justify-content:center;align-items:center;display:flex}.image-paint{flex-direction:column;gap:6px;display:flex}.image-paint .seg{background:var(--bg-3)}.image-paint .btn.on{border-color:var(--accent);color:var(--accent)}.lib-picker{background:var(--bg);border-radius:6px;grid-template-columns:repeat(3,1fr);gap:4px;max-height:210px;padding:4px;display:grid;overflow-y:auto}.lib-picker .asset-tile{aspect-ratio:1;border:1px solid var(--line);cursor:pointer;background-color:var(--bg-2);border-radius:4px;padding:0;overflow:hidden}.lib-picker .asset-tile img{object-fit:contain;width:100%;height:100%;display:block}.lib-picker .asset-tile:hover,.lib-picker .asset-tile.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.lib-empty{grid-column:1/-1;padding:8px;line-height:1.5}.stroke-extra{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;margin-top:-4px;padding:0 12px 10px;display:flex}.effect{flex-direction:column;gap:6px;padding-bottom:6px;display:flex}.shortcuts{border-collapse:collapse;width:100%;font-size:11px}.shortcuts td{color:var(--text-2);padding:3px 0}.shortcuts td:first-child{white-space:nowrap;padding-right:8px}.tabs button{position:relative}.tab-dot{background:var(--field);vertical-align:1px;border-radius:3px;width:6px;height:6px;margin-left:5px;display:inline-block}.ovf-label{fill:#fff;font-size:11px;font-weight:600}.fit-error{color:#b42318;background:#fef3f2;border-radius:6px;padding:6px 8px;font-size:11px;line-height:1.4}.fit-warning{color:#b54708;background:#fff6e5;border-radius:6px;padding:6px 8px;font-size:11px;line-height:1.4}.data-panel .hint{color:var(--text-3);font-size:11px;line-height:1.4}.data-panel .grow{flex:1}.data-intro{color:var(--text-2);margin:0;line-height:1.5}.data-empty{color:var(--text-2);text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;display:flex}.quick-add{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.qa{border:1px dashed var(--line-2);background:var(--bg);height:62px;color:var(--text);cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:11px;font-weight:500;display:flex}.qa:hover{border-color:var(--field);color:var(--field);background:#faf6ff}.qa-sym{font-size:15px;font-weight:600;line-height:16px}.conn-row{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;flex-direction:column;align-items:flex-start;gap:3px;width:calc(100% + 12px);margin:0 -6px;padding:6px;display:flex}.conn-row:hover{background:var(--bg-2)}.conn-name{font-weight:500}.conn-binds{flex-wrap:wrap;gap:4px;display:flex}.conn-bind{color:var(--field);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;max-width:220px;font-size:11px;display:inline-flex;overflow:hidden}.te-wrap{flex-direction:column;gap:6px;display:flex;position:relative}.token-editor{border:1px solid var(--line-2);background:var(--bg);white-space:pre-wrap;word-break:break-word;cursor:text;border-radius:6px;outline:none;min-height:60px;max-height:220px;padding:7px 8px;font-size:12px;line-height:22px;overflow-y:auto}.token-editor:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.token-editor[data-empty]:before{content:attr(data-placeholder);color:var(--text-3);pointer-events:none;position:absolute}.tok{color:#6a1fd1;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;background:#f1e8ff;border-radius:4px;align-items:baseline;gap:4px;margin:0 1px;padding:0 6px;font-weight:500;line-height:18px;display:inline-flex}.tok small{opacity:.7;font-size:9.5px;font-weight:600}.tok:hover{background:#e7d8ff}.tok.on{background:var(--field);color:#fff}.te-code{min-height:60px;font-size:11.5px;line-height:1.5}.te-actions{align-items:center;gap:8px;display:flex}.add-field{color:var(--field);border-color:#dcc7fb}.add-field:hover{background:#faf6ff}.te-hint{color:var(--text-3);font-size:11px}.te-result{background:var(--bg-2);border-radius:6px;align-items:baseline;gap:8px;min-width:0;padding:6px 8px;display:flex}.te-result-label{color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;flex:none;font-size:10px;font-weight:600}.te-result-value{text-overflow:ellipsis;-webkit-line-clamp:3;min-width:0;color:var(--text);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.te-result-value.small{color:var(--text-2);font-size:11px}.form-error{color:var(--danger);font-size:11px}.token-panel{background:#faf6ff;border:1px solid #e5d4ff;border-radius:8px;flex-direction:column;gap:8px;padding:8px;display:flex}.token-panel header{color:var(--field);align-items:center;gap:6px;font-weight:600;display:flex}.tp-title{flex:1}.token-panel header .icon-btn{width:20px;height:20px;color:var(--text-2)}.tp-value{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.tp-row{grid-template-columns:62px 1fr;align-items:center;gap:6px;min-width:0;display:grid}.tp-label{color:var(--text-2);font-size:11px}.token-panel .text-input,.token-panel .select,.token-panel .num,.token-panel .fs-button{background:var(--bg)}.tp-case .seg-btn{padding:0 2px;font-size:10.5px}.tp-others{word-break:break-all;font-size:10.5px}.token-panel footer{justify-content:space-between;display:flex}.seg-wide{width:100%;display:flex}.seg-btn{cursor:pointer;min-width:0;height:24px;color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:4px;flex:1;font-size:11px;overflow:hidden}.seg-btn:hover{color:var(--text)}.seg-btn.on{background:var(--bg);color:var(--text);box-shadow:0 0 0 1px var(--line), 0 1px 2px #0000000f;font-weight:500}.field-select{position:relative}.fs-button{border:1px solid var(--line-2);background:var(--bg);cursor:pointer;text-align:left;border-radius:6px;align-items:center;gap:6px;width:100%;height:30px;padding:0 8px;display:flex}.fs-button:hover{border-color:var(--text-3)}.fs-button svg{color:var(--text-2);flex:none;margin-left:auto}.fs-placeholder{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fs-chip{color:#6a1fd1;white-space:nowrap;text-overflow:ellipsis;background:#f1e8ff;border-radius:4px;padding:0 6px;font-weight:500;line-height:18px;overflow:hidden}.field-menu{z-index:60;background:var(--bg);border:1px solid var(--line-2);border-radius:8px;flex-direction:column;min-width:220px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 8px 24px #00000024}.fm-search{border-bottom:1px solid var(--line);color:var(--text-3);align-items:center;gap:6px;padding:0 8px;display:flex}.fm-search input{background:0 0;border:0;outline:none;flex:1;min-width:0;height:32px}.fm-type{background:var(--bg-3);color:var(--text-2);border-radius:3px;margin-left:6px;padding:0 4px;font-size:10px;font-weight:500}.field-menu.floating{min-width:0;position:fixed;top:auto;right:auto}.fm-list{max-height:300px;padding:4px;overflow-y:auto}.fm-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:8px;width:100%;padding:5px 6px;display:flex}.fm-list button.hi{background:var(--accent-soft)}.fm-thumb{background:var(--bg-2) center / cover no-repeat;border:1px solid var(--line);border-radius:4px;flex:none;width:30px;height:30px}.fm-text{flex-direction:column;min-width:0;display:flex}.fm-key{font-weight:500}.fm-sample{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.fm-group{color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;padding:6px 6px 2px;font-size:10px;font-weight:600}.fm-empty{color:var(--text-2);padding:10px 6px}.fm-extra{border-top:1px solid var(--line);padding:4px}.fm-extra button{text-align:left;cursor:pointer;width:100%;color:var(--text-2);background:0 0;border:0;border-radius:5px;padding:6px}.fm-extra button:hover{background:var(--bg-2);color:var(--text)}.img-thumb{border:1px solid var(--line);background:var(--bg-2) center / cover no-repeat;text-align:center;height:120px;color:var(--text-3);border-radius:6px;justify-content:center;align-items:center;padding:10px;font-size:11px;display:flex}.vis-now{align-items:center;gap:6px;font-size:11px;display:flex}.vis-now:before{content:"";border-radius:4px;width:7px;height:7px}.vis-now.on{color:#0b8a48}.vis-now.on:before{background:#14ae5c}.vis-now.off{color:var(--text-2)}.vis-now.off:before{background:var(--text-3)}.cond-empty{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.cond-empty p{margin:0}.cond-presets{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.cond-legacy{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.cond-legacy .expr-field{width:100%}.cond-action{align-items:center;gap:8px;margin-bottom:8px;display:flex}.cond-action .seg{flex:none;width:128px}.cond-action .seg-btn{justify-content:center;align-items:center;gap:4px;display:inline-flex}.cond-summary{overflow-wrap:anywhere;margin-top:4px}.cond-state{background:var(--bg-3);color:var(--text-2);border-radius:8px;margin-left:6px;padding:0 5px;font-size:10px;font-weight:500}.cond-state.on{color:#0b8a48;background:#e3f6ec}.cg{flex-direction:column;gap:4px;min-width:0;display:flex}.cg-d1,.cg-d2{background:var(--bg-2);border-radius:8px;padding:6px}.cg-d2{background:var(--bg-3)}.cg-head{justify-content:space-between;align-items:center;height:20px;display:flex}.cg-title{color:var(--text-2);font-size:11px;font-weight:600}.cg-title.ok:after,.cg-title.no:after{content:"";vertical-align:1px;background:var(--text-3);border-radius:3px;width:6px;height:6px;margin-left:6px;display:inline-block}.cg-title.ok:after{background:#14ae5c}.cg-join{border:1px solid var(--line-2);background:var(--bg);letter-spacing:.04em;height:18px;color:var(--accent);cursor:pointer;border-radius:10px;align-self:center;padding:0 8px;font-size:10px;font-weight:600}.cg-join.any{color:var(--field)}.cg-join:hover{border-color:currentColor}.cg-add{gap:12px;padding:2px 2px 0;display:flex}.cg-add .link{align-items:center;gap:3px;display:inline-flex}.cr{border:1px solid var(--line);background:var(--bg);border-radius:8px;flex-direction:column;gap:4px;min-width:0;padding:6px;display:flex}.cr.ok{box-shadow:inset 2px 0 #14ae5c}.cr.no{box-shadow:inset 2px 0 0 var(--line-2)}.cr-head{align-items:flex-start;gap:4px;display:flex}.cr-head .grow{flex:1;min-width:0}.cr-body{grid-template-columns:84px minmax(0,1fr);gap:4px;display:grid}.cr-body.no-value{grid-template-columns:1fr}.cr-body .select{min-width:0}.cr-value{align-items:center;gap:2px;min-width:0;display:flex;position:relative}.cr-value .text-input{flex:1;min-width:0}.cr-ref{flex:1;min-width:0;height:28px}.cr-ref .fs-chip{text-overflow:ellipsis;overflow:hidden}.cr-now{color:var(--text-3);align-items:center;gap:4px;min-width:0;font-size:11px;display:flex}.cr.ok .cr-now svg{color:#14ae5c}.cr.no .cr-now svg{color:var(--text-3)}.cr-sample{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.color-dot{border:1px solid var(--line-2);border-radius:4px;flex:none;width:16px;height:16px}.expr-field{flex-direction:column;gap:4px;display:flex;position:relative}.expr-field .text-input.invalid{border-color:var(--danger)}.field-btn{color:var(--field)}.preview-bar{z-index:20;background:#2c2c2c;border-radius:9px;align-items:center;gap:1px;max-width:calc(100% - 24px);height:34px;padding:3px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0000002e}.pb-toggle{color:#ccc;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;height:26px;padding:0 8px 0 6px;font-size:11px;font-weight:500;display:inline-flex}.pb-toggle:hover:not(:disabled){background:#464646}.pb-toggle:disabled{opacity:.5;cursor:default}.pb-switch{background:#5a5a5a;border-radius:7px;width:24px;height:14px;transition:background .15s;position:relative}.pb-switch:after{content:"";background:#fff;border-radius:5px;width:10px;height:10px;transition:transform .15s;position:absolute;top:2px;left:2px}.preview-bar.on .pb-switch{background:var(--field)}.preview-bar.on .pb-switch:after{transform:translate(10px)}.preview-bar.on .pb-toggle{color:#fff}.pb-step,.pb-item{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;height:26px;display:inline-flex}.pb-step{color:#bbb;justify-content:center;width:22px}.pb-item{min-width:0;max-width:300px;padding:0 6px;font-size:11px}.pb-step:hover,.pb-item:hover{color:#fff;background:#464646}.preview-bar:not(.on) .pb-item,.preview-bar:not(.on) .pb-step{opacity:.55}.pb-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.pb-count{color:#999;flex:none}.pb-blocked{color:#fff;white-space:nowrap;background:#f24822;border-radius:10px;flex:none;margin:0 6px 0 2px;padding:2px 8px;font-size:11px;font-weight:600}.pb-none{color:#999;padding:0 8px;font-size:11px}.pb-menu{width:360px;padding:0;left:50%;overflow:hidden;transform:translate(-50%)}.pb-search{color:#999;border-bottom:1px solid #3a3a3a;align-items:center;gap:6px;padding:0 10px;display:flex}.pb-search input{color:#fff;background:0 0;border:0;outline:none;flex:1;height:34px}.pb-list{max-height:360px;padding:6px;overflow-y:auto}.pb-list button{grid-template-columns:auto 1fr;gap:8px!important;display:grid!important}.pb-list button.cur{background:#383838}.pb-list .mono{color:#aaa}.pb-row-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pb-empty{color:#999;padding:8px}.tb-render{color:#fff;cursor:pointer;background:0 0;border:1px solid #4a4a4a;border-radius:6px;align-items:center;gap:5px;height:28px;padding:0 10px;font-size:11px;font-weight:500;display:inline-flex}.tb-render:hover{background:#3d3d3d}.render-dialog{grid-template-columns:220px 1fr;align-items:start;gap:20px;display:grid}.rd-options{flex-direction:column;gap:10px;font-size:12px;display:flex}.rd-options .num,.rd-options .select{height:30px}.rd-item,.rd-field{flex-direction:column;gap:3px;display:flex}.rd-result img{border:1px solid var(--line);background-image:linear-gradient(45deg,#eee 25%,#0000 25%),linear-gradient(-45deg,#eee 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eee 75%),linear-gradient(-45deg,#0000 75%,#eee 75%);background-size:12px 12px;border-radius:6px;width:100%}.rd-meta{justify-content:space-between;margin-top:6px;font-size:12px}.rd-placeholder{text-align:center;border:1px dashed var(--line-2);border-radius:8px;justify-content:center;align-items:center;min-height:260px;padding:24px;line-height:1.5;display:flex}.rd-api{border-top:1px solid var(--line);padding-top:10px}.rd-api summary{cursor:pointer;margin-bottom:8px;font-weight:500}.rd-api .snippet{margin-top:8px}.snippet{border:1px solid var(--line);border-radius:6px;overflow:hidden}.snippet-head{background:var(--bg-2);justify-content:space-between;align-items:center;padding:2px 4px 2px 8px;font-weight:500;display:flex}.snippet pre{white-space:pre-wrap;word-break:break-all;max-height:200px;margin:0;padding:8px;font-size:10.5px;overflow:auto}.sel-all{-webkit-user-select:all;user-select:all;word-break:break-all}.canvas:focus{outline:none}.swatch>span,.pr-swatch>span,.cp-swatch>span,.stop-swatch>span{border-radius:inherit;position:absolute;inset:0}.swatch{padding:0}.paint-slot{border-radius:6px;position:relative}.paint-slot.drop-above:before,.paint-slot.drop-below:after{content:"";background:var(--accent);border-radius:1px;height:2px;position:absolute;left:0;right:0}.paint-slot.drop-above:before{top:-4px}.paint-slot.drop-below:after{bottom:-4px}.paint-row{position:relative}.grip{color:var(--text-3);cursor:grab;opacity:0;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:-12px}.paint-row:hover .grip{opacity:1}.paint-main{background:var(--bg-2);border:1px solid #0000;border-radius:5px;flex:1;align-items:center;min-width:0;height:28px;display:flex}.paint-main:hover{border-color:var(--line-2)}.paint-main .num{border-left:1px solid var(--bg);background:0 0;border-radius:0 5px 5px 0;flex:none}.paint.hidden .paint-main{opacity:.45}.pr-swatch{cursor:pointer;border:1px solid #0000001f;border-radius:3px;flex:none;width:18px;height:18px;margin:0 6px 0 5px;padding:0;position:relative;overflow:hidden}.pr-swatch.on{box-shadow:0 0 0 2px var(--accent-soft), 0 0 0 1px var(--accent)}.pr-hex,.pr-label{text-align:left;min-width:0;height:26px;color:var(--text);background:0 0;border:0;outline:none;flex:1;padding:0;font-size:11px}.pr-hex{text-transform:uppercase;font-family:ui-monospace,Menlo,monospace}.pr-label{cursor:pointer}.mixed-hint{font-size:11px}.checker{background-color:#fff;background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.popover{z-index:90;background:var(--bg);border:1px solid var(--line);border-radius:12px;max-height:calc(100vh - 16px);font-size:11px;position:fixed;overflow-y:auto;box-shadow:0 10px 32px #00000029,0 1px 3px #00000014}.pop-title{padding:10px 12px 0;font-size:12px;font-weight:600}.pop-body{flex-direction:column;gap:8px;padding:10px 12px 12px;display:flex}.pop-row{color:var(--text-2);grid-template-columns:78px 1fr;align-items:center;gap:8px;display:grid}.paint-picker{flex-direction:column;gap:8px;padding:8px 10px 10px;display:flex}.pp-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.pp-head .select{flex:none;width:108px}.pp-kinds{gap:2px;display:flex}.pp-kinds button{width:28px;height:26px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.pp-kinds button:hover{background:var(--bg-2)}.pp-kinds button.on{background:var(--bg-3);color:var(--text)}.pp-grad-icon{background:linear-gradient(90deg,currentColor,#0000);border:1px solid;border-radius:2px;width:13px;height:13px}.pp-grad-row .select{flex:1}.stop-bar-wrap{outline:none;flex-direction:column;gap:6px;display:flex}.stop-bar{cursor:copy;border-radius:4px;height:22px;margin:6px 7px 8px;position:relative}.stop-bar-fill{border-radius:inherit;border:1px solid #0000001a;position:absolute;inset:0}.stop{cursor:ew-resize;background:#fff;border-radius:4px;width:14px;height:32px;margin-left:-7px;position:absolute;top:-5px;box-shadow:0 0 0 1px #00000040,0 1px 3px #0003}.stop>span{border-radius:2px;position:absolute;inset:3px}.stop.on{box-shadow:0 0 0 2px var(--accent), 0 1px 3px #0003}.stop-list{flex-direction:column;gap:2px;display:flex}.stop-row{cursor:default;border-radius:5px;gap:6px;padding:1px 2px}.stop-row.on{background:var(--accent-soft)}.stop-swatch{border:1px solid #0000001f;border-radius:3px;flex:none;width:14px;height:14px;position:relative;overflow:hidden}.stop-hex{flex:1;font-family:ui-monospace,Menlo,monospace}.stop-alpha{color:var(--text-2)}.grad-geo{flex-direction:column;gap:6px;display:flex}.adjust{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:6px;display:flex}.adjust-row{color:var(--text-2);grid-template-columns:76px 1fr;align-items:center;gap:6px;display:grid}.adjust-row input,.smoothing input{width:100%;accent-color:var(--accent)}.cp{flex-direction:column;gap:8px;display:flex}.cp-sv{cursor:crosshair;touch-action:none;border-radius:6px;height:168px;position:relative}.cp-sv-white,.cp-sv-black{border-radius:inherit;position:absolute;inset:0}.cp-sv-white{background:linear-gradient(90deg,#fff,#fff0)}.cp-sv-black{background:linear-gradient(#0000,#000)}.cp-thumb{pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;box-shadow:0 0 0 1px #0000004d,0 1px 4px #0000004d}.cp-controls{align-items:center;gap:6px;display:flex}.cp-tracks{flex-direction:column;flex:1;gap:8px;display:flex}.cp-hue,.cp-alpha{cursor:pointer;touch-action:none;border-radius:6px;height:12px;position:relative}.cp-hue{background:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.cp-alpha-fill{border-radius:inherit;position:absolute;inset:0}.cp-knob{pointer-events:none;border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;top:50%;box-shadow:0 0 0 1px #0000004d,0 1px 3px #0000004d}.cp-format{align-items:center;gap:4px;display:flex}.cp-fmt{flex:none;height:26px;font-size:11px;width:58px!important}.cp-text{background:var(--bg-2);border:1px solid #0000;border-radius:5px;outline:none;flex:1;min-width:0;height:26px;padding:0 6px;font-family:ui-monospace,Menlo,monospace;font-size:11px}.cp-text:focus,.cp-num input:focus{border-color:var(--accent);background:var(--bg)}.cp-triple{flex:1;grid-template-columns:repeat(3,1fr);gap:2px;min-width:0;display:grid}.cp-num{background:var(--bg-2);border-radius:5px;align-items:center;min-width:0;height:26px;display:flex}.cp-format>.cp-num{flex:none;width:52px}.cp-num input{text-align:center;background:0 0;border:1px solid #0000;border-radius:5px;outline:none;width:100%;min-width:0;height:26px;padding:0 4px;font-size:11px}.cp-num span{color:var(--text-2);padding-right:5px}.cp-page{border-top:1px solid var(--line);padding-top:8px}.cp-page-title{color:var(--text-2);margin-bottom:6px}.cp-swatches{grid-template-columns:repeat(10,1fr);gap:4px;display:grid}.cp-swatch{aspect-ratio:1;cursor:pointer;border:1px solid #0000001f;border-radius:3px;padding:0;position:relative;overflow:hidden}.rot-row .num{flex:1}.rot-actions{flex:none}.rot-actions .icon-btn{width:26px;height:26px}.smoothing{grid-template-columns:auto 1fr 42px;gap:8px;display:grid}.smooth-val{text-align:right;color:var(--text-2);font-size:11px}.minmax-link{align-self:flex-start}.stroke-main .select,.stroke-main .num{flex:1}.effect-btn{flex:none}.fx-icon{border:1.5px solid;border-radius:3px;width:12px;height:12px}.fx-icon.drop-shadow{box-shadow:2px 2px 0 -.5px}.fx-icon.inner-shadow{box-shadow:inset 2px 2px 0 -.5px}.fx-icon.blur{border-style:dashed;border-radius:50%}.effect .paint-row>.select{flex:1}.pop-row.full{grid-template-columns:1fr;gap:4px}.arc-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.arc-grid .num-label{min-width:34px;font-size:10px}.export-row{grid-template-columns:58px 1fr 66px 26px;gap:4px;display:grid}.export-suffix{font-size:11px}.bool-row,.scale-row{justify-content:space-between}.scale-row .num{width:90px}:root{--panel-w:240px;--fbg:#f5f5f5;--menu:#1e1e1e}.num,.select,.text-input{height:24px}.num input{font-size:11px}.num.disabled{pointer-events:none}.num.disabled input,.num.disabled .num-label{color:var(--text-3)}.num-label:has(svg){width:24px;min-width:24px;color:var(--text-2);justify-content:center;align-items:center;padding:0;display:flex}.num .num-after{color:var(--text-2);flex:none;align-items:center;display:flex}.phead{border-bottom:1px solid var(--line);align-items:center;gap:0;height:48px;padding:0 8px 0 16px;display:flex}.phead-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.psec{border-bottom:1px solid var(--line);padding:0 16px 14px}.psec>header{justify-content:space-between;align-items:center;height:40px;margin-right:-8px;font-size:11px;font-weight:600;display:flex}.psec.psec-empty>header>.psec-title{color:var(--text-2)}.psec-actions{align-items:center;display:flex}.pbody{flex-direction:column;gap:8px;display:flex}.pgroup{flex-direction:column;gap:4px;min-width:0;display:flex}.plabel{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:16px;overflow:hidden}.pgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;align-items:center;gap:8px;display:grid}.pgrid.four{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px 24px;gap:8px 4px}.pgrid.labels{margin-bottom:-4px}.pgrid.wide>:first-child{grid-column:span 2}.pgrid.full>:first-child{grid-column:span 3}.pcheck{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;height:24px;display:flex}.pcheck .ai-mark{flex:none;margin-left:-3px}.pcheck input{width:12px;height:12px;accent-color:var(--text);margin:0}.pnote{color:var(--text-2);line-height:16px}.ibtn{width:24px;height:24px;color:var(--text);cursor:default;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.ibtn:hover{background:var(--fbg)}.ibtn.on{background:var(--bg-3)}.ibtn.accent{color:var(--accent)}.ibtn:disabled{color:var(--text-3);background:0 0}.seg3{background:var(--fbg);border-radius:5px;min-width:0;height:24px;display:flex}.seg3>.ibtn{border-radius:0;flex:1;width:auto;min-width:0}.seg3>.ibtn:first-child{border-radius:5px 0 0 5px}.seg3>.ibtn:last-child{border-radius:0 5px 5px 0}.seg3>.ibtn+.ibtn{box-shadow:-1px 0 0 var(--bg)}.seg3>.ibtn:hover{background:var(--bg-3)}.seg3.toggle{gap:1px;padding:1px}.seg3.toggle>.ibtn{height:22px;box-shadow:none;border-radius:4px}.seg3.toggle>.ibtn.on{background:var(--bg);box-shadow:0 0 0 1px var(--line)}.seg3.text>.ibtn{color:var(--text-2);font-size:11px}.seg3.text>.ibtn.on{color:var(--text);font-weight:500}.dd{width:100%;min-width:0;height:24px;color:var(--text);font:inherit;text-align:left;cursor:default;background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:2px;padding:0 0 0 8px;font-size:11px;display:flex}.dd-outline{border-color:var(--line);background:var(--bg)}.dd-outline:hover,.dd-outline.open{border-color:var(--line-2)}.dd-ghost:hover,.dd-ghost.open,.dd-field{background:var(--fbg)}.dd-field:hover{border-color:var(--line-2)}.dd-value{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.dd-icon{margin-left:-6px;display:flex}.dd-chev{color:var(--text-2);flex:none}.dmenu{z-index:200;background:var(--menu);color:#fff;border-radius:13px;max-height:calc(100vh - 16px);padding:8px;font-size:12px;position:fixed;overflow-y:auto;box-shadow:0 0 .5px #0000004d,0 5px 17px #0003,0 2px 7px #00000026}.dmenu-item{width:100%;height:24px;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:default;background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;padding:0 8px 0 4px;display:flex}.dmenu-item.hot{background:var(--accent)}.dmenu-item:disabled{color:#ffffff59;background:0 0}.dmenu-check{flex:none;justify-content:center;align-items:center;width:16px;display:flex}.dmenu-icon{margin:0 2px 0 -2px;display:flex}.dmenu-label{flex:1}.dmenu kbd{font:inherit;color:#ffffff80;background:0 0;border:0;margin-left:24px;padding:0}.dmenu-item.hot kbd{color:#fffc}.dmenu-sep{background:#ffffff1f;height:1px;margin:8px -8px}.dmenu-heading{color:#ffffff73;padding:4px 8px 4px 24px;font-size:11px}.slider3{appearance:none;background:0 0;width:100%;height:24px;margin:0}.slider3::-webkit-slider-runnable-track{background:var(--fbg);border-radius:8px;height:16px;box-shadow:inset 0 0 0 1px #00000014}.slider3::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:0;box-shadow:0 0 0 1px #0000002e,0 1px 3px #0003}.slider3::-moz-range-track{background:var(--bg-3);border-radius:2px;height:4px}.slider3::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 1px #0000002e,0 1px 3px #0003}.pslider{grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:8px;display:grid}.prow{grid-template-columns:minmax(0,1fr) 24px 24px;align-items:center;gap:4px;display:grid;position:relative}.pfield{background:var(--fbg);border:1px solid #0000;border-radius:5px;align-items:center;min-width:0;height:24px;display:flex}.pfield:hover,.pfield:focus-within{border-color:var(--line)}.pfield:focus-within{border-color:var(--accent);background:var(--bg)}.pfield .pr-swatch{border:1px solid #0000001a;border-radius:2px;width:14px;height:14px;margin:0 8px 0 4px}.pfield .pr-hex,.pfield .pr-label{height:22px;font-family:inherit;font-size:11px}.pfield .pr-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pfield .num{border:0;border-left:1px solid var(--bg);background:0 0;border-radius:0;flex:none;width:52px;height:22px}.pfield .num input{padding:0 0 0 8px}.pfield .num-suffix{color:var(--text-2);padding-right:8px}.paint.hidden .pfield,.effect.hidden .pfield{opacity:.45}.prow .grip{left:-14px}.prow:hover .grip{opacity:1}.fx-btn{width:22px;height:22px;color:var(--text);background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;margin-left:0;padding:0;display:flex}.fx-btn:hover,.fx-btn.on{background:var(--bg-3)}.pfield .dd{background:0 0;border:0;height:22px;padding-left:2px}.popover{border:0;border-radius:13px;box-shadow:0 0 .5px #0000004d,0 5px 12px #00000021,0 1px 3px #0000001a}.pop-head{border-bottom:1px solid var(--line);background:var(--bg);z-index:1;align-items:center;gap:4px;height:40px;padding:0 8px;display:flex;position:sticky;top:0}.pop-head-title{flex:1;padding-left:8px;font-weight:600}.pop-tab{background:var(--fbg);height:24px;font:inherit;color:var(--text);border:0;border-radius:5px;padding:0 8px;font-weight:600}.pop-head .spacer{flex:1}.pop-sec{flex-direction:column;gap:8px;padding:12px 16px 16px;display:flex}.pop-sec+.pop-sec{border-top:1px solid var(--line)}.pop-kinds{border-bottom:1px solid var(--line);align-items:center;gap:2px;height:40px;padding:0 8px;display:flex}.pop-kinds .ibtn{color:var(--text)}.pop-kinds .ibtn.on{background:var(--fbg)}.pop-kinds .spacer{flex:1}.cp{gap:0}.cp-sv{aspect-ratio:1;border-radius:4px;height:auto;margin:16px 16px 12px}.cp-thumb{border-width:3px;width:16px;height:16px;margin:-8px 0 0 -8px;box-shadow:0 0 0 1px #00000026,0 1px 3px #0000004d}.cp-controls{gap:8px;padding:0 16px 0 8px}.cp-tracks{gap:12px}.cp-hue,.cp-alpha{border-radius:7px;height:14px}.cp-knob{border-width:3px;width:16px;height:16px;margin:-8px 0 0 -8px;box-shadow:0 0 0 1px #00000026,0 1px 3px #0000004d}.cp-format{gap:8px;padding:12px 16px 16px}.cp-format .dd{flex:none;width:56px}.cp-value{background:var(--fbg);border:1px solid #0000;border-radius:5px;flex:1;align-items:center;min-width:0;height:24px;display:flex}.cp-value:focus-within{border-color:var(--accent);background:var(--bg)}.cp-value .cp-text,.cp-value .cp-num,.cp-value .cp-num input{background:0 0;border:0;height:22px;font-family:inherit}.cp-value .cp-text{padding:0 8px}.cp-value>.cp-num{border-left:1px solid var(--bg);border-radius:0;flex:none;width:52px}.cp-value .cp-triple{gap:0}.cp-value .cp-triple .cp-num+.cp-num{border-left:1px solid var(--bg);border-radius:0}.cp-page{margin:0;padding:12px 16px 16px}.cp-page-title{color:var(--text);margin-bottom:8px;font-weight:600}.cp-swatches{grid-template-columns:repeat(8,16px);gap:8px}.cp-swatch{border-radius:2px;width:16px;height:16px}.grad-row{grid-template-columns:minmax(0,1fr) 24px 24px;align-items:center;gap:4px;display:grid}.stops-head{justify-content:space-between;align-items:center;height:24px;margin-right:-8px;font-weight:600;display:flex}.stop-row{grid-template-columns:56px minmax(0,1fr) 24px;gap:4px;padding:0;display:grid}.stop-row.on .pfield{border-color:var(--accent)}.stop-bar{height:24px;margin:8px 7px 12px}.img-top{grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:8px;display:grid}.img-top .dd{justify-self:start;width:auto;min-width:72px}.img-drop{aspect-ratio:1;background-color:#8a8a8a;background-image:linear-gradient(45deg,#9a9a9a 25%,#0000 25%),linear-gradient(-45deg,#9a9a9a 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#9a9a9a 75%),linear-gradient(-45deg,#0000 75%,#9a9a9a 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px;border-radius:4px;position:relative;overflow:hidden}.img-drop-pic{background-position:50%;background-repeat:no-repeat;position:absolute;inset:0}.img-drop-actions{opacity:0;flex-direction:column;justify-content:center;align-items:center;gap:6px;transition:opacity .12s;display:flex;position:absolute;inset:0}.img-drop:hover .img-drop-actions,.img-drop.img-empty .img-drop-actions{opacity:1}.btn-blue{background:var(--accent);color:#fff;height:24px;font:inherit;border:0;border-radius:5px;padding:0 10px;font-size:11px;font-weight:500}.btn-blue:hover{background:#0b8ae6}.btn-white{height:24px;color:var(--text);font:inherit;background:#ffffffeb;border:0;border-radius:5px;padding:0 10px;font-size:11px;font-weight:500}.img-src{gap:4px;display:flex}.adjust3{flex-direction:column;gap:4px;display:flex}.adjust3 .adjust-row{grid-template-columns:80px 1fr;gap:8px;height:24px}.lib-grid{grid-template-columns:repeat(4,1fr);gap:4px;max-height:180px;display:grid;overflow-y:auto}.cons{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;display:grid}.cons-box{background:var(--fbg);border-radius:5px;width:72px;height:72px;position:relative}.cons-box:before{content:"";border:1px solid var(--text-3);border-radius:2px;position:absolute;inset:22px}.cons-hit{background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex;position:absolute}.cons-hit:after{content:"";background:var(--text-3);border-radius:1px}.cons-hit:hover:after{background:var(--text)}.cons-hit.on:after{background:var(--accent)}.cons-hit.h:after{width:12px;height:2px}.cons-hit.v:after{width:2px;height:12px}.cons-hit.l{width:16px;height:16px;top:28px;left:4px}.cons-hit.r{width:16px;height:16px;top:28px;right:4px}.cons-hit.t{width:16px;height:16px;top:4px;left:28px}.cons-hit.b{width:16px;height:16px;bottom:4px;left:28px}.cons-hit.ch{width:20px;height:16px;top:28px;left:26px}.cons-hit.cv{width:16px;height:20px;top:26px;left:28px}.cons-sel{flex-direction:column;gap:8px;display:flex}.corners4{grid-template-columns:1fr 1fr;gap:8px;display:grid}.fx-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.fx-color{grid-template-columns:minmax(0,1fr) 24px;gap:4px;display:grid}.angle-dial{background:var(--fbg);cursor:grab;border-radius:50%;flex:none;width:24px;height:24px;position:relative}.angle-dial:after{content:"";background:var(--text);transform-origin:1px 9px;width:2px;height:9px;transform:rotate(var(--a,0deg));border-radius:1px;position:absolute;top:3px;left:11px}.pat-source{grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:4px;display:grid}.pat-empty{background:var(--fbg);height:96px;color:var(--text-2);border-radius:4px;justify-content:center;align-items:center;display:flex}.psec .al-grid{grid-template-columns:repeat(3,1fr);gap:0;width:100%;height:64px;padding:4px}.psec .al-dot{width:auto;height:auto}.psec .al-dot:after{width:3px;height:3px;margin:-1.5px 0 0 -1.5px;top:50%;left:50%}.psec .al-dot.on:after{width:10px;height:10px;margin:-5px 0 0 -5px;top:50%;left:50%}.al-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;align-items:start;gap:8px;display:grid}.al-row .pgroup.gaps{gap:8px}.prow.open:before{content:"";background:var(--fbg);z-index:-1;position:absolute;inset:-4px -16px}.prow.open .pfield{background:0 0}.psec .paint,.psec .effect,.psec .paint-slot{z-index:0;position:relative}.pr-swatch.pattern>span{opacity:.6;background:repeating-linear-gradient(90deg, var(--text-2) 0 2px, transparent 2px 4px), repeating-linear-gradient(0deg, var(--text-2) 0 2px, transparent 2px 4px)!important}.pfield .fx-btn{margin-left:1px}.paint-picker3{flex-direction:column;display:flex}.paint-picker3>.cp+.pop-sec,.paint-picker3>.pop-sec+.cp{border-top:1px solid var(--line)}.adjust3 .adjust-row>span{color:var(--text-2)}.lib-grid .asset-tile{aspect-ratio:1;border:1px solid var(--line);border-radius:4px;padding:0;position:relative;overflow:hidden}.lib-grid .asset-tile img{object-fit:contain;width:100%;height:100%;display:block}.lib-grid .asset-tile.on{border-color:var(--accent)}.lib-empty{grid-column:1/-1}.export-row{grid-template-columns:56px minmax(0,1fr) 64px 24px;align-items:center;gap:4px}.psec .btn.small.wide,.psec .field-select .fs-button,.pop-sec .field-select .fs-button{height:24px}.props .text-input,.shortcuts{font-size:11px}.num-label .dk{color:var(--text)}.pop-sec.joined{padding-top:4px;border-top:0!important}.pfield:focus-within{background:var(--fbg);border-color:#0000}.pfield:has(input:focus){border-color:var(--accent);background:var(--bg)}.prow.open .pfield,.prow.open .pfield:hover{background:0 0;border-color:#0000}.pfield span.pr-label{align-items:center;display:flex}.pfield span.pr-swatch{flex:none;display:block;position:relative;overflow:hidden}.psec{padding:0 8px 14px 16px}.psec.psec-empty{padding-bottom:0}.psec>header{margin-right:0}.psec-actions{gap:4px}.prow{grid-template-columns:minmax(0,1fr) 24px 24px;column-gap:4px}.prow>.pfield{margin-right:4px}.prow.open:before{left:-16px;right:-8px}.pgrid.four{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px 24px;column-gap:4px}.pgrid.four>:nth-child(4n+1),.pgrid.four>:nth-child(4n+2){margin-right:4px}.phead{padding-right:8px}.num.auto-val input,.num.auto-val .num-label{color:var(--text-3)}.num.with-dd .num-after{align-self:stretch}.num-dd{border:0;border-left:1px solid var(--bg);width:24px;height:100%;color:var(--text-2);background:0 0;justify-content:center;align-items:center;padding:0;display:flex}.num-dd:hover{color:var(--text)}.font-picker{min-width:0;position:relative}.fp-button{width:100%}.seg3.text>.ibtn{font-size:11px}.seg-wide .seg-btn{flex:auto;padding:0 2px}.seg3.pos-mode>.ibtn{gap:4px}.seg3.pos-mode>.ibtn.off{color:var(--text-3);background:0 0}.anchor-grids{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:start;padding:2px 0;display:grid}.ag-col{flex-direction:column;align-items:center;gap:6px;min-width:0;display:flex}.ag-box{background:var(--fbg);border-radius:6px;width:84px;height:84px;position:relative}.ag-shape{border:1px solid var(--line-2);background:var(--bg);border-radius:3px;position:absolute}.ag-box.self .ag-shape{border-color:var(--accent);background:var(--accent-soft)}.ag-dot{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:18px;height:18px;margin:-9px 0 0 -9px;padding:0;display:flex;position:absolute}.ag-dot:after{content:"";background:var(--text-3);border-radius:50%;width:5px;height:5px;transition:transform .12s,background .12s}.ag-box.self .ag-dot:after{background:#0d99ff8c}.ag-dot:hover:after{background:var(--text-2);transform:scale(1.6)}.ag-box.self .ag-dot:hover:after{background:var(--accent)}.ag-dot.on:after,.ag-box.self .ag-dot.on:after{background:var(--accent);width:9px;height:9px;box-shadow:0 0 0 2px var(--bg), 0 0 0 4px #0d99ff4d;transform:none}.ag-dot:focus-visible{outline:none}.ag-dot:focus-visible:after{box-shadow:0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent)}.ag-cap{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--text-2);font-size:11px;line-height:14px;overflow:hidden}.ag-link{justify-content:center;padding-top:36px;display:flex}.ag-link svg{fill:var(--accent);stroke:var(--accent);stroke-width:1.25px}.layer .badge.anchor{color:var(--accent)}.canvas.picking,.canvas.picking *{cursor:crosshair!important}.anchor-tag{fill:#fff;pointer-events:none;font-size:10px;font-weight:500}.backups{flex-direction:column;gap:4px;margin-top:-2px;display:flex}.bk-row{grid-template-columns:22px 1fr 22px;align-items:center;gap:4px;min-width:0;display:grid}.bk-or{color:var(--text-3);text-align:right;padding-right:2px;font-size:10.5px;position:relative}.bk-row .fs-button{height:26px}.bk-row.used .fs-button{border-color:#c9a6ff;box-shadow:0 0 0 2px #f1e8ff}.bk-x{width:22px;height:22px;color:var(--text-2)}.bk-add{display:flex;position:relative}.bk-add-btn{border:1px dashed var(--line-2);width:100%;min-width:0;height:26px;color:var(--accent,#0d99ff);cursor:pointer;white-space:nowrap;background:0 0;border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-size:11px;font-weight:500;display:flex}.bk-add-btn:hover{border-color:var(--accent,#0d99ff);background:var(--bg-2)}.bk-add-btn svg{flex:none}.bk-when{text-overflow:ellipsis;min-width:0;color:var(--text-3);font-weight:400;overflow:hidden}.backups.has .bk-add{padding-left:26px;padding-right:26px}.bk-from{color:var(--field)}.img-thumb{position:relative}.bk-tag{color:#6a1fd1;box-shadow:0 0 0 1px var(--line);background:#ffffffeb;border-radius:4px;padding:0 6px;font-size:10.5px;line-height:18px;position:absolute;bottom:6px;left:6px}.trim-busy{color:var(--text-2);box-shadow:0 0 0 1px var(--line);background:#ffffffeb;border-radius:4px;padding:0 6px;font-size:10.5px;line-height:18px;position:absolute;top:6px;right:6px}.img-align{align-items:center;gap:10px;display:flex}.ia-box{border:1px solid var(--line-2);background:var(--bg-2);border-radius:6px;flex:none;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:54px;height:54px;padding:3px;display:grid}.ia-dot{cursor:pointer;background:0 0;border:0;border-radius:3px;padding:0;position:relative}.ia-dot:after{content:"";background:var(--text-3);border-radius:50%;width:4px;height:4px;margin:-2px 0 0 -2px;position:absolute;top:50%;left:50%}.ia-dot:hover:not(:disabled){background:var(--bg)}.ia-dot:hover:not(:disabled):after{background:var(--accent)}.ia-dot.on:after{background:var(--accent);border-radius:2px;width:10px;height:10px;margin:-5px 0 0 -5px}.ia-dot:disabled{cursor:default}.img-align.off{opacity:.5}.ia-text{flex-direction:column;min-width:0;font-size:11px;display:flex}.ia-label{color:var(--text-2)}.ia-value{color:var(--text);font-weight:500}.toolbar .icon-btn.on{background:#3d3d3d}.tb-publish:disabled{color:#aaa;opacity:1;background:#3d3d3d;border-color:#3d3d3d}.pub-dialog{flex-direction:column;gap:10px;min-width:380px;display:flex}.pub-dialog p{margin:0}.pub-desc{width:100%}.pub-head{justify-content:space-between;padding-top:4px;font-weight:600;display:flex}.pub-list{border:1px solid var(--line);border-radius:var(--radius);max-height:260px;margin:0;padding:0;list-style:none;overflow:auto}.pub-list li{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:6px 10px;display:flex}.pub-list li:last-child{border-bottom:0}.pub-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.pub-kind{background:var(--bg-2);color:var(--text-2);border-radius:4px;padding:1px 6px;font-size:11px;font-weight:500}.pub-kind.added{color:#14833b;background:#e6f7ec}.pub-kind.changed{background:var(--accent-soft);color:#0768b3}.pub-kind.removed{color:#b3290b;background:#fff1ee}.modal-foot .pub-discard{margin-right:auto}.modal-foot .pub-discard:disabled{color:var(--text-3);cursor:default}.hist{flex-direction:column;flex:1;min-height:0;display:flex}.hist-head{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:2px;height:41px;padding:0 8px 0 16px;display:flex}.hist-h{flex:1;font-weight:600}.hist-body{flex:1;padding:6px 0;overflow-y:auto}.hist-pad{padding:8px 16px}.hist-row{text-align:left;cursor:pointer;background:0 0;border:0;outline:none;flex-direction:column;align-items:stretch;gap:2px;width:100%;padding:8px 36px 8px 16px;display:flex;position:relative}.hist-row:hover{background:var(--bg-2)}.hist-row.on{background:var(--accent-soft)}.hist-title{color:var(--text);align-items:center;gap:6px;font-weight:500;display:flex}.hist-named{font-weight:600}.hist-desc{color:var(--text);white-space:pre-wrap;word-break:break-word}.hist-meta{color:var(--text-2);font-size:11px}.hist-live{color:#14833b;background:#e6f7ec;border-radius:4px;padding:0 5px;font-size:10px;font-weight:600;line-height:16px}.hist-more{opacity:0;position:absolute;top:6px;right:8px}.hist-row:hover .hist-more,.hist-row.on .hist-more,.hist-more:focus-visible{opacity:1}.hist-form{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding:8px 16px 10px;display:flex}.hist-form .text-input{width:100%;font-size:11px}.hist-form-actions{justify-content:flex-end;gap:6px;display:flex}.version-preview{z-index:30;background:var(--canvas);flex-direction:column;display:flex;position:absolute;inset:0}.vp-bar{background:var(--bg);border-bottom:1px solid var(--line);flex:none;align-items:center;gap:8px;padding:8px 12px;display:flex}.vp-title{font-weight:600}.vp-meta{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;overflow:hidden}.vp-stage{flex:1;justify-content:center;align-items:center;min-height:0;padding:32px;display:flex}.vp-stage img{object-fit:contain;background-color:#fff;background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px;max-width:100%;max-height:100%;box-shadow:0 1px 4px #0000001f}.rating-value{grid-template-columns:minmax(0,1fr) 56px auto;align-items:center;gap:8px;display:grid}.rating-strip{flex:none;gap:2px;display:inline-flex}.rating-strip .rs-empty{fill:var(--line)}.rating-strip .rs-full{fill:#ffb400}.value-result{flex-wrap:wrap;align-items:center;gap:8px}.tp-row.tp-wide{grid-template-columns:minmax(0,1fr);gap:4px}.tp-swap-list{flex-direction:column;gap:4px;min-width:0;display:flex}.tp-swap{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 20px 20px;align-items:center;gap:3px;display:grid}.tp-swap .text-input{min-width:0;padding:0 5px}.tp-arrow{color:var(--text-3);font-size:11px}.tp-swap .icon-btn{width:20px;height:20px;color:var(--text-2)}.tp-re{font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.tp-re.on{color:var(--field);background:#efe5ff}.tp-swap-error{grid-column:1/-1;font-size:10.5px}.tp-add{align-self:flex-start;align-items:center;gap:3px;font-size:11px;display:inline-flex}.tp-around{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;display:grid}.tp-around .text-input{min-width:0}.tp-number{grid-template-columns:minmax(0,1fr) 96px;gap:4px;display:grid}.tp-number .select{min-width:0}.tp-formula{flex-direction:column;gap:4px;display:flex}.tp-formula .row{align-items:center;gap:4px}.tp-formula .text-input{flex:1;min-width:0}.tp-eq{color:var(--field);font:600 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.tp-formula .link{align-self:flex-start;font-size:11px}.run-confirm{flex-direction:column;gap:6px;margin:0;padding-left:18px;line-height:1.45;display:flex}.run-confirm-note{color:var(--err-text);margin-top:12px}.run-confirm-name{flex-direction:column;gap:8px;line-height:1.45;display:flex}.tb-ai{border-color:#aa5830;border-color:lab(46.9773% 32.0683 38.1842);text-decoration:none}.tb-ai span{background:linear-gradient(120deg,#ff995c,#fc6183,#ae84f2);background:linear-gradient(120deg,lab(73.61% 37.0682 50.7306),lab(62.9971% 61.9685 14.1165),lab(62.9231% 33.3667 -49.8432));color:#0000;-webkit-background-clip:text;background-clip:text}
:root{--ok:#14ae5c;--ok-soft:#e6f7ee;--warn:#b86e00;--warn-soft:#fff4e0;--err-soft:#fff1ee;--sidebar-w:232px;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 8px 28px #0000001f}.shell,.modal,.toasts{font-size:13px}.shell .btn,.modal .btn{height:32px}.shell .text-input,.shell .select,.modal .text-input,.modal .select{border:1px solid var(--line-2);background:var(--bg);height:34px}.shell textarea.text-input,.modal textarea.text-input{height:auto}.shell .text-input:focus,.shell .select:focus,.modal .text-input:focus,.modal .select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.shell .text-input:disabled,.shell .select:disabled{background:var(--bg-2);color:var(--text-2)}.shell .link,.modal .link{font-size:inherit}.shell .link.small,.modal .link.small{font-size:12px}.shell .link:hover,.modal .link:hover{text-decoration:underline}.shell .small,.modal .small{font-size:12px}.btn:disabled{opacity:.5;cursor:default}.btn.small{padding:0 8px;font-size:12px;height:26px!important}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.danger:hover{color:var(--danger)}.mono{font-variant-ligatures:none}.grow{flex:1;min-width:0}.cap{text-transform:capitalize}.inline-icon{vertical-align:-1px}.ok-icon{color:var(--ok)}.warn-icon{color:var(--warn)}.err-icon,.err-text{color:var(--danger)}.row-between{justify-content:space-between;align-items:center;gap:12px;display:flex}.row-gap{align-items:center;gap:6px;display:flex}.row-end{justify-content:flex-end;align-items:center;gap:6px;display:flex}.stack{flex-direction:column;gap:16px;display:flex}.stack-sm{flex-direction:column;gap:8px;display:flex}.grid-2,.grid-3{grid-template-columns:1fr 1fr;gap:12px;display:grid}.grid-3{grid-template-columns:repeat(3,1fr)}@media (max-width:720px){.grid-2,.grid-3{grid-template-columns:1fr}}.checker{background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,#0000 25%),linear-gradient(-45deg,#eee 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eee 75%),linear-gradient(-45deg,#0000 75%,#eee 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.spinner{color:var(--text-2);align-items:center;gap:6px;display:inline-flex}.page-loading{justify-content:center;align-items:center;min-height:40vh;display:flex}.error-box{align-items:flex-start;gap:8px;display:flex}.error-box svg{flex:none;margin-top:2px}.warn-box{background:var(--warn-soft);color:var(--warn);border-radius:var(--radius);padding:8px 10px}.form-row{flex-direction:column;gap:5px;min-width:0;display:flex}.form-label{color:var(--text);font-weight:500}.form-label .row-between{width:100%}.form-hint{color:var(--text-3);font-size:12px}.form-error{color:var(--danger);font-size:12px}.form-actions{justify-content:flex-end;gap:8px;display:flex}.sticky-actions{background:linear-gradient(transparent, var(--bg) 30%);padding:12px 0;position:sticky;bottom:0}.inline-form{flex-direction:column;align-items:flex-start;gap:12px;max-width:420px;display:flex}.inline-form .form-row{width:100%}.input-suffix{align-items:center;gap:6px;display:flex}.input-suffix .text-input{width:90px}.plain-fieldset{border:0;min-width:0;margin:0;padding:0}.toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;display:inline-flex}.toggle input{opacity:0;pointer-events:none;position:absolute}.toggle-track{background:var(--line-2);border-radius:9px;flex:none;width:30px;height:18px;transition:background .15s;position:relative}.toggle-thumb{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.toggle input:checked+.toggle-track{background:var(--accent)}.toggle input:checked+.toggle-track .toggle-thumb{transform:translate(12px)}.toggle input:focus-visible+.toggle-track{box-shadow:0 0 0 3px var(--accent-soft)}.toggle.disabled{opacity:.5;cursor:default}.seg-tabs{background:var(--bg-2);border-radius:8px;flex-wrap:wrap;gap:2px;padding:3px;display:inline-flex}.seg-tabs button{cursor:pointer;color:var(--text-2);background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:5px 12px;font-weight:500;display:inline-flex}.seg-tabs button.on{background:var(--bg);color:var(--text);box-shadow:var(--shadow-sm)}.chip-btn{border:1px solid var(--line-2);background:var(--bg);cursor:pointer;border-radius:999px;padding:3px 10px;font-size:12px}.chip-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.chip-btn:disabled{opacity:.4;cursor:default}.chip-btn.toggle{color:var(--text-2);align-items:center;gap:5px;display:inline-flex}.chip-btn.toggle.on{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.chip-btn.toggle .order-badge{min-width:16px;height:16px;margin-left:-5px;font-size:10px}.chip-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.copy-field{gap:6px;display:flex}.copy-field .text-input{flex:1;font-size:12px}.badge{background:var(--bg-3);height:20px;color:var(--text-2);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.badge.ok{background:var(--ok-soft);color:#0b7a3e}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.error{background:var(--err-soft);color:#b3290b}.badge.info{background:var(--accent-soft);color:#0a6fbd}.progress{background:var(--bg-3);border-radius:3px;height:6px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .4s}.tag{background:var(--bg-2);color:var(--text-2);border-radius:4px;padding:1px 6px;font-size:11px;display:inline-block}.tag-row,.slot-chips{flex-wrap:wrap;gap:4px;display:flex}.order-badge{background:var(--accent);color:#fff;border-radius:9px;flex:none;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:700;display:inline-flex}.pending-chip{background:var(--warn-soft);color:var(--warn);border-radius:4px;padding:1px 6px;font-size:11px}.toasts{z-index:200;flex-direction:column;gap:8px;max-width:380px;display:flex;position:fixed;bottom:16px;right:16px}.toast-item{color:#fff;box-shadow:var(--shadow-md);background:#1e1e1e;border-radius:8px;align-items:flex-start;gap:8px;padding:10px 12px;animation:.18s ease-out toast-in;display:flex}.toast-item.ok svg{color:#4ade80}.toast-item.error svg{color:#ff8a70}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.modal-backdrop,.drawer-backdrop{z-index:100;background:#00000052;justify-content:center;align-items:flex-start;padding:8vh 16px;display:flex;position:fixed;inset:0;overflow:auto}.modal{background:var(--bg);width:520px;max-width:100%;box-shadow:var(--shadow-md);border-radius:12px;flex-direction:column;display:flex}.modal.wide{width:760px}.modal-head,.drawer-head{justify-content:space-between;align-items:center;padding:16px 20px 0;display:flex}.modal-head h2,.drawer-head h2{margin:0;font-size:16px}.modal-body{flex-direction:column;gap:12px;padding:16px 20px;display:flex}.modal-body p{margin:0}.modal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 20px 16px;display:flex}.drawer-backdrop{justify-content:flex-end;align-items:stretch;padding:0}.drawer{background:var(--bg);width:560px;max-width:100%;height:100vh;box-shadow:var(--shadow-md);font-size:13px;overflow:auto}.drawer-head{border-bottom:1px solid var(--line);background:var(--bg);z-index:1;padding:16px 20px;position:sticky;top:0}.drawer-body{flex-direction:column;gap:16px;padding:16px 20px;display:flex}.menu a{color:#fff;cursor:pointer;border-radius:5px;align-items:center;gap:8px;padding:6px 8px;display:flex}.menu a:hover{background:var(--accent)}.menu .sep{background:#3a3a3a;height:1px;margin:4px 0}.menu-check{color:#fff;cursor:pointer;border-radius:5px;align-items:flex-start;gap:8px;padding:6px 8px;display:flex}.menu-check:hover{background:#ffffff14}.menu-check input{accent-color:var(--accent);margin:2px 0 0}.menu-check span{flex-direction:column;gap:1px;display:flex}.menu-check small{color:#ffffff8c;font-size:11px}.brand{align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.lang-switch{gap:4px;font-size:12px;display:flex}.lang-switch button{color:var(--text-3);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;padding:2px 6px}.lang-switch button:hover{color:var(--text)}.lang-switch button.on{color:var(--text);cursor:default;font-weight:600}.shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-w);background:var(--bg-2);border-right:1px solid var(--line);flex-direction:column;flex:none;gap:12px;height:100vh;padding:14px 10px;display:flex;position:sticky;top:0}.brand{padding:0 6px}.org-switch{position:relative}.org-current{border:1px solid var(--line-2);background:var(--bg);cursor:pointer;text-align:left;border-radius:8px;align-items:center;gap:8px;width:100%;padding:6px;display:flex}.org-current:hover{border-color:var(--text-3)}.org-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.org-avatar{color:#fff;background:linear-gradient(135deg,#0d99ff,#8a38f5);border-radius:6px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:inline-flex}.org-avatar.sm{width:20px;height:20px;font-size:11px}.org-menu{width:100%;min-width:220px}.side-nav{flex-direction:column;gap:2px;display:flex}.side-nav a{color:var(--text-2);border-radius:6px;align-items:center;gap:10px;padding:7px 8px;font-weight:500;display:flex}.side-nav a:hover{background:var(--bg-3);color:var(--text)}.side-nav a.on{background:var(--bg);color:var(--text);box-shadow:var(--shadow-sm), 0 0 0 1px var(--line)}.side-invites{flex-direction:column;gap:4px;padding:0 6px;display:flex}.side-invite{color:var(--accent);align-items:center;gap:6px;font-weight:500;display:flex}.side-user{border-top:1px solid var(--line);align-items:center;gap:6px;margin-top:auto;padding:8px 6px 0;display:flex}.user-meta{flex:1;min-width:0}.user-meta .ellipsis{max-width:none}.user-name{font-weight:600}.shell-main{flex:1;min-width:0}@media (max-width:820px){.shell{flex-direction:column}.sidebar{flex-flow:wrap;align-items:center;width:auto;height:auto;position:static}.side-nav{flex-direction:row}.side-user{border:0;margin:0 0 0 auto;padding:0}.side-invites{display:none}}.page{max-width:1240px;padding:28px 32px 64px}.page.narrow,.narrow-col{max-width:860px}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-header h1{margin:0;font-size:22px}.page-header p{max-width:640px;margin:4px 0 0}.page-actions{flex:none;align-items:center;gap:8px;display:flex}.back-link{color:var(--text-2);align-items:center;gap:4px;margin-bottom:12px;display:inline-flex}.back-link:hover{color:var(--text)}.tab-content{margin-top:16px}.toolbar-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.toolbar-row p{margin:0}.toolbar-row .select{width:auto}.pcard{border:1px solid var(--line);background:var(--bg);border-radius:12px}.pcard-head{justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 0;display:flex}.pcard-head h2{margin:0;font-size:14px}.pcard-actions{align-items:center;gap:8px;display:flex}.pcard-body{flex-direction:column;gap:12px;padding:14px 18px 18px;display:flex}.pcard-body>p{margin:0}.danger-card{border-color:#ffd2c7}.danger-card .pcard-head h2{color:#b3290b}.empty-state{border:1px dashed var(--line-2);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:40px 24px;display:flex}.empty-state h3{margin:4px 0 0;font-size:15px}.empty-state .muted{max-width:460px}.empty-icon{color:var(--text-3)}.dtable{border-collapse:collapse;width:100%}.dtable th{text-align:left;color:var(--text-2);border-bottom:1px solid var(--line);white-space:nowrap;padding:8px 10px;font-size:12px;font-weight:500}.dtable td{border-bottom:1px solid var(--line);vertical-align:middle;padding:9px 10px}.dtable tr:last-child td{border-bottom:0}.dtable.compact th,.dtable.compact td{padding:5px 8px;font-size:12px}.dtable tr.clickable{cursor:pointer}.dtable tr.clickable:hover td{background:var(--bg-2)}.num-col{font-variant-numeric:tabular-nums;text-align:right!important}.ellipsis-cell{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.table-scroll{border:1px solid var(--line);border-radius:8px;overflow:auto}@media (max-width:820px){:has(>table.dtable){overflow-x:auto}}.row-thumb{object-fit:cover;background:var(--bg-2);border-radius:4px;width:36px;height:36px;display:block}.pager{justify-content:flex-end;align-items:center;gap:4px;margin-top:10px;display:flex}.pager .muted{margin-right:8px}.kv{grid-template-columns:120px 1fr;gap:6px 12px;margin:0;display:grid}.kv dt{color:var(--text-2)}.kv dd{min-width:0;margin:0}.kv-table th{vertical-align:top;width:190px;color:var(--text-2);text-transform:none;white-space:normal;word-break:break-all;font-weight:500}.kv-table td{word-break:break-word}.kv-thumb{object-fit:cover;vertical-align:middle;border-radius:3px;width:28px;height:28px;margin-right:6px}.list-values{word-break:break-all;margin:0;padding-left:18px}.stat-row{flex-wrap:wrap;gap:8px 24px;display:flex}.stat{flex-direction:column;display:flex}.stat b{font-variant-numeric:tabular-nums;font-size:18px}.stat span{color:var(--text-2);font-size:12px}.stat.warn b{color:var(--warn)}.big-line{align-items:center;gap:8px;font-weight:600;display:flex}.project-head{border-bottom:1px solid var(--line);max-width:none;padding:22px 32px 0}.crumbs{color:var(--text-2);gap:6px;margin-bottom:4px;display:flex}.crumbs a:hover{color:var(--text)}.project-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.project-title h1{margin:0;font-size:22px}@media (max-width:640px){.page{padding:20px 16px 48px}.project-head{padding:16px 16px 0}.project-title,.page-header,.page-actions{flex-wrap:wrap}}.project-page{padding-top:20px}.ptabs{gap:4px;display:flex;overflow-x:auto}.ptabs a{color:var(--text-2);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:9px 12px;font-weight:500;display:inline-flex}.ptabs a:hover{color:var(--text)}.ptabs a.on{color:var(--text);border-bottom-color:var(--text)}.ptabs .count{background:var(--bg-3);color:var(--text-2);border-radius:999px;padding:0 6px;font-size:11px}.split-btn{display:inline-flex;position:relative}.split-btn>.btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.split-btn>.btn.caret{border-left:1px solid #ffffff59;border-top-left-radius:0;border-bottom-left-radius:0;padding:0 8px}.split-btn .menu{min-width:260px}.overview-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}@media (max-width:1000px){.overview-grid{grid-template-columns:minmax(0,1fr)}}.checklist{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.checklist li{color:var(--text-3);align-items:center;gap:8px;display:flex}.checklist li a{color:var(--text)}.checklist li a:hover{color:var(--accent)}.checklist li.done{color:var(--ok)}.checklist li.done a{color:var(--text-2);text-decoration:line-through}.active-run{flex-direction:column;gap:12px;display:flex}.run-result{flex-direction:column;gap:10px;display:flex}.run-result-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.run-message{border-radius:var(--radius);background:var(--bg-2);margin:0;padding:8px 10px}.run-result.failed .run-message,.run-message.failed{background:var(--err-soft);color:#b3290b}.run-result.blocked .run-message,.run-message.blocked{background:var(--warn-soft);color:var(--warn)}.run-log{flex-direction:column;gap:14px;display:flex}.log-stage{flex-direction:column;gap:2px;display:flex}.log-stage-head{letter-spacing:.04em;text-transform:uppercase;color:var(--text-2);align-items:center;gap:6px;margin:0 0 2px;font-size:11px;font-weight:600;display:flex}.log-event{border-radius:var(--radius);grid-template-columns:16px minmax(0,1fr) auto;align-items:start;gap:4px 8px;padding:5px 8px;display:grid}.log-event.warning{background:var(--warn-soft)}.log-event.error{background:var(--err-soft)}.log-icon{color:var(--text-3);margin-top:2px;display:flex}.log-event.ok .log-icon{color:var(--ok)}.log-event.warning .log-icon{color:var(--warn)}.log-event.error .log-icon{color:var(--danger)}.log-msg{overflow-wrap:anywhere;line-height:1.45}.log-toggle{vertical-align:1px;margin-left:6px}.log-time{color:var(--text-3);font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:2px;font-size:11px}.log-details{flex-direction:column;grid-column:2/-1;gap:10px;padding:4px 0 2px;display:flex}.log-detail{flex-direction:column;gap:4px;display:flex}.log-details .dtable{background:var(--bg);border-radius:var(--radius)}.sample-chips{flex-wrap:wrap;gap:4px;display:flex}.log-event .tag{background:var(--bg);color:var(--text)}.nowrap{white-space:nowrap}.run-drawer{width:640px;max-width:100%}.drawer-section{flex-direction:column;gap:10px;display:flex}.drawer-section h3{margin:0;font-size:13px}.output-list{flex-direction:column;gap:14px;display:flex}.output-line{flex-direction:column;gap:6px;display:flex}.source-form{flex-direction:column;gap:14px;display:flex}.format-mark{vertical-align:-4px;color:#fff;border-radius:5px;place-items:center;width:18px;height:18px;margin-right:7px;font-size:10px;font-weight:700;display:inline-grid}.format-cards{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;display:grid}.format-card{text-align:left;border:1px solid var(--line-2);background:var(--bg);cursor:pointer;border-radius:10px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.format-card:hover{border-color:var(--text-3)}.format-card.on{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.sa-box{border:1px dashed var(--line-2);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.sa-head{align-items:flex-start;gap:6px;display:flex}.sa-email{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.header-row{grid-template-columns:minmax(0,2fr) minmax(0,3fr) auto;align-items:center;gap:8px;display:grid}.host-key{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.host-key code{word-break:break-all}.source-test{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.csv-columns{flex-direction:column;gap:14px;width:100%;display:flex}.test-result{border-radius:8px;flex-direction:column;gap:8px;width:100%;padding:10px 12px;display:flex}.test-result.good{background:var(--ok-soft)}.test-result.good>div:first-child svg{color:var(--ok);vertical-align:-2px}.test-result.bad{background:var(--err-soft);color:#b3290b;flex-flow:wrap;align-items:center}.source-note{box-sizing:border-box;background:var(--warn-soft);width:100%;color:var(--warn-text);overflow-wrap:anywhere;border-radius:8px;align-items:flex-start;gap:8px;padding:8px 10px;font-size:12.5px;line-height:1.45;display:flex}.source-note svg{flex:none;margin-top:2px}.source-note.bad{background:var(--err-soft);color:var(--err-text)}.test-result .table-scroll{background:var(--bg)}.schedule-editor{flex-direction:column;gap:14px;display:flex}.schedule-editor p{margin:0}.schedule-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.preset-row{flex-wrap:wrap;gap:6px;display:flex}.slot-grid{-webkit-user-select:none;user-select:none}.slot-grid.disabled{opacity:.4;pointer-events:none}.slot-head{display:none}.slot-cols{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (max-width:760px){.slot-cols{grid-template-columns:repeat(2,1fr)}}.slot-col{flex-direction:column;gap:3px;display:flex}.slot-row{grid-template-columns:22px repeat(4,1fr);align-items:center;gap:3px;display:grid}.slot-hour{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:11px}.slot{background:var(--bg-3);cursor:pointer;border:0;border-radius:3px;height:18px;padding:0}.slot:hover{background:var(--line-2)}.slot.on{background:var(--accent)}.slot:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.item-preview{flex-direction:column;gap:8px;display:flex}.preview-img{border:1px solid var(--line);border-radius:8px;max-width:100%}.items-table td{white-space:nowrap}.tpl-pick{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.tpl-pick-item{border:1px solid var(--line-2);background:var(--bg);cursor:pointer;text-align:left;border-radius:8px;flex-direction:column;gap:4px;padding:6px;display:flex;position:relative}.tpl-pick-item.on{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.tpl-pick-item .order-badge{position:absolute;top:10px;left:10px}.tpl-pick-item .ellipsis{max-width:none}.tpl-pick-thumb{height:80px;color:var(--text-3);border-radius:5px;justify-content:center;align-items:center;display:flex;overflow:hidden}.tpl-pick-thumb img{object-fit:contain;max-width:100%;max-height:100%}.output-cards{flex-direction:column;gap:12px;display:flex}.output-card{border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:10px;padding:16px;display:flex}.output-card.disabled{background:var(--bg-2)}.output-title{align-items:center;gap:6px;display:inline-flex}.output-title h3{margin:0;font-size:15px}.output-title:hover{color:var(--accent)}.tpl-strip{flex-wrap:wrap;gap:6px;display:flex}.tpl-chip{border:1px solid var(--line);border-radius:8px;align-items:center;gap:6px;max-width:220px;padding:3px 8px 3px 4px;display:inline-flex}.tpl-chip img{object-fit:contain;background:var(--bg-2);border-radius:3px;width:26px;height:26px}.tpl-chip.off{opacity:.45}.output-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;padding-bottom:70px;display:grid}@media (max-width:1100px){.output-layout{grid-template-columns:minmax(0,1fr)}}.output-side{position:sticky;top:16px}.tpl-order{border:1px solid var(--line);border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.tpl-order-row{background:var(--bg);border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:8px 10px;display:flex}.tpl-order-row:last-child{border-bottom:0}.tpl-order-row.dragging{opacity:.4}.tpl-order-row.drop-target{box-shadow:inset 0 2px 0 var(--accent)}.tpl-order-row.off .tpl-order-thumb,.tpl-order-row.off .link{opacity:.45}.tpl-order-row .order-badge{background:var(--text)}.tpl-order-row.off .order-badge{background:var(--line-2)}.grip{color:var(--text-3);cursor:grab;flex:none}.tpl-order-thumb{width:44px;height:44px;color:var(--text-3);border:1px solid var(--line);border-radius:6px;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.tpl-order-thumb img{object-fit:contain;max-width:100%;max-height:100%}.tpl-order-empty{padding:14px}.slots{flex-direction:column;gap:12px;display:flex}.slot-group{flex-direction:column;gap:6px;display:flex}.slot-head{align-items:center;gap:8px;display:flex}.slot-head .order-badge{background:var(--text)}.tpl-order-row.slot-row{flex-direction:column;align-items:stretch;gap:8px}.slot-row-main{align-items:center;gap:10px;min-width:0;display:flex}.slot-row-main .grow{min-width:0}.shell .select.slot-select{width:auto;max-width:120px;height:28px}.rule-when.slot-when{width:calc(100% - 24px);margin-left:24px}.slot-foot{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.shell .select.slot-add{width:auto;max-width:280px;height:28px;margin-left:auto}.warn-text{color:var(--warn)}.ab-chip{background:var(--accent-soft);color:var(--accent);border-radius:6px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;display:inline-block}.ab-chip.ab-B{background:var(--warn-soft);color:var(--warn)}@media (max-width:640px){.slot-row-main{flex-wrap:wrap}.rule-when.slot-when{width:100%;margin-left:0}}.shell .select.diag-version{width:auto;max-width:200px;height:28px}.diag-summary{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.diag-fields{border:1px solid var(--line);border-radius:10px;flex-direction:column;margin:8px 0 10px;display:flex;overflow:hidden}.diag-field{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding:8px 10px;display:flex}.diag-field:last-child{border-bottom:0}.diag-field-head{align-items:baseline;gap:8px;font-weight:600;display:flex}.diag-issue{align-items:flex-start;gap:8px;min-width:0;display:flex}.diag-issue .badge{flex:none;margin-top:1px}.diag-issue .grow{min-width:0}.diag-samples{overflow-wrap:anywhere;margin-top:2px}.diag-value{font-size:11px}.version-list li{border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:2px;padding-bottom:6px}.version-list li:last-child{border-bottom:0}.version-main{justify-content:space-between;gap:8px;width:100%;display:flex}.version-meta{overflow-wrap:anywhere}.pinned-box{margin-bottom:8px}.add-select{max-width:320px;margin-top:8px}.range-row{align-items:center;gap:10px;max-width:320px;display:flex}.range-row input{accent-color:var(--accent);flex:1}.conditions{width:100%}.conditions .cg{gap:6px}.conditions .cg-d1,.conditions .cg-d2,.conditions .cg-d3{border-radius:8px;padding:8px}.conditions .cg-d3{background:var(--bg-2)}.cr.cr-line{grid-template-columns:minmax(140px,1fr) 150px minmax(140px,1fr) 28px;align-items:center;gap:6px;display:grid}.conditions.compact .cr-line{grid-template-columns:minmax(110px,1fr) 130px minmax(110px,1fr) 28px}.cr-line .cr-error{grid-column:1/-1}@media (max-width:640px){.cr.cr-line,.conditions.compact .cr-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px}.cr-line>:first-child{grid-column:1/3}.cr-line>:nth-child(4){grid-area:1/3}}.rules{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.rule{border:1px solid var(--line);border-radius:10px;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:10px;display:flex}.rule.off{opacity:.55}.rule-main{align-items:flex-start;gap:8px;width:100%;display:flex}.rule-main>.muted{padding-top:8px}.rule-field{flex:none;width:180px}.rule-main .toggle,.rule-main .icon-btn{margin-top:4px}.rule-when{background:var(--bg-2);border-radius:8px;width:100%;padding:8px}.mapping{flex-direction:column;gap:6px;display:flex}.mapping-head,.mapping-row{grid-template-columns:220px minmax(0,1fr) 90px;align-items:flex-start;gap:8px;display:grid}.mapping-head{color:var(--text-2);font-size:12px;font-weight:500}.text-input.invalid{border-color:var(--danger)!important}.shell .select.mapping-source{width:auto;max-width:280px}.shared-mapping{background:var(--accent-soft);border-radius:var(--radius);align-items:center;gap:8px;padding:8px 10px;display:flex}.shared-mapping>svg{color:#0a6fbd;flex:none}.ftpl-actions{text-align:right}.ftpl-actions .icon-btn{white-space:nowrap;width:auto;min-width:26px;padding:0 5px}.mf-select .fs-value{min-width:0;max-width:100%}.mf-level{background:var(--bg-3);color:var(--text-2);white-space:nowrap;border-radius:4px;flex:none;padding:0 5px;font-size:10px;font-weight:600;line-height:16px}.mf-level.required{background:var(--err-soft);color:#b3290b}.mf-level.conditional{background:var(--warn-soft);color:var(--warn)}.mf-level.recommended{background:var(--accent-soft);color:#0a6fbd}.mf-level.custom{font-weight:500}.mf-attr{border:1px solid var(--line-2);color:var(--text-2);border-radius:4px;flex:none;margin-left:4px;padding:0 4px;font-family:inherit;font-size:10px;line-height:14px}.mf-notes{margin:0 0 8px}.mf-list{max-height:360px}.mf-item{grid-template-columns:auto auto minmax(0,1fr) auto}.mf-item.taken{opacity:.45;cursor:default}.mf-desc{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.mf-taken{font-size:11px}.mapping-row .mf-hint{color:var(--text-3);grid-column:2/-1;margin-top:-2px;font-size:12px}.mf-hint.warning{color:var(--warn)}.mf-hint.assumed{color:#0a6fbd}.mf-notice{color:var(--text-2);background:var(--bg-2);border-radius:var(--radius);padding:7px 10px;font-size:12px}.mf-notice.error{background:var(--err-soft);color:#b3290b}.mapping-row .mf-remove{white-space:nowrap;width:auto;min-width:26px;padding:0 5px}.mf-actions{flex-wrap:wrap}.preview-block{flex-direction:column;gap:8px;display:flex}.preview-table{max-height:460px}.preview-table th{background:var(--bg);position:sticky;top:0}.versions{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.versions li{justify-content:space-between;gap:8px;display:flex}.save-bar{left:var(--sidebar-w);z-index:40;background:var(--bg);border-top:1px solid var(--line);align-items:center;gap:8px;padding:10px 32px;display:flex;position:fixed;bottom:0;right:0;box-shadow:0 -4px 16px #0000000d}.save-bar .error-box{flex:1;margin:0}@media (max-width:820px){.save-bar{left:0}}.expr-input{flex-direction:column;gap:3px;width:100%;min-width:0;display:flex}.expr-box{align-items:flex-start;gap:4px;display:flex;position:relative}.expr-box .text-input{flex:1;min-width:0}.expr-box>.icon-btn{color:var(--field);margin-top:4px}.expr-input.invalid .text-input{border-color:var(--danger)!important}.expr-result{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.field-picker{z-index:60;background:var(--bg);border:1px solid var(--line-2);width:340px;max-width:90vw;box-shadow:var(--shadow-md);border-radius:10px;flex-direction:column;gap:6px;padding:8px;font-size:12px;display:flex;position:absolute;top:calc(100% + 4px);right:0}.fp-list{flex-direction:column;max-height:280px;display:flex;overflow:auto}.fp-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;grid-template-columns:auto auto 1fr;align-items:baseline;gap:8px;padding:5px 6px;display:grid}.fp-list button:hover{background:var(--accent-soft)}.fp-sample{text-overflow:ellipsis;white-space:nowrap;text-align:right;overflow:hidden}.fp-group{color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;padding:6px 6px 2px;font-size:11px;font-weight:600}.fp-help{border-top:1px solid var(--line);padding-top:6px}.invite-form{align-items:center;gap:8px;display:flex}.invite-form .select{width:130px}.fresh-key{background:var(--warn-soft);border-radius:8px;flex-direction:column;gap:6px;padding:10px;display:flex}.left-panel{flex-direction:column;display:flex}.left-panel>.tabs{flex:none}.left-panel>.layers,.left-panel>.assets-panel{flex:1;min-height:0;overflow:auto}.assets-panel{flex-direction:column;gap:8px;padding-bottom:12px;display:flex}.assets-search,.assets-hint{margin:0 10px}.assets-grid{grid-template-columns:repeat(2,1fr);gap:6px;padding:0 10px;display:grid}.asset-tile{aspect-ratio:1;border:1px solid var(--line);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:4px;display:flex}.asset-tile:hover{border-color:var(--accent)}.asset-tile img{object-fit:contain;pointer-events:none;max-width:100%;max-height:100%}.assets-empty{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:24px 10px;display:flex}.font-picker{width:100%;position:relative}.fp-button{text-align:left;cursor:pointer;align-items:center;gap:6px;width:100%;display:flex}.fp-button .ellipsis{flex:1;max-width:none}.font-menu{z-index:60;background:var(--bg);border:1px solid var(--line-2);min-width:220px;box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;gap:4px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0}.font-menu-list{flex-direction:column;max-height:300px;display:flex;overflow:auto}.font-menu-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;padding:5px 6px;display:flex}.font-menu-list button:hover{background:var(--accent-soft)}.font-menu-list button{flex:none;gap:6px;height:28px;overflow:hidden}.fp-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:28px;overflow:hidden}.fp-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 2px;display:flex}.fp-upload{align-items:center;gap:4px;display:inline-flex}.fp-error{overflow-wrap:anywhere;padding:0 6px}.sample-picker{width:100%;margin-bottom:6px;position:relative}.sp-button{cursor:pointer;text-align:left;align-items:center;gap:6px;width:100%;display:flex;overflow:hidden}.sp-button .ellipsis{flex:1;max-width:none}.sp-menu{z-index:60;background:var(--bg);border:1px solid var(--line-2);box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;gap:2px;max-height:340px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto}.sp-menu .row{align-items:center;gap:6px;padding:0 0 4px;display:flex}.sp-menu button{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;gap:6px;min-width:0;padding:5px 6px;display:flex}.sp-menu button:hover{background:var(--accent-soft)}.sp-menu button .ellipsis{flex:1;max-width:none}.editor-expr{margin-bottom:6px}.editor-expr .field-picker{width:300px}.field-select{text-align:left;cursor:pointer;font:inherit;color:var(--text);align-items:center;gap:6px;display:flex;overflow:hidden}.field-select:hover,.field-select.open{border-color:var(--line-2)}.field-select:focus-visible{border-color:var(--accent)}.fs-value{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:70%;overflow:hidden}.fs-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.fs-chev{color:var(--text-3);flex:none;margin-left:auto}.fs-pop{z-index:1000;background:var(--bg);border:1px solid var(--line-2);box-shadow:var(--shadow-md);border-radius:10px;flex-direction:column;gap:6px;padding:6px;font-size:13px;display:flex;position:fixed}.fs-search{height:32px}.fs-list{flex-direction:column;max-height:300px;display:flex;overflow:auto}.fs-item{width:100%;color:var(--text);text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;grid-template-columns:auto auto minmax(0,1fr) 14px;align-items:center;gap:8px;padding:6px 8px;display:grid}.fs-item.active{background:var(--accent-soft)}.fs-item.on .fs-key{font-weight:600}.fs-sample{text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:12px;overflow:hidden}.fs-check{color:var(--accent)}.fs-use{white-space:nowrap}.fs-group{letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);padding:6px 8px 2px;font-size:11px;font-weight:600}.fs-empty{padding:10px 8px}.fs-type{background:var(--bg-3);color:var(--text-2);border-radius:4px;flex:none;padding:0 5px;font-size:10px;font-weight:600;line-height:16px}.fs-type.t-price{color:#14804a;background:#e6f6ec}.fs-type.t-number{color:#1b62c7;background:#e8f1fd}.fs-type.t-url,.fs-type.t-image{color:var(--field);background:#f3ebfe}.fs-type.t-list{color:#a35c00;background:#fdf3e3}.tpl-badges{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.used-in{margin:8px 0 0;padding-left:18px}.used-in li{margin:4px 0}.held-box{flex-direction:column;gap:6px;margin:8px 0;display:flex}.held-box p{margin:0}.text-input.num{width:72px}.btn.on{color:var(--accent)}.notify-menu{min-width:300px}.notify-menu .menu-title{color:#ffffff8c;text-transform:uppercase;letter-spacing:.04em;padding:4px 8px 6px;font-size:11px}.notify-menu button{align-items:flex-start}.notify-menu button>span:last-child{flex-direction:column;gap:1px;display:flex}.notify-menu small{color:#ffffff8c;font-size:11px}.notify-menu .menu-mark{flex:none;width:14px;padding-top:2px}.notify-levels{flex-direction:column;gap:6px;margin:10px 0;display:flex}.notify-level{border:1px solid var(--line-2);border-radius:var(--radius);cursor:pointer;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.notify-level.on{border-color:var(--accent);background:var(--accent-soft)}.notify-level span{flex-direction:column;gap:2px;display:flex}.notify-level small{color:var(--text-2)}.tg-pending{border:1px solid var(--line-2);border-radius:var(--radius);flex-direction:column;gap:8px;padding:10px;display:flex}.tg-pending p{margin:0}.tg-actions{flex-wrap:wrap;gap:8px}.tg-form{max-width:520px}.tg-when{width:100%}.dtable tr.muted td{color:var(--text-2)}.audit-filters .select{max-width:200px}.audit-date{align-items:center;gap:6px;display:flex}.audit-date .text-input{width:140px}.audit-search{color:var(--text-2);align-items:center;gap:6px;display:flex}.audit-search .text-input{width:160px}.audit-table td{vertical-align:top}.audit-when{white-space:nowrap;color:var(--text-2)}.audit-who{word-break:break-all}.audit-changes{margin:4px 0 0;padding:0;font-size:12px;list-style:none}.audit-changes li{word-break:break-word}.audit-old{color:var(--text-2);text-decoration:line-through}.audit-detail td{background:var(--bg-2)}.audit-ua{word-break:break-all;font-size:12px}.webhook-event{cursor:pointer;align-items:flex-start;gap:8px;padding:4px 0;display:flex}.webhook-event input{margin-top:3px}.webhook-event span{flex-direction:column;gap:1px;display:flex}.webhook-event small{color:var(--text-2)}.webhook-url{word-break:break-all}.webhook-cell{max-width:320px}.webhook-log-head{margin:18px 0 8px}.webhook-log-head h3{margin:0;font-size:13px;font-weight:600}.webhook-pre{background:var(--bg-2);white-space:pre-wrap;word-break:break-all;border-radius:6px;max-height:320px;margin:4px 0 0;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow:auto}.dtable tr.selected td{background:var(--accent-soft)}.error-text{color:var(--danger)}.trigger-hint code{word-break:break-all}@media (max-width:720px){.audit-filters .select,.audit-date .text-input,.audit-search .text-input{width:100%;max-width:none}.audit-date,.audit-search{width:100%}}.info-box{background:var(--accent-soft);color:var(--text);border-radius:var(--radius);margin-bottom:12px;padding:8px 10px}.otp-input{letter-spacing:.2em;max-width:180px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px}.mfa-method{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:12px 0;display:flex}.mfa-method>svg{color:var(--text-2);flex:none;margin-top:2px}.mfa-method .grow{min-width:0}.mfa-method .btn{flex:none}.totp-setup{background:var(--bg-2);border-radius:8px;padding:12px 16px}.totp-setup ol{flex-direction:column;gap:14px;margin:0;padding-left:18px;display:flex}.totp-setup .qr{border:1px solid var(--line);background:#fff;border-radius:6px;width:168px;height:168px;margin:10px 0 6px;padding:8px;display:block}.totp-setup .row-gap{margin-top:8px}.totp-secret{background:var(--bg);border:1px solid var(--line);letter-spacing:.08em;word-break:break-all;border-radius:5px;margin-top:6px;padding:4px 8px;display:inline-block}.key-list{flex-direction:column;gap:4px;margin:8px 0 0;padding:0;list-style:none;display:flex}.key-list li{justify-content:space-between;align-items:center;gap:8px;display:flex}.key-add{margin-top:8px}.key-add .text-input{max-width:220px}.recovery-box{background:var(--warn-soft);border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.recovery-box p{margin:0}.recovery-codes{letter-spacing:.06em;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:6px 16px;font-size:14px;display:grid}.twofa-gate{text-align:center;flex-direction:column;align-items:center;gap:10px;max-width:460px;margin:12vh auto 0;padding:0 24px;display:flex}.twofa-gate>svg{color:var(--warn)}.twofa-gate h2{margin:4px 0 0;font-size:18px}.security-continue{margin-top:16px}.account-page{width:100%;margin:0 auto}.check-row{cursor:pointer;align-items:flex-start;gap:8px;display:flex}.check-row input{margin-top:2px}.check-row span{flex-direction:column;gap:1px;display:flex}.check-row.disabled{opacity:.55;cursor:default}.transfer-summary ul{flex-direction:column;gap:3px;margin:0;padding-left:18px;display:flex}.transfer-summary p{margin:0}.file-input{padding:5px;height:auto!important}.usage-banner-wrap{margin:12px 24px 0;position:relative}.usage-banner{border:1px solid #0000;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 36px 10px 12px;display:flex}.usage-banner.warning{background:var(--warn-soft);color:var(--warn);border-color:#f3dcb0}.usage-banner.over{background:var(--err-soft);color:#b3290b;border-color:#f8cfc4}.usage-banner b{color:var(--text)}.usage-banner ul{color:var(--text);margin:4px 0 2px;padding-left:18px}.usage-banner svg{flex:none;margin-top:1px}.usage-banner-close{position:absolute;top:8px;right:8px}.usage-plan{flex-wrap:wrap;justify-content:space-between;gap:16px;display:flex}.usage-plan p{margin:6px 0 0}.usage-upgrade{text-align:right;flex-direction:column;align-items:flex-end;gap:6px;max-width:280px;display:flex}.usage-rules{flex-wrap:wrap;gap:8px 24px;margin:12px 0 0;display:flex}.usage-rule dt{color:var(--text-2);font-size:12px}.usage-rule dd{margin:0;font-weight:500}.usage-compare{margin-top:12px}.usage-compare summary{cursor:pointer;color:var(--accent);margin-bottom:8px}.usage-compare th.usage-current{color:var(--text)}.usage-quotas{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px 28px;display:grid}.usage-quota{flex-direction:column;gap:5px;min-width:0;display:flex}.usage-quota-head{justify-content:space-between;gap:8px;display:flex}.usage-quota-val{white-space:nowrap;font-variant-numeric:tabular-nums}.usage-bar{background:var(--bg-3);border-radius:4px;height:8px;overflow:hidden}.usage-bar.slim{height:6px}.usage-bar>div{background:var(--accent);border-radius:4px;height:100%;transition:width .4s}.usage-bar.warning>div{background:#e8a33d}.usage-bar.over>div{background:var(--danger)}.usage-level{align-items:center;gap:4px;font-size:12px;display:flex}.usage-level.warning{color:var(--warn)}.usage-level.over{color:#b3290b}.usage-chart-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.usage-chart{gap:8px;height:180px;padding-bottom:22px;display:flex}.usage-chart-y{color:var(--text-3);font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;align-items:flex-end;min-width:28px;margin:-6px 0;font-size:11px;display:flex}.usage-chart-plot{flex:1;min-width:0;position:relative}.usage-chart-grid{border-top:1px dashed var(--line);border-bottom:1px solid var(--line-2);background:linear-gradient(to bottom, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px));pointer-events:none;position:absolute;inset:0}.usage-chart-bars{align-items:flex-end;gap:2px;display:flex;position:absolute;inset:0}.usage-chart-col{cursor:default;flex:1;align-items:flex-end;min-width:0;height:100%;display:flex}.usage-chart-col.on{background:var(--accent-soft)}.usage-chart-bar{background:var(--accent);border-radius:4px 4px 0 0;width:100%;max-width:28px;min-height:0;margin:0 auto}.usage-chart-col.on .usage-chart-bar{background:#0a7fd6}.usage-chart-x span{color:var(--text-3);white-space:nowrap;font-size:11px;position:absolute;bottom:-20px;transform:translate(-50%)}.usage-chart-x span:first-child{transform:none;left:0!important}.usage-chart-x span:last-child:not(:first-child){right:0;transform:none;left:auto!important}.usage-tip{background:var(--bg);border:1px solid var(--line-2);box-shadow:var(--shadow-md);pointer-events:none;white-space:nowrap;z-index:2;border-radius:6px;padding:6px 9px;position:absolute;top:0;transform:translate(-50%)}.usage-tip.start{transform:translate(-12px)}.usage-tip.end{transform:translate(calc(12px - 100%))}.usage-storage{flex-direction:column;gap:8px;display:flex}.usage-storage-row{grid-template-columns:150px 1fr 140px;align-items:center;gap:12px;display:grid}.usage-storage-row .num-col,.usage-storage-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.usage-storage-row.total{border-top:1px solid var(--line);padding-top:8px;font-weight:500}.usage-table td.num-col,.usage-table th.num-col{white-space:nowrap}@media (max-width:640px){.usage-banner-wrap{margin:12px 16px 0}.usage-storage-row{grid-template-columns:1fr 90px}.usage-storage-row .usage-bar,.usage-storage-row.total>span:nth-child(2){display:none}.usage-upgrade{text-align:left;align-items:flex-start}}.demo-banner{background:var(--accent-soft);border:1px solid #c5e4ff;border-radius:8px;align-items:flex-start;gap:12px;margin-bottom:20px;padding:14px 44px 14px 16px;display:flex;position:relative}.demo-banner p{color:var(--text-2);max-width:720px;margin:4px 0 8px}.demo-banner-icon{color:var(--accent);flex:none;margin-top:1px}.demo-banner-steps{flex-wrap:wrap;align-items:center;gap:6px 18px;display:flex}.demo-banner-steps .link-btn{align-items:center;gap:4px;display:inline-flex}.demo-banner .btn.small{flex:none;align-self:center}.demo-banner-close{position:absolute;top:8px;right:8px}.empty-actions{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:10px;margin:14px 0 10px;display:flex}.demo-try{flex-direction:column;align-items:center;gap:6px;display:inline-flex}.demo-try-error{text-align:center;max-width:360px}@media (max-width:640px){.demo-banner{flex-wrap:wrap}}.notify-level-col{width:220px}:lang(ru) .notify-level-col{width:250px}@media (max-width:640px){:lang(ru) .invite-form{flex-wrap:wrap}:lang(ru) .invite-form>.grow{flex-basis:100%}.demo-banner>.grow{flex-basis:calc(100% - 30px)}.demo-banner .btn.small{margin-left:30px}}.search.grow input{flex:1;min-width:0}.slot-head{flex-wrap:wrap;row-gap:6px}:lang(ru) .project-page .seg-tabs button{padding-left:9px;padding-right:9px}@media (max-width:600px){.save-bar{flex-wrap:wrap;row-gap:6px;padding:8px 16px}.save-bar>.muted{flex-basis:100%}.save-bar>.grow{display:none}}@media (max-width:640px){.project-title .page-actions{flex:0 auto;min-width:0}}.output-card>.row-between{flex-wrap:wrap;row-gap:6px}.output-card>.row-between>.row-gap{flex-wrap:wrap}@media (max-width:600px){.rule-main{flex-wrap:wrap}.rule-main .expr-input{flex:120px}}.version-main{flex-wrap:wrap;row-gap:2px}.version-main>a{white-space:nowrap}.fs-item.mf-item{grid-template-columns:auto auto minmax(0,1fr) auto}@media (min-width:641px){:lang(ru) .run-menu{width:max-content;max-width:400px}}@media (max-width:640px){.run-menu.menu.right{left:0;right:auto}}
:root{--sans:Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif}.shell{--page:#f4f2ee;--bg:#fff;--bg-2:#faf9f6;--bg-3:#f0ede6;--line:#e2ded5;--line-2:#e2ded5;--line-soft:#efebe4;--line-faint:#f4f2ee;--text:#1c1a17;--text-2:#6e695f;--text-3:#8b857a;--text-4:#a9a397;--ink:#1c1a17;--ink-2:#2c2924;--ink-3:#3a362f;--accent:#d16022;--accent-hover:#b84b00;--accent-soft:#ffe9de;--link:#b84b00;--indigo:#4f5aac;--ok:#00884c;--ok-dot:#269e5f;--ok-text:#006738;--ok-soft:#e3f8e9;--warn:#944f00;--warn-dot:#dd881b;--warn-text:#814200;--warn-soft:#ffefd8;--danger:#c53829;--err-dot:#dd503f;--err-text:#af2c1f;--err-soft:#fff2ef;--mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--shadow-menu:0 12px 32px #1c1a1724;background:var(--page);min-height:100vh;color:var(--text);font-family:var(--sans);flex-direction:column;display:flex}@supports (color:lab(0% 0 0)){.shell{--accent:lab(54.7765% 43.4518 54.373);--accent-hover:lab(46.619% 43.9838 59.1196);--accent-soft:lab(94.0095% 8.49471 9.65074);--link:lab(46.619% 43.9838 59.1196);--indigo:lab(40.5067% 14.4379 -46.235);--ok:lab(49.5995% -45.1147 23.3324);--ok-dot:lab(57.7308% -44.8334 23.1443);--ok-text:lab(37.7384% -38.7767 20.0717);--ok-soft:lab(95.7656% -9.29081 4.75966);--warn:lab(41.3933% 28.3899 61.7982);--warn-dot:lab(64.7155% 28.2485 65.2833);--warn-text:lab(35.5553% 28.9656 63.9259);--warn-soft:lab(95.4087% 3.83016 15.0742);--danger:lab(46.0858% 55.7278 42.9237);--err-dot:lab(54.2309% 55.4525 41.0688);--err-text:lab(40.373% 52.7171 41.2833);--err-soft:lab(96.3537% 5.85511 3.88832)}}.shell code,.shell kbd,.shell .mono{font-family:var(--mono)}.shell .org-avatar{background:#ed7940;background:lab(64.0908% 42.9438 51.6702)}@keyframes inF{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes upF{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes spinF{to{transform:rotate(360deg)}}@keyframes popF{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.shell *,.shell :before,.shell :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}}.ring{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;flex:none;width:11px;height:11px;animation:.7s linear infinite spinF;display:inline-block}.ring.dark{border-color:var(--text-2);border-top-color:#fff;width:10px;height:10px}.ring.muted{border-color:var(--line);border-top-color:var(--text-3);width:10px;height:10px}.topbar{background:var(--ink);color:#fff;white-space:nowrap;flex:none;align-items:center;gap:16px;height:52px;padding:0 20px;display:flex}.topbar-brand{color:#fff;align-items:center;gap:8px;font-size:15px;font-weight:800;display:flex}.topbar-mark{background:#ed7940;background:lab(64.0908% 42.9438 51.6702);border-radius:5px;width:20px;height:20px}.topbar-org,.topbar-account{position:relative}.topbar-org-btn{background:var(--ink-2);color:#fff;cursor:pointer;border:0;border-radius:7px;align-items:center;gap:8px;padding:5px 9px;font-weight:500;display:flex}.topbar-org-btn .ellipsis{max-width:180px}.topbar-org-btn:hover{background:var(--ink-3)}.topbar-nav{color:var(--text-4);gap:4px;margin-left:8px;display:flex}.topbar-nav a{border-radius:6px;padding:6px 10px}.topbar-nav a:hover{color:#fff}.topbar-nav a.on{background:var(--ink-2);color:#fff}.topbar-search{background:var(--ink-2);width:240px;color:var(--text-3);cursor:pointer;text-align:left;border:0;border-radius:7px;align-items:stretch;margin-left:auto;padding:6px 10px;display:flex}.topbar-search:hover{background:var(--ink-3)}.topbar-search-label{text-overflow:ellipsis;overflow:hidden}.topbar-search kbd{font-family:var(--mono);color:var(--text-3);margin-left:auto;padding-left:8px;font-size:11px}.topbar-avatar{background:var(--ink-3);color:#fff;cursor:pointer;border:0;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;display:grid;position:relative}.topbar-avatar:hover{background:#4a453c}.topbar-dot{background:var(--accent);border:2px solid var(--ink);border-radius:50%;width:9px;height:9px;position:absolute;top:-1px;right:-1px}.topbar-menu{width:260px;color:var(--text);white-space:normal;top:36px;left:0;right:auto}.topbar-menu.right{left:auto;right:0}@media (max-width:820px){.topbar{gap:10px;padding:0 12px}.topbar-nav{margin-left:0}.topbar-search{width:auto}.topbar-search-label{display:none}.topbar-search kbd{padding-left:0}}@media (max-width:600px){.topbar-brand{font-size:0}.topbar-org-btn .ellipsis{max-width:90px}}.fmenu{border:1px solid var(--line);width:282px;box-shadow:var(--shadow-menu);z-index:40;text-align:left;white-space:normal;background:#fff;border-radius:12px;padding:5px;animation:.15s both popF;position:absolute;top:40px;right:0}.fmenu-item{text-align:left;cursor:pointer;width:100%;color:var(--text);background:0 0;border:0;border-radius:8px;padding:8px 10px;display:block}.fmenu-item:hover:not(:disabled),.fmenu-item.on{background:var(--page)}.fmenu-item:disabled{opacity:.45;cursor:default}.fmenu-item b{font-weight:600;display:block}.fmenu-item small{color:var(--text-3);font-size:11.5px;display:block}.fmenu-tag{border:1px solid var(--line);height:18px;color:var(--text-2);vertical-align:1px;background:#fff;border-radius:5px;align-items:center;gap:3px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:500;display:inline-flex}.fmenu-item.danger b{color:var(--err-text)}.fmenu-row{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:7px 9px;display:flex}.fmenu-row:hover{background:var(--page)}.fmenu-row.accent{color:var(--link);font-weight:500}.fmenu-sep{background:var(--line-soft);height:1px;margin:5px 4px}.fmenu-head{padding:7px 9px 5px}.fmenu-head .ellipsis{max-width:none}.fmenu-mode{color:var(--text-2);justify-content:space-between;align-items:center;gap:10px;padding:4px 4px 2px 9px;font-size:12.5px;display:flex}.fmenu-mode .seg-tabs button{padding:3px 10px;font-size:12.5px}.fmenu-hint{color:var(--text-3);padding:2px 9px 4px;font-size:11.5px}.fmenu-title{color:var(--text-3);padding:6px 9px 2px;font-size:11.5px}.fmenu-sub{border-left:2px solid var(--line-soft);margin:0 0 4px 10px;padding-left:8px}.fmenu-sub .fmenu-row{padding:6px 8px}.fbtn{border:1px solid var(--line);height:34px;color:var(--text);font:500 13px var(--sans);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.fbtn:hover:not(:disabled){border-color:var(--ink)}.fbtn:disabled{opacity:.5;cursor:default}.fbtn.sm{border-radius:7px;height:30px;padding:0 10px;font-size:12px}.fbtn.xs{border-radius:6px;height:28px;font-size:12px}.fbtn.icon{width:34px;padding:0}.fbtn.ink{background:var(--ink);color:#fff;border:0;font-weight:600}.fbtn.ink:hover:not(:disabled){background:var(--ink-3)}.fbtn.accent{background:var(--accent);color:#fff;border:0;font-weight:600}.fbtn.accent:hover:not(:disabled){background:var(--accent-hover)}.fbtn.on{border-color:var(--ink)}.fsplit{display:flex;position:relative}.fsplit-main{background:var(--accent);color:#fff;height:34px;font:600 13px var(--sans);cursor:pointer;white-space:nowrap;border:0;border-radius:8px 0 0 8px;align-items:center;gap:7px;padding:0 14px;display:flex}.fsplit-caret{background:var(--accent);color:#fff;cursor:pointer;border:0;border-left:1px solid oklch(70% .14 45);border-radius:0 8px 8px 0;width:30px;height:34px;font:13px system-ui,sans-serif}.fsplit-main:hover:not(:disabled),.fsplit-caret:hover{background:var(--accent-hover)}.fsplit-main:disabled{cursor:default}.flink{color:var(--link);font-weight:500;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:500}.flink:hover{opacity:.75}.flink.danger{color:var(--err-text)}.fseg{background:var(--bg-3);border-radius:7px;padding:2px;font-size:12px;display:flex}.fseg button{color:var(--text);font:500 12px var(--sans);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:4px 9px}.fseg button.on{background:#fff;box-shadow:0 1px 2px #00000014}.fpill{width:max-content;color:var(--text-2);background:var(--bg-3);border-radius:5px;align-items:center;gap:6px;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.fpill:before{content:"";background:#b9b3a8;border-radius:50%;width:6px;height:6px}.fpill.ok{color:var(--ok-text);background:var(--ok-soft)}.fpill.ok:before{background:var(--ok-dot)}.fpill.warn{color:var(--warn-text);background:var(--warn-soft)}.fpill.warn:before{background:var(--warn-dot)}.fpill.err{color:var(--err-text);background:var(--err-soft)}.fpill.err:before{background:var(--err-dot)}.fpill.info{color:#363d8c;color:lab(28.7071% 17.146 -46.0094);background:#edf1ff;background:lab(95.1895% 1.01468 -9.36468)}.fpill.info:before{background:var(--indigo)}.fpill.run:before{background:var(--warn-dot);animation:1.2s ease-in-out infinite pulseF}@keyframes pulseF{50%{opacity:.35}}.dot{background:#cfc9bd;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.dot.ok{background:var(--ok-dot)}.dot.warn{background:var(--warn-dot)}.dot.err{background:var(--err-dot)}.dot.run{background:var(--warn-dot);animation:1.2s ease-in-out infinite pulseF}.proj-head{border-bottom:1px solid var(--line);background:var(--bg-2);flex:none;padding:14px 20px 0}.proj-head-row{align-items:center;gap:16px;min-height:52px;display:flex}.proj-head-title{flex:auto;min-width:0}.proj-head-crumbs{height:18px;color:var(--text-3);white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:flex}.proj-head-crumbs a:hover{color:var(--text)}.proj-head-tag{color:var(--indigo);font-weight:600}.proj-head-badge{color:#2f45a8;background:#e9eefb;border-radius:4px;padding:0 6px;font-size:11px;font-weight:600;line-height:16px}.proj-head h1{letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;margin:2px 0 0;font-size:24px;font-weight:800;line-height:30px;overflow:hidden}.proj-head-actions{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.proj-head-actions .split-btn>.btn{border-color:var(--line);border-radius:8px;width:34px;padding:0;height:34px!important}.proj-head-actions .split-btn>.btn:hover{border-color:var(--ink)}.proj-head-actions .split-btn .menu{top:40px}.proj-head-tabs{scrollbar-width:none;white-space:nowrap;gap:2px;margin:4px -12px 0;display:flex;overflow-x:auto}.proj-head-tabs::-webkit-scrollbar{display:none}.proj-head-tabs a{color:var(--text-2);border-bottom:2px solid #0000;flex:none;padding:10px 12px}.proj-head-tabs a:hover{color:var(--text)}.proj-head-tabs a.on{border-bottom-color:var(--accent);color:var(--text);font-weight:600}.proj-head-tab{justify-items:center;display:inline-grid}.proj-head-tab>span,.proj-head-tab:after{grid-area:1/1}.proj-head-tab:after{content:attr(data-label);visibility:hidden;font-variant-numeric:tabular-nums;height:0;font-weight:600;overflow:hidden}.proj-head-tab small{color:var(--text-3);font-size:inherit;font-variant-numeric:tabular-nums;font-weight:500}@media (max-width:600px){.proj-head{padding:12px 12px 0}.proj-head-row{flex-wrap:wrap;row-gap:10px}.proj-head h1{font-size:20px}.proj-head-row>.proj-head-actions,.proj-head-row>.sh-actions{flex:100%;min-height:36px;margin-left:0}}.demo-note{background:#f2f5ff;background:lab(96.3855% .781298 -7.50831);border:1px solid #d6ddf9;border:1px solid lab(88.1142% 1.83153 -14.8788);border-radius:8px;align-items:center;gap:14px;padding:10px 14px;animation:.4s both inF;display:flex}.demo-note-title{color:#363d8c;color:lab(28.7071% 17.146 -46.0094);white-space:nowrap;font-weight:600}.demo-note-text{color:var(--text-2);min-width:0}.demo-note-links{flex:none;gap:6px;margin-left:auto;display:flex}.demo-note-links a,.demo-note-links button{color:var(--link);font:500 12px var(--sans);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d6ddf9;border:1px solid lab(88.1142% 1.83153 -14.8788);border-radius:5px;padding:3px 8px}.demo-note-links a:hover,.demo-note-links button:hover{opacity:.75}.demo-note-delete{color:#a33;font:500 12px var(--sans);cursor:pointer;white-space:nowrap;background:0 0;border:0}.demo-note-close{cursor:pointer;color:var(--text-3);background:0 0;border:0;padding:0 2px;font-size:14px}@media (max-width:1100px){.demo-note{flex-wrap:wrap}.demo-note-links{flex-wrap:wrap;margin-left:0}}.project-page>.demo-note{margin-bottom:16px}@media (max-width:700px){.topbar-nav{scrollbar-width:none;flex:auto;min-width:0;overflow-x:auto}.topbar-nav::-webkit-scrollbar{display:none}.topbar-nav a{padding:6px 8px}.topbar-search{flex:none;margin-left:0}.demo-note-links{flex-basis:100%}}
