.equation-editor_shell__UwXy5{display:flex;flex-direction:column;gap:16px}.equation-editor_presetSection___qDoP{display:flex;flex-direction:column;gap:8px}.equation-editor_sectionLabelRow__shd3T{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.equation-editor_sectionLabel__LvZk1{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.equation-editor_charBadge__S_mKL{font-family:var(--font-mono);font-size:11.5px;color:var(--muted)}.equation-editor_charBadgeWarn__68DF1{color:var(--danger);font-weight:600}.equation-editor_presetChips__8EBY0{display:flex;flex-wrap:wrap;gap:6px}.equation-editor_presetChip__myk3O{min-height:30px;padding:4px 11px;border-radius:999px;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);font-size:12px;font-weight:600;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.equation-editor_presetChipActive__BmlDO,.equation-editor_presetChip__myk3O:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.equation-editor_paletteCard__Kj0yq{border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:10px 12px;display:flex;flex-direction:column;gap:10px}.equation-editor_paletteTabs__1s7ku{display:flex;flex-wrap:wrap;gap:4px}.equation-editor_paletteTab__2iUrX{min-height:28px;padding:4px 10px;border-radius:7px;border:1px solid transparent;background:transparent;color:var(--muted);font-size:12px;font-weight:600;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.equation-editor_paletteTab__2iUrX:hover{color:var(--text);background:var(--surface2)}.equation-editor_paletteTabActive__VTRHe{background:var(--surface);color:var(--accent);border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.equation-editor_symbolGrid__maFIm{display:flex;flex-wrap:wrap;gap:6px}.equation-editor_symbolBtn__z_q8g{min-width:38px;min-height:32px;padding:4px 9px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);font-family:var(--font-mono);font-size:12.5px;font-weight:600;transition:border-color .14s ease,background-color .14s ease,color .14s ease,transform .08s ease}.equation-editor_symbolBtn__z_q8g:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.equation-editor_symbolBtn__z_q8g:active{transform:translateY(1px)}.equation-editor_texArea__24eKt{width:100%;min-height:148px;font-family:var(--font-mono);font-size:13.5px;line-height:1.6}.equation-editor_actionRow__3SvSP{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.equation-editor_autoToggle__njmC8{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--muted);margin-left:auto;cursor:pointer}.equation-editor_previewStage__TywST{min-height:220px;padding:32px 24px;border-radius:14px;border:1px solid var(--line-strong);display:flex;justify-content:center;align-items:center;overflow-x:auto;transition:background-color .18s ease,border-color .18s ease}.equation-editor_stageLight__GFsUl{background:#ffffff}.equation-editor_stageDark__l3m_e{background:#0f172a}.equation-editor_stageTransparent__eAuqA{background-color:var(--surface);background-image:linear-gradient(45deg,var(--surface2) 25%,transparent 25%),linear-gradient(-45deg,var(--surface2) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface2) 75%),linear-gradient(-45deg,transparent 75%,var(--surface2) 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.equation-editor_previewImg__bFVZp{max-width:100%;height:auto;transform-origin:center center;transition:transform .15s ease-out}.equation-editor_emptyStage__rqU73{min-height:220px;padding:36px 20px;border-radius:14px;border:1px dashed var(--line-strong);background:var(--bg);color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:13.5px}.equation-editor_styleControls__JwF3e{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--bg)}.equation-editor_controlGroup__3C6_5{display:flex;flex-direction:column;gap:6px}.equation-editor_controlTitle__rxH1e{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.equation-editor_segRow__3QdBV{display:flex;flex-wrap:wrap;gap:4px}.equation-editor_segBtn__z6gn4{min-height:28px;padding:3px 9px;border-radius:7px;border:1px solid var(--line-strong);background:var(--surface);color:var(--muted);font-size:12px;font-weight:600;transition:border-color .14s ease,color .14s ease,background-color .14s ease}.equation-editor_segBtn__z6gn4:hover{border-color:var(--accent);color:var(--text)}.equation-editor_segBtnActive__qg5Iy{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.equation-editor_swatchRow__0Miu4{display:flex;align-items:center;gap:6px}.equation-editor_swatchBtn__Hl8Ih{width:24px;height:24px;border-radius:999px;border:2px solid var(--line-strong);padding:0;transition:transform .12s ease,border-color .12s ease}.equation-editor_swatchBtn__Hl8Ih:hover{transform:scale(1.08)}.equation-editor_swatchBtnActive__vX2L1{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.equation-editor_colorInput__yOpb0{width:28px;height:26px;padding:0!important;min-height:26px!important;border-radius:6px!important;cursor:pointer}.equation-editor_exportBar__P4dgs{display:flex;flex-wrap:wrap;gap:8px}.equation-editor_copyStrip__9dnR3{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px;border-top:1px solid var(--line)}.equation-editor_copyChip__RpqBk{min-height:30px;padding:4px 10px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);font-size:12px;font-weight:600;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.equation-editor_copyChip__RpqBk:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.equation-editor_copyChip__RpqBk:disabled{opacity:.45;cursor:not-allowed}.equation-editor_copyChipDone__Y6MS_{border-color:var(--ok);background:var(--ok-soft);color:var(--ok)}.equation-editor_historyBox__1lLZo{border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:12px 14px;display:flex;flex-direction:column;gap:8px}.equation-editor_historyList__CLdx6{display:flex;flex-wrap:wrap;gap:6px}.equation-editor_historyItem__oyWvC{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 10px;border-radius:8px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);font-family:var(--font-mono);font-size:11.5px;transition:border-color .14s ease,color .14s ease}.equation-editor_historyItem__oyWvC:hover{border-color:var(--accent);color:var(--accent)}@media (max-width:640px){.equation-editor_autoToggle__njmC8{margin-left:0;width:100%}.equation-editor_previewStage__TywST{padding:20px 14px}}