.te{border:var(--stroke);border-radius:var(--radius-lg);box-shadow:var(--shadow);background:var(--surface-sunk);flex-direction:column;height:clamp(32rem,82dvh,60rem);margin:0 0 2.5rem;font-size:.9375rem;display:flex;position:relative;overflow:clip}.te[data-state=loading] .te__grid{opacity:.55;pointer-events:none}.te .visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.te [hidden]{display:none!important}.te-ico{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.15rem;height:1.15rem}.te-btn{min-height:2.5rem;font:inherit;white-space:nowrap;color:var(--ink);background:var(--surface);border:var(--stroke-2);border-radius:var(--radius-sm);cursor:pointer;transition:background-color var(--snap);justify-content:center;align-items:center;gap:.4rem;padding:.3rem .9rem;font-size:.8125rem;font-weight:700;line-height:1.1;display:inline-flex}.te-btn:hover{background:var(--highlight)}.te-btn:disabled{color:var(--ink-faint);background:var(--surface-grey);cursor:not-allowed}.te-btn--primary{background:var(--rose)}.te-btn--danger{background:var(--red);color:var(--white)}.te-btn--danger:hover{background:var(--black)}.te-btn--icon{width:2.5rem;padding:0}:is(.te-btn,.te-tool,.te-formula):focus-visible{outline:3px solid var(--ink);outline-offset:2px}.te__bar{background:var(--highlight);border-bottom:var(--stroke);flex-wrap:wrap;align-items:center;gap:.4rem;padding:.4rem clamp(.6rem,2vw,1.25rem);display:flex}.te__brand{font-family:var(--font-display);letter-spacing:-.02em;white-space:nowrap;align-items:center;gap:.45rem;margin-right:.35rem;font-size:1.05rem;font-weight:800;display:inline-flex}.te__brand svg{flex:none}.te__spacer{flex:1}.te-status{white-space:nowrap;background:var(--surface);border:var(--stroke-2);border-radius:999px;align-items:center;gap:.4rem;padding:.25rem .6rem;font-size:.8125rem;font-weight:700;display:inline-flex}.te-status:before{content:"";border:2px solid var(--ink);background:var(--teal);border-radius:50%;width:.6rem;height:.6rem}.te-status[data-status=unsaved]:before{background:var(--highlight)}.te-status[data-status=saving]:before{background:var(--violet)}.te-status[data-status=failed]{background:var(--red);color:var(--white)}.te-status[data-status=failed]:before{background:var(--white)}.te__notice{background:var(--rose);border-bottom:var(--stroke);margin:0;padding:.55rem clamp(.6rem,2vw,1.25rem);font-size:.875rem;font-weight:700}.te-btn--formulas,.te-btn--close{display:none}.te__grid{flex:1;grid-template-columns:minmax(0,1fr) 19rem;min-height:0;display:grid}.te__center{background:var(--surface-grey);flex-direction:column;min-width:0;min-height:0;display:flex}.te__toolbar{background:var(--surface);border-bottom:var(--stroke-2);flex-wrap:wrap;align-items:center;gap:.3rem .45rem;padding:.4rem clamp(.6rem,2vw,1.25rem);display:flex}.te__group{border-left:2px solid var(--ink);align-items:center;gap:2px;padding-left:.45rem;display:inline-flex}.te-tool{min-width:2.5rem;height:2.5rem;font:inherit;color:var(--ink);background:var(--surface);cursor:pointer;border:2px solid #0000;border-radius:6px;place-items:center;padding:0 .3rem;font-size:.9375rem;font-weight:800;line-height:1;display:inline-grid}.te-tool:hover,.te-tool[aria-pressed=true]{background:var(--highlight);border-color:var(--ink)}.te-tool:disabled{color:#9a9a9a;cursor:default;background:var(--surface);border-color:#0000}.te-tool--italic span{font-family:Georgia,serif;font-style:italic}.te-tool--underline span{text-decoration:underline}.te-tool--math span{font-size:1.1rem}.te-select select{height:2.5rem;font:inherit;color:var(--ink);background:var(--surface);border:var(--stroke-2);cursor:pointer;border-radius:6px;padding:0 1.6rem 0 .5rem;font-size:.8125rem;font-weight:700}.te__canvas{overscroll-behavior:contain;background:var(--white);flex:1;min-height:0;overflow-y:auto}.te__stats{color:var(--ink-soft);font-variant-numeric:tabular-nums;background:var(--surface);border-top:var(--stroke-2);flex-wrap:wrap;gap:.1rem 1.1rem;margin:0;padding:.35rem clamp(.6rem,2vw,1.25rem);font-size:.75rem;display:flex}.te__stats span:last-child{margin-left:auto}.te-doc{--te-gutter:3.25rem;min-height:100%;padding:1.25rem clamp(1rem, 3vw, 2.5rem) 2rem calc(var(--te-gutter) + .75rem);background:linear-gradient(to right, var(--cream) var(--te-gutter), var(--surface-grey) var(--te-gutter), var(--surface-grey) calc(var(--te-gutter) + 2px), var(--white) calc(var(--te-gutter) + 2px));color:#111;font-family:Georgia,Times New Roman,serif;font-size:1.0625rem;font-weight:400;line-height:1.65}.te__title{border:0;border-bottom:2px solid var(--surface-grey);width:100%;font-family:var(--font-display);letter-spacing:-.02em;color:#111;background:0 0;border-radius:0;outline:0;margin:0 0 1rem;padding:0 0 .3rem;font-size:2rem;font-weight:800;line-height:1.2;display:block}.te__title:hover,.te__title:focus{border-bottom-color:var(--ink)}.te__title::placeholder{color:var(--ink-faint);opacity:1}.te-doc__body{overflow-wrap:anywhere;cursor:text;outline:0;min-height:22rem}.te-doc p{margin:0 0 .9em}.te-doc strong{color:inherit}.te-doc :is(h1,h2,h3){font-family:var(--font-display);letter-spacing:-.02em;text-wrap:wrap;hyphens:manual;max-width:none;color:inherit;margin:1.4em 0 .5em;font-weight:800;line-height:1.2}.te-doc h1{font-size:1.7rem}.te-doc h2{font-size:1.4rem}.te-doc h3{font-size:1.15rem}.te-doc__body>:first-child,.te-doc--export>:first-child{margin-top:0}.te-doc a{color:#0b57d0;font-weight:inherit;cursor:pointer;text-decoration:underline 1px}.te-doc a:hover{background:0 0;text-decoration-thickness:1px}.te-doc ul,.te-doc ol{margin:0 0 .9em;padding-left:1.6em}.te-doc li{margin-bottom:.2em}.te-doc li::marker{font-weight:400}.te-doc li>p{margin-bottom:.3em}.te-doc blockquote{background:var(--cream);border-left:4px solid #111;margin:0 0 .9em;padding:.15em 1em}.te-doc pre{background:var(--cream);font-family:var(--font-num);white-space:pre;border:2px solid #111;border-radius:6px;margin:0 0 .9em;padding:.8em 1em;font-size:.875rem;line-height:1.5;overflow-x:auto}.te-doc code{font-family:var(--font-num);font-size:.9em;font-weight:inherit;background:var(--cream);border:0;border-radius:4px;padding:.05em .3em}.te-doc pre code{font-size:inherit;background:0 0;padding:0}.te-doc hr{border:0;border-top:3px solid #111;margin:1.4em 0}.te-math{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:4px}.te-math:hover{background:#ffd23f59}.ProseMirror-focused .te-math.ProseMirror-selectednode{outline:3px solid var(--rose);outline-offset:2px}.te-math--block,.te-doc div[data-math=block]{text-align:center;margin:0 0 .9em;padding:.4em 0;display:block}.te-doc :is(.te-math--block,div[data-math=block])>.katex-display{margin:0;overflow:auto hidden}.te-doc__body{counter-reset:te-line}.te-doc__body>*{counter-increment:te-line;position:relative}.te-doc__body>:after{content:counter(te-line);top:0;left:calc(-1 * var(--te-gutter) - .75rem);width:calc(var(--te-gutter) - .6rem);text-align:right;font:500 .75rem/1 var(--font-num);line-height:inherit;color:var(--ink-faint);-webkit-user-select:none;user-select:none;pointer-events:none;position:absolute}.te-doc__body>.te-math--block:after{font-size:.75rem;line-height:1.65rem;top:.4em}#te-print .te-doc__body>:after{content:none}.te-doc p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--ink-faint);pointer-events:none}.ProseMirror-gapcursor{pointer-events:none;display:none;position:absolute}.ProseMirror-gapcursor:after{content:"";border-top:2px solid #111;width:20px;display:block;position:absolute;top:-2px}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.te__formulas{overscroll-behavior:contain;background:var(--surface-sunk);border-left:var(--stroke);flex-direction:column;gap:.45rem;min-height:0;padding:.8rem;display:flex;overflow-y:auto}.te__panelhead{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.te__paneltitle{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:1.1rem;font-weight:800}.te__hint{color:var(--ink-soft);margin:0;font-size:.8125rem}.te-formula{text-align:left;font:inherit;color:var(--ink);background:var(--surface);border:var(--stroke-2);border-radius:var(--radius-sm);cursor:pointer;gap:.15rem;padding:.55rem .65rem;display:grid}.te-formula:hover{background:var(--highlight)}.te-formula__name{font-size:.8125rem;font-weight:800}.te-formula__text{color:var(--ink-soft);overflow-wrap:anywhere;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:.875rem}.te__backdrop{z-index:1000;background:#11111180;position:fixed;inset:0}.te-toasts{z-index:1003;pointer-events:none;justify-items:center;gap:.4rem;width:min(92vw,32rem);display:grid;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)}.te-toast{background:var(--ink);color:var(--white);border-radius:var(--radius-sm);margin:0;padding:.55rem .9rem;font-size:.875rem;font-weight:700}.te-toast--error{background:var(--red)}.te-dlg{width:min(92vw,26rem);max-height:88dvh;color:var(--ink);background:var(--surface);border:var(--stroke);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:0;font-size:.9375rem;overflow:auto}.te-dlg--wide{width:min(94vw,34rem)}.te-dlg::backdrop{background:#1111118c}.te-dlg form{gap:.75rem;padding:1.1rem 1.2rem 1.2rem;display:grid}.te-dlg p{margin:0}.te-dlg__title{font-family:var(--font-display);letter-spacing:-.02em;font-size:1.3rem;font-weight:800}.te-dlg__label,.te-dlg__radio legend{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);font-size:.75rem;font-weight:800}.te-dlg__actions{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;margin-top:.25rem;display:flex}.te-dlg__error{background:var(--rose);border:var(--stroke-2);border-radius:6px;padding:.45rem .6rem;font-size:.875rem;font-weight:700}.te-dlg__preview{background:var(--white);border:var(--stroke-2);color:#111;border-radius:6px;place-items:center;min-height:4.5rem;padding:.75rem;font-size:1.05rem;display:grid;overflow-x:auto}.te-dlg__radio{border:0;gap:.35rem;margin:0;padding:0;display:grid}.te-dlg__radio legend{margin-bottom:.3rem;padding:0}.te-field{gap:.25rem;font-size:.8125rem;font-weight:700;display:grid}.te-field input,.te-field textarea{width:100%;min-height:2.6rem;font:inherit;color:var(--ink);background:var(--surface);border:var(--stroke-2);border-radius:6px;padding:.4rem .6rem;font-size:1rem;font-weight:500}.te-field textarea{font-family:var(--font-num);resize:vertical;font-size:.9375rem}.te-check{border:var(--stroke-2);cursor:pointer;border-radius:6px;align-items:flex-start;gap:.5rem;padding:.45rem .6rem;display:flex}.te-check:has(input:checked){background:var(--highlight)}.te-check input{width:1.1rem;height:1.1rem;accent-color:var(--rose);flex:none;margin:.15rem 0 0}.te-check span{display:grid}.te-check small{color:var(--ink-soft);font-size:.8125rem}@media (width<=56.24rem){.te__grid{grid-template-columns:minmax(0,1fr)}.te-btn--formulas,.te-btn--close{display:inline-flex}.te__formulas{z-index:1001;width:min(88vw,20rem);box-shadow:var(--shadow-lg);visibility:hidden;transition:transform var(--lift), visibility var(--lift);position:fixed;top:0;bottom:0;right:0;transform:translate(105%)}.te--formulas-open .te__formulas{visibility:visible;transform:none}}@media (width<=43.74rem){.te{width:var(--te-vw,100vw);margin-left:calc(50% - var(--te-vw,100vw) / 2);box-shadow:none;border-inline:0;border-radius:0}.te__brand span{display:none}.te-doc{--te-gutter:2.25rem;padding-right:.9rem}.te__title{font-size:1.5rem}.te-tool,.te-select select{min-width:2.75rem;height:2.75rem}.te__stats span:last-child{margin-left:0}}@media (prefers-reduced-motion:reduce){.te__formulas,.te-btn{transition:none}}#te-print{display:none}@media print{html.te-printing body>:not(#te-print){display:none!important}html.te-printing body:before{display:none}html.te-printing,html.te-printing body{background:#fff!important;height:auto!important;overflow:visible!important}html.te-printing #te-print{width:auto;box-shadow:none;background:#fff;border:0;min-height:0;margin:0;padding:0;font-size:12pt;display:block}#te-print .te-doc__body{min-height:0}#te-print :is(h1,h2,h3){break-after:avoid}#te-print :is(pre,blockquote,.te-math--block){break-inside:avoid}#te-print a{color:inherit}@page{margin:20mm}}.te-stage .te-doc--export{width:100%;min-height:0;box-shadow:none;background:#fff;border:0;margin:0;padding:0;font-size:16px}
