.bc{--bc-bg:#f1f2ef;--bc-ink:#16191c;--bc-muted:#4f555b;--bc-sum:#4f555b;--bc-rule:#2547d0;--bc-key:#fbfbf9;--bc-key-down:#e6e7e2;--bc-key-shadow:0 1px 2px #16191c12;--bc-key-font:var(--font-bricolage), system-ui, sans-serif;--bc-key-weight:600;--bc-op:#e3e8fb;--bc-op-down:#d3dbf8;--bc-op-edge:transparent;--bc-op-ink:#2547d0;--bc-clear:#e6e7e2;--bc-clear-edge:transparent;--bc-clear-ink:#16191c;--bc-frame:#d9dbd5;--bc-focus:#2547d0}.bc[data-look=night]{--bc-bg:#121518;--bc-ink:#f6f7f4;--bc-muted:#9aa0a6;--bc-sum:#8ea2ff;--bc-rule:#8ea2ff;--bc-key:#1d2125;--bc-key-down:#2a2f34;--bc-key-shadow:none;--bc-key-font:var(--font-geist), system-ui, sans-serif;--bc-key-weight:500;--bc-op:transparent;--bc-op-down:#1c2340;--bc-op-edge:#5b74e6;--bc-op-ink:#a9b8ff;--bc-clear:transparent;--bc-clear-edge:#3a4046;--bc-clear-ink:#c9ccc4;--bc-frame:#262b30;--bc-focus:#8ea2ff}@media (prefers-color-scheme:dark){.bc[data-look=auto]{--bc-bg:#121518;--bc-ink:#f6f7f4;--bc-muted:#9aa0a6;--bc-sum:#8ea2ff;--bc-rule:#8ea2ff;--bc-key:#1d2125;--bc-key-down:#2a2f34;--bc-key-shadow:none;--bc-key-font:var(--font-geist), system-ui, sans-serif;--bc-key-weight:500;--bc-op:transparent;--bc-op-down:#1c2340;--bc-op-edge:#5b74e6;--bc-op-ink:#a9b8ff;--bc-clear:transparent;--bc-clear-edge:#3a4046;--bc-clear-ink:#c9ccc4;--bc-frame:#262b30;--bc-focus:#8ea2ff}}.bc{z-index:40;background:var(--bc-bg);color:var(--bc-ink);font-family:var(--font-geist), system-ui, sans-serif;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.bc-app{box-sizing:border-box;width:100%;max-width:460px;height:100%;max-height:920px;padding-top:env(safe-area-inset-top);flex-direction:column;display:flex;position:relative;container-type:size}@media (min-width:700px) and (min-height:700px){.bc-app{border:1px solid var(--bc-frame);border-radius:28px;height:min(100% - 48px,900px);overflow:hidden}}.bc-top{flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;height:52px;padding:0 10px 0 20px;display:grid}.bc-back{font-family:var(--font-geist-mono), ui-monospace, monospace;color:var(--bc-muted);justify-self:start;padding:12px 0;font-size:13px;text-decoration:none}.bc-back:hover{color:var(--bc-ink)}.bc-title{font-family:var(--font-bricolage), system-ui, sans-serif;letter-spacing:-.01em;margin:0;font-size:17px;font-weight:650}.bc-mode{width:44px;height:44px;color:var(--bc-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;justify-self:end;align-items:center;display:flex}.bc-mode:hover{color:var(--bc-ink)}.bc-display{box-sizing:border-box;flex-direction:column;flex:0 0 34%;justify-content:flex-end;align-items:flex-end;gap:10px;min-width:0;min-height:150px;padding:0 24px 20px;display:flex}.bc-sum{max-width:100%;font-family:var(--font-geist-mono), ui-monospace, monospace;color:var(--bc-sum);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:22px;line-height:28px;overflow:hidden}.bc-num-wrap{justify-content:flex-end;align-self:stretch;display:flex;overflow:hidden}.bc-num{white-space:nowrap;font-family:var(--font-bricolage), system-ui, sans-serif;letter-spacing:-.04em;color:var(--bc-ink);padding-right:.02em;font-size:120px;font-weight:700;line-height:.95;display:inline-block}.bc-eqs{letter-spacing:0;vertical-align:.38em;color:var(--bc-sum);margin-right:.22em;font-size:.42em;font-weight:500;display:inline-block}.bc-num[data-wait]{letter-spacing:-.01em;color:var(--bc-sum);font-weight:600}.bc-rule{align-self:stretch;align-items:center;height:14px;margin-top:6px;display:flex}.bc-rule span{background:var(--bc-rule)}.bc-rule span:nth-child(odd){border-radius:1px;width:2px;height:14px}.bc-rule span:nth-child(2){flex:1;height:1.5px}.bc-pad{box-sizing:border-box;min-height:0;padding:6px 16px calc(18px + env(safe-area-inset-bottom));-webkit-user-select:none;user-select:none;flex:1;gap:10px;display:flex}.bc-digits{flex:1;grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;display:grid}.bc-ops{flex-direction:column;gap:10px;width:clamp(64px,20cqw,80px);display:flex}.bc-key,.bc-op{cursor:pointer;touch-action:manipulation;border:0;border-radius:18px;justify-content:center;align-items:center;min-height:0;padding:0;transition:background-color 80ms;display:flex}.bc-key{background:var(--bc-key);box-shadow:var(--bc-key-shadow);font-family:var(--bc-key-font);font-weight:var(--bc-key-weight);font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--bc-ink);font-size:clamp(34px,min(17cqw,10.5cqh),72px)}.bc-key:active,.bc-key[data-down]{background:var(--bc-key-down);box-shadow:none}.bc-key[aria-label=Delete]{color:var(--bc-muted)}.bc-op{background:var(--bc-op);box-shadow:inset 0 0 0 1.5px var(--bc-op-edge);font-family:var(--font-geist), system-ui, sans-serif;color:var(--bc-op-ink);flex:1;font-size:clamp(22px,4.3cqh,32px);font-weight:500}.bc-op:active,.bc-op[data-down]{background:var(--bc-op-down)}.bc-op[aria-pressed=true]{box-shadow:none;color:#fff;background:#2547d0}.bc-clear{background:var(--bc-clear);box-shadow:inset 0 0 0 1.5px var(--bc-clear-edge);font-family:var(--font-geist-mono), ui-monospace, monospace;color:var(--bc-clear-ink);font-size:clamp(17px,2.8cqh,21px)}.bc-clear:active,.bc-clear[data-down]{background:var(--bc-key-down)}.bc-eq{box-shadow:none;color:#fff;background:#2547d0;flex:1.7;font-size:clamp(26px,4.9cqh,36px)}.bc-eq:active,.bc-eq[data-down]{background:#1b38ad}.bc-key:focus-visible,.bc-op:focus-visible,.bc-mode:focus-visible,.bc-back:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}.bc-hint{display:none}@media (hover:hover) and (pointer:fine){.bc-hint{text-align:center;font-family:var(--font-geist-mono), ui-monospace, monospace;color:var(--bc-muted);flex-shrink:0;margin:-6px 0 0;padding:0 16px 16px;font-size:12px;display:block}}@container (max-height:620px){.bc-display{flex-basis:30%;min-height:140px;padding-bottom:14px}.bc-pad,.bc-digits,.bc-ops{gap:8px}.bc-eq{flex:1.4}}@media (prefers-reduced-motion:reduce){.bc-key,.bc-op{transition:none}}
