@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap";:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--paper: #f7f8f5;--surface: #ffffff;--ink: #24362f;--muted: #627066;--line: #e1e6df;--brand: #23745c;--brand-dark: #18533f;--accent: #23745c;--accent-soft: #e7f1e9;--danger: #ac3d36;--radius: 14px;--mono: "IBM Plex Mono", Consolas, monospace;--sidebar-width: 228px;color-scheme:light;--surface-soft: #fcfdfb;--surface-muted: #f3f6ee;--surface-hover: #f0f4ef;--surface-glass: #ffffffed;--button-text: #ffffff;--line-strong: #cfd8cf;--border-hover: #a3bda6;--focus: #4d9d7f;--focus-ring: #23745c18;--danger-bg: #fdf0ee;--danger-line: #f2d5cf;--true-ink: #397043;--true-bg: #e7f2e4;--false-ink: #88663b;--false-bg: #f8efdf;--tooltip-bg: #294b35;--tooltip-ink: #ffffff;--backdrop: #182f2240;--modal-backdrop: #1b322360;--shadow: #294b3510}:root[data-theme=dark]{color-scheme:dark;--paper: #141c19;--surface: #1b2521;--surface-soft: #18221d;--surface-muted: #222f27;--surface-hover: #2b3b32;--surface-glass: #1b2521ed;--ink: #e3eee7;--muted: #adbdb2;--line: #35473c;--line-strong: #5f7b69;--border-hover: #759783;--brand: #85cdb0;--brand-dark: #a1dfc5;--accent: #85cdb0;--accent-soft: #233d31;--button-text: #10271f;--focus: #a1dfc5;--focus-ring: #85cdb030;--danger: #ffaaa0;--danger-bg: #3b2524;--danger-line: #75443e;--true-ink: #b5ddb3;--true-bg: #28402b;--false-ink: #ebc58c;--false-bg: #403322;--tooltip-bg: #d5e9dc;--tooltip-ink: #18221d;--backdrop: #00000080;--modal-backdrop: #000000b3;--shadow: #00000040}*{margin:0;padding:0;box-sizing:border-box}html{scroll-padding-top:24px}body{background:var(--paper);color:var(--ink);font-size:14px;line-height:1.5}html,body,#root{min-height:100%;width:100%}a{color:inherit;text-decoration:none}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3{font-family:inherit;font-weight:650;line-height:1.3}h1{font-size:clamp(26px,2.5vw,32px);letter-spacing:-.8px}h2{font-size:20px;letter-spacing:-.6px}h3{font-size:16px;letter-spacing:-.25px}p{line-height:1.7}button,input,textarea,select{font:inherit}button,.button-link{min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:8px;background:var(--brand);color:var(--button-text);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.4;transition:background .16s,border-color .16s,box-shadow .16s}button:hover,.button-link:hover{background:var(--brand-dark)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input,textarea,select{width:100%;min-height:46px;padding:11px 13px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--danger)}input[type=search]::-webkit-search-cancel-button{display:none}textarea{resize:none;min-height:115px}label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}code{font-family:var(--mono);background:var(--surface-muted);border-radius:4px;padding:2px 5px;font-size:.9em;overflow-wrap:anywhere}.button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.button-secondary:hover{background:var(--surface-hover);border-color:var(--border-hover)}.button-small{min-height:36px;padding:7px 11px;font-size:12px}.button-icon{padding:8px;min-height:40px;width:40px;background:transparent;color:var(--muted)}.button-icon:hover{background:var(--surface-hover)}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;align-items:center}.button-row .button-primary{flex:1}.app-shell{min-height:100vh;padding-left:var(--sidebar-width)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:var(--sidebar-width);background:var(--surface-soft);border-right:1px solid var(--line);padding:30px 16px 18px;display:flex;flex-direction:column;overflow-y:auto}.brand{display:block;margin:0 12px 42px;font-family:inherit;font-size:20px;font-weight:800;letter-spacing:-.6px}.navbar-links{list-style:none;display:grid;gap:5px;margin-top:12px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:45px;font-size:13px;font-weight:500;color:var(--muted);border-radius:7px;transition:background .15s,color .15s}.nav-link:hover{background:var(--surface-hover);color:var(--brand)}.nav-link.active{color:var(--brand);background:var(--accent-soft);font-weight:650}.sidebar-bottom{margin-top:auto;padding-top:35px}.language-select,.theme-select{margin:0 12px 16px}.language-select select,.theme-select select{min-width:0;padding:9px}.calculator-link{margin:0}.calculator-link>svg:last-child{margin-left:auto}.topbar{height:72px;background:var(--surface-soft);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;padding:0 38px;display:none;align-items:center;justify-content:space-between;gap:16px}.navbar-toggle,.mobile-brand,.navigation-backdrop{display:none}.app-main{width:100%;padding:24px 24px 0;margin:0;--workspace-height: calc(100dvh - 108px) ;min-height:100vh;display:flex;flex-direction:column}.app-main:focus{outline:none}.page-heading{margin-bottom:22px}.page-heading>p{color:var(--muted);margin-top:10px;max-width:690px}.landing{padding-bottom:30px}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.home-heading h1{font-size:clamp(26px,2.45vw,33px)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:19px}.search-field{display:flex;align-items:center;background:var(--surface);padding-left:12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);width:min(270px,100%)}.search-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--focus-ring)}.search-field input{border:0;box-shadow:none;outline:none;min-width:0;min-height:42px;background:transparent;font-size:12px;padding:10px}.search-field .button-icon{min-height:34px;width:34px;margin-right:3px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module-card{display:grid;grid-template-columns:22px minmax(0,1fr) 16px;align-items:start;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:22px;min-height:116px;transition:border-color .18s}.module-card:hover{border-color:var(--border-hover)}.module-icon{color:var(--muted);margin-top:2px}.module-card h2{font-size:17px;letter-spacing:-.3px}.module-card-copy{min-width:0}.module-arrow{color:var(--muted);margin-top:4px}.module-card p{color:var(--muted);font-size:13px;line-height:1.65;margin-top:6px}.search-empty,.not-found{padding:60px 20px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:12px}.search-empty h3,.not-found h1{color:var(--ink)}.tool-page{width:100%;flex:1;padding-bottom:24px;min-width:0}.workspace-grid{display:grid;grid-template-columns:minmax(280px,400px) minmax(0,1fr);gap:18px;align-items:start}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:20px;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.panel-header h2{font-size:17px;min-width:0;overflow-wrap:anywhere}.field-hint{color:var(--muted);font-size:12px;margin-top:9px;line-height:1.65}.field-group+.field-group{margin-top:21px}.latex-page{display:flex;flex-direction:column}.latex-palette{flex-shrink:0;padding:14px;margin-bottom:18px}.latex-palette-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.latex-categories{display:flex;gap:4px;flex:1;min-width:0;max-width:100%;overflow-x:auto;padding-bottom:3px}.latex-categories button{white-space:nowrap;background:transparent;border-color:transparent}.latex-categories .is-active,.library-saved-filter.is-active{background:var(--accent-soft);border-color:var(--border-hover);color:var(--brand)}.latex-symbol-search{width:220px;flex-shrink:0}.latex-symbol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;max-height:210px;overflow-y:auto;padding:2px}.latex-symbol{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:65px;padding:6px;background:var(--surface-soft);border-color:var(--line);color:var(--ink)}.latex-symbol:hover{color:var(--brand);background:var(--accent-soft);border-color:var(--border-hover)}.latex-symbol>span{font-family:"Cambria Math","STIX Two Math",serif;font-size:24px;line-height:1.2}.latex-symbol small{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.latex-workspace{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;flex:1;min-height:430px}.latex-source-panel,.latex-preview-panel{display:flex;flex-direction:column}.latex-workspace .panel-header{min-height:36px}.latex-mobile-tabs{display:none}.latex-source-toolbar,.latex-preview-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;min-height:38px}.latex-source-toolbar select,.latex-preview-toolbar select{min-height:38px;font-size:12px}.latex-source-toolbar select{flex:1;width:0}.latex-history{display:flex;flex-shrink:0;gap:2px}.latex-history .button-icon{width:34px;min-height:36px}textarea.latex-source{flex:1;min-height:260px;resize:vertical;line-height:1.85;-moz-tab-size:2;tab-size:2;border-color:var(--line);background:var(--surface-soft);padding:16px}.latex-editor-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin-top:10px;font-size:10px;color:var(--muted)}.latex-help{margin-top:12px;color:var(--muted);font-size:11px}.latex-help summary{cursor:pointer;width:fit-content}.latex-export-row{margin-top:14px}.latex-preview-toolbar select:first-of-type{flex:1}.latex-preview-toolbar select:last-of-type{width:88px}.latex-preview{display:grid;align-content:center;flex:1;min-height:260px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);padding:18px;overflow:hidden}.latex-preview .table-wrap{margin:0;border:0;background:transparent}.latex-rendered{text-align:center;font-size:20px}.latex-rendered svg{max-width:none}.latex-preview .empty-state{min-height:0;align-items:center}.latex-preview [role=status]{color:var(--muted);font-size:12px;text-align:center}.latex-live-dot{width:7px;height:7px;border-radius:50%;background:var(--brand)}.latex-completions{display:flex;flex-wrap:wrap;gap:4px;padding:6px 0}.latex-completions button{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;min-height:32px;background:var(--surface);color:var(--ink);border-color:var(--line);font-size:11px}.latex-completions .is-active{background:var(--accent-soft);border-color:var(--brand);color:var(--brand)}@media (max-width: 900px){.latex-page{display:block}.latex-workspace{grid-template-columns:minmax(0,1fr);min-height:0}.latex-mobile-tabs{display:flex;gap:6px;position:sticky;top:64px;z-index:10;background:var(--paper);padding:8px 0;margin-bottom:8px}.latex-mobile-tabs button{flex:1}.latex-mobile-tabs [aria-pressed=true]{background:var(--accent-soft);color:var(--brand);border-color:var(--border-hover)}.latex-workspace[data-mobile-pane=source] .latex-preview-panel,.latex-workspace[data-mobile-pane=preview] .latex-source-panel{display:none}textarea.latex-source{min-height:240px}.latex-preview{min-height:220px}.latex-palette-heading{flex-direction:column;align-items:stretch}.latex-symbol-search{width:100%}}@media (max-width: 520px){.latex-palette{padding:10px}.latex-symbol-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));max-height:210px}.latex-symbol{min-height:60px}.latex-source-toolbar{flex-wrap:wrap}.latex-source-toolbar select{min-width:110px}.latex-source-toolbar select,.latex-preview-toolbar select{font-size:16px}}.math-input{font-family:var(--mono);font-size:14px}.molecule-intro{margin:-10px 0 24px;color:var(--muted);font-size:14px;line-height:1.7}.molecule-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.9fr);align-items:start;gap:22px}.molecule-editor-panel .panel-header,.molecule-transfer .panel-header{flex-wrap:wrap}.molecule-actions{display:flex;flex-wrap:wrap;gap:8px}.molecule-inspector-fields,.molecule-transfer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.molecule-palette{display:flex;flex-wrap:wrap;gap:6px;margin:22px 0 16px}.molecule-palette button{min-width:44px;width:44px;padding:0;font-family:var(--mono);font-size:15px}.molecule-tools,.molecule-tool-options,.molecule-view-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.molecule-tools{justify-content:space-between;margin-bottom:14px}.molecule-bond-picker{display:flex;align-items:center;gap:8px}.molecule-bond-picker label{font-size:12px;margin:0}.molecule-bond-picker select{width:auto;max-width:170px}.molecule-palette .is-active,.molecule-tool-options .is-active{background:var(--accent-soft);border-color:var(--brand);color:var(--brand)}.molecule-view-controls{justify-content:flex-end;margin-bottom:10px}.molecule-view-controls>span{font-size:11px;color:var(--muted);margin-right:auto}.molecule-canvas-wrap{position:relative;height:max(440px,calc(100dvh - 400px));border:1px solid var(--line-strong);border-radius:8px;overflow:hidden;background-color:var(--surface-soft);background-image:radial-gradient(var(--line-strong) .65px,transparent .65px);background-size:24px 24px}.molecule-canvas{display:block;width:100%;height:100%;touch-action:none;-webkit-user-select:none;user-select:none}.molecule-canvas[data-tool=draw]{cursor:crosshair}.molecule-canvas[data-tool=move]{cursor:grab}.molecule-canvas[data-tool=erase]{cursor:pointer}.molecule-atom,.molecule-bond{cursor:pointer;outline-offset:5px}.molecule-atom:focus-visible,.molecule-bond:focus-visible,.molecule-canvas:focus-visible{outline:2px solid var(--focus)}.molecule-atom-bg{fill:var(--surface-soft);stroke:transparent;stroke-width:1.5}.molecule-atom-label{fill:var(--atom-ink);font-size:18px;font-family:var(--sans);font-weight:650;pointer-events:none}.molecule-atom-number{fill:var(--muted);font-size:10px;pointer-events:none}.molecule-atom.is-selected .molecule-atom-bg{fill:var(--accent-soft);stroke:var(--brand)}.molecule-atom.has-issue .molecule-atom-bg{stroke:var(--danger)}.molecule-bond-line{stroke:var(--ink);stroke-linecap:round;pointer-events:none}.molecule-bond.is-selected .molecule-bond-line,.molecule-bond:hover .molecule-bond-line{stroke:var(--brand)}:root[data-theme=dark] .molecule-atom-label{filter:brightness(1.5)}.molecule-canvas-empty{position:absolute;inset:35% 16px auto;text-align:center;font-size:13px;color:var(--muted);pointer-events:none}.molecule-build-actions{margin-top:18px}.molecule-checkbox{display:flex;align-items:center;gap:8px;margin:16px 0 0;font-weight:400;font-size:12px}.molecule-checkbox input{width:18px;min-height:18px;accent-color:var(--brand)}.molecule-side{display:grid;gap:22px;min-width:0}.molecule-formula{padding:17px;background:var(--accent-soft);border-radius:6px}.molecule-formula>span{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.molecule-formula output{font-size:25px;font-family:var(--mono);color:var(--brand);overflow-wrap:anywhere}.molecule-properties{margin-top:20px}.molecule-properties>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}.molecule-properties dt{color:var(--muted)}.molecule-properties dd{font-weight:600;font-variant-numeric:tabular-nums}.molecule-inspector h2{margin-bottom:18px;font-size:17px}.molecule-inspector-fields{margin-top:17px}.molecule-inspector-fields label{font-size:12px}.molecule-connect{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.molecule-connect summary{font-size:13px;cursor:pointer}.molecule-connect button{margin-top:14px}.molecule-valence-issues{margin-top:18px;padding:12px;background:var(--danger-bg);border:1px solid var(--danger-line);border-radius:6px;color:var(--danger);font-size:12px;line-height:1.7}.molecule-valence-issues ul{padding-left:18px;margin-top:8px}.molecule-transfer,.molecule-composition,.molecule-method{margin-top:22px}.molecule-transfer-grid textarea{min-height:100px;margin-bottom:12px;resize:vertical}.molecule-transfer-grid .panel-header{margin-bottom:9px}.molecule-transfer-grid .panel-header label{margin:0}.molecule-smiles-output{display:block;border:1px solid var(--line);border-radius:6px;padding:14px;min-height:100px;font-family:var(--mono);font-size:13px;overflow-wrap:anywhere;line-height:1.7}.molecule-composition h2{font-size:17px;margin-bottom:18px}.molecule-method summary{font-size:14px;font-weight:600;cursor:pointer}.molecule-method p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:15px}@media (max-width: 1100px){.molecule-workspace{grid-template-columns:minmax(0,1fr)}.molecule-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}@media (max-width: 600px){.molecule-side,.molecule-transfer-grid{grid-template-columns:minmax(0,1fr)}.molecule-canvas-wrap{height:360px}}.finance-intro{margin:-10px 0 22px;color:var(--muted);font-size:14px;line-height:1.7}.finance-tabs{flex-wrap:wrap}.finance-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:25px 0 20px}.finance-heading h2{font-size:22px}.finance-currency{min-width:105px}.finance-currency label{font-size:12px}.finance-workspace{grid-template-columns:minmax(280px,400px) minmax(0,1fr)}.finance-inputs .panel-header{flex-wrap:wrap}.finance-assumptions{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.finance-assumptions summary{cursor:pointer;color:var(--ink);font-size:13px;font-weight:650;line-height:1.7}.finance-assumptions summary span{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.finance-assumptions[open]>div{padding-top:16px}textarea.finance-cashflows{min-height:220px;resize:vertical;line-height:1.75}.finance-primary{font-size:clamp(24px,3vw,36px);overflow-wrap:anywhere}.finance-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:21px;gap:20px 16px}.finance-metrics dt,.finance-readout dt{color:var(--muted);font-size:12px;line-height:1.55}.finance-metrics dd{margin:5px 0 0;font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.finance-note{padding:12px;margin-top:20px;border-left:3px solid var(--brand);background:var(--surface-soft);font-size:13px;line-height:1.7}.finance-chart{margin:28px 0 0;--finance-comparison: #a87236}:root[data-theme=dark] .finance-chart{--finance-comparison: #e2b26c}.finance-chart figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;font-size:13px;font-weight:650}.finance-chart figcaption span{color:var(--muted);font-size:12px;font-weight:400}.finance-chart .scientific-plot{margin-top:7px}.finance-legend{display:flex;flex-wrap:wrap;gap:9px 17px;margin:5px 0 20px}.finance-legend>span{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.finance-timeline-label{font-size:12px}.finance-chart input[type=range]{accent-color:var(--brand)}.finance-readout{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:15px;margin-top:12px}.finance-readout dd{margin:4px 0 0;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.finance-schedule,.finance-method{margin-top:22px}.finance-table-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px}.finance-table-controls label{margin:0;font-size:13px}.finance-table-controls select{width:auto}.finance-schedule td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.finance-schedule th{white-space:normal}.finance-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:12px;color:var(--muted)}.finance-pagination .button-row{margin:0}.finance-method summary{cursor:pointer;font-weight:650;font-size:14px}.finance-method p{font-size:13px;line-height:1.8;color:var(--muted);margin:17px 0}.finance-method a{display:inline-block;font-size:13px;margin-top:16px}@media (max-width: 1000px){.finance-workspace{grid-template-columns:minmax(0,1fr)}}@media (max-width: 520px){.finance-heading{align-items:flex-start;gap:12px}.finance-heading h2{font-size:19px}.finance-currency{min-width:88px}.finance-metrics{gap:16px 12px}.finance-metrics dd{font-size:16px}.finance-pagination{align-items:flex-start;flex-direction:column}}.empty-state{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:150px}.empty-state p{font-size:12px;color:var(--muted)}.result-panel{min-height:240px}.result-value{font-family:var(--mono);font-size:24px;color:var(--brand);overflow-wrap:anywhere;background:var(--accent-soft);border:1px solid var(--line);border-radius:8px;padding:19px;margin-top:10px}.result-label{color:var(--muted);font-size:12px;margin-bottom:10px}.result-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.result-stat{padding:15px;border:1px solid var(--line);background:var(--surface-muted);border-radius:8px}.result-stat span{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.result-stat strong{font-family:var(--mono);font-size:23px;font-weight:500;color:var(--brand)}.result-stat small{font-size:11px;margin-left:4px;color:var(--muted)}.result-section+.result-section{margin-top:23px}.result-section h3{font-size:13px;margin-bottom:10px}.ui-error{display:flex;align-items:flex-start;gap:9px;margin-top:17px;padding:12px;background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger-line);border-radius:8px;font-size:12px;line-height:1.6}.ui-error svg{margin-top:1px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}th{color:var(--muted);font-weight:550;background:var(--surface-muted)}thead th{font-size:10px;letter-spacing:.3px}tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}tbody tr:hover td{background:var(--surface-hover)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.table-wrap:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.table-wrap table{min-width:320px}.matrix-table td{text-align:center;font-family:var(--mono);min-width:65px}.reference-section{margin-top:28px}.reference-section>.section-heading{margin-bottom:17px}.reference-details{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-top:12px}.reference-details summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:17px 20px;font-weight:600;list-style:none}.reference-details summary::-webkit-details-marker{display:none}.reference-details summary svg{transition:transform .2s}.reference-details[open] summary svg{transform:rotate(90deg)}.reference-details>div{padding:0 20px 20px}.equations-reference-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.equations-reference-item{font-size:12px;background:var(--surface-muted);border:1px solid var(--line);border-radius:6px;padding:11px;overflow-wrap:anywhere}.equations-reference-item strong{font-family:var(--mono);color:var(--brand)}.variables-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px;margin-top:17px}.formula-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.formula-card{min-width:0;padding:17px;background:var(--surface);border:1px solid var(--line);color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;border-radius:9px;min-height:120px;font-weight:400}.formula-card:hover{background:var(--accent-soft);border-color:var(--border-hover)}.formula-card strong{font-size:12px;font-weight:600}.formula-card .formula-display{font-size:14px;width:100%;overflow-x:auto}.formula-card>span:last-child{font-size:10px;color:var(--brand);margin-top:auto}.dimension-controls{display:flex;gap:12px;align-items:flex-end;margin-bottom:23px}.dimension-controls .field-group{flex:1;margin-top:0}.dimension-times{margin-bottom:12px;color:var(--muted)}.matrix-input-scroll{overflow:auto;max-height:440px;padding:4px}.matrix-input-grid{display:grid;gap:7px;width:max-content;margin:0 auto;border-left:2px solid var(--border-hover);border-right:2px solid var(--border-hover);padding:10px;border-radius:4px}.matrix-input-grid input{width:62px;min-width:62px;height:46px;text-align:center;font-family:var(--mono);padding:5px}.chart-wrap{height:clamp(280px,42dvh,560px);position:relative;margin-top:20px}.chart-panel{margin-top:22px}.truth-table td,.truth-table th{text-align:center}.boolean-badge{padding:3px 9px;border-radius:5px;font-family:var(--mono);font-size:11px}.boolean-true{color:var(--true-ink);background:var(--true-bg)}.boolean-false{color:var(--false-ink);background:var(--false-bg)}.logic-output{display:grid;gap:22px}.periodic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:8px}.element-card{border:1px solid var(--line);background:var(--surface);padding:11px;border-radius:8px;display:flex;flex-direction:column;min-height:110px}.element-number{font-family:var(--mono);font-size:10px;color:var(--muted)}.element-symbol{font-family:Manrope,sans-serif;font-size:24px;font-weight:650;color:var(--brand);margin:3px 0}.element-name{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.element-mass{font-family:var(--mono);color:var(--muted);font-size:10px;margin-top:auto;padding-top:5px}.data-preview{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin-top:18px;overflow-wrap:anywhere;max-height:110px;overflow-y:auto}.archive-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:23px;align-items:start}.archive-nav{min-width:0;position:sticky;top:24px;display:grid;gap:3px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain}.archive-nav a{font-size:11px;color:var(--muted);padding:9px 10px;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:10px}.archive-nav a:hover{background:var(--surface-hover);color:var(--brand)}.archive-content{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.archive-content>section{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px;scroll-margin-top:24px}.archive-content h2{font-size:17px;margin-bottom:17px}.library-result-count{color:var(--muted);font-size:12px;margin-bottom:16px}.library-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.library-toolbar select{width:220px;font-size:13px;min-height:44px}.library-toolbar .search-field{order:-1;flex:1;width:auto;min-width:180px}.library-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.library-result-count{margin:0}.library-results-toolbar .button-small{min-height:32px;font-size:11px}.library-saved-filter{white-space:nowrap;font-size:12px}.library-saved-filter>span{color:var(--muted);font-variant-numeric:tabular-nums}.archive-nav a[aria-current=page]{background:var(--accent-soft);color:var(--brand);font-weight:600}.library-nav-count,.library-section-count{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.library-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.library-card-heading h3{margin-top:5px}.library-card-heading .button-icon{width:32px;min-height:32px;flex-shrink:0}.library-save.is-active{color:var(--brand);background:var(--accent-soft)}.library-save.is-active svg{fill:var(--accent-soft)}.library-edit-link{display:flex;align-items:center;gap:7px;width:fit-content;color:var(--brand);font-size:11px;padding:6px 0;margin-bottom:8px}.library-edit-link:hover{text-decoration:underline}.library-collection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.library-collection-heading h2{margin-bottom:0}.library-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;align-items:start}.library-card{min-width:0;border:1px solid var(--line);border-radius:8px;padding:17px;background:var(--surface-soft);scroll-margin-top:95px}.library-card:only-child{grid-column:1 / -1}.library-card h3{font-size:14px;line-height:1.4}.library-card-summary{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.65}.library-formula{margin:14px 0;padding:12px 10px;border-radius:6px;border:1px solid var(--line);background:var(--surface);font-size:14px}.library-formula .table-wrap{margin:0;border:0;border-radius:0;overflow-y:visible}.library-formula .copyable-latex{white-space:nowrap;max-width:none}.library-card .copy-tooltip{top:0;bottom:auto}.library-entry-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;cursor:pointer;color:var(--brand);font-size:11px;font-weight:550;list-style:none}.library-entry-details summary::-webkit-details-marker{display:none}.library-entry-details[open] summary svg{transform:rotate(90deg)}.library-entry-notes{padding-top:13px;border-top:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.library-entry-notes dt{color:var(--ink);font-weight:600;font-size:11px;margin-bottom:3px}.library-entry-notes dd{margin:0 0 13px;color:var(--muted)}.library-graph-link{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--brand);font-size:11px;font-weight:550;margin-top:10px;padding-top:12px;border-top:1px solid var(--line);width:100%}.library-graph-link:hover{color:var(--brand-dark)}.library-calculator{border-top:1px solid var(--line);margin-top:10px;padding-top:6px;font-size:12px}.library-calculator>summary{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--brand);font-weight:600;cursor:pointer;list-style:none}.library-calculator>summary::-webkit-details-marker{display:none}.library-calculator>summary svg:last-child{margin-left:auto}.library-calculator[open]>summary svg:last-child{transform:rotate(90deg)}.formula-calculator-form{min-width:0;padding-bottom:8px}.formula-calculator-form>.field-group{margin-top:15px}.formula-input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:15px;margin-top:18px}.formula-input-grid .field-hint{font-size:10px;margin-top:5px}.formula-calculator-form .button-row{gap:8px}.formula-calculator-form .button-row button{flex:1 1 auto;padding:9px 11px;font-size:11px}.formula-result{margin-top:18px;padding:13px;background:var(--accent-soft);border:1px solid var(--line);border-radius:6px}.formula-result output{display:block;font-family:var(--mono);white-space:pre-line;overflow-wrap:anywhere;color:var(--brand);margin-bottom:12px}.library-legacy-calculator{min-width:220px;max-width:400px}.library-section-note{margin-bottom:15px;font-size:12px;color:var(--muted)}.copyable-latex{min-height:auto;padding:3px 4px;background:transparent;color:inherit;font-weight:400;border-radius:4px;display:inline-block;position:relative;text-align:left}.copyable-latex:hover{background:var(--surface-hover);color:var(--brand)}.copy-tooltip{position:absolute;bottom:calc(100% + 5px);left:0;padding:4px 7px;background:var(--tooltip-bg);color:var(--tooltip-ink);border-radius:4px;font:10px system-ui,sans-serif;white-space:nowrap;z-index:2}.loading-state{display:flex;align-items:center;justify-content:center;gap:14px;min-height:400px;color:var(--muted)}.loading-spinner{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:10px;left:10px;z-index:100;transform:translateY(-150%);background:var(--brand);color:var(--button-text);padding:12px 20px;border-radius:6px}.skip-link:focus{transform:translateY(0)}@media (max-width: 1200px){.app-main{padding:24px 20px 0}.topbar{padding:0 25px}.module-grid{gap:12px}.module-card{padding:20px}.archive-layout{grid-template-columns:175px minmax(0,1fr)}}@media (max-width: 1024px){html{scroll-padding-top:90px}.archive-nav{top:88px;max-height:calc(100dvh - 110px)}.archive-content>section,.library-card{scroll-margin-top:88px}.app-shell{padding-left:0}.sidebar{top:64px;transform:translate(-100%);visibility:hidden;transition:transform .2s,visibility .2s;padding-top:22px;z-index:60}.sidebar.open{transform:translate(0);visibility:visible}.sidebar .brand{margin-bottom:25px}.topbar{display:flex;height:64px;justify-content:flex-start;padding:0 24px}.navbar-toggle{display:inline-flex}.mobile-brand{display:block;font-family:inherit;font-size:19px;font-weight:800;letter-spacing:-.7px}.navigation-backdrop{display:block;position:fixed;top:64px;right:0;bottom:0;left:0;background:var(--backdrop);border:0;border-radius:0;z-index:55}.app-main{min-height:calc(100vh - 64px);--workspace-height: calc(100dvh - 172px) }}@media (max-width: 760px){.module-grid{grid-template-columns:1fr}.workspace-grid{grid-template-columns:1fr;gap:17px}.formula-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-layout{grid-template-columns:1fr;gap:17px}.archive-nav{position:static;display:flex;overflow-x:auto;max-height:none}.archive-nav a{white-space:nowrap}}@media (max-width: 520px){input,textarea,select,.math-input,.search-field input{font-size:16px}body{font-size:13px}.app-main{padding:20px 14px 0}.topbar{padding:0 13px;gap:9px}.page-heading{margin-bottom:22px}.page-heading>p{font-size:12px}h1,.home-heading h1{font-size:27px}.home-heading,.library-toolbar{flex-direction:column;align-items:stretch;gap:12px}.library-toolbar select,.library-toolbar .search-field{width:100%;font-size:16px}.section-heading{flex-direction:column;align-items:stretch;gap:14px}.search-field{width:100%}.section-heading h2{font-size:19px}.module-grid{gap:11px}.module-card{min-height:106px;padding:18px 16px;gap:12px}.module-card h2{font-size:16px}.module-card p{font-size:12px}.workspace-grid>*{min-width:0}.panel{padding:19px}.result-panel{min-height:220px}.result-value{font-size:20px}.chart-wrap{height:270px}.formula-grid,.equations-reference-list{grid-template-columns:1fr}.reference-details summary{padding:15px}.reference-details>div{padding:0 15px 15px}th,td{padding:10px}.archive-content>section{padding:16px}.library-card-grid{grid-template-columns:1fr}.library-card{padding:15px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}.convert-unit-selectors{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:10px;align-items:end;margin-top:21px}.convert-swap{width:46px;min-height:46px;padding:8px}.convert-equivalents{margin-top:22px}.convert-number{font-family:var(--mono);overflow-wrap:anywhere}.convert-selected-row td,.convert-selected-row th{background:var(--accent-soft);color:var(--brand)}@media (max-width: 520px){.convert-unit-selectors{grid-template-columns:minmax(0,1fr)}.convert-swap{justify-self:center;transform:rotate(90deg)}}.graph-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:14px;height:max(440px,var(--workspace-height));align-items:stretch}.graph-page .page-heading{margin-bottom:16px}.graph-workspace.hide-controls{grid-template-columns:minmax(0,1fr)}.graph-workspace.hide-controls .graph-editor{display:none}.graph-editor{display:flex;flex-direction:column;min-height:0;padding:16px;min-width:0}.graph-editor .panel-header{margin-bottom:10px}.graph-function-list{display:grid;gap:12px;flex:1;min-height:0;align-content:start;overflow-y:auto;overscroll-behavior:contain;margin:17px -3px 0;padding:3px}.graph-function-row{border:1px solid var(--line);border-left:3px solid var(--function-color);border-radius:8px;background:var(--surface-soft);padding:11px;min-width:0}.graph-function-heading{display:flex;align-items:center;gap:7px;margin-bottom:8px}.graph-function-heading label{margin:0;font-family:var(--mono);font-size:13px;font-weight:500}.graph-visibility{width:28px;height:28px;min-height:28px;padding:4px;border-radius:5px;background:transparent;color:var(--function-color)}.graph-visibility:hover{background:var(--surface-hover)}.graph-remove{margin-left:auto;width:28px;min-height:28px;padding:4px;border-radius:5px}.graph-function-row .math-input{font-size:14px;padding:10px;min-height:43px}.graph-function-row.is-hidden{border-left-color:var(--line-strong);background:var(--surface-muted)}.graph-function-row.is-hidden .graph-visibility{color:var(--muted)}.graph-function-row.has-error{border-left-color:var(--danger)}.graph-function-error{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.55;color:var(--danger);margin-top:9px;overflow-wrap:anywhere}.graph-function-error svg{margin-top:2px}.graph-function-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-top:8px;font-size:10px;color:var(--muted)}.graph-function-note button{min-height:24px;padding:3px 0;background:transparent;color:var(--brand);border-radius:3px;font-size:10px;gap:4px}.graph-function-note button:hover{color:var(--brand-dark)}.graph-add-function{width:100%;margin-top:12px;min-height:40px;border:1px dashed var(--line-strong);background:var(--surface-muted);color:var(--brand);font-size:12px}.graph-add-function:hover{background:var(--surface-hover);border-color:var(--border-hover)}.graph-plot-panel{display:flex;flex-direction:column;padding:12px;min-width:0;min-height:0}.graph-utility-buttons{display:flex;flex-shrink:0;gap:3px;margin-left:auto}.graph-utility-buttons .button-icon{width:36px;min-height:36px;border-radius:6px}.graph-utility-buttons .is-selected{background:var(--surface-hover);color:var(--brand)}.graph-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;flex-shrink:0}.graph-stage{width:100%;flex:1;height:auto;min-height:0;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--surface);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.graph-stage.is-dragging{cursor:grabbing}.graph-stage:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.function-plot{display:block;width:100%;height:100%;pointer-events:none}.graph-zoom-controls{position:absolute;right:12px;top:12px;display:flex;flex-direction:column;border:1px solid var(--line-strong);box-shadow:0 2px 7px var(--shadow);border-radius:8px;overflow:hidden;cursor:default}.graph-zoom-controls button{width:40px;min-height:40px;padding:8px;border:0;border-radius:0;background:var(--surface-glass);color:var(--brand)}.graph-zoom-controls button+button{border-top:1px solid var(--line)}.graph-zoom-controls button:hover{background:var(--surface-hover)}.graph-zoom-controls button:focus-visible{outline-offset:-3px}.graph-empty-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(320px,calc(100% - 100px));display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;pointer-events:none;padding:20px;background:var(--surface-glass);border:1px solid var(--line);border-radius:12px}.graph-empty-overlay h3{font-size:14px}.graph-empty-overlay button{pointer-events:auto}.graph-interaction-help{color:var(--muted);font-size:11px}.graph-readout{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;gap:5px 15px;padding:13px 3px;min-height:44px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}.graph-readout-x{font-family:var(--mono);color:var(--ink)}.graph-readout-value{display:inline-flex;gap:4px;align-items:center;font-family:var(--mono);font-size:10px;color:var(--ink)}.graph-readout-value>span{height:2px;width:12px;margin-right:3px}.graph-readout-value sub{margin-left:-3px;align-self:flex-end;font-size:8px}.graph-notice{font-size:11px;padding:9px 11px;background:var(--accent-soft);border-radius:6px;margin-top:10px;color:var(--brand)}.graph-mobile-editor-link,.graph-mobile-view-link{display:none}.graph-plot-panel.is-expanded{position:fixed;top:14px;right:14px;bottom:14px;left:14px;z-index:100;display:flex;flex-direction:column;background:var(--surface);box-shadow:0 0 0 100vmax var(--modal-backdrop);border-color:var(--border-hover)}.graph-plot-panel.is-expanded .graph-stage{flex:1;height:auto}.graph-plot-panel.is-expanded .graph-readout,.graph-plot-panel.is-expanded .graph-toolbar{flex-shrink:0}.graph-plot-panel.is-expanded .graph-mobile-editor-link{display:none}@media (max-width: 1200px){.graph-workspace{grid-template-columns:260px minmax(0,1fr);gap:17px}.graph-editor,.graph-plot-panel{padding:18px}}@media (max-width: 760px){.graph-workspace{display:flex;flex-direction:column;gap:14px;height:auto}.graph-toggle-functions{display:none}.graph-workspace.hide-controls .graph-editor{display:flex}.graph-plot-panel{order:0;width:100%}.graph-editor{order:1;width:100%}.graph-stage{flex:none;height:max(340px,calc(100dvh - 280px))}.graph-function-list{flex:none;max-height:350px;grid-template-columns:repeat(2,minmax(0,1fr))}.graph-function-row .math-input{font-size:16px}.graph-mobile-editor-link{display:inline-flex;margin-left:auto}.graph-mobile-view-link{display:inline-flex;width:100%;margin-top:15px}.graph-plot-panel.is-expanded{top:8px;right:8px;bottom:8px;left:8px}}@media (max-width: 520px){.graph-function-list{grid-template-columns:1fr}.graph-editor,.graph-plot-panel{padding:16px}.graph-toolbar{gap:6px;margin-bottom:12px}.graph-toolbar .button-small{padding:7px 9px;font-size:11px}.graph-utility-buttons{gap:1px}.graph-utility-buttons .button-icon{width:31px;min-height:34px;padding:7px}.graph-empty-overlay{padding:15px;width:calc(100% - 75px)}.graph-zoom-controls{right:8px;top:8px}.graph-zoom-controls button{width:35px;min-height:38px}}.mode-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}.mode-tabs a{padding:11px 15px;border:1px solid var(--line);border-radius:7px;font-size:12px;min-height:44px;background:var(--surface)}.mode-tabs a.active{background:var(--accent-soft);border-color:var(--brand);color:var(--brand)}.exploration-title{font-size:18px;margin-bottom:20px}.exploration-workspace{grid-template-columns:minmax(280px,400px) minmax(0,1fr)}.exploration-workspace output.result-value,.exact-integer{display:block;white-space:pre-wrap}.exact-integer{max-height:340px;overflow:auto;overflow-wrap:anywhere}.exploration-moments{margin-top:18px}.exploration-moments .result-stat strong{font-size:19px;overflow-wrap:anywhere}.scientific-plot{height:clamp(260px,38dvh,460px);width:100%;min-width:0;margin:18px 0}.scientific-plot svg{display:block;overflow:hidden}.plot-tick text{fill:var(--muted);font:10px var(--mono)}.step-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:12px 0}.step-controls button{padding:8px 10px;font-size:11px}.step-readout{font-family:var(--mono);font-size:12px;overflow-wrap:anywhere;padding:10px 0}.calculation-steps{margin-top:20px}.calculation-steps>summary{min-height:44px;padding:10px 0;color:var(--brand);cursor:pointer}.calculation-steps .table-wrap{max-height:400px}.mobile-search{margin-left:auto}.quick-search-trigger{flex-shrink:0;justify-content:flex-start;margin:-18px 0 16px;padding:10px 12px;background:var(--surface);color:var(--muted);border-color:var(--line);font-size:12px;font-weight:400}.quick-search-trigger:hover{background:var(--surface-hover);color:var(--brand)}.quick-search-trigger kbd{margin-left:auto;font-size:10px;border:1px solid var(--line);border-radius:4px;padding:2px 4px;white-space:nowrap}.quick-search-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:min(650px,calc(100% - 28px));max-height:calc(100dvh - 50px);padding:0;margin:min(10dvh,80px) auto auto;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 20px 60px var(--shadow)}.quick-search-dialog::backdrop{background:var(--modal-backdrop)}.quick-search-content{padding:20px}.quick-search-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}.quick-search-header h2{font-size:18px}.quick-search-results{max-height:min(55dvh,500px);overflow-y:auto;overscroll-behavior:contain;display:grid;gap:4px;margin:12px -5px;padding:4px}.quick-search-option{width:100%;text-align:left;justify-content:space-between;background:transparent;color:var(--ink);padding:12px;font-size:13px;font-weight:400}.quick-search-option[aria-selected=true],.quick-search-option:hover{background:var(--accent-soft);color:var(--brand)}.quick-search-option>span:first-child{min-width:0}.quick-search-option strong,.quick-search-option small{display:block;overflow-wrap:anywhere}.quick-search-option small{font-size:11px;color:var(--muted);margin-top:4px}.quick-search-kind{font-size:10px;color:var(--muted);flex-shrink:0}.quick-search-hint{font-size:11px;color:var(--muted);margin-top:14px}@media (max-width: 1024px){.sidebar .brand{margin-bottom:30px}}@media (max-width: 760px){.exploration-workspace{grid-template-columns:minmax(0,1fr)}}@media (max-width: 520px){.quick-search-content{padding:15px}.quick-search-dialog{margin-top:16px}.mode-tabs a{flex:1 1 auto;text-align:center}}.explanation-details{border-top:1px solid var(--line)}.explanation-details>summary{font-size:13px;font-weight:600}.explanation-details>summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}.explanation-steps{margin:6px 0 0;padding-left:24px;font-size:12px}.explanation-steps li{padding:8px 0 12px 4px}.explanation-steps li::marker{color:var(--muted);font-variant-numeric:tabular-nums}.explanation-steps p{margin:0 0 8px;line-height:1.6}.explanation-steps code{display:block;padding:10px 12px;border-radius:6px;background:var(--surface-muted);font-family:var(--mono);font-size:12px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.explanation-count{margin-left:10px;font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap}.explanation-toolbar{display:flex;justify-content:flex-end;margin:4px 0}.explanation-badge{display:inline-block;margin-right:8px;padding:2px 6px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:10px}.explanation-steps .explanation-formula{padding:0 0 6px;background:transparent;color:var(--muted);font-size:11px}.explanation-result>code:last-child{border-left:3px solid var(--brand);color:var(--brand)}.tool-page>.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tool-guide{margin:-8px 0 18px;color:var(--muted);font-size:12px}.tool-guide summary{cursor:pointer;padding:8px 0;width:fit-content}.tool-guide>div{padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);max-width:900px}.tool-guide p+p{margin-top:8px}.tool-guide h2{font-size:12px;margin:12px 0 6px}.tool-guide ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px}.tool-guide code{display:block;padding:8px;background:var(--surface);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere}.result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.example-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}@media print{html,body,#root{background:#fff!important;color:#000!important}.sidebar,.topbar,.navigation-backdrop,.skip-link,.tool-guide,button,.search-field,.mode-tabs,.graph-toolbar,.geometry-toolbar,.geometry-canvas-footer,.molecule-tools,.molecule-palette,.molecule-transfer,.latex-palette{display:none!important}.app-main{padding:0!important;min-height:0}.workspace-grid,.finance-workspace,.molecule-workspace,.latex-workspace{display:block!important}.panel{break-inside:avoid;border:1px solid #aaa;box-shadow:none;margin-bottom:12px}.table-wrap,.matrix-input-scroll,.exact-integer{max-height:none!important;overflow:visible!important}.result-value,.explanation-steps code{color:#000!important;background:#fff!important}.graph-workspace,.graph-stage,.geometry-workspace{height:auto!important;min-height:300px}.graph-stage svg,.geometry-stage svg{max-height:70vh}a{text-decoration:none}}.tool-directory-controls{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.tool-directory-controls input{flex:1;min-width:180px}.module-entry{position:relative;min-width:0}.module-entry .module-card{height:100%;padding-right:50px}.module-bookmark{position:absolute;right:12px;top:12px}.module-bookmark[aria-pressed=true]{color:var(--brand);background:var(--accent-soft)}.matrix-paste{margin-bottom:14px;font-size:12px}.matrix-paste summary{cursor:pointer;padding:6px 0;color:var(--brand)}.matrix-paste textarea{display:block;width:100%;margin:8px 0;font-family:var(--mono)}@media print{.app-shell{padding-left:0!important}}@media print{:root{--paper: #fff;--ink: #111;--muted: #444;--brand: #111;--surface: #fff;--surface-soft: #fff;--surface-muted: #fff;--accent-soft: #fff;--line: #aaa}.panel,input,textarea,select{background:#fff!important;color:#000!important}html[data-theme=dark] canvas{background:#18231d!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}.finance-comparison{margin-top:22px}.finance-comparison details{margin-top:16px;font-size:12px}.library-export{margin-bottom:14px}.editor-mode-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin:-4px 0 20px;color:var(--muted);font-size:13px}.editor-mode-intro>span{display:inline-flex;align-items:center;gap:5px;font-size:11px}.editor-mode-intro kbd{padding:1px 5px;border:1px solid var(--line-strong);border-radius:4px;background:var(--surface);font:10px var(--mono)}.editor-file-badge{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:4px;background:var(--surface-muted);color:var(--muted);font:10px var(--mono);vertical-align:middle}.editor-saved:before{content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:var(--brand);vertical-align:middle}.latex-editing-tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.latex-editing-tools button[aria-expanded=true]{background:var(--accent-soft);color:var(--brand);border-color:var(--border-hover)}.latex-inline-tool{margin-bottom:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.latex-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.latex-inline-heading h3{font-size:12px}.latex-inline-heading .button-icon,.latex-find .button-icon{width:28px;min-height:32px;padding:0;flex-shrink:0}.latex-find-row{display:flex;align-items:center;gap:5px}.latex-find-row+.latex-find-row{margin-top:8px}.latex-find-row input{flex:1;width:0;min-width:0;min-height:34px;padding:6px 8px;font-size:12px}.latex-find-row .button-small{min-height:34px;padding:5px 8px;white-space:nowrap}.latex-find .is-active{color:var(--brand);background:var(--accent-soft)}.latex-find .field-hint{margin:8px 0 0}.latex-matrix-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.latex-matrix-options label{margin:0;font-size:11px}.latex-matrix-options select{min-height:34px;margin-top:4px;padding:5px 8px}.latex-matrix-cells{display:grid;gap:5px;margin:12px 0}.latex-matrix-cells input{min-width:0;min-height:36px;padding:6px;text-align:center;font-size:12px}.latex-code-editor{display:flex;position:relative;flex:1;height:360px;min-height:300px;max-height:600px;overflow:hidden;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface-soft)}.latex-code-editor:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-ring)}.latex-code-editor,.latex-code-editor textarea,.latex-highlight{font-family:var(--mono);font-size:13px;line-height:1.9;letter-spacing:normal;-moz-tab-size:2;tab-size:2}.latex-line-numbers{flex:0 0 43px;overflow:hidden;padding-top:16px;background:var(--surface-muted);color:var(--muted);text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid var(--line)}.latex-line-numbers>div>div{padding-right:10px}.latex-line-numbers .is-active{color:var(--brand);background:var(--accent-soft);font-weight:600}.latex-code-body{flex:1;position:relative;min-width:0}.latex-highlight,.latex-code-editor textarea.latex-source{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;margin:0;padding:16px 14px;border:0;border-radius:0;white-space:pre;overflow:auto;overflow-wrap:normal}.latex-highlight{color:var(--ink);pointer-events:none;scrollbar-width:none}.latex-highlight::-webkit-scrollbar{display:none}.latex-code-editor textarea.latex-source{resize:none;color:transparent;-webkit-text-fill-color:transparent;caret-color:var(--ink);background:transparent;box-shadow:none;outline:none}.latex-code-editor textarea.latex-source::selection{background:var(--focus-ring)}.latex-token-command{color:var(--brand);font-weight:500}.latex-token-comment{color:var(--muted);font-style:italic}.latex-token-bracket{color:var(--muted)}.latex-token-number{color:light-dark(#795b9e,#ccb1ed)}.latex-preview-panel .latex-preview{min-height:320px;border-radius:8px;background:var(--surface-soft);background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:28px 28px}.latex-preview .latex-rendered{padding:32px 20px;border-radius:6px;background:var(--surface);box-shadow:0 4px 24px var(--shadow)}.latex-preview .latex-rendered:empty{display:none}.latex-render-error{display:block;margin-top:10px;color:var(--danger);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.molecule-page .molecule-palette{gap:5px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);margin:18px 0 14px}.molecule-page .molecule-palette button{flex:1;min-width:34px;width:38px;min-height:38px;border-bottom-width:3px;border-radius:6px}.molecule-build-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;margin-bottom:4px;border-top:1px solid var(--line)}.molecule-build-toolbar .molecule-build-actions{margin:0;gap:6px;align-items:center}.molecule-build-actions select{width:auto;max-width:150px;min-height:33px;padding:5px 8px;font-size:11px}.molecule-transform-tools{display:flex;gap:4px}.molecule-transform-tools button{min-width:33px;padding:3px;font-size:20px;line-height:1}.molecule-page .molecule-canvas-wrap{height:clamp(320px,48dvh,540px);background-image:radial-gradient(var(--line-strong) .8px,transparent .8px)}.molecule-display-options{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:12px;margin-top:8px;border-top:1px solid var(--line)}.molecule-display-options .molecule-checkbox{margin:0;font-size:11px}.molecule-display-options input{width:15px;min-height:15px}.molecule-atom.is-skeletal .molecule-atom-bg{fill:transparent}.molecule-atom:hover .molecule-atom-bg,.molecule-atom.is-bond-target .molecule-atom-bg{fill:var(--accent-soft);stroke:var(--brand)}.molecule-atom.is-skeletal.is-selected .molecule-atom-bg{fill:var(--accent-soft)}.molecule-bond-ghost{pointer-events:none}.molecule-bond-ghost line{stroke:var(--brand);stroke-width:2;stroke-dasharray:5 3}.molecule-bond-ghost circle{fill:var(--accent-soft);stroke:var(--brand);stroke-width:1.5}.molecule-bond-ghost text{fill:var(--brand);font-size:18px;font-weight:600}.molecule-formula output{font-size:32px;letter-spacing:-.5px}.molecule-formula output sub{font-size:.6em}.molecule-formula>.molecule-validity{display:flex;align-items:center;gap:5px;margin:10px 0 0;color:var(--brand);font-size:10px}.molecule-formula>.molecule-validity.has-issue{color:var(--danger)}.molecule-issue-link{padding:2px 0;min-height:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;text-decoration:underline;font:inherit}.molecule-issue-link:hover{background:transparent;color:inherit;text-decoration-thickness:2px}@media (max-width: 1100px) and (min-width: 601px){.molecule-page .molecule-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 600px){.editor-mode-intro{font-size:12px;margin-bottom:16px}.editor-mode-intro>span{display:none}.latex-code-editor{min-height:270px}.latex-code-editor,.latex-code-editor textarea,.latex-highlight{font-size:16px;line-height:1.8}.latex-line-numbers{flex-basis:34px}.latex-line-numbers>div>div{padding-right:7px}.latex-highlight,.latex-code-editor textarea.latex-source{padding:16px 10px}.latex-find-row input,.latex-matrix-cells input,.latex-matrix-options select{font-size:16px}.latex-preview-panel .latex-preview{min-height:280px;padding:10px}.latex-preview .latex-rendered{padding:24px 12px}.molecule-page .molecule-palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.molecule-page .molecule-palette button{width:100%;min-height:40px}.molecule-build-toolbar{gap:10px}.molecule-build-actions select{max-width:145px;font-size:16px}.molecule-page .molecule-canvas-wrap{height:340px}.molecule-display-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.molecule-display-options .molecule-checkbox{font-size:10px}}@media (forced-colors: active){.latex-code-editor textarea.latex-source{color:CanvasText;-webkit-text-fill-color:CanvasText}.latex-highlight{visibility:hidden}}@media print{.editor-mode-intro>span,.latex-editing-tools,.latex-inline-tool,.molecule-build-toolbar,.molecule-display-options{display:none!important}.latex-highlight{display:none}.latex-code-editor textarea.latex-source{color:#000;-webkit-text-fill-color:black}.latex-preview-panel .latex-preview{background-image:none}.latex-workspace .latex-source-panel,.latex-workspace .latex-preview-panel{display:flex!important}}:root{--paper: #f5f7f5;--surface-soft: #fafbf9;--line: #e4e9e4;--line-strong: #d5ddd6;--sidebar-width: 216px;--radius: 14px}:root[data-theme=dark]{--paper: #141c19;--surface-soft: #19231e;--line: #304037;--line-strong: #496052}h1{font-size:clamp(24px,2.1vw,29px);font-weight:650;letter-spacing:-.8px}h2{font-size:17px;font-weight:600;letter-spacing:-.4px}h3{font-size:14px;font-weight:600}.app-main{padding:28px 28px 0}.panel{border-radius:var(--radius);padding:22px;box-shadow:0 2px 8px var(--shadow)}.panel-header{gap:12px}.button-secondary{background:transparent}.button-small{font-weight:500}.button-row>.button-secondary{border-color:transparent;color:var(--muted)}input,textarea,select{border-color:var(--line-strong);border-radius:8px}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px var(--focus-ring)}.tool-page>.page-heading{margin-bottom:22px;min-height:36px}.sidebar{padding:26px 14px 18px;background:var(--paper)}.brand{margin:0 12px 27px;font-size:19px}.navbar-links{gap:2px;margin-top:9px}.nav-link{min-height:39px;padding:9px 12px;gap:11px;font-size:12px;border-radius:8px}.nav-link.active{background:var(--accent-soft)}.nav-link>svg{width:18px;height:18px}.sidebar-bottom{padding-top:20px}.sidebar-preferences{width:100%;margin-bottom:8px}.sidebar-preferences.action-menu>.action-menu-trigger{width:100%;justify-content:flex-start;min-height:38px;padding:8px 12px;font-size:12px;color:var(--muted)}.sidebar-preferences .action-menu-content{top:auto;bottom:calc(100% + 8px);left:0;right:auto;min-width:188px;width:100%}.sidebar-preferences .language-select,.sidebar-preferences .theme-select{margin:7px 5px 12px}.sidebar-preferences label{font-size:11px;color:var(--muted)}.sidebar-preferences select{min-height:38px;font-size:12px}.quick-search-trigger{border-radius:9px;background:var(--surface)}.action-menu{position:relative;flex-shrink:0}.action-menu>.action-menu-trigger{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:7px;color:var(--muted);font-size:12px;font-weight:500;background:transparent;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.action-menu>.action-menu-trigger:hover,.action-menu[data-open=true]>.action-menu-trigger{background:var(--surface-hover);color:var(--ink)}.action-menu-compact>.action-menu-trigger{width:34px;padding:7px}.action-menu-chevron{transform:rotate(90deg);margin-left:auto;opacity:.6}.action-menu[data-open=true] .action-menu-chevron{transform:rotate(-90deg)}.action-menu-content{max-height:min(440px,calc(100dvh - 32px));overflow-y:auto;position:absolute;z-index:65;right:0;top:calc(100% + 6px);min-width:208px;max-width:min(350px,calc(100vw - 32px));padding:7px;border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:0 12px 40px var(--shadow),0 3px 12px var(--shadow)}.action-menu[data-open=false]>.action-menu-content{display:none}.action-menu-content button{display:flex;width:100%;min-height:36px;padding:8px 10px;justify-content:flex-start;gap:9px;border:0;border-radius:6px;color:var(--ink);background:transparent;font-size:12px;font-weight:400;text-align:left}.action-menu-content button:hover{background:var(--surface-hover)}.action-menu-content button:disabled{opacity:.4}.action-menu-content label{display:flex;gap:9px;align-items:center;padding:8px 10px;margin:0;color:var(--ink);font-size:12px;font-weight:400}.action-menu-content input[type=checkbox]{width:15px;min-height:15px;accent-color:var(--brand)}.action-menu-content select{min-height:36px;font-size:12px}.action-menu-separator{border:0;border-top:1px solid var(--line);margin:6px 3px}.action-menu-caption{display:block;padding:5px 10px 3px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.tool-guide.action-menu{margin:0}.tool-guide.action-menu>.action-menu-trigger{padding:6px 8px;font-size:11px;color:var(--muted)}.tool-guide.action-menu>.action-menu-content{width:min(450px,calc(100vw - 36px));max-width:none;max-height:65vh;overflow-y:auto;padding:18px;font-size:12px}.tool-guide .action-menu-chevron{display:none}.tool-guide .action-menu-content h2{font-size:11px;margin-top:14px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.compact-copy{width:34px;min-height:34px;padding:7px;border:0;color:var(--muted)}.result-actions{display:flex;align-items:center;gap:5px}.workspace-grid{gap:22px}.result-summary{gap:20px}.result-value{border-radius:10px}.mode-tabs{border-bottom:1px solid var(--line);gap:20px;margin-bottom:24px;padding:0}.mode-tabs a{padding:9px 0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:12px}.mode-tabs a.active{background:transparent;border-bottom-color:var(--brand);color:var(--brand)}.tool-directory-controls{margin:4px 0 24px;gap:10px}.module-grid{gap:16px}.module-card{border-radius:12px;padding:23px;box-shadow:0 2px 8px var(--shadow)}.module-card h2{font-size:16px}.module-card p{font-size:12px;line-height:1.65;color:var(--muted)}.module-icon{color:var(--brand)}.module-bookmark{opacity:0;width:30px;min-height:30px;padding:6px;transition:opacity .15s}.module-entry:hover .module-bookmark,.module-entry:focus-within .module-bookmark,.module-bookmark[aria-pressed=true]{opacity:1}.disclosure-panel{margin-top:22px;padding:0}.disclosure-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;font-size:13px;font-weight:500;cursor:pointer;list-style:none;color:var(--muted)}.disclosure-panel>summary::-webkit-details-marker{display:none}.disclosure-panel>summary:after{content:"+";font-size:17px;font-weight:400}.disclosure-panel[open]>summary{color:var(--ink);border-bottom:1px solid var(--line)}.disclosure-panel[open]>summary:after{content:"−"}.disclosure-content{padding:20px}.editor-mode-intro{margin:-4px 0 18px;font-size:12px}@media (max-width: 1024px){.app-main{padding:20px 20px 0}.sidebar{padding-top:20px;background:var(--surface)}.sidebar-preferences .action-menu-content{background:var(--surface)}}@media (max-width: 600px){.app-main{padding:18px 14px 0}.panel{padding:17px;border-radius:12px}.disclosure-panel{padding:0}.disclosure-content{padding:16px}.tool-page>.page-heading{gap:8px;margin-bottom:18px}.tool-guide.action-menu>.action-menu-trigger>span{display:none}.tool-guide.action-menu>.action-menu-trigger{width:32px;padding:6px}.mode-tabs{gap:15px;overflow-x:auto;flex-wrap:nowrap}.mode-tabs a{white-space:nowrap;font-size:11px}.module-bookmark{opacity:1}}@media print{.action-menu{display:none!important}}.graph-workspace{grid-template-columns:260px minmax(0,1fr);gap:18px}.graph-editor{padding:18px 15px;box-shadow:none}.graph-function-list{gap:10px;margin-top:10px}.graph-function-row{border:0;border-left:3px solid var(--function-color);border-radius:4px;padding:8px 8px 10px;background:transparent}.graph-function-row .math-input{background:var(--surface-soft);border-color:var(--line);font-size:13px}.graph-add-function{border:0;background:var(--surface-soft);min-height:38px}.graph-plot-panel{padding:12px;box-shadow:none}.graph-toolbar{gap:7px;margin-bottom:12px}.graph-toolbar>.button-secondary{border-color:transparent}.graph-utility-buttons{align-items:center;gap:3px}.graph-stage{border-color:var(--line)}.graph-readout{min-height:34px}.latex-palette.disclosure-panel{padding:0;margin:0 0 18px}.latex-palette-heading{display:block;margin-bottom:12px}.latex-symbol-search{width:auto}.latex-symbol-grid{max-height:min(300px,40dvh);grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}.latex-insert-help{margin:14px 0 0;font-size:11px}.latex-palette .latex-inline-tool{margin:0;padding:0;border:0;background:transparent}.latex-symbol{border-color:transparent;background:var(--surface-soft)}.latex-source-toolbar{gap:4px}.latex-source-toolbar>select{margin:0 7px;background:var(--surface-soft);border-color:transparent}.latex-source-toolbar>.button-icon{width:34px;min-height:34px}.latex-preview-panel .latex-preview{background-image:none;border:1px solid var(--line)}.latex-preview .latex-rendered{box-shadow:none;background:transparent}.latex-preview-toolbar select{border-color:transparent;background:var(--surface-soft)}.latex-editor-meta{font-size:10px}.molecule-editor-panel>.panel-header{margin-bottom:18px}.molecule-actions{align-items:center;gap:3px}.molecule-actions>.button-icon{width:32px;min-height:32px}.molecule-atom-picker label{font-size:11px;color:var(--muted)}.molecule-tools{gap:14px;align-items:flex-end;margin-bottom:12px}.molecule-atom-picker,.molecule-bond-picker{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:1;min-width:100px}.molecule-atom-picker label,.molecule-bond-picker label{margin:0;font-size:10px;color:var(--muted)}.molecule-atom-picker select,.molecule-bond-picker select{width:100%;max-width:none;min-height:35px;padding:6px 8px;font-size:11px}.molecule-tool-options{gap:1px;padding:3px;border-radius:8px;background:var(--surface-soft)}.molecule-tool-options>button{min-height:31px;padding:5px 9px;border:0;border-radius:5px;background:transparent;font-size:11px}.molecule-tool-options>button.is-active{background:var(--surface);box-shadow:0 1px 4px var(--shadow)}.molecule-build-toolbar{justify-content:flex-start;gap:8px;padding:7px 0;margin-bottom:5px;border:0}.molecule-build-toolbar>.action-menu:last-child{margin-left:auto}.molecule-build-toolbar>.action-menu:first-child .action-menu-content{left:0;right:auto}.molecule-page .molecule-canvas-wrap{height:clamp(340px,52dvh,600px);border-color:var(--line);background-size:22px 22px}.molecule-side{gap:18px}.molecule-properties{margin-top:17px}.molecule-properties>div{padding:8px 0;font-size:11px}.molecule-formula{border-radius:9px}.equation-formulas .section-heading{justify-content:flex-end;margin-bottom:16px}.equation-formulas .search-field{width:100%}.equation-formulas .formula-card{box-shadow:none;background:var(--surface-soft);border-color:transparent}.equations-reference-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.equations-reference-groups h3{margin-bottom:12px;font-size:13px}.library-card-tools{display:flex;align-items:flex-start;gap:8px;margin-top:12px;border-top:1px solid var(--line);padding-top:6px}.library-card-tools>.library-calculator{flex:1;min-width:0;margin:0;padding:0;border:0}.library-card-tools>.action-menu{margin:3px 0 0 auto}.library-card-tools>.action-menu>.action-menu-trigger{min-height:38px;width:38px}.library-card-tools .action-menu-content>a{display:flex;gap:9px;align-items:center;margin:0;padding:10px;min-height:40px;width:100%;border-radius:6px;font-size:12px;font-weight:400;color:var(--ink)}.library-card-tools .action-menu-content>a:hover{background:var(--surface-hover)}@media (max-width: 1100px){.graph-workspace{grid-template-columns:230px minmax(0,1fr)}.molecule-workspace{grid-template-columns:minmax(0,1.5fr) minmax(230px,.9fr);gap:18px}}@media (max-width: 800px){.graph-workspace{grid-template-columns:minmax(0,1fr);height:auto}.graph-workspace .graph-editor{max-height:340px}.molecule-workspace{grid-template-columns:minmax(0,1fr)}.molecule-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 600px){.library-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.library-toolbar .search-field{grid-column:1 / -1;min-width:0}.library-toolbar>select{min-width:0;width:100%}.library-saved-filter{min-height:44px;padding:9px 12px}.library-saved-filter .library-saved-label{display:none}.equations-reference-groups{grid-template-columns:minmax(0,1fr)}.library-card-tools .action-menu-content>a{min-height:44px;font-size:14px}.editor-mode-intro>span{display:none}.molecule-tools{gap:10px}.molecule-tool-options{order:3}.molecule-atom-picker,.molecule-bond-picker{min-width:80px}.molecule-build-toolbar{gap:2px}.molecule-build-toolbar>.action-menu>.action-menu-trigger{padding:7px 6px;gap:4px;font-size:11px}.molecule-build-toolbar .action-menu-chevron{display:none}.molecule-side,.latex-palette-heading{grid-template-columns:minmax(0,1fr)}.graph-toolbar{gap:2px}.graph-utility-buttons .action-menu>.action-menu-trigger{padding:7px}}.latex-command-bar{position:relative;display:flex;align-items:center;gap:12px;margin-bottom:18px}.latex-command-bar>.latex-palette{flex:0 0 auto;min-width:0;margin:0;border:0;background:transparent;box-shadow:none}.latex-command-bar>.latex-palette>summary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;gap:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px}.latex-command-bar>.latex-palette>summary:after{display:none}.latex-command-bar>.latex-palette[open]>summary{color:var(--brand);background:var(--accent-soft);border-color:var(--border-hover)}.latex-command-bar>.latex-palette>.disclosure-content{position:absolute;z-index:45;top:calc(100% + 8px);left:0;width:min(600px,100%);max-height:min(560px,calc(100dvh - 150px));overflow-y:auto;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 12px 40px var(--shadow)}.latex-command-bar>.action-menu{margin:0 0 0 auto}@media (max-width: 600px){.latex-command-bar{gap:8px}.latex-command-bar>.latex-palette>summary{min-height:44px}.latex-command-bar>.action-menu>.action-menu-trigger{width:34px;padding:7px}.latex-command-bar>.action-menu>.action-menu-trigger>span,.latex-command-bar>.action-menu .action-menu-chevron{display:none}}.action-menu[data-placement=above]>.action-menu-content{top:auto;bottom:calc(100% + 6px)}.action-menu-content[hidden]{display:none}.molecule-name-row{margin-bottom:20px}.molecule-name-row label{font-size:11px;color:var(--muted)}.molecule-name-row input{min-height:38px;padding:8px 10px;font-size:12px}.latex-source-toolbar .latex-history{margin-right:auto}
