.ti-program-editor-controls{flex-direction:column!important;align-items:stretch!important}.ti-program-editor-controls>button{min-height:36px;white-space:normal}.ti-program-editor-controls>button[data-ti-pe-run]{background:linear-gradient(135deg,var(--lime,#b7f34d),var(--lime2,#8de62a));color:#2d3d17;font-weight:800}.ti-program-editor-tools{display:flex;gap:7px;flex-wrap:wrap;padding-top:8px}.ti-program-editor-tools button{min-width:40px!important;min-height:36px!important;padding:6px!important}
.ti-program-editor-calculator{background:#fff!important;color:#111!important;display:flex;flex-direction:column;font:16px/24px 'Times New Roman',serif}.ti-program-editor-calculator .ti-program-editor-chrome{border-bottom:3px solid #f5656b;height:28px;min-height:28px}.ti-program-editor-calculator .document-preview-tabs button[aria-current=page]{border-left:1px solid #f5656b!important;border-right:1px solid #f5656b!important}
.ti-program-editor-namebar{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;height:23px;min-height:23px;padding:0 5px 0 12px;border-bottom:1px solid #f5656b;background:#fff;font:14px/22px Arial,sans-serif;white-space:nowrap}.ti-program-editor-namebar>[data-ti-pe-name]{min-width:0;overflow:hidden;text-overflow:ellipsis}.ti-program-editor-namebar>[data-ti-pe-counter]{flex:none}
.ti-program-editor-scroll{flex:1;min-height:0;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#aaa #eee;background:#fff;color:#111;padding:0 2px;overscroll-behavior:contain}.ti-program-editor-declaration{min-height:25px;margin:0;padding:0;font:16px/25px 'Times New Roman',serif;white-space:pre;overflow-x:auto;scrollbar-width:thin;background:#fff;color:#111;user-select:none;cursor:default}
.ti-program-editor-source-host{position:relative;min-height:40px;width:100%;font:16px/24px 'Times New Roman',serif;background:#fff;color:#111}.ti-program-editor-source-host [data-ti-pe-highlight],.ti-program-editor-source-host [data-ti-pe-source]{position:absolute;box-sizing:border-box;inset:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:0 0 16px;border:0;border-radius:0;outline:0;resize:none;white-space:pre;overflow-wrap:normal;tab-size:2;font:16px/24px 'Times New Roman',serif;text-align:left;letter-spacing:0;box-shadow:none;word-spacing:0}
.ti-program-editor-source-host [data-ti-pe-highlight]{z-index:0;overflow:hidden;pointer-events:none;background:#fff;color:#111;user-select:none}.ti-program-editor-source-host [data-ti-pe-source]{z-index:1;background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:#111!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.ti-program-editor-source-host [data-ti-pe-source]::selection{background:#8ac8ff80;color:transparent}.ti-pe-source-line{display:block;min-height:24px;line-height:24px}.ti-pe-source-error{background:#ff00001a}.ti-pe-source-warning{background:#fbbf2426}
.ti-program-editor-calculator .ti-pe-keyword{color:#0000ff}.ti-program-editor-calculator .ti-pe-string{color:#008000}.ti-program-editor-calculator .ti-pe-comment{color:#20801c;font-style:italic}.ti-program-editor-calculator .ti-pe-invalid-string,.ti-program-editor-calculator .ti-pe-operator{color:#ff0000}.ti-program-editor-calculator .ti-pe-identifier,.ti-program-editor-calculator .ti-pe-number,.ti-program-editor-calculator .ti-pe-plain,.ti-program-editor-calculator .ti-pe-clrio{color:#111}
.ti-program-editor-report{display:flex;flex-direction:column!important;gap:9px!important;align-items:stretch!important}.ti-program-editor-report>[data-ti-pe-status]{margin:0;line-height:1.6;font:12px/1.6 Arial,sans-serif;color:#b8cde8;overflow-wrap:anywhere}.ti-program-editor-report>[data-ti-pe-status].ti-pe-status-error{color:#ffb6be}.ti-program-editor-report>[data-ti-pe-diagnostics]{display:grid;gap:7px;max-height:310px;overflow:auto;scrollbar-width:thin}.ti-program-editor-report .ti-pe-diagnostic{padding:8px 10px;white-space:normal;text-align:left;overflow-wrap:anywhere;font:12px/1.5 Arial,sans-serif}.ti-program-editor-report .ti-pe-diagnostic[data-severity=ERROR]{border:1px solid #8f3548;background:#421d29;color:#ffbec8}.ti-program-editor-report .ti-pe-diagnostic[data-severity=WARNING]{border:1px solid #81642a;background:#3b321e;color:#ffe0a3}.ti-program-editor-hint{font:12px/1.6 Arial,sans-serif}
.ti-program-editor-source-host.ti-math-source-active{height:auto!important}.ti-program-editor-source-host>.ti-math-source-view{position:relative;inset:auto;min-height:24px;height:auto;overflow:visible;padding:0 0 16px;background:#fff;color:#111;font:16px/24px 'Times New Roman',serif}.ti-program-editor-source-host>.ti-math-source-view[hidden]{display:none}.ti-program-editor-source-host .ti-math-source-header,.ti-program-editor-source-host .ti-math-source-gutter{display:none}.ti-program-editor-source-host .ti-math-source-row{display:block;min-height:24px;margin:0;padding:0;border:0;background:#fff;cursor:text}.ti-program-editor-source-host .ti-math-source-row:hover,.ti-program-editor-source-host .ti-math-source-row:focus-visible,.ti-program-editor-source-host .ti-math-source-row.editing{background:#fff}.ti-program-editor-source-host .ti-math-source-formula{min-height:24px;white-space:pre;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.ti-program-editor-source-host .ti-math-source-formula code{font:16px/24px 'Times New Roman',serif;color:#111;white-space:pre}.ti-program-editor-source-host .ti-math-source-formula math{font:16px 'Cambria Math','Times New Roman',serif;color:#111;margin:0;padding:0;overflow:visible;max-width:none}.ti-program-editor-source-host .ti-math-source-formula .ti-pe-math-string{color:#008000}.ti-program-editor-source-host .ti-math-source-formula .ti-pe-math-operator{color:#f00}.ti-program-editor-source-host .ti-math-source-input{box-sizing:border-box;min-height:24px;margin:0;padding:0;border:0;border-radius:0;resize:none;overflow-y:hidden;background:#fff;color:#111;caret-color:#111;font:16px/24px 'Times New Roman',serif;box-shadow:none;outline:0;white-space:pre}.ti-program-editor-source-host .ti-pe-math-row-error{background:#ff00001a!important}.ti-program-editor-source-host .ti-pe-math-row-warning{background:#fbbf2426!important}.ti-program-editor-controls [data-ti-pe-math-view][aria-pressed=true]::after{content:' ✓';font-weight:900;color:#94d72a}
[data-theme=light] .ti-program-editor-report>[data-ti-pe-status]{color:#45607b}[data-theme=light] .ti-program-editor-report>[data-ti-pe-status].ti-pe-status-error{color:#a31d36}[data-theme=light] .ti-program-editor-report .ti-pe-diagnostic[data-severity=ERROR]{background:#fff0f2;color:#971b31;border-color:#e9a9b3}[data-theme=light] .ti-program-editor-report .ti-pe-diagnostic[data-severity=WARNING]{background:#fff8df;color:#74500b;border-color:#dbc77f}
.preview-window.preview-window-expanded .ti-program-editor-calculator .ti-program-editor-scroll{height:calc(100% - 23px)}
