.page.svelte-1xmkimt{flex:1;min-height:0;display:flex;justify-content:center;gap:16px;padding:20px 16px;overflow:auto}.calc.svelte-1xmkimt{display:flex;flex-direction:column;gap:10px;width:100%;max-width:400px;align-self:flex-start;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-md)}.calc.wide.svelte-1xmkimt{max-width:760px}.calc.prog.svelte-1xmkimt{max-width:560px}.topbar.svelte-1xmkimt{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.prog-opts.svelte-1xmkimt{display:flex;gap:6px}.field.mini.svelte-1xmkimt{height:28px;font-size:12.5px;padding:0 6px}.angle-chip.svelte-1xmkimt{font-size:12px;color:var(--muted)}.display.svelte-1xmkimt{display:flex;flex-direction:column;padding:10px 14px 8px;border-radius:12px;background:var(--surface-2);border:1px solid transparent;min-width:0}.display.svelte-1xmkimt:focus-within{border-color:var(--app-line)}.display.has-error.svelte-1xmkimt{border-color:var(--bad)}.status.svelte-1xmkimt{display:flex;align-items:center;gap:8px;min-height:20px;font-size:12.5px;color:var(--faint)}.chip.svelte-1xmkimt{flex:none;padding:0 7px;border-radius:99px;background:var(--app-soft);color:var(--app);font-weight:650;font-size:11.5px;line-height:18px;font-variant-numeric:tabular-nums}.prev.svelte-1xmkimt{margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;unicode-bidi:plaintext;font-variant-numeric:tabular-nums}.expr.svelte-1xmkimt{width:100%;border:0;outline:0;background:transparent;text-align:right;font-size:38px;font-weight:500;letter-spacing:-.02em;line-height:1.25;padding:2px 0;font-variant-numeric:tabular-nums;caret-color:var(--app)}.expr.long.svelte-1xmkimt{font-size:28px}.expr.xlong.svelte-1xmkimt{font-size:21px}.expr.svelte-1xmkimt::placeholder{color:var(--faint)}.result.svelte-1xmkimt{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;min-height:26px;font-size:17px;color:var(--muted);font-variant-numeric:tabular-nums}.val.svelte-1xmkimt{overflow-wrap:anywhere;text-align:right}.eq.svelte-1xmkimt{color:var(--faint)}.hint.svelte-1xmkimt{font-size:12px;color:var(--faint);margin-right:auto}.err.svelte-1xmkimt{color:var(--bad);font-size:13.5px;font-weight:600;margin-right:auto}.copy.svelte-1xmkimt{flex:none;border:0;background:transparent;color:var(--app);font-size:12px;font-weight:650;padding:2px 6px;border-radius:6px}.copy.svelte-1xmkimt:hover{background:var(--app-soft)}.bases.svelte-1xmkimt{display:grid;gap:2px}.base-row.svelte-1xmkimt{display:flex;align-items:baseline;gap:12px;padding:3px 10px;border:0;border-radius:7px;background:transparent;text-align:left;font-family:var(--mono);font-size:12.5px;color:var(--muted)}.base-row.svelte-1xmkimt:hover{background:var(--surface-2)}.base-row[aria-pressed=true].svelte-1xmkimt{background:var(--app-soft);color:var(--text)}.base-name.svelte-1xmkimt{flex:none;width:30px;font-weight:700;font-size:11px;color:var(--faint)}.base-row[aria-pressed=true].svelte-1xmkimt .base-name:where(.svelte-1xmkimt){color:var(--app)}.base-val.svelte-1xmkimt{overflow-wrap:anywhere;min-width:0}.bits.svelte-1xmkimt{display:grid;gap:3px;padding:8px 10px;border-radius:10px;background:var(--surface-2);overflow-x:auto}.bit-row.svelte-1xmkimt{display:flex;align-items:center;justify-content:flex-end;gap:1px}.bit.svelte-1xmkimt{width:22px;height:22px;flex:none;border:0;border-radius:5px;background:transparent;font-family:var(--mono);font-size:13px;color:var(--faint);padding:0}.bit.gap.svelte-1xmkimt{margin-right:8px}.bit.on.svelte-1xmkimt{color:var(--app);font-weight:700;background:var(--app-soft)}.bit.svelte-1xmkimt:hover:not(:disabled){background:var(--surface-3)}.bit.svelte-1xmkimt:disabled{opacity:.3;cursor:default}.bit-idx.svelte-1xmkimt{width:22px;text-align:right;font-family:var(--mono);font-size:10px;color:var(--faint)}.memory.svelte-1xmkimt{display:flex;gap:6px}.mkey.svelte-1xmkimt{flex:1;height:30px;border:0;border-radius:8px;background:transparent;font-size:12.5px;font-weight:650;color:var(--muted)}.mkey.svelte-1xmkimt:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.mkey.svelte-1xmkimt:disabled{opacity:.35;cursor:default}.pads.svelte-1xmkimt{display:flex;gap:10px}.pad.svelte-1xmkimt{display:grid;gap:6px;flex:1;min-width:0}.pad.basic.svelte-1xmkimt{grid-template-columns:repeat(4,1fr)}.pad.sci.svelte-1xmkimt{grid-template-columns:repeat(5,1fr);flex:1.15;grid-auto-rows:1fr}.pad.progpad.svelte-1xmkimt{grid-template-columns:repeat(6,1fr)}.key.svelte-1xmkimt{height:54px;min-width:0;border:0;border-radius:12px;background:var(--surface-2);font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;transition:background .08s,transform .08s;-webkit-user-select:none;user-select:none;touch-action:manipulation}.key.svelte-1xmkimt:hover:not(:disabled){background:var(--surface-3)}.key.svelte-1xmkimt:active:not(:disabled){transform:scale(.96);background:var(--border-strong)}.key.svelte-1xmkimt:disabled{opacity:.28;cursor:default}.key.util.svelte-1xmkimt{background:var(--surface-3);font-size:17px;font-weight:600}.key.util.svelte-1xmkimt:hover{background:var(--border-strong)}.key.op.svelte-1xmkimt{background:var(--app-soft);color:var(--app);font-size:24px}.key.op.svelte-1xmkimt:hover{background:color-mix(in srgb,var(--app) 22%,var(--surface))}.key.fn.svelte-1xmkimt{background:transparent;border:1px solid var(--border);font-size:15px;color:var(--muted)}.key.fn.svelte-1xmkimt:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.key.fn.active.svelte-1xmkimt{background:var(--app);border-color:var(--app);color:var(--on-app)}.key.eq.svelte-1xmkimt{background:var(--app);color:var(--on-app);font-size:26px}.key.eq.svelte-1xmkimt:hover{background:color-mix(in srgb,var(--app) 88%,#000)}.progpad.svelte-1xmkimt .key:where(.svelte-1xmkimt){height:46px;font-size:17px}.progpad.svelte-1xmkimt .key.fn:where(.svelte-1xmkimt){font-size:13px;font-weight:650}.history.svelte-1xmkimt{display:flex;flex-direction:column;width:300px;flex:none;align-self:stretch;max-height:640px;background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden}.history-head.svelte-1xmkimt{display:flex;align-items:center;gap:4px;padding:10px 10px 8px 16px;border-bottom:1px solid var(--border)}.history-head.svelte-1xmkimt h2:where(.svelte-1xmkimt){font-size:14px;margin-right:auto}.history.svelte-1xmkimt .close:where(.svelte-1xmkimt),.history-toggle.svelte-1xmkimt,.scrim.svelte-1xmkimt{display:none}.empty.svelte-1xmkimt{padding:28px 18px;color:var(--faint);font-size:13px;text-align:center}ol.svelte-1xmkimt{list-style:none;margin:0;padding:6px;overflow:auto;flex:1}li.svelte-1xmkimt{display:grid;padding:4px 0;border-bottom:1px solid var(--border)}li.svelte-1xmkimt:last-child{border-bottom:0}.h-expr.svelte-1xmkimt,.h-res.svelte-1xmkimt{border:0;background:transparent;text-align:right;padding:3px 10px;border-radius:7px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.h-expr.svelte-1xmkimt{font-size:12.5px;color:var(--muted)}.h-res.svelte-1xmkimt{font-size:16px;font-weight:600}.h-expr.svelte-1xmkimt:hover,.h-res.svelte-1xmkimt:hover{background:var(--surface-2)}@media(max-width:1080px){.history-toggle.svelte-1xmkimt{display:inline-flex}.history.svelte-1xmkimt{position:fixed;z-index:20;top:0;right:0;bottom:0;max-height:none;width:min(340px,92vw);border-radius:0;border-width:0 0 0 1px;transform:translate(100%);transition:transform .2s ease;box-shadow:var(--shadow-lg);visibility:hidden}.history.open.svelte-1xmkimt{transform:none;visibility:visible}.history.svelte-1xmkimt .close:where(.svelte-1xmkimt){display:inline-flex}.scrim.open.svelte-1xmkimt{display:block;position:fixed;inset:0;z-index:19;background:#00000059}}@media(max-width:720px){.page.svelte-1xmkimt{padding:0}.calc.svelte-1xmkimt,.calc.wide.svelte-1xmkimt,.calc.prog.svelte-1xmkimt{max-width:none;align-self:stretch;border:0;border-radius:0;box-shadow:none;padding:10px 10px max(10px,env(safe-area-inset-bottom));gap:8px}.display.svelte-1xmkimt{flex:1;justify-content:flex-end;min-height:110px}.pads.svelte-1xmkimt{flex-direction:column;gap:6px}.pad.sci.svelte-1xmkimt .key:where(.svelte-1xmkimt){height:36px;font-size:13.5px;border-radius:9px}.key.svelte-1xmkimt{height:clamp(44px,8.2dvh,64px)}.progpad.svelte-1xmkimt .key:where(.svelte-1xmkimt){height:clamp(40px,6.4dvh,52px)}.bit.svelte-1xmkimt{width:19px;height:20px;font-size:12px}.bit.gap.svelte-1xmkimt{margin-right:4px}.bit-idx.svelte-1xmkimt{display:none}}
