:root{color:#282e24;font-synthesis:none;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;--ink:#282e24;--muted:#545649;--paper:#f3efe3;--dark:#202b24;--serif:Georgia, "Times New Roman", serif;background:#e8e4d7;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline-offset:4px;outline:2px solid #96632d}button svg{stroke:currentColor;stroke-width:1.55px;stroke-linecap:round;stroke-linejoin:round}button:disabled{opacity:.55;cursor:default}.masthead{background:var(--dark);color:#faf1df;border-bottom:2px solid #aa8e61}.masthead-inner{max-width:1170px;min-height:65px;padding:env(safe-area-inset-top,0px) max(24px, env(safe-area-inset-right,0px)) 0 max(24px, env(safe-area-inset-left,0px));justify-content:space-between;align-items:center;margin:auto;display:flex}.wordmark{font-family:var(--serif);letter-spacing:.055em;align-items:center;gap:11px;font-size:1.6rem;display:flex}.guide-button,.reset-button{min-height:44px;color:inherit;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-size:.875rem;font-weight:650;display:inline-flex}.guide-button{color:#ede4cf}.guide-button:hover{border-color:#a49b7a}.guide-button svg,.reset-button svg{width:17px;height:17px}.reset-button{border-color:#938e7b}.reset-button:hover{background:#242d2312}.workbench{width:min(100% - 36px,520px);padding-bottom:max(18px, env(safe-area-inset-bottom,0px));margin:28px auto 0}.bench-heading,.bench-foot,.dialog-heading{justify-content:space-between;align-items:flex-end;gap:9px;display:flex}.bench-heading{margin-bottom:14px}.eyebrow{color:#55584a;text-transform:uppercase;letter-spacing:.14em;margin:0 0 3px;font-size:.775rem;font-weight:750;line-height:1.3}h1,h2{color:var(--ink);font-family:var(--serif);margin:0;font-weight:500;line-height:1.04}h1{font-size:clamp(1.65rem,5vw,2.55rem)}h2{font-size:2rem}.instrument{background:#29332a;border:1px solid #414c3b;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #39392c27}.specimen-tag{color:#f2ead7;background:#343c30;border-bottom:1px solid #48513f;justify-content:space-between;align-items:center;min-height:38px;padding:8px 15px;font-size:.875rem;display:flex}.node-id{color:#e0d1ae;letter-spacing:.06em;font-family:ui-monospace,monospace;font-size:.77rem}#specimen{aspect-ratio:400/374;touch-action:none;-webkit-user-select:none;user-select:none;background:#7b8069;width:100%;height:auto;display:block}.tool-tray{border-top:1px solid #4c5241;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;display:grid}.tool{color:#f1e8d5;background:#3b4237;border:1px solid #737362;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:51px;padding:5px 2px;font-size:.875rem;font-weight:670;display:flex}.tool:hover{background:#484f41}.tool[aria-pressed=true]{color:#fff7df;background:#3d6056;border-color:#a0beb0;box-shadow:inset 0 -2px #a0beb0}.tool svg{flex:none;width:25px;height:25px}.tool:focus-visible{outline-offset:-4px;outline:2px solid #f1cf96}.bench-foot{color:var(--muted);align-items:baseline;margin-top:11px}.bench-foot p{margin:0;font-size:.875rem}.build-label{white-space:nowrap;font-size:.77rem}.playtest .bench-foot,.playtest .guide-button{visibility:hidden}dialog{background:var(--paper);width:min(460px,100% - 26px);max-height:calc(100% - 26px);color:var(--ink);border:1px solid #6a6d58;border-radius:12px;margin:auto;padding:22px;line-height:1.48;box-shadow:0 14px 48px #2229}dialog::backdrop{background:#1c221bb5}dialog dt{font-weight:740}dialog dd{margin:2px 0 13px}.guide-foot{color:var(--muted);margin-bottom:0;font-size:.875rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=550px){.masthead-inner{min-height:54px;padding-inline:max(14px, env(safe-area-inset-left,0px))}.wordmark{gap:8px;font-size:1.45rem}.wordmark img{width:28px;height:28px}.workbench{width:calc(100% - 24px);margin-top:16px}.bench-heading{margin-bottom:10px}.bench-foot{flex-wrap:wrap;align-items:flex-start;gap:4px 10px}}@media (width<=360px){.tool{flex-direction:column;gap:2px;min-height:55px}.tool svg{width:22px;height:22px}}
