.calc-editor{height:100%;min-height:12rem;color:var(--calc-source-color, #1f2937);background:var(--calc-background, #fff)}.calc-editor .cm-editor{height:100%;padding:1rem}.calc-editor .cm-line{position:relative;padding-right:8rem}.calc-editor-result{color:var(--calc-result-color, #64748b);position:absolute;top:0;right:0;min-width:6rem;text-align:right;pointer-events:none;-webkit-user-select:none;user-select:none;font-variant-numeric:tabular-nums}.calc-editor-diagnostic{color:var(--text-error, #b45309);cursor:help;font-weight:700;opacity:.72}.calc-editor-line-error{box-shadow:inset -2px 0 color-mix(in srgb,var(--text-error, #b45309) 45%,transparent)}.calc-editor-line-ambiguous{text-decoration:underline dotted color-mix(in srgb,#b45309 60%,transparent);text-underline-offset:3px}:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#172033;background:#f8fafc}body,#root{margin:0;min-height:100vh}main{max-width:980px;min-height:100vh;margin:auto;background:#fff;box-shadow:0 0 30px #cbd5e155}header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0}h1{font-size:1rem;font-weight:600}button{margin-left:.5rem;padding:.45rem .7rem}main>.calc-editor{height:calc(100vh - 70px)}
