:root{color:#1d1d1f;font-synthesis:none;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Helvetica Neue,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}html,body{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}body{flex-direction:column;height:100dvh;padding:0 24px 24px;display:flex}button,input{font:inherit}button{cursor:pointer}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-offset:4px;outline:2px solid #007aff}.app-header{flex-shrink:0;justify-content:space-between;align-items:center;height:72px;display:flex}.brand{letter-spacing:-.7px;color:inherit;align-items:center;gap:10px;font-size:18px;font-weight:650;text-decoration:none;display:flex}.brand-icon{background:#fff;border:1px solid #d8d8dd;border-radius:8px;place-items:center;width:28px;height:28px;font-size:22px;font-weight:400;display:grid}.reset-button{background:0 0;border:0;border-radius:50%;width:32px;height:32px;padding:0;position:relative}.reset-button:before{content:"";background:#ff5f57;border:1px solid #e0443e;border-radius:50%;position:absolute;inset:9px}.reset-button:hover:before{background:#ec4942}.reset-button:active:before{background:#d83a34}.workspace{flex:1;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:16px;min-height:0;display:grid}.panel{background:#fff;border:1px solid #dedee3;border-radius:14px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.canvas-scroll{overscroll-behavior:contain;background:#fdfdfd;flex:1;min-height:0;overflow:auto}.canvas-scroll svg{min-width:100%;min-height:100%;display:block}.keyboard{color:#f5f5f7;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#000;border-color:#000}#command-form{border-bottom:1px solid #252528;flex-shrink:0;align-items:center;gap:10px;min-height:54px;padding:10px 16px;display:flex}.prompt-symbol{color:#f5f5f7;font-size:22px;line-height:1}#command{color:#f5f5f7;caret-color:#fff;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:4px 0;font-size:16px}#command-form:focus-within{box-shadow:inset 0 -1px #74747a}#command-error{color:#ff8079;flex-shrink:0;max-height:70px;padding:8px 16px;font-size:12px;line-height:1.5;overflow:auto}.keyboard-scroll{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:12px;overflow:auto}.key-row{gap:5px;margin-bottom:8px;display:grid}.key-row:last-child{margin-bottom:0}.number-keys{grid-template-columns:repeat(10,minmax(0,1fr))}.key-row button{color:#f5f5f7;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:#242426;border:1px solid #38383b;border-radius:7px;min-width:0;min-height:42px;padding:5px 2px;font-size:12px;font-weight:500}.number-keys button{background:#353538;font-size:15px}.key-row button:hover{background:#444448}.key-row button:active{background:#616168;transform:translateY(1px)}.key-row .enter-key{background:#007aff;border-color:#007aff}.key-row .enter-key:hover{background:#1686ff}.key-row button:focus-visible{outline-offset:-3px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=700px){body{padding:0 12px 12px}.app-header{height:60px}.brand{font-size:16px}.workspace{grid-template-rows:minmax(0,65fr) minmax(0,35fr);grid-template-columns:minmax(0,1fr);gap:12px}.panel{border-radius:12px}.console-scroll{padding:16px}}.canvas-scroll{background:#fff9dc}.header-actions{align-items:center;gap:4px;display:flex}.info-button{color:#86868b;background:0 0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid}.info-button span{border:1.3px solid;border-radius:50%;place-items:center;width:16px;height:16px;font-size:11px;font-weight:600;display:grid}.info-button:hover{color:#1d1d1f;background:#e9e9ed}#help-dialog{color:#1d1d1f;background:#fff;border:1px solid #dedee3;border-radius:16px;width:min(540px,100vw - 32px);max-height:calc(100dvh - 48px);padding:0;overflow:hidden;box-shadow:0 24px 80px #0003}#help-dialog[open]{flex-direction:column;display:flex}#help-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0004}.help-header{border-bottom:1px solid #ededf0;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.help-header h1{letter-spacing:-.3px;margin:0;font-size:16px;font-weight:600}#help-close{color:#86868b;background:#f5f5f7;border:0;border-radius:50%;width:28px;height:28px;font-size:22px;line-height:1}.help-content{overscroll-behavior:contain;padding:0 20px 16px;overflow:auto}.help-content table{border-collapse:collapse;text-align:left;width:100%;font-size:12px;line-height:1.6}.help-content th{color:#86868b;background:#fff;padding:14px 0 10px;font-weight:600;position:sticky;top:0}.help-content td{vertical-align:top;border-top:1px solid #f0f0f3;padding:10px 0}.help-content td:first-child{white-space:nowrap;padding-right:20px}.help-content code{color:#1d1d1f;font-family:inherit;font-weight:550}.brand-logo{mix-blend-mode:multiply;width:130px;height:31px;display:block;overflow:hidden}@media (width<=700px){.brand-logo{width:112px;height:27px}.workspace{grid-template-rows:minmax(0,1fr) minmax(0,min(280px,45%))}.keyboard-scroll{padding:8px}.command-keys{grid-template-columns:repeat(6,minmax(0,1fr))}.key-row{gap:4px;margin-bottom:6px}.key-row button{min-height:38px;font-size:11px}.number-keys button{font-size:15px}#command-form{min-height:46px;padding:7px 12px}}@media (width>=701px){.keyboard-scroll{flex-direction:column;flex:1;gap:8px;display:flex}.key-row{margin-bottom:0}.number-keys,.action-keys{flex:1;min-height:42px}.command-keys{flex:5;grid-template-rows:repeat(5,minmax(42px,1fr));min-height:230px}.key-row button{height:100%}}.command-keys{grid-template-columns:repeat(12,minmax(0,1fr))}.command-keys button{grid-column:span 2}.command-keys button:nth-child(-n+4){background:#353538;grid-column:span 3;font-size:14px;font-weight:600}.command-keys button[data-command=SETXY],.command-keys button[data-command=ARC],.command-keys button[data-command=REPEAT]{grid-column:span 4}.command-keys button[data-key]{grid-column:span 3}.action-keys{grid-template-columns:1fr 1.5fr 3fr}.action-keys .enter-key{font-size:15px;font-weight:600}@media (width>=701px){.command-keys{flex:4;grid-template-rows:1.35fr 1fr 1fr .8fr;min-height:192px}.action-keys{flex:1.4;min-height:60px}}@media (width<=700px){.workspace{grid-template-rows:minmax(0,1fr) minmax(0,min(306px,48%))}.command-keys button{min-height:30px}.command-keys button:nth-child(-n+4){min-height:38px;font-size:13px}.number-keys button{min-height:34px}.action-keys button{min-height:48px}}.grid-button{color:#86868b;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:32px;padding:0;display:grid}.grid-button[aria-pressed=true]{color:#515154;background:#e7e7ec}.grid-button:hover{color:#1d1d1f;background:#dedee5}@media (width<=700px){.workspace{grid-template-rows:minmax(0,1fr) minmax(0,min(246px,40%))}#command-form{min-height:40px;padding:4px 12px}.keyboard-scroll{padding:6px 8px}.key-row{gap:4px;margin-bottom:4px}.command-keys button{min-height:25px;padding:3px 2px}.command-keys button:nth-child(-n+4){min-height:29px;font-size:12px}.number-keys button{min-height:29px;padding:3px 2px;font-size:14px}.action-keys button{min-height:36px;padding:3px 2px}}
