html,body,#root{min-height:100%;margin:0}body{background:var(--ds-page)}.rg-studio{flex-direction:column;gap:12px;display:flex}.rg-intro+.file-group{margin-top:-26px}.rg-tray{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rg-rods{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.rg-mini{vertical-align:-2px;box-sizing:border-box;border:1px solid #3b475459;border-radius:3px;height:13px;margin-right:6px;display:inline-block}.rg-edit{border:1px solid var(--ds-hairline);background:#f4f8f7;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.rg-edit-name{color:#1d484e;margin-right:4px;font-weight:600}.rg-canvas{border:1px solid var(--ds-hairline);-webkit-user-select:none;user-select:none;background-color:#f4f8f7;background-image:radial-gradient(#d3dedd 1.2px,#0000 1.2px);background-size:24px 24px;border-radius:12px;height:460px;position:relative;overflow:hidden}.rg-canvas.is-drawing{cursor:crosshair;touch-action:none}@media (width<=600px){.rg-canvas{height:380px}.rg-mini{width:16px!important}.rg-rod-btn{gap:5px!important;min-height:38px!important;padding:0 8px!important}}.rg-rod{touch-action:none;cursor:grab;box-sizing:border-box;border:1.5px solid #3b475447;border-radius:5px;justify-content:center;align-items:center;display:flex;position:absolute;box-shadow:0 1px 3px #1d484e38}.rg-rod.is-sel{outline:3px solid var(--ds-teal);outline-offset:2px}.rg-rod-num{pointer-events:none;font-variant-numeric:tabular-nums;font-size:13px;font-weight:700;line-height:1}.rg-draw{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.rg-empty{text-align:center;color:var(--ds-ink-2);pointer-events:none;justify-content:center;align-items:center;margin:0;padding:0 24px;display:flex;position:absolute;inset:0}.rg-colors{border:1px solid var(--ds-hairline);background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.rg-colors-label{color:#1d484e;margin-right:4px;font-weight:600}.rg-palette{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.rg-swatch{cursor:pointer;border:2px solid #0000;border-radius:50%;flex:none;width:28px;height:28px;padding:0}.rg-swatch.is-on{border-color:var(--ds-ink);box-shadow:inset 0 0 0 2px #fff}.rg-intro{color:var(--ds-ink);margin:0 0 4px;padding-left:20px;font-size:14px;line-height:1.55}.rg-intro li{margin:0 0 6px}@media (width>=720px){.rg-intro{columns:2;column-gap:48px}}.eraser-settings{background:#f4f8f7;border:1px solid #c9d6d4;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.eraser-label{color:#1d484e;font-weight:600}.eraser-sample{flex:none;justify-content:center;align-items:center;width:104px;height:104px;display:inline-flex}.eraser-sample>span,.eraser-cursor{box-sizing:border-box;background:#6a4c9314;border:2px solid #6a4c93;border-radius:50%}.eraser-value{text-align:center;font-variant-numeric:tabular-nums;min-width:5ch}.eraser-cursor{pointer-events:none;z-index:1000;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #fff}.rg-canvas.is-erasing{cursor:none}.eraser-settings{flex-wrap:nowrap}.eraser-controls{flex-direction:column;gap:6px;min-width:0;display:flex}.eraser-buttons{align-items:center;gap:4px;display:flex}.eraser-buttons button{flex:none;min-width:36px;padding-left:8px;padding-right:8px}.eraser-buttons .eraser-value{background:0 0;border:0;width:auto;min-width:5ch;margin:0;padding:0;font-size:14px;line-height:1.4;display:inline-block}.frac-piece{box-sizing:border-box;touch-action:none;cursor:grab;background:#fffc;border:1px solid #0000;border-radius:8px;width:240px;max-width:calc(100% - 16px);padding:4px;position:absolute}.frac-piece.is-sel{border-color:var(--ds-teal);outline:2px solid var(--ds-teal)}.frac-piece svg{pointer-events:none;width:100%;display:block}.piece-label{color:var(--ds-ink-2);justify-content:space-between;align-items:center;gap:8px;font-size:13px;line-height:24px;display:flex}.piece-label strong{color:#1d484e;font-size:17px;font-weight:600}.rg-draw{z-index:999;overflow:visible}.rg-canvas{height:560px}.initial.p0{top:28px;left:calc(25% - 120px)}.initial.p1{top:60px;left:calc(75% - 120px)}.initial.p2{top:300px;left:calc(25% - 120px)}.initial.p3{top:315px;left:calc(75% - 120px)}.frac-edit{border:1px solid var(--ds-hairline);border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;padding:10px;display:flex}.counter{align-items:center;gap:6px;display:flex}.counter span{font-size:13px}.counter output{text-align:center;min-width:2ch;font-weight:600}.counter button{min-width:44px;min-height:44px;padding:0 10px}.piece-colors{gap:4px;display:flex}.rg-colors .rg-swatch{width:44px;height:44px}.rg-tray button{min-height:44px}.rg-tray>:last-child{margin-left:0}@media (width<=600px){.rg-canvas{height:690px}.initial.p0{top:14px;left:calc(50% - 120px)}.initial.p1{top:238px;left:calc(50% - 120px)}.initial.p2{top:376px;left:calc(50% - 120px)}.initial.p3{top:540px;left:calc(50% - 120px)}.frac-edit>strong{width:100%}.counter{justify-content:flex-end;width:100%}.counter span{margin-right:auto}.rg-tray{gap:6px}.rg-tray button{padding-left:9px;padding-right:9px}}.piece-color-panel{flex-direction:column;flex-basis:100%;gap:8px;min-width:0;display:flex}.piece-colors{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;width:100%;max-width:594px;display:grid}.piece-colors button{border:2px solid #0000;width:44px;height:44px}.piece-colors .is-on{border-color:var(--ds-ink);box-shadow:inset 0 0 0 2px #fff}.piece-color-panel .rg-colors-label{flex-basis:100%}
