@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap";.math-editor-box{display:flex;flex-direction:column;border:1px solid #e0e0e0;border-radius:12px;background:#fff;box-shadow:0 4px 20px #0000001a;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;max-width:600px;overflow:visible}.math-editor-tab-bar{display:flex;background:#3a4a50;border-radius:12px 12px 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.math-editor-tab-bar::-webkit-scrollbar{display:none}.math-editor-tab{flex:1;min-width:48px;height:36px;display:flex;align-items:center;justify-content:center;padding:0 8px;border:none;background:transparent;cursor:pointer;font-size:13px;font-weight:500;color:#b0bec5;white-space:nowrap;transition:background .12s,color .12s}.math-editor-tab:hover{background:#ffffff14;color:#eceff1}.math-editor-tab--active{background:#fafafb;color:#0f4d5e;font-weight:600}.math-editor-tab--active:hover{background:#fafafb;color:#0f4d5e}.math-editor-symbols{position:relative;padding:6px;border-bottom:1px solid #e0e0e0;background:#fafafb;max-height:260px;overflow:visible}.math-editor-symbol-row{display:flex;flex-wrap:wrap;gap:0;padding:4px 0}.math-editor-row-separator{height:1px;background:#e8e8e8;margin:2px 0}.math-editor-symbol-btn{width:38px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:transparent;cursor:pointer;font-size:16px;padding:0;color:#0f4d5e;transition:background .1s,border-color .1s;user-select:none;-webkit-user-select:none}.math-editor-symbol-btn:hover{background:#40bfd01f;border-color:#40bfd04d}.math-editor-symbol-btn:active{background:#40bfd033}.math-editor-field-wrapper{padding:12px;background:#fff;overflow:visible}.math-editor-field{width:100%;min-height:120px;font-size:22px;border:2px solid #e0e0e0;border-radius:8px;padding:10px 12px;background:#fff;outline:none;overflow:visible;max-height:none;--hue: 188;--caret-color: #0F4D5E;--selection-background-color: rgba(64, 191, 208, .25);--selection-color: #23272E;--placeholder-color: #40BFD0;--placeholder-opacity: 1;--smart-fence-color: #40BFD0;--smart-fence-opacity: .15;--contains-highlight-background-color: transparent;--highlight-text: transparent;--text-font-family: "Plus Jakarta Sans", system-ui, sans-serif}.math-editor-field:focus-within{border-color:#40bfd0;box-shadow:0 0 0 2px #40bfd014}.math-editor-field .ML__contains-highlight{background:transparent!important;box-shadow:none!important}.math-editor-field .ML__text{background:transparent!important}.math-editor-field .ML__smart-fence__close{opacity:.15!important}.math-editor-field .ML__caret:after{width:1.5px!important;background-color:#0f4d5e!important}.math-editor-field::part(content){box-shadow:none!important}.math-editor-field .ML__frac-line{border-top-width:1.5px!important;border-color:#4a5568!important}.math-editor-field .ML__sqrt-line{border-top-color:#4a5568!important}.math-editor-field .smart-edit-highlight{background:#40bfd040!important;border-radius:3px;transition:background .2s ease-out}.math-editor-matrix-toolbar{display:flex;align-items:center;gap:2px;padding:4px 6px;background:#fff;border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 2px 8px #0000001a;position:absolute;z-index:20;font-size:12px}.math-editor-matrix-toolbar button{padding:3px 6px;border:1px solid #e0e0e0;border-radius:3px;background:#fff;cursor:pointer;font-size:11px;color:#0f4d5e;transition:background .1s;font-family:inherit;line-height:1}.math-editor-matrix-toolbar button:hover{background:#40bfd01f;border-color:#40bfd04d}.math-editor-matrix-toolbar .toolbar-separator{width:1px;height:16px;background:#e0e0e0;margin:0 2px}.math-editor-field .ML__virtual-keyboard-toggle,.math-editor-field .ML__menu-toggle{display:none!important}.math-editor-field::part(virtual-keyboard-toggle),.math-editor-field::part(menu-toggle){display:none!important}.math-editor-actions{display:flex;align-items:center;padding:10px 12px;border-top:1px solid #e0e0e0;background:#fafafb;border-radius:0 0 12px 12px;gap:8px}.math-editor-hint{font-size:11px;color:#6b7280;flex:1}.math-editor-hint kbd{display:inline-block;padding:1px 5px;font-size:10px;font-family:inherit;background:#e8e8e8;border:1px solid #d0d0d0;border-radius:3px;color:#555}.math-editor-status{font-size:12px;color:#6b7280;flex:1}.math-editor-cancel,.math-editor-insert{padding:8px 20px;border-radius:8px;cursor:pointer;font-family:inherit;font-size:13px;transition:background .12s,box-shadow .12s}.math-editor-cancel{background:#fff;color:#23272e;border:1px solid #d0d0d0;font-weight:500}.math-editor-cancel:hover{background:#f5f5f5;border-color:#bbb}.math-editor-cancel:active{background:#ebebeb}.math-editor-insert{background:#40bfd0;color:#fff;border:none;font-weight:600}.math-editor-insert:hover{background:#38abbe;box-shadow:0 2px 4px #0000001f}.math-editor-insert:active{background:#2f97a8}.math-node{display:inline-block;vertical-align:middle;cursor:pointer;padding:2px 4px;border-radius:3px;transition:background .1s}.math-node:hover{background:#40bfd014}.math-editor-matrix-dropdown{position:absolute;bottom:100%;left:0;z-index:10;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 16px #0000001f;padding:10px;margin-bottom:4px}.math-editor-matrix-label{font-size:12px;color:#6b7280;margin-bottom:6px;font-weight:500}.math-editor-matrix-type-row{display:flex;gap:4px;margin-bottom:8px}.math-editor-matrix-type-btn{padding:4px 10px;border:1px solid #d0d0d0;border-radius:4px;background:#fff;cursor:pointer;font-size:13px;font-family:inherit;color:#555;transition:background .1s,border-color .1s}.math-editor-matrix-type-btn:hover{background:#40bfd01f;border-color:#40bfd04d}.math-editor-matrix-type-btn--active{background:#40bfd0;color:#fff;border-color:#38abbe}.math-editor-matrix-type-btn--active:hover{background:#38abbe}.math-editor-matrix-grid{display:grid;grid-template-columns:repeat(6,28px);grid-template-rows:repeat(6,28px);gap:2px;width:fit-content}.math-editor-matrix-cell{width:28px;height:28px;border:1px solid #d0d0d0;border-radius:2px;background:#fff;cursor:pointer;transition:background .08s,border-color .08s}.math-editor-matrix-cell:hover{border-color:#40bfd080}.math-editor-matrix-cell--highlight{background:#40bfd033;border-color:#40bfd0}.math-editor-matrix-size{font-size:12px;color:#0f4d5e;font-weight:600;margin-top:4px;min-height:18px}@media(max-width:520px){.math-editor-box{border-radius:8px}.math-editor-symbol-btn{width:32px;height:32px;font-size:14px}.math-editor-field{min-height:80px;font-size:18px}}
