#puzzleDialog.workspace{inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;overflow:hidden;background:#f6f3f8}#puzzleDialog.workspace[open]{display:flex;flex-direction:column}.workspace .dialogtop{flex:none;padding:10px 24px;background:#fff;font-size:13px;position:static}.workspace #puzzleBody{display:grid;grid-template-columns:minmax(0,1fr) 360px;flex:1;min-height:0;padding:0}.questionpanel{display:flex;flex-direction:column;min-width:0;min-height:0}.questionintro{padding:18px 24px 12px;background:#faf9fc;max-height:180px;overflow:auto}.questiontext h2{font-size:22px!important;margin:0 0 4px!important}.questiontext p{font-size:12px;margin:6px 0}.questiontext .subtext{font-size:10px}.wbtoolbar{display:flex;flex-wrap:wrap;gap:5px;padding:10px 16px;background:#fff;border-block:1px solid #e4ddea;align-items:center}.wbtoolbar button{border:1px solid #ddd4e6;border-radius:6px;padding:5px 9px;background:#fff;font-size:12px;white-space:nowrap}.wbtoolbar button[aria-pressed=true]{background:#735b96;color:#fff;border-color:#735b96}.wbtoolbar button:disabled{opacity:.4;cursor:default}.wbtoolbar select{max-width:140px;padding:5px;border:1px solid #ddd4e6;border-radius:6px;background:#faf8fc;font-size:12px}.wbtoolbar input[type=color]{width:28px;height:28px;border:0;padding:0}.wbsize{font-size:11px;color:#81728e;display:flex;align-items:center;gap:4px}.wbsize input{width:42px;padding:3px;border:1px solid #ddd4e6;border-radius:4px}.wbtoolbar output{min-width:40px;text-align:center;font-size:11px}.wbtextbar{display:flex;gap:10px;align-items:center;padding:8px 16px;background:#faf8fc}.wbtextbar input{flex:1;min-width:0;padding:7px 10px;border:1px solid #ddd4e6;border-radius:5px;font-size:11px}.wbtextbar span{font-size:10px;color:#91819f;white-space:nowrap}#wbStage{position:relative;flex:1;min-height:160px;overflow:hidden;touch-action:none;background:#eae6ef radial-gradient(#cac2d3 1px,transparent 1px) 0 0/20px 20px;cursor:grab}#wbStage:active{cursor:grabbing}#wbStage[data-tool=draw],#wbStage[data-tool=text]{cursor:crosshair}#wbStage[data-tool=select]{cursor:default}#wbPlane{position:absolute;left:0;top:0;transform-origin:0 0;user-select:none}#wbImage{display:block;width:100%;height:100%;max-width:none;pointer-events:none}#wbInk{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}#wbStage[data-tool=select] #wbInk{pointer-events:auto}#wbInk polyline{pointer-events:stroke}#wbInk text{pointer-events:visiblePainted;white-space:pre}#wbInk .wbselected{filter:drop-shadow(0 0 4px #7955d6);outline:1px dashed #7955d6}.wbtip{position:absolute;bottom:12px;left:12px;font-size:10px;background:#ffffffdb;border-radius:5px;padding:5px 8px;pointer-events:none}#wbEmpty{position:absolute;inset:35% 15%;text-align:center;color:#82718e;font-size:13px}#wbEmpty[hidden]{display:none}.solvepanel{padding:22px;background:#fff;border-left:1px solid #e1d9e8;overflow:auto;min-height:0}.solvepanel .answerbox{margin:0;padding:16px}.solvepanel .answerrow{flex-direction:column;gap:8px}.solvepanel .answerrow input{width:100%;font-size:13px}.solvepanel .answerrow button{width:100%}.solvepanel .answerbox label .subtext{display:block;margin-top:4px;font-size:10px}.solvepanel .helpbuttons{display:grid;gap:8px;margin:16px 0}.solvepanel .helpbuttons button{text-align:left;padding:10px 12px;background:#faf8fc}.solvepanel #hints details{padding:12px}.solvepanel .notes{min-height:130px}.solvepanel .nextrow{flex-wrap:wrap;gap:10px}.solvepanel .explain{margin:12px 0;font-size:12px}.solvepanel .puzzleImage{cursor:pointer;margin:12px auto}.solvepanel .puzzleImage:hover{outline:2px solid #ae93c4}.solvepanel .nextrow button{font-size:11px}@media(max-width:850px){.workspace #puzzleBody{grid-template-columns:minmax(0,1fr) 290px}.solvepanel{padding:14px}.wbtextbar span{display:none}.questionintro{padding:12px 16px;max-height:140px}}@media(max-width:600px){#puzzleDialog.workspace{overflow:auto}.workspace #puzzleBody{display:flex;flex-direction:column;overflow:auto;flex:none}.questionpanel{height:70dvh;min-height:460px;flex:none}.solvepanel{overflow:visible;border-left:0;border-top:1px solid #e1d9e8}.workspace .dialogtop{position:sticky;top:0;z-index:4}.questionintro{max-height:125px}.wbtoolbar{padding:7px;gap:4px}.wbtoolbar button{font-size:11px;padding:5px 7px}.wbtoolbar select{max-width:100px}.wbsize{display:none}.wbtextbar{padding:7px}.wbtip{font-size:9px;left:6px}.solvepanel .answerrow{flex-direction:row;flex-wrap:nowrap}.solvepanel .answerrow input{width:0}.solvepanel .answerrow button{width:auto;white-space:nowrap}.solvepanel .helpbuttons{grid-template-columns:1fr 1fr}.solvepanel .helpbuttons button{font-size:11px}.solvepanel .helpbuttons button:last-child{grid-column:1/-1}}@media(max-height:450px) and (min-width:601px){.questionintro{max-height:70px}.wbtoolbar{padding:4px}.wbtextbar{padding:4px}#wbStage{min-height:50px}.workspace .dialogtop{padding:6px 14px}.solvepanel{padding:10px}}
