.arith.svelte-fyuos3{--start:oklch(62% .13 215);--intermediate:oklch(55% .14 240);--result:oklch(44% .16 265);--warning:oklch(53% .105 65);background:0 0;border:0;border-radius:0;padding:0}.arith-card.svelte-fyuos3{border:1px solid var(--border);border-radius:var(--viz-shell-radius);background:var(--surface);box-shadow:var(--viz-shadow);flex-direction:column;display:flex;position:relative}.arith-loading.svelte-fyuos3{z-index:40;border-radius:inherit;background:var(--surface);min-height:100%;padding:24px;position:absolute;inset:0}.arith-safety-backdrop.svelte-fyuos3{z-index:50;border-radius:inherit;background:color-mix(in oklch, var(--fg) 20%, transparent);place-items:center;padding:16px;display:grid;position:absolute;inset:0}.arith-safety-dialog.svelte-fyuos3{border:1px solid var(--border);background:color-mix(in oklch, var(--surface) 98%, var(--viz-header-bg));width:min(304px,100% - 16px);color:var(--fg);font-family:var(--viz-sans);text-align:left;border-radius:7px;padding:14px 14px 12px;box-shadow:0 8px 22px #14282c1c,0 1px 2px #14282c0d}.arith-safety-heading.svelte-fyuos3{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;display:grid}.arith-safety-icon.svelte-fyuos3{background:color-mix(in oklch, var(--warning) 9%, var(--surface));width:32px;height:32px;color:var(--warning);border-radius:6px;place-items:center;display:grid}.arith-safety-icon.svelte-fyuos3 svg:where(.svelte-fyuos3){fill:none;stroke:currentColor;stroke-width:1.45px;stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricprecision;width:19px;height:19px}.arith-dialog-label.svelte-fyuos3{color:var(--muted);font:600 10.5px/1.15 var(--viz-sans);letter-spacing:.01em;margin:0 0 3px;display:block}.arith-safety-heading.svelte-fyuos3 strong:where(.svelte-fyuos3){letter-spacing:-.015em;font-size:14.5px;font-weight:600;line-height:1.24;display:block}.arith-safety-dialog.svelte-fyuos3 p:where(.svelte-fyuos3){color:var(--muted);font-family:var(--viz-sans);letter-spacing:0;border:0;margin:10px 0 0;padding:0;font-size:12.25px;font-weight:400;line-height:1.42}.arith-dialog-actions.svelte-fyuos3{justify-content:flex-end;align-items:center;gap:3px;margin-top:11px;display:flex}.arith-dialog-actions.svelte-fyuos3 button:where(.svelte-fyuos3){height:27px;color:var(--muted);font:600 11.5px/1 var(--viz-sans);text-align:center;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0 8px 1px;display:inline-grid}.arith-dialog-actions.svelte-fyuos3 .secondary:where(.svelte-fyuos3):hover{background:color-mix(in oklch, var(--primary) 6%, var(--surface));color:var(--fg)}.arith-dialog-actions.svelte-fyuos3 .primary:where(.svelte-fyuos3){border:1px solid var(--primary);background:var(--primary);color:#fff;padding:0 10px}.arith-dialog-actions.svelte-fyuos3 .primary:where(.svelte-fyuos3):hover{filter:brightness(1.05)}.arith-rail.svelte-fyuos3{border-top:1px solid var(--border-soft);border-radius:0 0 var(--viz-shell-radius) var(--viz-shell-radius);background:var(--viz-header-bg);order:2;padding:10px 13px}.plane-wrap.svelte-fyuos3{order:1;position:relative}.mode-toggle.svelte-fyuos3{z-index:9;height:var(--viz-control-height);box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);padding:2px;display:inline-flex;position:absolute;top:10px;left:10px}.mode-toggle.svelte-fyuos3 button:where(.svelte-fyuos3){box-sizing:border-box;height:100%;font-family:var(--viz-sans);font-size:var(--viz-control-size);color:var(--muted);padding:0 var(--viz-control-padding-x);border-radius:calc(var(--viz-control-radius) - 1px);cursor:pointer;background:0 0;border:0;font-weight:500;transition:color .15s,background .15s}.mode-toggle.svelte-fyuos3 button.on:where(.svelte-fyuos3){background:var(--primary);color:#fff}.grid-btn.svelte-fyuos3{z-index:9;width:var(--viz-icon-control-size);height:var(--viz-icon-control-size);background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);color:var(--muted);cursor:pointer;place-items:center;padding:0;transition:border-color .12s,color .12s,background .12s;display:grid;position:absolute;top:10px;right:50px}.grid-btn.svelte-fyuos3 svg:where(.svelte-fyuos3){fill:none;stroke:currentColor;stroke-width:1.35px;width:15px;height:15px}.grid-btn.svelte-fyuos3:hover{border-color:var(--primary);color:var(--fg)}.grid-btn.on.svelte-fyuos3{border-color:color-mix(in srgb, var(--primary) 45%, var(--border));color:var(--primary);background:var(--primary-soft)}.help-btn.svelte-fyuos3{z-index:9;width:var(--viz-icon-control-size);height:var(--viz-icon-control-size);background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);color:var(--muted);cursor:pointer;place-items:center;padding:0;font-size:14px;transition:border-color .12s,color .12s,background .12s;display:grid;position:absolute;top:10px;right:10px}.help-btn.svelte-fyuos3:hover{border-color:var(--primary);color:var(--fg)}.help-btn.on.svelte-fyuos3{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.help-pop.svelte-fyuos3{top:calc(10px + var(--viz-control-height) + 8px);z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);width:min(330px,100% - 20px);padding:var(--viz-popover-padding);text-align:left;box-sizing:border-box;font-family:var(--viz-sans);position:absolute;right:10px;box-shadow:0 14px 34px #14282c33}.help-head.svelte-fyuos3{font-family:var(--viz-sans);text-transform:none;letter-spacing:-.005em;color:var(--fg);margin-bottom:8px;font-size:12.5px;font-weight:600;line-height:1.3}.help-pop.svelte-fyuos3 p:where(.svelte-fyuos3){color:var(--body);margin:0 0 9px;font-size:13px;font-weight:400;line-height:1.45}.help-pop.svelte-fyuos3 p:where(.svelte-fyuos3):last-child{margin-bottom:0}.arith-form.svelte-fyuos3{flex-wrap:nowrap;align-items:center;gap:4px;margin:0 0 8px;display:flex}.expr-shell.svelte-fyuos3{flex:auto;min-width:0;display:block;position:relative}.expr.svelte-fyuos3{box-sizing:border-box;width:100%;min-width:0;font-family:var(--viz-sans);height:var(--viz-control-height);font-size:var(--viz-control-size);color:var(--fg);background:var(--bg);border:1px solid var(--border);border-radius:var(--viz-control-radius);padding:0 var(--viz-control-padding-x);box-shadow:none;appearance:none;font-weight:500;transition:border-color .12s,box-shadow .12s;display:block}.expr.svelte-fyuos3:focus,.expr.svelte-fyuos3:focus-visible{border-color:color-mix(in oklch, var(--primary) 55%, var(--border));box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--primary) 12%, transparent);outline:none}.expr.bad.svelte-fyuos3{border-color:var(--bad)}.expr.svelte-fyuos3::placeholder{color:var(--muted);font-weight:500}.expr-mirror.svelte-fyuos3{min-width:0;padding:0 var(--viz-control-padding-x);box-sizing:border-box;font-family:var(--viz-sans);font-size:var(--viz-control-size);color:#0000;pointer-events:none;align-items:center;font-weight:500;display:flex;position:absolute;inset:1px;overflow:hidden}.expr-text.svelte-fyuos3{white-space:nowrap;align-items:baseline;display:flex}.expr-part.svelte-fyuos3{white-space:pre;flex:none}.expr-mirror.svelte-fyuos3 .term:where(.svelte-fyuos3){border-radius:3px;transition:color .12s,background .12s,box-shadow .12s}.expr-mirror.svelte-fyuos3 .term.active.add:where(.svelte-fyuos3){background:color-mix(in oklch, var(--good) 13%, transparent);box-shadow:0 0 0 3px color-mix(in oklch, var(--good) 13%, transparent)}.expr-mirror.svelte-fyuos3 .term.active.sub:where(.svelte-fyuos3){background:color-mix(in oklch, var(--bad) 12%, transparent);box-shadow:0 0 0 3px color-mix(in oklch, var(--bad) 12%, transparent)}.expr-mirror.svelte-fyuos3 .term.active.start:where(.svelte-fyuos3){background:color-mix(in srgb, var(--start) 11%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--start) 11%, transparent)}.eq.svelte-fyuos3{color:var(--fg);font-family:var(--viz-sans);font-variation-settings:"wght" 600;margin-inline:0;font-size:17px;font-weight:600;line-height:1}.answer.svelte-fyuos3{height:var(--viz-control-height);box-sizing:border-box;font-size:var(--viz-control-size);color:var(--muted);padding:0 var(--viz-control-padding-x);background:var(--bg);border:1px solid var(--border);border-radius:var(--viz-control-radius);text-align:center;justify-content:center;align-items:center;min-width:4.5ch;font-weight:500;transition:color .2s,background .2s,border-color .2s;display:inline-flex}.answer.live.svelte-fyuos3{color:var(--result);font-variation-settings:"wght" 700;letter-spacing:-.01em;background:color-mix(in srgb, var(--result) 9%, var(--surface));border-color:color-mix(in srgb, var(--result) 46%, var(--border));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--result) 7%, transparent);font-size:15px;font-weight:700}.answer.live.hovered.svelte-fyuos3{background:color-mix(in srgb, var(--result) 14%, var(--surface));border-color:color-mix(in srgb, var(--result) 62%, var(--border))}.ops.svelte-fyuos3{flex-wrap:wrap;gap:6px;margin-bottom:0;display:flex}.ops.svelte-fyuos3 button:where(.svelte-fyuos3){min-width:38px;height:var(--viz-icon-control-size);padding:0 var(--viz-control-padding-x);border:1px solid var(--border);border-radius:var(--viz-control-radius);background:var(--bg);color:var(--fg);font:500 14px var(--viz-sans);cursor:pointer;transition:border-color .12s,background .12s,color .12s}.ops.svelte-fyuos3 .op:where(.svelte-fyuos3){width:38px;padding:0}.ops.svelte-fyuos3 .fn:where(.svelte-fyuos3){font-family:var(--viz-mono);font-weight:500}.ops.svelte-fyuos3 button:where(.svelte-fyuos3):hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.msg.svelte-fyuos3{color:var(--muted);padding:8px 2px 0;font-size:12.5px}.msg.err.svelte-fyuos3{color:var(--bad)}.plane.svelte-fyuos3{border-radius:var(--viz-shell-radius) var(--viz-shell-radius) 0 0;background:var(--plot-backdrop);border:0;height:100%;position:relative;overflow:hidden}.plane.dim.svelte-fyuos3{opacity:.45}.plane.svelte-fyuos3 canvas:where(.svelte-fyuos3){touch-action:none;width:100%;display:block}.plane.svelte-fyuos3 .diagram-layer:where(.svelte-fyuos3){z-index:1;position:relative}.plane.svelte-fyuos3 .grid-layer:where(.svelte-fyuos3){z-index:0;pointer-events:none;height:100%;position:absolute;inset:0}.plane.svelte-fyuos3 .sphere-layer:where(.svelte-fyuos3){z-index:2;pointer-events:none;height:100%;position:absolute;inset:0}.step-tip.svelte-fyuos3{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);white-space:nowrap;pointer-events:none;align-items:baseline;gap:5px;padding:5px 8px 6px;font-size:12px;line-height:1;display:inline-flex;position:absolute;box-shadow:0 7px 18px #14282c26}.step-tip.above.svelte-fyuos3{transform:translate(-50%,calc(-100% - 11px))}.step-tip.below.svelte-fyuos3{transform:translate(-50%,11px)}.step-tip.svelte-fyuos3 span:where(.svelte-fyuos3){color:var(--muted)}.step-tip.svelte-fyuos3 b:where(.svelte-fyuos3){font-weight:600}.step-tip.start.svelte-fyuos3 b:where(.svelte-fyuos3){color:var(--start)}.step-tip.add.svelte-fyuos3 b:where(.svelte-fyuos3){color:var(--good)}.step-tip.sub.svelte-fyuos3 b:where(.svelte-fyuos3){color:var(--bad)}.tip.svelte-fyuos3{z-index:21;background:var(--surface);border:1px solid var(--border);border-radius:var(--viz-control-radius);pointer-events:none;width:236px;max-width:calc(100% - 12px);padding:10px 12px 11px;position:absolute;box-shadow:0 12px 30px #14282c33}html.dark .arith.svelte-fyuos3{--start:oklch(78% .11 215);--intermediate:oklch(74% .12 240);--result:oklch(70% .14 265)}.tip.above.svelte-fyuos3{transform:translate(-50%,calc(-100% - 15px))}.tip.below.svelte-fyuos3{transform:translate(-50%,15px)}.tip-head.svelte-fyuos3{font-family:var(--viz-sans);font-size:var(--viz-label-size);text-transform:none;letter-spacing:var(--viz-label-tracking);color:var(--muted);margin-bottom:8px;font-weight:500}.bars.svelte-fyuos3{flex-direction:column;gap:5px;display:flex}.bar.svelte-fyuos3{grid-template-columns:4.8rem 1fr 2rem;align-items:center;gap:8px;font-size:12px;display:grid}.bar.svelte-fyuos3 .w:where(.svelte-fyuos3){text-align:right;color:var(--body);white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.bar.top.svelte-fyuos3 .w:where(.svelte-fyuos3){color:var(--result);font-weight:600}.bar.svelte-fyuos3 .track:where(.svelte-fyuos3){background:var(--border-soft);border-radius:999px;height:7px;overflow:hidden}.bar.svelte-fyuos3 .fill:where(.svelte-fyuos3){background:var(--primary);opacity:.5;border-radius:999px;height:100%;transition:width .35s;display:block}.bar.top.svelte-fyuos3 .fill:where(.svelte-fyuos3){background:var(--result);opacity:1}.bar.svelte-fyuos3 .v:where(.svelte-fyuos3){text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}@media (width<=560px){.arith.mobile-compose.svelte-fyuos3 .arith-card:where(.svelte-fyuos3){padding-bottom:var(--arith-mobile-rail-height,88px);background:var(--plot-backdrop)}.arith.mobile-compose.svelte-fyuos3 .arith-rail:where(.svelte-fyuos3){left:max(8px, env(safe-area-inset-left));right:max(8px, env(safe-area-inset-right));top:var(--arith-mobile-rail-top,8px);z-index:105;box-sizing:border-box;border:1px solid var(--border);border-radius:calc(var(--viz-shell-radius) + 2px);background:var(--plot-backdrop);will-change:top;width:auto;min-width:0;transition:top .18s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:auto;box-shadow:0 10px 30px #0a1e242e}html.dark .arith.mobile-compose.svelte-fyuos3 .arith-rail:where(.svelte-fyuos3){background:var(--plot-backdrop);box-shadow:0 12px 32px #0000006b}.plane.svelte-fyuos3 canvas:where(.svelte-fyuos3){touch-action:pan-y}.help-pop.svelte-fyuos3{width:auto;max-width:none;left:10px;right:10px}.plane-wrap.svelte-fyuos3{flex:auto;height:auto;min-height:0}.arith-rail.svelte-fyuos3{padding:8px 10px 9px}.arith-form.svelte-fyuos3{gap:5px;margin-bottom:7px}.arith.svelte-fyuos3 .expr:where(.svelte-fyuos3),.arith.svelte-fyuos3 .expr-mirror:where(.svelte-fyuos3){font-size:16px}.answer.svelte-fyuos3{text-overflow:ellipsis;white-space:nowrap;max-width:30%;overflow:hidden}.ops.svelte-fyuos3{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.ops.svelte-fyuos3 button:where(.svelte-fyuos3),.ops.svelte-fyuos3 .op:where(.svelte-fyuos3){width:auto;min-width:0;padding-inline:6px}}
