body{background:#000;color:#fd0}.operand{flex:1;min-width:0;padding:.5rem .6rem;border:1px solid #806f00;border-radius:10px;background:#000;color:#fd0;font:inherit}.red,.red .operand,.red .btn[aria-pressed=true]{color:red}.display{display:flex;flex-direction:column;gap:4px}.display .operand{font-size:1.25rem;text-align:right}.readout{display:flex;justify-content:space-between;align-items:baseline;min-height:2.4rem;padding:0 .6rem;font-size:1.8rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.memory{font-size:.85rem}.buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}.btn{padding:.6rem 0;border:1px solid #ffdd00;border-radius:10px;background:#fd0;color:#000;font:inherit;font-size:1.15rem;cursor:pointer;transition:background-color .12s,border-color .12s,transform 60ms}.btn:hover{border-color:#ffe94d;background:#ffe94d}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:2px solid #ffdd00;outline-offset:2px}.btn[aria-pressed=true]{border-color:#fd0;background:#000;color:#fd0;font-weight:600}.btn-equals{font-weight:600}.btn-fn{font-size:.95rem}.btn-wide{grid-column:span 2}.history{margin-top:16px}.history ol{margin:8px 0 0;padding:0;list-style:none}.history-entry,.history-clear{border:0;background:none;color:inherit;font:inherit;cursor:pointer}.history-entry{width:100%;padding:.3rem .6rem;text-align:right;overflow-wrap:anywhere}.history-clear{padding:0;font-size:.85rem;text-decoration:underline}.history-entry:hover,.history-clear:hover{background:#1a1600}.history-entry:focus-visible,.history-clear:focus-visible{outline:2px solid #ffdd00;outline-offset:2px}.operand::placeholder{color:#806f00}
