.t57{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:flex-start;margin:1rem 0 1.5rem}.t57-calc{--case:#26211f;--face:linear-gradient(180deg, #4a3d52 0%, #3b3042 55%, #33293a 100%);--cream:#e9dfc3;--label:#eadba6;flex:none;width:min(100%,22rem);padding:.7rem;border-radius:.9rem;background:var(--case);box-shadow:0 .5rem 1.4rem rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,8%);font-family:helvetica neue,Arial,sans-serif;user-select:none;-webkit-user-select:none;outline:none}.t57-top{border:2px solid var(--cream);border-radius:.35rem .35rem 0 0;border-bottom:0;background:#1d1719;padding:.55rem .55rem .4rem}.t57-window{background:#0c0708;border-radius:.25rem;padding:.55rem .4rem;box-shadow:inset 0 2px 6px rgba(0,0,0,.9)}.t57-led{display:block;width:100%;height:auto}.t57-led .seg{stroke:#1f0a0b;stroke-width:1.9;stroke-linecap:round;fill:#1f0a0b}.t57-led circle.seg{stroke:none}.t57-led .seg.on{stroke:#ff3a2a;fill:#ff3a2a;filter:drop-shadow(0 0 1.2px #ff2a1a)}.t57-led circle.seg.on{stroke:none}.t57-led.flash{animation:t57-flash .9s steps(1)infinite}@keyframes t57-flash{50%{opacity:.1}}.t57-band{display:flex;align-items:center;justify-content:space-between;padding:.55rem .15rem .15rem}.t57-maker{color:var(--cream);font-weight:700;font-size:.82rem;letter-spacing:.03em}.t57-switch{position:relative;width:3.1rem;height:1.05rem;border-radius:.15rem;background:repeating-linear-gradient(90deg,#111 0 2px,#2b2b2b 2px 4px);border:1px solid #555;cursor:pointer;padding:0}.t57-knob{position:absolute;top:1px;bottom:1px;width:1.1rem;left:1px;background:linear-gradient(180deg,#9a9a9a,#5d5d5d);border-radius:.1rem;transition:left .15s}.t57-switch[aria-checked=true] .t57-knob{left:calc(100% - 1.1rem - 1px)}.t57-switch:focus-visible,.t57-key:focus-visible{outline:2px solid #7fb2ff;outline-offset:2px}.t57-keys{display:grid;grid-template-columns:repeat(5,1fr);gap:.15rem .5rem;padding:.9rem .8rem 1rem;background:var(--face);border:2px solid var(--cream);border-radius:0 0 .35rem .35rem}.t57-cell{display:flex;flex-direction:column;align-items:stretch}.t57-second{display:block;min-height:.95rem;text-align:center;color:var(--label);font-size:.66rem;font-weight:700;line-height:.95rem;white-space:nowrap;cursor:pointer}.t57-bar-x{text-decoration:overline}.t57-key{height:1.85rem;border-radius:.2rem;border:0;font:inherit;font-weight:600;font-size:.86rem;cursor:pointer;touch-action:manipulation;box-shadow:0 2px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.18);transition:transform .05s}.t57-key:active{transform:translateY(1px);box-shadow:0 1px rgba(0,0,0,.55)}.t57-key.fn{background:linear-gradient(180deg,#4b3536,#33242a);color:#f1e9d6}.t57-key.num{background:linear-gradient(180deg,#f5f1e8,#ddd6c6);color:#222;font-size:1rem}.t57-key.op{background:linear-gradient(180deg,#f0b25e,#d48e36);color:#2a1a08;font-size:1.05rem}.t57-key.on{box-shadow:0 0 0 2px #ffd36b,0 2px rgba(0,0,0,.55)}.t57-calc.off .t57-key,.t57-calc.off .t57-second{cursor:default}.t57-side{flex:1 1 18rem;min-width:0}.t57-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.t57-btn,.t57-select{font:inherit;font-size:.95rem;padding:.3rem .75rem;border-radius:.4rem;border:1px solid rgba(128,128,128,.5);background:0 0;color:inherit;cursor:pointer}.t57-select option{color:#000}.t57-btn:hover,.t57-select:hover{background:rgba(128,128,128,.12)}.t57-speed{display:inline-flex}.t57-speed .t57-btn{border-radius:0}.t57-speed .t57-btn:first-child{border-start-start-radius:.4rem;border-end-start-radius:.4rem}.t57-speed .t57-btn:last-child{border-start-end-radius:.4rem;border-end-end-radius:.4rem;border-inline-start:0}.t57-speed .t57-btn[aria-pressed=true]{background:var(--pt-tile,#1f4fa3);color:#fff;border-color:var(--pt-tile,#1f4fa3)}.t57-note{min-height:1.5rem;margin:.5rem 0;font-size:.95rem}.t57-h{font-weight:700;margin:.5rem 0 .35rem;font-size:1rem}.t57-scroll{max-height:22rem;overflow-y:auto;border:1px solid rgba(128,128,128,.35);border-radius:.4rem}.t57-table{width:100%;border-collapse:collapse;font-family:ui-monospace,dejavu sans mono,monospace;font-size:.9rem}.t57-table th{position:sticky;top:0;background:var(--t57-head,#f3f3f3);text-align:start;font-family:inherit;font-weight:600}.t57-table th,.t57-table td{padding:.12rem .6rem;white-space:pre}.t57-table tbody tr{cursor:pointer}.t57-table tbody tr:nth-child(even){background:rgba(128,128,128,7%)}.t57-table tbody tr.at{background:rgba(255,58,42,.18)}.t57-table td:first-child{color:var(--pt-muted,#6b7280)}.dark .t57-table th{--t57-head:#262626}.t57-memgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.25rem 1rem;font-size:.9rem}.t57-mem{display:flex;gap:.6rem;font-family:ui-monospace,dejavu sans mono,monospace;direction:ltr}.t57-memn{color:var(--pt-muted,#6b7280);min-width:3.2rem}@media(max-width:640px){.t57{justify-content:center}.t57-calc{width:100%;max-width:22rem}.t57-key{height:2.3rem}.t57-scroll{max-height:16rem}}