.rig-logo{display:inline-flex;flex:none;align-items:center;justify-content:center;border-radius:.5rem;background:#171816;color:#fff;font-weight:800;letter-spacing:-.02em;line-height:1}.rig-logo-sm{width:2.5rem;height:2.5rem;font-size:1.15rem}.rig-logo-md{width:3.5rem;height:3.5rem;font-size:1.6rem}.rig-logo-lg{width:100%;height:100%;font-size:3.5rem}.rig-workspace{display:grid;grid-template-columns:15rem minmax(0,1fr) 17rem;gap:.75rem;margin-top:.75rem;align-items:start}.rig-workspace .stage{margin-top:0;height:clamp(26rem,72svh,50rem);overscroll-behavior:auto}.rig-panel{display:flex;flex-direction:column;gap:.5rem;max-height:clamp(26rem,72svh,50rem);padding:.75rem;overflow:auto;border:1px solid #d6d9d2;border-radius:.5rem;background:#fafaf8}.rig-panel.rl-bone-panel{overflow:hidden}.rl-bone-tools{display:flex;flex:none;flex-wrap:wrap;gap:.4rem}.rl-bone-tree{flex:1 1 auto;min-height:0;overflow:auto}.rig-panel h2{margin:0;font-size:.95rem}.rl-h{margin:.4rem 0 0;padding-top:.4rem;border-top:1px solid #e3e5df;color:#4a4d46;font-size:.8rem}.rig-part-list{display:flex;flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none}.rig-part{display:flex;align-items:center;gap:.2rem;padding:.1rem;border:1px solid transparent;border-radius:.375rem}.rig-part.on{border-color:#171816;background:#eceee8}.rig-part .rig-part-name{flex:1 1 auto;min-width:0;min-height:2rem;justify-content:flex-start;gap:.4rem;padding:0 .4rem;overflow:hidden;border:0;background:transparent;text-overflow:ellipsis}.rig-part.hidden .rig-part-name{opacity:.45}.rig-part button.mini{min-height:2rem;padding:0 .4rem;font-size:.8rem}.rl-badge{flex:none;padding:0 .35rem;border-radius:999px;background:#fdf0ef;color:#b42318;font-size:.65rem;font-weight:600}.rig-fields{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.rig-fields label{display:flex;flex-direction:column;gap:.15rem;color:#4a4d46;font-size:.8rem}.rig-fields input.num,.rig-fields input[type=text],.rig-fields select{width:100%;min-height:2.25rem;padding:0 .5rem;border:1px solid #b9bdb4;border-radius:.375rem;background:#fff;font:inherit}.rig-fields .wide{grid-column:1/-1}.rig-fields .rl-check{align-self:end;min-height:2.25rem}.rig-fields .rl-check,.rl-insp>.rl-check{flex-direction:row;align-items:center;gap:.4rem}.rl-insp>.rl-check{display:flex;min-height:2rem;font-size:.85rem}.rl-row.rl-layer-row{flex-wrap:nowrap}.rl-layer-row input.num{flex:none;width:4.5rem}.rl-row{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.rl-row .note{flex:1 1 auto}.btn.mini-btn{min-height:2rem;padding:0 .6rem}.rl-opt-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.35rem}.rl-opt-group input.num{width:4.5rem}.rl-zoom{min-width:3rem;font-size:.85rem;text-align:center}.rl-message{margin:.5rem 0 0}.rl-world{position:relative;background-color:#fff;background-image:linear-gradient(45deg,#ececec 25%,transparent 0,transparent 75%,#ececec 0),linear-gradient(45deg,#ececec 25%,transparent 0,transparent 75%,#ececec 0);background-size:20px 20px;background-position:0 0,10px 10px;box-shadow:0 0 0 1px #8f948a;user-select:none;-webkit-user-select:none}.rl-canvas{position:absolute;inset:0;overflow:hidden}.rig-part-img{position:absolute;max-width:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.rig-part-img.sel{outline:2px dashed #1a73e8;outline-offset:0}.rl-missing-box{display:flex;align-items:center;justify-content:center;border:2px dashed #b42318;background:rgba(180,35,24,.06);color:#b42318;font-size:1.2rem;font-weight:600;text-align:center}.rl-lines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.rl-lines line{stroke:#1a73e8;stroke-width:1.5;stroke-opacity:.85}.rl-bone{position:absolute;z-index:6;width:28px;height:28px;margin:-14px 0 0 -14px;cursor:grab;touch-action:none}.rl-bone span{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border:2px solid #fff;border-radius:50%;background:#1a73e8;box-shadow:0 0 0 1px rgba(23,24,22,.55)}.rl-bone.on{z-index:8}.rl-bone.on span{width:16px;height:16px;margin:-8px 0 0 -8px;background:#e11d48}.rl-bone em{position:absolute;left:100%;top:50%;margin:-9px 0 0 -2px;padding:0 .3rem;border-radius:.25rem;background:rgba(23,24,22,.78);color:#fff;font-size:.7rem;font-style:normal;line-height:1.3;white-space:nowrap;pointer-events:none}@media (max-width:64rem){.rig-workspace{grid-template-columns:1fr}.rig-panel{max-height:none}}.rl-help{width:min(900px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:min(85vh,calc(100dvh - 48px));padding:0;border:1px solid #b9bdb4;border-radius:.75rem;background:#fff;color:#171816;overflow:hidden}.rl-help[open]{display:flex;flex-direction:column}.rl-help::backdrop{background:rgba(0,0,0,.5)}.rl-help-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .75rem .6rem 1.25rem;border-bottom:1px solid #e3e5df;background:#fafaf8}.rl-help-head h2{margin:0;font-size:1.1rem}.rl-help-body{position:relative;min-width:0;flex:1 1 auto;min-height:0;padding:1rem 1.25rem 1.5rem;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;line-height:1.65;font-size:.92rem;overflow-wrap:anywhere}.rl-help-body h3{margin:1.6rem 0 .5rem;padding-top:.9rem;border-top:1px solid #e3e5df;font-size:1.1rem}.rl-help-body h4{margin:1.1rem 0 .3rem;font-size:.95rem}.rl-help-body ol,.rl-help-body p,.rl-help-body ul{margin:.4rem 0}.rl-help-body li{margin:.15rem 0}.rl-help-body code{padding:.05rem .3rem;border-radius:.25rem;background:#eceee8;font-size:.85em}.rl-help-body pre{margin:.5rem 0;padding:.6rem .8rem;border:1px solid #e3e5df;border-radius:.4rem;background:#f7f7f5;font-size:.8rem;line-height:1.45;overflow-x:auto;white-space:pre}.rl-help-alert{margin:.75rem 0;padding:.7rem .9rem;border:2px solid #1a73e8;border-radius:.5rem;background:#eef5ff}.rl-help-alert strong{display:block;color:#0b57d0;font-size:1rem}.rl-help-alert p{margin:.3rem 0 0}.rl-help-note{margin:.6rem 0;padding:.55rem .8rem;border-left:4px solid #e8a317;border-radius:.25rem;background:#fff8e6}.rl-help-main{display:flex;flex:1 1 auto;min-height:0}.rl-help-tabs{display:flex;flex:none;flex-direction:column;gap:.15rem;width:9.5rem;padding:.6rem .5rem;border-right:1px solid #e3e5df;background:#fafaf8;overflow-y:auto}.rl-help-tabs button{min-height:2.2rem;padding:0 .7rem;border:0;border-radius:.4rem;background:transparent;color:inherit;font:inherit;font-size:.88rem;text-align:left;cursor:pointer}.rl-help-tabs button:hover{background:#eceee8}.rl-help-tabs button.on{background:#1a73e8;color:#fff;font-weight:600}.rl-help-body>section>h3:first-child{margin-top:0;padding-top:0;border-top:0}.rl-help-table{overflow-x:auto}.rl-help-table table{width:100%;border-collapse:collapse;font-size:.88rem}.rl-help-table td,.rl-help-table th{padding:.4rem .6rem;border:1px solid #d6d9d2;text-align:left}.rl-help-table th{background:#f3f4f0}@media (max-width:40rem){.rl-help{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px)}.rl-help-body{padding:.75rem .85rem 1.25rem}.rl-help-main{flex-direction:column}.rl-help-tabs{flex-direction:row;width:auto;max-width:100%;padding:.4rem .5rem;border-right:0;border-bottom:1px solid #e3e5df;overflow-x:auto;overflow-y:hidden}.rl-help-tabs button{flex:none;white-space:nowrap}.rl-help-head{padding-left:.85rem}}.rl-guide{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.rl-guide line{stroke:#7a5af8;stroke-width:1;stroke-dasharray:6 5;stroke-opacity:.55}.rl-guide-label{position:absolute;left:3px;z-index:3;margin-top:-.55rem;color:#6941c6;font-size:.7rem;font-weight:600;line-height:1;opacity:.85;pointer-events:none}.rl-opt-group select{min-height:2.25rem;padding:0 .4rem;border:1px solid #b9bdb4;border-radius:.375rem;background:#fff;font:inherit}.rl-preset-info{flex:1 1 100%}.rl-confirm{width:min(28rem,calc(100vw - 24px));padding:1.1rem 1.25rem;border:1px solid #b9bdb4;border-radius:.75rem;background:#fff;color:#171816;line-height:1.6}.rl-confirm::backdrop{background:rgba(0,0,0,.5)}.rl-confirm h2{margin:0 0 .5rem;font-size:1.1rem}.rl-confirm p{margin:.35rem 0;font-size:.92rem}.rl-confirm-preset{font-weight:600}.rl-confirm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:1rem}.rl-strip{margin-top:.75rem;padding:.5rem .75rem;border:1px solid #d6d9d2;border-radius:.5rem;background:#fafaf8}.rl-strip-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.4rem}.rl-strip-head h2{margin:0;font-size:.95rem}.rl-need-text{color:#b42318;font-size:.85rem}.rl-strip-list{display:flex;gap:.4rem;margin:0;padding:0 0 .3rem;overflow-x:auto;list-style:none}.rl-img{position:relative;display:flex;flex-direction:column;align-items:center;gap:.15rem;width:6rem;min-height:0;padding:.3rem;border:2px solid transparent;border-radius:.375rem;background:#fff;cursor:pointer}.rl-img.on{border-color:#171816;background:#eceee8}.rl-img img,.rl-img-missing{width:3.5rem;height:3.5rem;object-fit:contain}.rl-img-missing{display:grid;place-items:center;border:1px dashed #b42318;color:#b42318;font-size:.65rem}.rl-img input[type=checkbox]{position:absolute;top:.25rem;left:.25rem;width:1.1rem;height:1.1rem}.rl-img-name{width:100%;font-size:.7rem;font-weight:600;text-align:center}.rl-img .note,.rl-img-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rl-img .note{max-width:100%;font-size:.65rem}.rl-count{flex:none;padding:0 .4rem;border-radius:999px;background:#171816;color:#fff;font-size:.65rem}.rl-confirm-list{max-height:10rem;margin:.25rem 0;padding:.4rem .4rem .4rem 1.4rem;overflow:auto;border:1px solid #e3e5df;border-radius:.375rem}.rl-pair{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem;font-size:.85rem;font-weight:600;order:-2}.rl-pair span{min-width:0;overflow-wrap:anywhere}.rl-insp{display:flex;flex-direction:column;gap:.5rem;padding:.5rem;border:1px solid #d6d9d2;border-radius:.4rem}.rl-insp.act{border-color:#1a73e8;background:#f4f8ff;order:-1}.rig-panel .note,.rl-mini-name{min-width:0;overflow-wrap:anywhere}.rig-panel.rl-bone-panel.need{border-color:#d93025}.rig-part.drop{outline:2px dashed #1a73e8;outline-offset:-2px}.rl-rename{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.4rem}.rl-rename>label{flex:1 1 0;min-width:0}.rl-rename>label input{width:100%;min-width:0}.rl-rename>button{flex:none}.rl-rename>p{flex:1 0 100%;margin:0}.rl-mini-list{display:flex;flex-direction:column;gap:.25rem;max-height:14rem;margin:0;padding:0;overflow-y:auto;list-style:none}.rl-mini-row{display:flex;align-items:center;gap:.4rem;min-width:0;padding:.2rem;border:1px solid #e3e5df;border-radius:.3rem}.rl-mini-missing,.rl-mini-row img{flex:none;width:40px;height:40px;object-fit:contain;background:#f1f2ee;border-radius:.2rem;font-size:.6rem;color:#d93025;text-align:center;line-height:40px}.rl-mini-name{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.rl-mini-name small{color:#6b6f66;font-size:.68rem}.rl-mini-used{flex:none;max-width:5.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rl-world-note span{color:#6c7167}.rl-mini-row.on{background:#eef1e8}