.mouse-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding:28px;display:grid}.mouse-test-area{border:1px solid var(--line-strong);background:radial-gradient(ellipse at 50% 45%, var(--brand-pale), transparent 75%), var(--surface-muted);-webkit-user-select:none;user-select:none;border-radius:16px;min-width:0;padding:22px}.mouse-test-area:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.mouse-test-area.is-paused{border-style:dashed}.mouse-area-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.mouse-local-tag{color:var(--brand-dark);border:1px solid var(--line-strong);border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.mouse-test-area p{color:var(--ink-muted);font-size:12px;line-height:1.8}.mouse-diagram-wrap{justify-content:center;display:flex}.mouse-diagram{pointer-events:none;width:min(100%,380px);height:auto;overflow:visible}.mouse-body{fill:var(--surface);stroke:var(--line-strong);stroke-width:2px}.mouse-cable,.mouse-seam{fill:none;stroke:var(--line-strong);stroke-width:2px}.mouse-button{fill:var(--key-bg);stroke:var(--key-border);stroke-width:1.5px;transition:fill .12s,stroke .12s}.mouse-button.is-tested{fill:var(--tested-bg);stroke:var(--tested-border)}.mouse-button.is-held{fill:var(--pressed-bg);stroke:var(--brand);stroke-width:3px}.mouse-wheel-line{fill:none;stroke:var(--ink-faint);stroke-width:1.5px}.mouse-numbers{fill:var(--ink-muted);text-anchor:middle;font:700 14px system-ui,sans-serif}.mouse-logo{fill:var(--brand-pale)}.mouse-logo-mark{fill:none;stroke:var(--brand);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.mouse-legend{flex-wrap:wrap;justify-content:center;gap:12px 20px;display:flex}.mouse-legend span{color:var(--ink-muted);align-items:center;gap:7px;font-size:11px;display:inline-flex}.mouse-legend i{border:1px solid var(--key-border);background:var(--key-bg);border-radius:3px;width:10px;height:10px;display:inline-block}.mouse-legend .legend-tested{background:var(--tested-bg);border-color:var(--tested-border)}.mouse-legend .legend-held{background:var(--pressed-bg);border-color:var(--brand)}.mouse-test-area .mouse-area-note{text-align:center;max-width:350px;margin:18px auto 0;font-size:11px}.mouse-results{min-width:0}.mouse-stats{border:1px solid var(--line);background:var(--surface-muted);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.mouse-stats .stat{border:0;min-width:0;padding:18px}.mouse-stats .stat:nth-child(2n){border-left:1px solid var(--line)}.mouse-stats .stat:nth-child(n+3){border-top:1px solid var(--line)}.mouse-stats .stat-label{min-height:26px;line-height:1.6;display:block}.mouse-stats .stat-value{font-size:30px}.mouse-last{overflow-wrap:anywhere;font-size:17px;font-weight:750;line-height:1.5;display:block}.mouse-held-line{color:var(--ink-muted);flex-wrap:wrap;gap:6px 14px;padding:6px 0;font-size:11px;line-height:1.8;display:flex}.mouse-held-line strong{color:var(--ink);overflow-wrap:anywhere}.mouse-button-list{gap:8px;display:grid}.mouse-button-row{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:12px;padding:12px 14px;transition:border-color .12s,background .12s;display:flex}.mouse-button-row.is-tested{border-color:var(--tested-border)}.mouse-button-row.is-held{background:var(--brand-pale);border-color:var(--brand)}.mouse-button-number{border:1px solid var(--line);height:28px;color:var(--ink-faint);border-radius:8px;flex:0 0 28px;place-items:center;font-size:11px;font-weight:750;display:grid}.is-tested>.mouse-button-number{color:var(--tested-ink);background:var(--tested-bg);border-color:var(--tested-border)}.is-held>.mouse-button-number{color:var(--pressed-ink);background:var(--pressed-bg)}.mouse-button-description{flex:1;gap:5px;min-width:0;display:grid}.mouse-button-description strong{color:var(--ink);font-size:12px;line-height:1.5}.mouse-button-description>span{color:var(--ink-faint);font-size:10px;line-height:1.5}.mouse-button-count{text-align:right;gap:3px;min-width:0;max-width:42%;display:grid}.mouse-button-count>span{color:var(--ink-faint);font-size:9px;line-height:1.4}.mouse-button-count strong{font-variant-numeric:tabular-nums;color:var(--ink);font-size:20px}.mouse-controls{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.mouse-log-heading{justify-content:space-between;align-items:center;gap:15px;padding-top:8px;display:flex}.mouse-log .tool-table-scroll td:first-child:not([colspan]){white-space:nowrap}.mouse-log .tool-table-scroll td{min-width:60px}.mouse-tool .tester-titlebar .live-status{white-space:normal;max-width:300px;line-height:1.7}@media (width<=900px){.mouse-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.mouse-tool .tester-titlebar{flex-wrap:wrap;gap:14px}.mouse-tool .tester-titlebar .live-status{max-width:100%}}@media (width<=600px){.mouse-workspace,.mouse-test-area{padding:17px}.mouse-stats .stat{padding:14px}.mouse-stats .stat-value{font-size:26px}.mouse-button-row{gap:9px;padding:11px}.mouse-log-heading{flex-wrap:wrap;padding-bottom:12px}}@media (prefers-reduced-motion:reduce){.mouse-button,.mouse-button-row{transition:none}}
