*{box-sizing:border-box}:root{--ink:#282635;--muted:#736f80;--line:#e1dfe7;--violet:#8653bf;--soft:#f1eafa}body{color:var(--ink);-webkit-font-smoothing:antialiased;background:#f8f8fb;margin:0;font:14px Arial,Helvetica,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #9360ca}button:hover{filter:brightness(.96)}svg{stroke-width:1.7px;flex-shrink:0}h1,h2,p{margin:0}.appbar{color:#fff;background:#252332;align-items:center;gap:28px;height:62px;padding:0 clamp(20px,3vw,52px);display:flex}.brand,.navlabel,.topright,.topright button,.btn,.crumb,.panelhead,.panelhead>div,.live,.viewlabel,.toolbar,.filecard,.search,.treeroot,.branch,.isolate,.asideFoot,.viewerFoot,.viewerFoot span,.libHead,.cardname,.eyebrow,.modalTop,footer,footer span,.actions,.intro{align-items:center;display:flex}.brand{gap:10px}.brand strong{letter-spacing:-1.1px;font-size:24px}.brand span{letter-spacing:1.6px;color:#c4bdd3;background:#353140;border:1px solid #4a4356;border-radius:4px;margin-left:1px;padding:4px 6px;font:9px ui-monospace,monospace}.navlabel{color:#d1cadc;border-left:1px solid #4e485a;gap:9px;padding-left:24px;font-size:12px}.topright{gap:19px;margin-left:auto}.topright button{color:#e4deee;gap:8px;font-size:12px}.topright i,.panelhead i,.toolbar i{background:var(--line);width:1px;height:18px}.topright i{background:#514b5e}.av{color:#ebd8fd;background:#52435e;border:1px solid #786389;border-radius:50%;place-items:center;width:31px;height:31px;font-size:11px;display:grid}main{max-width:1760px;margin:auto;padding:21px clamp(18px,3vw,52px) 0}.crumb{color:#7b7787;gap:8px;font-size:11px}.crumb svg{width:12px;height:12px}.crumb strong{color:#4c4759;font-weight:500}.intro{justify-content:space-between;gap:20px;margin:17px 0 24px}h1{letter-spacing:-1.5px;font-size:clamp(28px,2.5vw,38px);font-weight:650;line-height:1.15}.intro p{color:var(--muted);margin-top:8px;font-size:13px}.actions{gap:9px}.btn{white-space:nowrap;background:#fff;border:1px solid #d9d5e1;border-radius:7px;justify-content:center;gap:8px;min-height:37px;padding:0 14px;font-size:12px;font-weight:600;box-shadow:0 1px 2px #20103007}.btn svg{width:15px;height:15px}.btn.primary{color:#fff;background:#8050b5;border-color:#7748ab;box-shadow:0 2px 3px #603e8022}.editor{grid-template-columns:clamp(230px,19vw,295px) minmax(0,1fr);gap:16px;height:clamp(450px,54vh,640px);min-height:450px;display:grid}.editor.collapsed{grid-template-columns:1fr}.editor.collapsed aside{display:none}aside,.viewer{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 4px #28304b04}.panelhead{border-bottom:1px solid var(--line);justify-content:space-between;height:48px;min-height:48px;padding:0 16px;font-size:14px;font-weight:600}.panelhead>div{gap:8px}.panelhead svg{width:17px;height:17px}.tool{color:#706b7c;border-radius:5px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.tool:hover,.tool.active{color:#8150af;background:#f0e9f7}.tool svg{width:16px;height:16px}.eyebrow{letter-spacing:1.5px;color:#837d90;gap:8px;font:600 9px/1.2 Arial,sans-serif}.explorer{flex:1;padding:17px 15px 8px;overflow:auto}.filecard{background:#f7f4fb;border:1px solid #e9e1f2;border-radius:7px;gap:9px;margin-top:9px;padding:10px 8px}.filecard>div{min-width:0}.filecard strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;display:block;overflow:hidden}.filecard small{color:#7a7284;align-items:center;gap:5px;margin-top:5px;font-size:10px;display:flex}.fileicon{color:#8b5cb7;background:#eae0f6;border-radius:6px;place-items:center;width:33px;height:36px;display:grid}.fileicon svg{width:19px}.dot{background:#68a78a;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.purpledot{background:#9b71c2}.treehead{margin:20px 0 9px}.tabs{background:#f2f1f5;border-radius:6px;gap:3px;padding:3px;display:flex}.tabs button{color:#777282;border-radius:4px;width:50%;padding:5px 0;font-size:11px}.tabs .sel{color:#65478a;background:#fff;font-weight:600;box-shadow:0 1px 4px #21152b1a}.search{border:1px solid var(--line);border-radius:5px;gap:7px;height:30px;margin:11px 0;padding:0 9px}.search svg{color:#918a9c;width:13px}.search input{width:100%;color:var(--ink);background:0 0;border:0;outline:none;font-size:11px}.treeroot{text-align:left;gap:6px;padding:2px 0 5px;font-size:12px;font-weight:600}.treeroot svg{color:#83758f;width:14px;height:14px}.branches{margin-left:7px}.branch{gap:5px;height:33px;padding-left:14px;position:relative}.twig{border-left:1px solid #ddd8e5;width:10px;height:100%;position:absolute;top:0;left:0}.twig:after{content:"";border-top:1px solid #ddd8e5;width:9px;position:absolute;top:50%}.branch:last-child .twig{border-bottom:1px solid #ddd8e5;height:50%}.branch:last-child .twig:after{display:none}.isolate{text-align:left;flex:1;gap:8px;padding:0;font-size:12px}.catIcon{border-radius:4px;place-items:center;width:23px;height:22px;display:grid}.catIcon svg{width:14px;height:14px}.branch small{color:#7a7585;background:#f4f3f7;border-radius:4px;padding:2px 4px;font:10px ui-monospace,monospace}.branch .tool{width:23px}.branch .tool svg{width:13px}.branch.off .isolate{opacity:.4}.asideFoot,.viewerFoot{border-top:1px solid var(--line);color:#797484;flex-shrink:0;justify-content:space-between;height:31px;padding:0 14px;font-size:10px}.asideFoot span{align-items:center;gap:7px;display:flex}.asideFoot button{place-items:center;display:grid}.violet{color:#8b63af}.badge,.libHead h2 span{color:#865ca7;background:#f5effa;border:1px solid #e5d9ef;border-radius:4px;padding:3px 6px;font:10px ui-monospace,monospace}.panelhead .live{color:#726d7a;gap:6px;font-size:10px;font-weight:400}.viewer.full{z-index:5;position:fixed;inset:10px;box-shadow:0 0 0 30px #25233266}.stage{background:#f8f8fb;flex:1;min-height:0;position:relative;overflow:hidden}.stage canvas,.thumb canvas,.cutPreview canvas{touch-action:none;width:100%;height:100%;display:block}.stage canvas{cursor:grab}.stage canvas:active{cursor:grabbing}.viewlabel,.orientation{z-index:1}.viewlabel{border:1px solid var(--line);pointer-events:none;background:#ffffffed;border-radius:5px;gap:7px;padding:6px 9px;font-size:10px;font-weight:500;position:absolute;top:15px;left:16px}.orientation{pointer-events:none;position:absolute;top:12px;right:14px}.toolbar{background:#fff;border:1px solid #dad6e2;border-radius:8px;gap:3px;padding:4px;position:absolute;bottom:13px;left:50%;transform:translate(-50%);box-shadow:0 3px 9px #35304116}.toolbar .tool{width:29px;height:28px}.toolbar i{margin:0 2px}.viewerFoot span{gap:7px}.viewerFoot .mono,.code,footer span:last-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}em{color:#bab5c2;font-style:normal}.empty,.pickbox{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px;position:absolute}.empty{text-align:center;top:50%;left:50%;transform:translate(-50%,-50%)}.empty button{margin:12px auto 0}.pickbox{align-items:center;gap:10px;font-size:12px;display:flex;top:48px;left:16px}.pickbox>button:not(.tool){color:var(--violet);text-decoration:underline}.library{margin-top:24px}.libHead{justify-content:space-between;margin-bottom:12px}.libHead .eyebrow{color:#877095;letter-spacing:1.6px;font-size:9px}.shortline{background:#b298c8;width:16px;height:2px}h2{letter-spacing:-.65px;font-size:21px}.libHead h2{align-items:center;gap:9px;margin-top:6px;display:flex}.libHead h2 span{color:#7a7285;background:#efedf3;border-color:#e4e1eb;font-size:10px}.cut{min-height:32px;font-size:11px}.cards{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:13px;display:grid}.card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:8px;padding:0;overflow:hidden}.card.chosen{border:1.5px solid #9666c3;box-shadow:0 0 0 1px #9b6bc41a}.thumb{background-color:#f2f2f6;background-image:radial-gradient(#d6d3df .75px,#0000 .75px);background-size:9px 9px;height:clamp(78px,10vh,128px);position:relative}.t0{background-color:#f1edf7}.code{color:#80798b;letter-spacing:.5px;background:#f9f8fbdb;border:1px solid #e1dce8;border-radius:3px;padding:2px 4px;font-size:9px;position:absolute;top:8px;left:9px}.tick{color:#fff;background:#9264c1;border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;top:8px;right:8px}.cardname{border-top:1px solid var(--line);gap:7px;padding:11px 12px;font-size:12px;font-weight:600}.cardname svg{color:#82778d;width:14px;height:14px}.chosen .cardname{color:#78509f}.cardname svg:last-child{color:#a59dac;width:12px;margin-left:auto}footer{border-top:1px solid var(--line);color:#898391;justify-content:space-between;margin:18px 0 0;padding:13px 0 15px;font-size:10px}footer span{gap:7px}footer .dot{width:5px;height:5px}dialog,.modalbox{color:var(--ink);background:#fff;border:1px solid #e2dce8;border-radius:12px;width:min(420px,92vw);padding:24px;box-shadow:0 12px 60px #28203226}dialog::backdrop,.busy{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#201d3459}.modalTop{justify-content:space-between;margin-bottom:12px}dialog p,.modalbox p{color:#645e70;margin:12px 0 16px;font-size:13px;line-height:1.6}.formlabel{flex-direction:column;gap:7px;margin:12px 0;font-size:12px;font-weight:600;display:flex}.formlabel select,.formlabel input{background:#fff;border:1px solid #d6cddd;border-radius:5px;padding:9px}.note{background:#f7f4fa;border-radius:6px;padding:10px}.cutPreview{border:1px solid var(--line);background:#f7f5fa;border-radius:5px;height:95px;margin:10px 0 15px}input[type=range]{width:100%;accent-color:var(--violet)}.busy{z-index:12;place-items:center;display:grid;position:fixed;inset:0}.toast{color:#fff;z-index:15;background:#302c3c;border-radius:8px;align-items:center;gap:8px;padding:8px 10px 8px 15px;font-size:12px;display:flex;position:fixed;bottom:15px;left:50%;transform:translate(-50%);box-shadow:0 3px 18px #241d3026}.toast .tool{color:#fff}.toast svg{width:14px}@media (min-height:900px){.explorer{padding-top:20px}.branch{height:38px}.treehead{margin-top:25px}.panelhead{height:52px;min-height:52px}.intro{margin-bottom:26px}}@media (max-width:850px){.editor{grid-template-columns:216px minmax(0,1fr);gap:10px}.explorer,.panelhead{padding-inline:11px}.cardname{padding:10px 8px;font-size:11px}.cards{gap:8px}.intro{gap:10px}.actions{gap:5px}.btn{padding:0 10px}.intro p{font-size:12px}}@media (max-width:680px){.appbar{gap:12px;height:54px;padding-inline:16px}.brand strong{font-size:21px}.navlabel,.topright i,.av{display:none}main{padding:15px 12px 0}.intro{flex-direction:column;align-items:flex-start;margin:16px 0}.actions{margin-top:4px}.editor{flex-direction:column-reverse;gap:10px;height:auto;min-height:0;display:flex}.viewer{height:390px}.viewer.full{height:auto}.explorer{grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px;display:grid}.filecard,.search,.treehead{margin:0}.explorer>.eyebrow{display:none}.tabs{align-self:center;height:32px}.treeroot{grid-row:3}.branches{grid-area:2/2/5}.asideFoot{height:30px}.library{margin-top:20px}.cards{grid-template-columns:1fr 1fr;grid-auto-flow:row}.thumb{height:82px}.cardname{font-size:12px}.stage .orientation{right:7px}.editor.collapsed{display:flex}.toast{width:max-content;max-width:92vw}.crumb{font-size:10px}.toolbar{gap:2px}.editor aside .panelhead .tool{display:none}}
