:root{font-family:Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:#292c30;background:#fff;font-synthesis:none;font-size:13px;--ink: #292c30;--muted: #92969b;--accent: #343a40;--accent-soft: #f3f4f5;--border: #e9eaec;--surface: #fff;--radius: 0px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button-label{color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:5px;padding:8px 12px;cursor:pointer;transition:background-color .12s,border-color .12s;touch-action:manipulation}button:hover,.button-label:hover{background:#f5f5f6;border-color:#d5d7da}button:active:not(:disabled){background:#eceef0}button:disabled{opacity:.42;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #89939f;outline-offset:3px}input,select{min-width:0;color:var(--ink);background:#fff;border:1px solid #dfe1e4;border-radius:6px;padding:9px}input[type=checkbox],input[type=range]{accent-color:var(--accent)}input[type=checkbox]{width:17px;height:17px}input[type=range]{cursor:pointer}small{color:var(--muted);line-height:1.6}kbd{font:10px Segoe UI,sans-serif;padding:2px 4px;border:1px solid var(--border);border-radius:4px;color:var(--muted)}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-header{height:52px;flex-shrink:0;display:flex;align-items:center;gap:20px;padding:0 24px;border-bottom:1px solid var(--border);background:#fff;position:relative;z-index:25}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand strong{display:block;font-size:14px;font-weight:600;letter-spacing:.5px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:5px}.header-actions>button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:8px;border:0;background:transparent;color:#7b8087}.header-actions>button:hover{background:var(--accent-soft)}.header-actions>.search-tools{width:38px;padding:8px;margin-right:4px;border:0;color:#7b8087}.header-actions>.landscape-entry{display:none}.header-popover{position:absolute;z-index:50;top:calc(100% + 6px);right:16px;width:min(300px,calc(100vw - 24px));max-height:calc(100dvh - 75px);overflow:auto;padding:18px;background:#fff;border:1px solid var(--border);border-radius:7px;box-shadow:0 6px 22px #1f293712;line-height:1.7}.header-popover p{color:#61766c}.settings-popover{display:flex;flex-direction:column;gap:12px}.settings-popover>label{display:flex;align-items:center;gap:10px}.settings-popover select{margin-left:auto;max-width:180px}.orientation-hint{position:fixed;z-index:60;top:76px;left:12px;right:12px;padding:12px;display:flex;align-items:center;gap:10px;background:var(--accent-soft);border:1px solid var(--border);border-radius:10px}.orientation-hint button{margin-left:auto}.workspace,.workspace.panel-hidden{flex:1;min-height:0;display:grid;grid-template-columns:310px minmax(0,1fr);padding:0;gap:0;overflow:hidden}.left-panel{min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:0;border-right:1px solid var(--border)}.math-input-area{padding:20px 16px 12px;border:0;display:flex;flex-direction:column;flex-shrink:0;min-height:0;max-height:70%}.input-form{position:relative;flex-shrink:0}.input-form label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.input-row{display:flex;align-items:center;gap:8px;min-height:46px;border:1px solid #e1e3e6;border-radius:6px;background:#fff;padding:0 6px 0 12px}.input-row:focus-within{border-color:#9ca5af;box-shadow:0 0 0 2px #6b77850a}.input-prefix{font:italic 23px Georgia,serif;color:#93999f;padding-right:3px;border:0}.input-row input{width:100%;flex:1;border:0;background:transparent;outline:none;padding:12px 0;font:16px "Cambria Math",Georgia,serif}.input-row input::placeholder{font:13px Segoe UI,Microsoft YaHei,sans-serif;color:#a1a5ab}.input-clear{border:0;padding:5px;display:grid;place-items:center;background:transparent}.add-function,.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.add-function:hover,.primary:hover{background:#22272d;color:#fff}.add-function{position:static;display:grid;place-items:center;flex:0 0 34px;width:34px;min-height:34px;padding:0;margin:0;border:0;border-radius:4px;background:#343a40;color:#fff}.add-function:disabled{background:transparent;color:#b7bcc2;opacity:1;border:0}.cancel-edit{position:static;border:0;padding:4px;color:var(--muted);font-size:11px;background:transparent}.keyboard-toggle{display:flex;align-items:center;gap:5px;padding:6px 0;margin:0;min-height:34px;border:0;background:transparent;font-size:11px;color:#737b85}.formula-preview{min-height:36px;padding-top:10px;display:flex;align-items:center;gap:10px;overflow-x:auto;color:var(--accent)}.editing-hint{color:var(--muted);white-space:nowrap;font-size:10px;margin-left:auto}.input-error,.action-error{color:#ad403b;font-size:12px;line-height:1.6}.function-list-heading{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;padding:12px 20px 9px;border-top:1px solid var(--border)}.mobile-list-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;border:0;padding:5px 0;background:transparent}.mobile-list-toggle>span:last-child{font-size:11px;color:var(--muted)}.list-heading-title{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500;color:var(--muted)}.function-count{background:transparent;color:#a0a4aa;font:11px Segoe UI,sans-serif;padding:0}.show-all-functions{border:0;background:transparent;color:var(--accent);font-size:11px;padding:6px 0;white-space:nowrap}.function-list-heading-actions{display:flex;align-items:center;gap:12px}.clear-functions{border:0;background:transparent;color:#8a7976;font-size:11px;padding:6px 0;min-height:32px;white-space:nowrap}.clear-functions:hover:not(:disabled){color:#ad403b}.clear-functions:disabled{opacity:.4;cursor:default}.function-list-section{padding:0 10px 12px;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}.function-list-section.collapsed{display:none}.function-list{display:flex;flex-direction:column;gap:5px}.function-item{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) 28px 28px 24px;gap:7px;align-items:center;min-height:64px;padding:10px 8px;border:0;border-bottom:1px solid #f0f1f2;border-radius:0;cursor:pointer}.function-item:hover{background:#fafafb}.function-item.selected{border-color:#eef0f2;background:color-mix(in srgb,var(--function-color) 7%,white);box-shadow:inset 2px 0 var(--function-color)}.function-color{width:9px;height:9px;border-radius:50%;position:relative;overflow:hidden;justify-self:center}.function-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}.function-formula{display:block;width:100%;min-width:0;white-space:nowrap;border:0;padding:5px 0;text-align:left;background:transparent;overflow-x:auto;scrollbar-width:none}.formula-name{font:italic 20px "Cambria Math",Georgia,serif}.function-formula:hover{background:transparent}.visibility-switch{display:grid;place-items:center;width:34px;height:36px;border:0;background:transparent;padding:0;color:#a0a5ab}.visibility-switch:before{display:none}.visibility-switch span{display:none}.visibility-switch.on:before{display:none}.visibility-switch.on span{display:none}.function-delete,.function-more{width:28px;height:36px;display:grid;place-items:center;border:0;background:transparent;padding:0;color:#73847b}.function-delete:hover{color:#ad403b;background:#faeeeb}.function-menu{position:absolute;z-index:30;top:48px;right:8px;width:180px;padding:5px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 8px 30px #263d3026}.function-menu button{display:flex;align-items:center;gap:8px;width:100%;border:0;min-height:38px;text-align:left}.function-menu .danger{color:#ad403b}.function-empty{text-align:center;padding:28px 10px;color:var(--muted);line-height:1.8}.function-empty button{display:block;margin:12px auto 0}.graph-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border:0;border-radius:0;overflow:hidden}.graph-stage{position:relative;flex:1;min-height:80px;overflow:hidden;background:#fff}.graph-canvas-wrap{position:absolute;inset:0;overflow:hidden}.graph-canvas{display:block;width:100%;height:100%;touch-action:none}.view-tools{position:absolute;z-index:7;top:16px;right:16px;display:flex;flex-direction:column;padding:2px;border:1px solid #eceef0;border-radius:6px;background:#ffffffed;box-shadow:none}.view-tools button{width:32px;height:34px;padding:0;display:grid;place-items:center;border:0;background:transparent;border-radius:3px;color:#7d858e}.view-tools button:hover{background:var(--accent-soft)}.view-tools button+button{border-top:1px solid #edf1ee}.graph-legend{position:absolute;z-index:5;top:12px;left:14px;max-width:calc(100% - 80px);max-height:32%;overflow:auto;scrollbar-width:thin;display:flex;flex-direction:column;align-items:flex-start}.graph-legend>button{display:flex;align-items:baseline;gap:3px;flex-shrink:0;min-height:32px;max-width:100%;padding:3px 0;border:0;background:none;border-radius:0;font:italic 18px/1.35 Georgia,serif;white-space:nowrap;text-align:left}.graph-legend .legend-name{flex-shrink:0}.graph-legend .math-formula{font-size:18px;overflow:hidden;text-overflow:ellipsis}.graph-legend>button.selected .legend-name{text-decoration:underline;text-underline-offset:5px}.graph-legend .legend-expand{font:12px Segoe UI,sans-serif;color:var(--muted)}.curve-label-layer{position:absolute;z-index:4;inset:0;overflow:hidden;pointer-events:none}.curve-label{position:absolute;pointer-events:auto;display:block;border:0;padding:0;background:none;white-space:nowrap;font:italic 20px/28px Georgia,serif}.curve-label:hover,.curve-label.selected{background:none;text-decoration:underline;text-underline-offset:4px}.graph-settings,footer{display:none}.point-strip{display:flex;gap:6px;padding:5px 10px;max-height:40px;overflow:auto;flex-shrink:0;border-top:1px solid var(--border)}.point-strip button{white-space:nowrap;padding:3px 7px;font-size:11px}.graph-notice{display:flex;align-items:center;gap:8px;padding:6px 12px;background:var(--accent-soft);font-size:11px;color:var(--accent);flex-shrink:0}.graph-notice>span{flex:1;min-width:0}.graph-notice button{border:0;padding:5px;display:grid;place-items:center;background:transparent}.graph-feedback{padding:8px 12px;color:#ad403b;background:#fff4f0;font-size:12px;flex-shrink:0}.graph-resize-handle{display:none}.app-shell .workspace>.graph-panel:fullscreen{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;flex:none;border:0;border-radius:0;transform:none}.function-actions{flex:0 0 auto;display:flex;flex-direction:column;min-height:0;background:#fff;border-top:1px solid var(--border)}.function-actions[hidden]{display:none}.function-actions.open{height:300px;max-height:48%}.function-action-bar{display:flex;align-items:center;gap:4px;min-height:50px;height:50px;flex-shrink:0;padding:4px 12px}.function-action-bar>button{min-height:38px;min-width:54px;border-color:transparent;background:transparent;padding:7px 12px}.function-action-bar>button.active{color:#22272c;background:transparent;font-weight:600;box-shadow:inset 0 -1px #545c66}.action-target{display:flex;align-items:center;gap:6px;padding-right:12px;margin-right:6px;border-right:1px solid var(--border);font-size:11px}.action-target select{max-width:110px;border:0;background:transparent;padding:7px 0;color:inherit;font:italic 18px Georgia,serif}.function-action-bar>.action-collapse{min-width:32px;margin-left:auto;padding:6px}.action-collapse:disabled{visibility:hidden}.function-action-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:12px 18px;border-top:1px solid #edf1ee}.action-description{display:block;color:var(--muted);margin-bottom:10px;font-size:12px}.action-adjustment{display:flex;align-items:center;gap:12px;min-height:44px;max-width:680px}.action-adjustment>span{flex:0 0 70px;font-size:12px}.action-adjustment input[type=range]{flex:1;min-width:30px;padding:0}.action-adjustment input[type=number]{width:76px;flex:0 0 76px;padding:6px 8px}.action-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;max-width:740px}.action-options>button{min-height:38px;padding:8px}.action-options>button.chosen,.action-options>button[aria-pressed=true]{color:var(--accent);border-color:#6fa18a;background:var(--accent-soft)}.more-options{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:20px;max-width:980px}.more-options .action-options{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-options{grid-template-columns:repeat(3,minmax(0,1fr));max-width:660px}.tool-group>strong{display:block;font-size:12px;margin-bottom:10px}.tool-groups>small{display:block;margin-top:10px}.action-fields,.composition-controls{display:flex;flex-direction:column;gap:10px;max-width:740px}.action-fields>label,.composition-controls>label{display:flex;align-items:center;gap:12px;font-size:12px}.action-fields>label>input,.action-fields>label>select,.composition-controls>label>select{flex:1;min-width:0;padding:8px}.action-back{padding:0 0 10px;color:var(--accent);border:0;background:transparent;font-size:12px}.composition-order{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.composition-order>button{display:flex;align-items:center;gap:5px;margin-left:auto;padding:6px;font-size:11px}.composition-formula{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;font-size:18px}.composition-expanded{color:var(--muted)}.action-save{display:flex;align-items:center;gap:8px;min-height:52px;flex-shrink:0;padding:7px 16px;border-top:1px solid var(--border);background:#fff}.action-save>span{flex:1;min-width:0;font-size:11px;color:#61776a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.action-save>button{min-height:36px;white-space:nowrap;font-size:12px}.action-feedback,.action-error{margin:8px 0 0;line-height:1.7;font-size:12px}.action-feedback{color:#406b56}.action-history,.analysis-result{font-size:13px;line-height:1.7}.action-history p{margin:0 0 12px}.analysis-result p{margin:6px 0 10px}.analysis-result small{display:block;margin-top:10px}.math-formula{font:20px/1.35 "Cambria Math",Georgia,Times New Roman,serif;white-space:nowrap}.math-formula i{font-style:italic}.math-formula sup{font-size:.65em;vertical-align:super;line-height:0;margin-left:1px}.math-formula sub{font-size:.65em}.math-op{padding:0 .12em}.math-power{display:inline}.math-fraction{display:inline-flex;flex-direction:column;vertical-align:middle;align-items:center;font-size:.85em;line-height:1.2;margin:0 3px}.math-fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 3px 2px}.math-fraction>span:last-child{padding:2px 3px 0}.math-root>span{border-top:1px solid currentColor;padding:0 3px}.keyboard{display:flex;flex-direction:column;flex:1;gap:6px;margin-top:7px;min-height:0}.keyboard-top-row{display:flex;align-items:center;gap:6px;flex-shrink:0}.keyboard-tabs{display:grid;grid-template-columns:repeat(4,1fr);flex:1;min-width:0;padding:3px;background:#f5f6f7;border-radius:5px}.keyboard-tabs button{border:0;background:transparent;padding:5px 0;font-size:11px;min-height:30px}.keyboard-tabs button[aria-selected=true]{background:#fff;color:var(--accent);box-shadow:0 1px 3px #26493815}.keyboard-corner-tools button{display:flex;align-items:center;gap:2px;border:0;background:transparent;font-size:11px;padding:5px 0}.keyboard-keys{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;height:186px;min-height:0;overflow-y:auto;align-content:start;scrollbar-width:thin}.keyboard-keys button{min-height:34px;padding:4px 0;font:15px "Cambria Math",Georgia,serif}.keyboard-edit-tools{display:grid;grid-template-columns:32px 32px 1fr 1fr;gap:5px;padding-top:6px;border-top:1px solid var(--border);flex-shrink:0}.keyboard-edit-tools button{min-height:32px;padding:5px;font-size:11px;background:#f7f8f9}.keyboard-backspace{display:flex;align-items:center;justify-content:center;gap:2px}.keyboard .keyboard-add{background:var(--accent);color:#fff;border-color:var(--accent)}.modal-backdrop{position:fixed;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:16vh 14px 20px;background:#19392c45;z-index:100}.command-palette{width:min(520px,100%);max-height:70dvh;display:flex;flex-direction:column;background:#fff;padding:14px;border-radius:12px;box-shadow:0 15px 60px #132c3030}.command-palette>input{padding:14px;width:100%}.command-palette>div{overflow-y:auto;margin-top:10px}.command-palette button{display:flex;justify-content:space-between;width:100%;min-height:40px;border:0;text-align:left}.command-palette button span{color:var(--muted)}.command-palette button[aria-selected=true]{background:var(--accent-soft);color:var(--accent)}.command-palette>.command-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;overflow:visible;border-top:1px solid var(--border);padding-top:8px}.command-footer>button{width:auto;gap:8px;min-height:32px;align-items:center;font-size:11px}.command-empty{padding:20px 10px;color:var(--muted);font-size:12px;line-height:1.8}.command-palette small{padding:8px 4px 0}@media(min-width:1600px){.workspace,.workspace.panel-hidden{grid-template-columns:330px minmax(0,1fr)}}@media(max-width:1100px){.header-purpose{display:none}.workspace,.workspace.panel-hidden{grid-template-columns:290px minmax(0,1fr);gap:0;padding:0}.canvas-gesture{display:none}.function-action-bar{gap:0;padding:4px 8px}.function-action-bar>button{min-width:0;flex:1;padding:8px}.action-target{padding-right:7px;margin-right:4px}.more-options{grid-template-columns:1fr;gap:16px}.more-options .action-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1000px)and (orientation:portrait){.app-header{height:48px;padding:0 max(12px,env(safe-area-inset-left));gap:8px}.brand{gap:7px}.brand-mark{width:28px;height:32px;font-size:25px;border-radius:5px}.brand strong{font-size:15px;letter-spacing:0}.brand-subtitle{font-size:8px;letter-spacing:1px;margin-top:1px}.header-actions{gap:0}.header-actions>button{width:34px;height:40px;padding:6px}.header-actions>.search-tools{width:34px;margin:0;padding:6px;border:0}.search-tools span,.search-tools kbd{display:none}.header-actions>.landscape-entry{display:flex}.workspace,.workspace.panel-hidden{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}.workspace>.graph-panel.tools-open{height:clamp(350px,max(60svh,var(--portrait-graph-size, 60svh)),calc(100dvh - 190px))}.workspace>.graph-panel{order:0;flex:0 0 auto;height:clamp(240px,var(--portrait-graph-size, 48svh),calc(100dvh - 190px));border:0;border-radius:0}.canvas-heading{height:30px;padding:0 12px;font-size:10px}.view-tools{top:9px;right:9px;padding:2px}.view-tools button{width:34px;height:34px}.view-tools button svg{width:18px;height:18px}.tools-open .view-tools{flex-direction:row}.tools-open .view-tools button{width:30px;height:30px}.tools-open .view-tools button+button{border-top:0;border-left:1px solid var(--border)}.graph-legend{top:8px;left:12px}.graph-resize-handle{display:flex;align-items:center;justify-content:center;flex:0 0 20px;min-height:20px;touch-action:none;cursor:ns-resize;background:#fafafb;-webkit-user-select:none;user-select:none}.resize-grip{width:38px;height:4px;border-radius:4px;background:#cbd0d5}.graph-resize-handle>span:last-child{display:none}.graph-resize-handle.is-resizing{background:#dcece2}.workspace>.left-panel{order:1;flex:1;min-height:0;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}.math-input-area{padding:15px 16px 12px}.input-form label{margin-bottom:8px;font-size:13px}.input-row{min-height:46px}.add-function{position:static;display:grid;place-items:center;flex:0 0 34px;width:34px;min-height:34px;padding:0;margin:0;border:0;border-radius:4px;background:#343a40;color:#fff}.input-row{padding-right:6px}.input-clear{display:none}.input-hint{font-size:10px}.example-expressions{margin-top:8px;gap:5px}.keyboard-toggle{display:flex;align-items:center;gap:5px;padding:6px 0;margin:0;min-height:34px;border:0;background:transparent;font-size:11px;color:#737b85}.function-list-heading{padding:10px 16px 5px}.function-item{min-height:58px;padding:8px 9px 5px;grid-template-columns:16px minmax(0,1fr) 32px 32px 28px}.function-delete,.function-more{width:32px;height:40px}.function-list-section{padding:0 9px 12px}.local-note{padding:12px 18px}.function-action-bar{min-height:46px;height:46px;padding:3px 7px}.function-action-bar>button{padding:7px 5px;min-width:0;font-size:12px;min-height:40px}.action-target{gap:0;margin-right:2px;padding-right:5px}.action-target>span{display:none}.action-target select{max-width:65px;font-size:16px}.function-action-bar>.action-collapse{flex:0 0 28px;min-width:28px}.function-actions.open{height:260px;max-height:60%}.function-action-body{padding:10px 12px}.action-options{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.action-options>button{padding:7px 4px;font-size:12px;min-height:40px}.action-save{padding:6px 9px;gap:5px;min-height:48px;flex-wrap:wrap}.action-save>span{flex-basis:100%;font-size:10px}.action-save>button{flex:1;padding:7px 5px;min-height:36px;font-size:11px}.action-save>.primary{flex:1.6}.action-adjustment{gap:7px;min-height:40px}.action-adjustment>span{flex-basis:62px;font-size:11px}.action-adjustment input[type=number]{flex-basis:64px;width:64px}.math-keyboard-open .math-input-area{position:fixed;z-index:30;bottom:0;left:0;right:0;background:#fff;padding:12px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dfe2e6;border-radius:8px 8px 0 0;box-shadow:0 -5px 20px #243d3015;max-height:68dvh;display:flex;flex-direction:column}.math-keyboard-open .input-form label,.math-keyboard-open .input-hint,.math-keyboard-open .add-function{display:none}.math-keyboard-open .cancel-edit{position:static;margin-bottom:6px}.math-keyboard-open .input-row{padding-right:10px;min-height:42px}.math-keyboard-open .input-row input{padding:9px 0}.math-keyboard-open .input-clear{display:grid}.math-keyboard-open .workspace{padding-bottom:var(--math-dock-height)}.math-keyboard-open .workspace>.graph-panel{flex:1;min-height:100px;height:auto}.math-keyboard-open .left-panel{display:contents}.math-keyboard-open .function-list-heading,.math-keyboard-open .function-list-section,.math-keyboard-open .local-note{display:none}.math-keyboard-open .keyboard-keys{height:min(186px,calc(65dvh - 192px))}.math-keyboard-open .graph-resize-handle{display:none}}@media(max-height:600px)and (orientation:landscape){.app-header{height:44px;padding:0 max(12px,env(safe-area-inset-left))}.brand-mark{width:26px;height:28px;font-size:24px}.brand strong{font-size:14px}.brand-subtitle,.header-purpose,.search-tools span,.search-tools kbd{display:none}.header-actions>.search-tools{margin:0;border:0;width:34px}.header-actions>button{height:34px;width:34px}.workspace,.workspace.panel-hidden{grid-template-columns:258px minmax(0,1fr);padding:7px;gap:7px}.math-input-area{padding:12px 10px}.input-form label{margin-bottom:7px}.input-row{min-height:40px}.input-row input{padding:9px 0}.example-expressions{margin-top:8px}.input-hint{font-size:10px}.add-function{position:static;display:grid;place-items:center;flex:0 0 34px;width:34px;min-height:34px;padding:0;margin:0;border:0;border-radius:4px;background:#343a40;color:#fff}.keyboard-toggle{display:flex;align-items:center;gap:5px;padding:6px 0;margin:0;min-height:34px;border:0;background:transparent;font-size:11px;color:#737b85}.function-list-heading{padding:10px 10px 5px}.function-item{min-height:58px;grid-template-columns:12px minmax(0,1fr) 24px 24px 22px;gap:2px;padding:7px 5px}.function-delete,.function-more{width:24px}.function-detail{font-size:9px}.function-detail button{font-size:10px}.canvas-heading{height:28px;padding:0 10px;font-size:10px}.view-tools{top:7px;right:7px}.view-tools button{width:29px;height:29px}.view-tools button svg{width:17px;height:17px}.graph-legend{top:6px;left:10px}.graph-legend>button{min-height:26px;padding:1px 0}.function-action-bar{min-height:42px;height:42px;padding:2px 5px}.function-action-bar>button{min-height:36px;padding:6px 4px;font-size:12px}.action-target>span{display:none}.action-target{margin-right:3px;padding-right:5px}.action-target select{max-width:60px;font-size:16px}.function-actions.open{height:188px;max-height:62%}.function-action-body{padding:7px 10px}.action-description{font-size:11px;margin-bottom:4px}.action-save{min-height:42px;padding:4px 7px;gap:4px}.action-save button{min-height:32px;padding:5px 7px;font-size:11px}.action-adjustment{min-height:36px}.action-options{gap:5px}.more-options{grid-template-columns:1fr;gap:16px}.more-options .action-options{grid-template-columns:repeat(3,minmax(0,1fr))}.composition-controls{gap:6px}.composition-controls small{display:none}.math-keyboard-open .math-input-area{display:flex;flex-direction:column;height:100%;padding:8px;border:0}.math-keyboard-open .function-list-heading,.math-keyboard-open .function-list-section,.math-keyboard-open .local-note,.math-keyboard-open .input-hint,.math-keyboard-open .input-form label,.math-keyboard-open .add-function{display:none}.math-keyboard-open .keyboard{flex:1;min-height:0;margin-top:5px;gap:4px}.math-keyboard-open .keyboard-keys{flex:1;height:auto;min-height:0}.math-keyboard-open .keyboard-keys button{min-height:30px;font-size:14px}.math-keyboard-open .keyboard-edit-tools{gap:3px;padding-top:4px}.math-keyboard-open .keyboard-edit-tools button{min-height:30px;font-size:10px}.keyboard-backspace svg{display:none}.keyboard-tabs button{min-height:26px;font-size:10px}.keyboard-corner-tools button{font-size:10px}}@media(max-width:360px)and (orientation:portrait){.header-actions>button,.header-actions>.search-tools{width:30px}.brand-mark{display:none}.action-target select{max-width:50px}.function-action-bar>button{padding:6px 3px}.input-row input::placeholder{font-size:11px}}.manual-landscape{position:fixed;inset:0 auto auto 0;z-index:1000;width:100dvh;height:100dvw;transform:translate(100dvw) rotate(90deg);transform-origin:top left}.manual-landscape .app-header{height:44px;padding:0 10px;flex:0 0 44px}.manual-landscape .header-purpose,.manual-landscape .brand-subtitle{display:none}.manual-landscape .brand strong{font-size:14px}.manual-landscape .brand-mark{width:26px;height:28px;font-size:24px}.manual-landscape .header-actions>.landscape-entry{display:flex}.manual-landscape .workspace{display:grid;grid-template-columns:minmax(230px,31%) minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:6px;gap:6px}.manual-landscape .workspace>.left-panel{order:0;display:flex;min-height:0;border:1px solid var(--border);border-radius:8px}.manual-landscape .workspace>.graph-panel{order:1;height:auto;border:1px solid var(--border);border-radius:8px;min-height:0}.manual-landscape .graph-stage{min-height:60px}.manual-landscape .graph-resize-handle{display:none}.manual-landscape .math-input-area{position:static;padding:10px;border:0;border-bottom:1px solid var(--border);box-shadow:none;border-radius:0;max-height:none}.manual-landscape .input-row{padding-right:10px}.manual-landscape .add-function{position:static;width:100%;margin-top:8px}.manual-landscape .keyboard-toggle{margin-top:0}.manual-landscape .function-list-heading{padding:10px}.manual-landscape .function-item{grid-template-columns:12px minmax(0,1fr) 24px 24px 22px;padding:6px;gap:2px}.manual-landscape .function-delete,.manual-landscape .function-more{width:24px}.manual-landscape .function-actions.open{height:190px;max-height:62%}.manual-landscape .function-action-bar{height:42px;min-height:42px}.manual-landscape .canvas-heading{height:28px}.manual-landscape .view-tools{top:6px}.manual-landscape .view-tools button{width:30px;height:30px}.manual-landscape .orientation-hint{position:absolute;top:50px}.manual-landscape.math-keyboard-open .workspace{padding-bottom:6px}.manual-landscape.math-keyboard-open .math-input-area{height:100%;display:flex;flex-direction:column;padding:8px}.manual-landscape.math-keyboard-open .keyboard{flex:1;min-height:0}.manual-landscape.math-keyboard-open .keyboard-keys{flex:1;height:auto;min-height:0;max-height:none}.manual-landscape.math-keyboard-open .keyboard-keys button{min-height:30px;font-size:14px}.manual-landscape.math-keyboard-open .function-list-heading,.manual-landscape.math-keyboard-open .function-list-section,.manual-landscape.math-keyboard-open .local-note{display:none}.manual-landscape .more-options{grid-template-columns:1fr}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.graph-legend[hidden]{display:none}.composer-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;color:#626b75;font-size:11px}.composer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;flex-shrink:0}.composer-submit{display:flex;align-items:center;justify-content:center;gap:5px;min-width:74px;min-height:34px;padding:6px 12px;background:#343a40;color:#fff;border:0;font-size:12px}.composer-submit:hover{background:#22272d;color:#fff}.composer-submit:disabled{background:#f0f2f4;color:#a0a6ad;opacity:1}.function-edit{display:grid;place-items:center;width:28px;height:36px;padding:0;border:0;background:transparent;color:#89929c}.function-item.selected .function-edit{color:#5c6875}.graph-selection{position:absolute;z-index:5;top:12px;left:14px;max-width:calc(100% - 84px);padding:3px 8px;border-left:2px solid var(--function-color);background:#ffffffed;pointer-events:none}.graph-selection-caption{display:block;color:#89929c;font:10px/1.5 Segoe UI,Microsoft YaHei,sans-serif}.graph-selection-formula{display:block;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis;font:18px/1.5 "Cambria Math",Georgia,serif}.graph-selection-formula .math-formula{font-size:18px}.curve-label{text-shadow:0 0 3px white,0 0 5px white}@media(max-width:1000px)and (orientation:portrait){.math-input-area{max-height:none}.function-edit{width:32px;height:40px}.composer-controls{padding-top:6px}.composer-submit{min-height:36px}.math-keyboard-open .composer-controls{padding-top:5px}.keyboard-edit-tools button{min-height:36px}}@media(max-height:600px)and (orientation:landscape){.math-input-area{max-height:100%}.composer-controls{padding-top:3px}.composer-submit,.keyboard-toggle{min-height:30px}.function-edit{width:24px}}.function-visibility{width:24px;min-height:36px}.function-visibility span,.function-visibility.on span{display:block;position:static;width:12px;height:12px;border:2px solid currentColor;border-radius:50%;background:transparent}.function-visibility.on span{background:currentColor}.function-delete-direct{display:grid;place-items:center;width:28px;min-height:36px;border:0;padding:0;background:transparent;color:#9299a2}.function-delete-direct:hover:not(:disabled){color:#b94e4a;background:#fdf3f2}.function-delete-feedback{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:4px 16px 8px;font-size:11px;color:#737b84}.function-delete-feedback>span{margin-right:auto}.function-delete-feedback button{border:0;padding:4px;background:transparent;color:#546476}.function-delete-feedback>button:last-child{display:grid;place-items:center}.function-color-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;font-size:12px}.function-color-picker input{width:30px;height:25px;padding:0;border:0;background:transparent}.composition-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.composition-selectors label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#6c7681}.composition-selectors select{width:100%;min-height:34px;padding:6px;font-size:12px;color:var(--ink)}.composition-rules{font-size:11px;color:#7a838e}.composition-rules summary{cursor:pointer;padding:3px 0;color:#657482}.composition-rules p{margin:7px 0 0;line-height:1.7}@media(max-width:1000px)and (orientation:portrait){.function-delete-direct{width:32px;min-height:40px}.function-visibility{width:24px;min-height:40px}}@media(max-height:600px)and (orientation:landscape){.function-delete-direct{width:24px}.composition-selectors{gap:6px}.composition-selectors label{gap:3px;font-size:10px}.composition-selectors select{min-height:28px;padding:4px;font-size:11px}}.composition-controls{gap:8px}.composition-order{align-items:center;flex-wrap:nowrap;min-width:0}.composition-order .composition-formula{flex:1;min-width:0;margin-right:auto}.composition-order>button{flex-shrink:0;margin-left:0}@media(max-height:600px)and (orientation:landscape){.composition-controls{gap:6px}}.workspace-mode{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;min-height:54px;padding:8px 22px;border-bottom:1px solid #e7ecea;background:#fafcfb;gap:16px}.workspace-mode [role=tablist],.landscape-workspace-mode [role=tablist]{display:flex;gap:5px}.workspace-mode button{display:flex;align-items:center;gap:9px;padding:8px 17px;border:0;background:transparent;color:#81908b;border-radius:7px;font-size:12px}.workspace-mode button i{font:italic 19px Georgia,serif;width:16px;color:#a5b6ae}.workspace-mode button[aria-selected=true]{background:#e9f1ed;color:#285b47;font-weight:600}.workspace-mode button[aria-selected=true] i{color:#3b795b}.workspace-mode-hint{font-size:10px;color:#98a59e;letter-spacing:.4px}.landscape-workspace-mode{display:none}.calculus-workspace{overflow:hidden;background:#fbfcfb}.study-studio{position:relative;flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden;color:#2e4a42}.study-bar{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;min-height:78px;padding:13px 25px;background:#fff;border-bottom:1px solid #e8eeea}.study-source{min-width:0;display:flex;flex-direction:column;gap:6px;overflow:hidden}.study-source>span{font-size:10px;color:#91a298;letter-spacing:.8px}.study-source>.math-formula{font-size:21px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#486356}.study-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}.order-stepper{display:flex;align-items:center;height:36px;border:1px solid #dce6df;border-radius:7px;overflow:hidden;background:#fcfdfc}.order-stepper>button{border:0;background:transparent;padding:9px;display:flex;align-items:center;justify-content:center;border-radius:0;color:#54816a}.order-stepper label{display:flex;align-items:center;gap:3px;color:#8c9f91;font-size:11px}.order-stepper input{width:35px;text-align:center;border:0;background:transparent;padding:5px 0;color:#355c45;font-size:17px;font-variant-numeric:tabular-nums;appearance:textfield}.order-stepper input::-webkit-inner-spin-button{appearance:none}.compact-field{display:flex;align-items:center;gap:7px;color:#91a094;font-size:11px;white-space:nowrap}.compact-field input{width:65px;max-width:80px;padding:8px;border-color:#dfe8e1;color:#466250;font-size:13px;text-align:center}.study-detail-button,.bound-toggle{display:flex;align-items:center;gap:7px;min-height:36px;background:#fff;border-color:#e2e9e4;color:#7a9181;font-size:11px}.study-detail-button.active,.bound-toggle.active{background:#eaf3ec;color:#3a7353;border-color:#cfded2}.study-plot{position:relative;flex:1;min-height:100px;overflow:hidden;background:#fff}.study-legend{position:absolute;left:24px;top:18px;right:65px;display:flex;align-items:center;gap:22px;flex-wrap:wrap;pointer-events:none;font:italic 15px Georgia,serif}.study-legend>span{display:flex;align-items:center;gap:7px;background:#fffffff0;padding:4px 3px}.study-legend>span:before{content:"";display:block;width:19px;height:2px;background:currentColor}.study-legend>.dashed-legend:before{background:repeating-linear-gradient(to right,currentColor 0 4px,transparent 4px 6px)}.study-plot-tools{position:absolute;right:15px;top:18px;display:flex;flex-direction:column;gap:3px;padding:4px;border:1px solid #e7ede8;border-radius:9px;background:#ffffffed;box-shadow:0 3px 15px #314d3910}.study-plot-tools button{display:grid;place-items:center;padding:7px;border:0;background:transparent;color:#6d8376;width:31px;height:31px}.study-plot-tools button:hover,.study-plot-tools button.active{background:#eef5f0;color:#32664c}.study-gesture{position:absolute;bottom:13px;left:24px;color:#9aa99e;font-size:10px;pointer-events:none;background:#ffffffd9;padding:3px 7px;border-radius:4px}.study-error{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);max-width:85%;padding:14px 21px;border:1px solid #eddace;border-radius:8px;background:#fffaf5f5;color:#9f6a4a;line-height:1.8;font-size:12px}.study-bottom{flex-shrink:0;padding:17px 26px 14px;border-top:1px solid #e3ebe4;background:#fbfdfb}.study-readout{display:flex;align-items:center;gap:32px;min-height:62px;font-variant-numeric:tabular-nums}.study-readout>div:not(.readout-link){display:flex;flex-direction:column;gap:7px;min-width:100px;flex:1}.study-readout>div>span{font:italic 12px Georgia,Microsoft YaHei,serif;white-space:nowrap}.study-readout small{font:10px Microsoft YaHei,sans-serif;color:#99a69e;margin-left:7px}.study-readout strong{font:28px/1.1 Georgia,Microsoft YaHei,serif;font-variant-numeric:tabular-nums;letter-spacing:-.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.readout-link{display:flex;align-items:center;gap:9px;font-size:10px;color:#99aa9e;margin-left:-14px;margin-right:-14px}.error-value,.area-value{color:#718273}.error-value strong{font-size:23px}.save-layer{display:flex;align-items:center;gap:7px;background:transparent;border-color:#dce6df;color:#72917a;font-size:10px;padding:9px 12px}.study-scrubber{display:flex;align-items:center;gap:14px;margin-top:13px;min-height:32px}.study-scrubber>button{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;padding:7px;border:0;background:#36644c;color:#fff;border-radius:50%}.probe-field{display:flex;align-items:center;gap:7px;font:italic 14px Georgia,serif;color:#718a77;flex-shrink:0}.probe-field input{width:82px;font:14px Georgia,serif;padding:6px 7px;border-color:#e1e9e2;font-variant-numeric:tabular-nums}.study-scrubber>input[type=range]{flex:1;min-width:30px;padding:0;accent-color:#638b6d;height:22px}.degree-slider{display:flex;align-items:center;gap:8px;width:23%;font-size:10px;white-space:nowrap;color:#b08b6d;padding-left:16px;border-left:1px solid #e0e9e1}.degree-slider input{min-width:20px;width:100%;padding:0;accent-color:#c89973}.study-insight{color:#83998a;font-size:11px;line-height:1.75;margin:12px 0 0;min-height:20px;max-height:40px;overflow:auto}.study-scrim{position:absolute;inset:0;background:#173b2620;border:0;border-radius:0;z-index:30;cursor:default}.study-scrim:hover{background:#173b2620}.study-drawer{position:absolute;inset:0 0 0 auto;width:min(400px,94%);display:flex;flex-direction:column;background:#fff;z-index:31;box-shadow:-10px 0 35px #233d3012;border-left:1px solid #e3eae5;animation:drawer-in .17s ease-out}.study-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 23px 19px;border-bottom:1px solid #edf1ee;flex-shrink:0}.study-drawer header span{font-size:10px;color:#9bb0a0;letter-spacing:1px}.study-drawer h3{margin:7px 0 0;font-size:17px;font-weight:500;letter-spacing:.5px}.study-drawer header button{display:grid;place-items:center;padding:7px;border:0;color:#96a89b}.study-drawer-content{overflow:auto;min-height:0;padding:4px 23px 25px;overscroll-behavior:contain}.study-drawer p{font-size:11px;line-height:1.9;color:#809384;margin:18px 0}.study-drawer p.study-note{font-size:10px;color:#a2afa4;border-left:2px solid #d8e4d9;padding-left:10px}.study-drawer h4{font-size:12px;font-weight:500;color:#68876b;margin:22px 0 0}.drawer-field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7f9783;margin:18px 0}.drawer-field input{padding:10px;border-color:#dfe8e0;background:#fcfdfb}.study-check{display:flex;align-items:center;gap:8px;font-size:11px;color:#74917b;margin:15px 0}.study-check input{accent-color:#668b68}.order-list{display:flex;flex-direction:column;gap:6px}.order-list button{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;border:1px solid #e8eee8;background:#fcfdfb;padding:12px 10px;font-size:13px;color:#708d75;opacity:1}.order-list button.active{border-color:#c1d8c1;background:#eff6ef}.order-list .math-formula{white-space:nowrap;overflow:auto;font-size:15px}.order-list small{font:12px Georgia,serif;color:#9cad9f}.study-drawer table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;margin:14px 0}.study-drawer th{font-weight:400;text-align:left;color:#96a997;background:#f4f8f2;padding:10px 6px}.study-drawer td{padding:10px 6px;border-bottom:1px solid #edf2eb;color:#6d846d;overflow-wrap:anywhere}.study-drawer details{font-size:11px;margin:15px 0;color:#719275}.study-drawer summary{cursor:pointer;padding:8px 0}.study-drawer details>.math-formula{display:block;overflow:auto;font-size:16px;padding:12px 0;white-space:nowrap}.signed-area-key{display:flex;gap:18px;font-size:10px;color:#168b74}.signed-area-key span+span{color:#d4773e}.agreement-range{font:23px Georgia,serif;color:#57835e;padding:14px;border:1px solid #e0eadb;background:#f6faf1;border-radius:6px;text-align:center}@keyframes drawer-in{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}.composer-assist{position:relative;flex-shrink:0;margin-top:8px}.composer-shortcuts{display:flex;align-items:center;gap:2px;min-height:30px}.composer-shortcuts button{display:flex;align-items:center;justify-content:center;gap:3px;flex:1;border:0;background:transparent;padding:5px 2px;min-height:29px;color:#81928a;font-size:11px;border-radius:4px}.composer-shortcuts button:nth-last-child(2){border-left:1px solid #e7ece8;border-radius:0}.composer-shortcuts button:hover,.composer-shortcuts button.active{background:#edf4ee;color:#3b7254}.composer-library{position:absolute;z-index:40;top:35px;left:0;right:0;max-height:330px;overflow:auto;border:1px solid #dce7de;border-radius:8px;background:#fff;box-shadow:0 10px 30px #26463018;padding:12px}.composer-library-heading{display:flex;align-items:center;justify-content:space-between;color:#7a927e;font-size:10px;margin:0 0 8px}.composer-library-heading strong{font-weight:400}.composer-library-heading button{display:flex;padding:4px;border:0}.composer-example-list{display:grid;grid-template-columns:1fr 1fr;gap:4px}.composer-example-list>button{display:flex;flex-direction:column;align-items:start;gap:6px;padding:10px 8px;background:#f7faf6;border:1px solid #eef2eb;color:#56755b;overflow:hidden;font-size:10px;min-height:57px;text-align:left}.composer-example-list .math-formula{font-size:14px;white-space:nowrap;max-width:100%;overflow:hidden}.piecewise-builder{display:flex;flex-direction:column;gap:9px}.piecewise-builder>label:not(.piecewise-inclusive){display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#819784}.piecewise-builder input:not([type=checkbox]){width:65%;padding:7px}.piecewise-inclusive{display:flex;align-items:center;gap:6px;font-size:10px;color:#819784}.piecewise-builder>.primary{background:#3d7051;color:#fff;font-size:11px;border:0}.function-link-note{font-size:9px;color:#94aa98;padding:0 13px 7px 30px}@media(min-width:1001px){.input-row{border-radius:8px;background:#fcfdfb;border-color:#dde5df}.math-input-area{padding-top:25px}.input-row:focus-within{border-color:#a7bda9;box-shadow:0 0 0 3px #729a7510}.input-prefix{color:#99b29d}.brand strong{color:#3e5848}}@media(max-width:1000px){.workspace-mode{padding:6px 12px;min-height:45px}.workspace-mode button{padding:7px 12px;font-size:11px;gap:6px}.workspace-mode button i{font-size:17px}.workspace-mode-hint{display:none}.study-bar{min-height:63px;padding:10px 16px;gap:10px}.study-source>.math-formula{font-size:18px}.study-controls{gap:7px}.study-bottom{padding:12px 16px 10px}.study-readout{gap:20px;min-height:52px}.study-readout strong{font-size:24px}.study-readout>div:not(.readout-link){min-width:65px}.save-layer{padding:8px}.save-layer span{display:none}.study-legend{left:15px;top:13px;gap:13px;font-size:13px}.study-gesture{left:13px;font-size:9px}.study-insight{font-size:10px}.readout-link{font-size:9px;gap:4px}.study-scrubber{gap:9px;margin-top:9px}.study-readout small{font-size:8px;margin-left:4px}}@media(max-width:800px)and (orientation:portrait){.workspace>.graph-panel:not(.calculus-workspace){height:clamp(284px,calc(var(--portrait-graph-size, 48svh) + 44px),calc(100dvh - 146px))}.workspace>.graph-panel.tools-open:not(.calculus-workspace){height:clamp(394px,calc(max(60svh,var(--portrait-graph-size, 60svh)) + 44px),calc(100dvh - 146px))}.workspace>.graph-panel.calculus-workspace{height:clamp(380px,65svh,calc(100dvh - 185px));min-height:0}.study-bar{min-height:56px;padding:8px 12px;gap:6px}.study-source{max-width:33%;gap:4px}.study-source>span{font-size:8px;letter-spacing:0}.study-source>.math-formula{font-size:16px}.study-controls{gap:6px}.compact-field{gap:4px;font-size:9px}.compact-field input{width:49px;max-width:55px;padding:6px 4px;font-size:12px}.order-stepper{height:31px}.order-stepper>button{padding:7px}.order-stepper input{width:27px;font-size:15px}.order-stepper label{font-size:9px}.study-detail-button,.bound-toggle{padding:7px;min-height:31px;font-size:10px;gap:4px}.study-detail-button span{display:none}.study-plot-tools{right:8px;top:10px;padding:2px}.study-plot-tools button{width:27px;height:28px;padding:5px}.study-legend{font-size:12px;gap:9px;right:45px;left:10px;top:9px}.study-legend>span{gap:4px}.study-legend>span:before{width:12px}.study-bottom{padding:10px 12px 8px}.study-readout{gap:14px;min-height:45px}.study-readout strong{font-size:22px}.study-readout>div>span{font-size:10px}.study-readout .readout-link{margin:0 -4px;font-size:8px;gap:3px;flex-direction:column}.study-readout .readout-link svg{width:13px;height:13px}.study-scrubber{gap:7px;margin-top:8px}.probe-field{gap:5px;font-size:12px}.probe-field input{width:62px;font-size:12px;padding:6px 4px}.study-scrubber>button{width:28px;height:28px}.degree-slider{width:23%;padding-left:7px;font-size:9px;gap:3px}.study-insight{font-size:9px;line-height:1.6;margin-top:8px;max-height:30px;min-height:15px}.study-gesture{bottom:8px;left:6px;font-size:8px}.study-readout small{display:none}.math-keyboard-open .workspace>.graph-panel{height:auto;min-height:100px}.math-keyboard-open .study-bar{min-height:42px;padding:5px 10px}.math-keyboard-open .study-bottom{padding:5px 10px}.math-keyboard-open .study-readout{min-height:35px}.math-keyboard-open .study-readout strong{font-size:18px}.math-keyboard-open .study-insight,.math-keyboard-open .study-scrubber,.math-keyboard-open .study-gesture{display:none}.math-keyboard-open .study-plot{min-height:50px}.math-keyboard-open .composer-assist{display:none}}@media(max-height:600px)and (orientation:landscape){.workspace-mode{display:none}.landscape-workspace-mode{display:flex}.landscape-workspace-mode button{display:flex;align-items:center;gap:4px;border:0;background:transparent;padding:5px 8px;color:#8ca093;font-size:10px}.landscape-workspace-mode button i{font:italic 15px Georgia,serif}.landscape-workspace-mode button[aria-selected=true]{color:#3e7153;background:#edf4ed}.workspace>.graph-panel.calculus-workspace{height:100%;min-height:0}.study-bar{min-height:47px;padding:6px 15px}.study-source{gap:3px}.study-source>.math-formula{font-size:16px}.study-source>span{font-size:8px}.study-bottom{padding:7px 15px}.study-readout{min-height:37px}.study-readout strong{font-size:20px}.study-readout>div>span{font-size:10px}.study-insight{font-size:9px;min-height:14px;max-height:28px;margin-top:5px}.study-scrubber{margin-top:6px;min-height:26px}.study-scrubber>button{width:26px;height:26px}.probe-field input{padding:4px;font-size:12px}.study-legend{top:8px;font-size:12px;gap:15px}.study-plot-tools{top:8px;right:8px;padding:2px;gap:1px}.study-plot-tools button{width:26px;height:26px;padding:5px}.study-gesture{font-size:8px;bottom:6px}.composer-assist{margin-top:3px}.composer-shortcuts button{min-height:25px;padding:3px 1px;font-size:10px}.math-keyboard-open .composer-assist{display:none}.study-drawer>header{padding:14px 18px}.study-drawer h3{font-size:15px}}.manual-landscape .workspace-mode{display:none}.manual-landscape .landscape-workspace-mode{display:flex}.manual-landscape .landscape-workspace-mode button{display:flex;align-items:center;gap:3px;border:0;padding:5px 7px;font-size:10px;color:#829887}.manual-landscape .landscape-workspace-mode button i{font:italic 15px Georgia,serif}.manual-landscape .landscape-workspace-mode button[aria-selected=true]{background:#edf4ed;color:#3e7153}.manual-landscape .study-bar{min-height:47px;padding:6px 12px}.manual-landscape .study-bottom{padding:7px 12px}.manual-landscape .study-readout{min-height:36px}.manual-landscape .study-readout strong{font-size:20px}.manual-landscape .study-insight{font-size:9px;max-height:28px;margin-top:5px}.manual-landscape .study-scrubber{margin-top:6px}.graph-panel:fullscreen{height:100dvh!important;max-height:none!important}@media(prefers-reduced-motion:reduce){.study-drawer{animation:none}}.composer-shortcuts button{white-space:nowrap}.composer-shortcuts button:nth-last-child(-n+2){flex:0 0 40px}.function-link-note{grid-column:2/-1;padding:0 0 3px;font-size:9px;line-height:1.6}.readout-link{flex-direction:column;gap:5px}.readout-link b{display:flex;align-items:center;gap:8px;font:16px Georgia,serif;color:#73917c}.composer-parameters{display:flex;flex-direction:column;gap:6px;padding-top:12px;margin-top:7px;border-top:1px solid #edf1ed}.composer-parameters label{display:flex;align-items:center;gap:9px;color:#74917c;font:italic 14px Georgia,serif}.composer-parameters label>span{width:17px}.composer-parameters input[type=range]{flex:1;padding:0;height:22px;min-width:25px;accent-color:#719b79}.composer-parameters input[type=number]{width:54px;font:12px Georgia,serif;text-align:center;padding:5px;border-color:#e1e9e1}.taylor-order-comparison{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.taylor-order-comparison button{display:flex;flex-direction:column;gap:5px;border-color:#edf1e9;background:#fbfcfa;padding:9px;color:#9ca895;font-size:10px}.taylor-order-comparison button small{font:10px Georgia,serif;color:inherit}.taylor-order-comparison button.within-tolerance{color:#5a8c5b;background:#f1f7ed}.taylor-order-comparison button.active{border-color:#b7cfae;box-shadow:inset 0 0 0 1px #b7cfae}.bound-integral{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;white-space:nowrap}.integral-sign{font-size:1.65em;line-height:1}.integral-bounds{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:4px;margin-left:-3px;line-height:1}.integral-bounds sup,.integral-bounds sub{position:static;font-size:.65em;line-height:1}.study-readout small{display:inline!important}.workspace-mode-hint{display:none}.study-plot-tools{flex-direction:row;align-items:center;z-index:3}.study-view-menu{position:relative}.study-view-menu summary{list-style:none;cursor:pointer;display:grid;place-items:center;min-width:32px;min-height:32px;color:#456451;border-radius:5px}.study-view-menu summary::-webkit-details-marker{display:none}.study-view-menu[open] summary,.study-view-menu summary:hover{background:#edf4ef}.study-view-options{position:absolute;top:calc(100% + 8px);right:-4px;display:grid;grid-template-columns:repeat(2,max-content);gap:2px;padding:5px;border:1px solid #dae4dc;border-radius:10px;background:#fff;box-shadow:0 5px 20px #19372217}.study-plot-tools .study-view-options button{display:flex;width:auto;height:36px;gap:5px;align-items:center;padding:0 9px;color:#395444;font-size:12px}.study-drawer-content .degree-slider{display:flex;gap:14px;margin:0 0 16px;padding:10px 0;border:none;color:#425e4b}.study-drawer-content .degree-slider input{flex:1}.study-gesture,.readout-link{color:#526f5e}.example-group{grid-column:1 / -1;margin:9px 0 2px;font:600 12px/1.5 system-ui,sans-serif;color:#3c5849}.example-group:first-child{margin-top:0}.composer-example-list>button:focus-visible,.composer-example-list>button:hover{background:#ecf4ee;border-color:#b6cfbd}.gesture-touch{display:none}.study-drawer-content .degree-slider{width:100%}@media(pointer:coarse){.gesture-touch{display:inline}.gesture-desktop{display:none}.study-view-menu summary,.study-plot-tools>button{min-width:34px;min-height:34px}}@media(max-width:600px)and (orientation:portrait){.study-insight{font-size:11px;line-height:1.5;max-height:none;color:#526759}.study-gesture{font-size:10px}.composer-shortcuts button{font-size:12px;min-height:34px;color:#526759}.study-readout>div>span,.study-readout .readout-link{font-size:11px}}.portrait-editor-toggle{display:none}.formula-slots{display:flex;overflow-x:auto;gap:4px;padding-block:3px;flex:0 0 auto;overscroll-behavior-x:contain}.formula-slots button{white-space:nowrap;display:flex;align-items:center;gap:5px;padding:3px 6px;font-size:11px;border:1px solid #dfe2e6;border-radius:4px}.formula-slots button[aria-pressed=true]{border-color:#54899a;background:#e9f4f6}.formula-slots span{display:inline-block;max-width:13ch;overflow:hidden;text-overflow:ellipsis}@media(max-width:1000px)and (orientation:portrait){.app-shell:not(.manual-landscape) .portrait-editor-toggle{display:block;text-align:start;min-height:30px;flex-shrink:0}.app-shell:not(.manual-landscape) .editor-collapsed>:not(.portrait-editor-toggle),.math-keyboard-open .portrait-editor-toggle{display:none}.formula-slots button{min-height:28px}}.piecewise-builder .piecewise-row{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:6px;align-items:end}.piecewise-row input{width:100%}.piecewise-row button{min-height:30px}.point-observation{position:absolute;z-index:4;bottom:8px;left:8px;max-width:calc(100% - 66px);padding:6px 9px;border:1px solid #dfe2e6;border-radius:6px;background:#fffffff2;font-size:12px}.point-observation input{width:6em;margin:0 4px}.point-observation button{padding:2px 4px}.point-observation dl{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;margin:4px 0 0}.point-observation dd{margin:0}.photo-toggle{white-space:nowrap;min-height:34px;font-size:11px;padding:4px 0;border:0;background:transparent;color:inherit}.point-strip:has(details[open]){max-height:220px}.point-strip details{flex:0 0 auto}.point-strip details[open]{min-width:220px}.point-strip details label{display:flex;align-items:center;gap:6px;margin:4px 0}.point-strip details input{width:145px}.parameter-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.parameter-row>span{font-size:12px}.parameter-row>input[type=range]{flex:1 1 70px}.parameter-row>input[type=text]{width:75px;min-width:0}.parameter-row>details{flex-basis:100%}.parameter-row details input{width:90px}.value-table{flex-shrink:0;padding:5px 10px;max-height:240px;overflow:auto;border-top:1px solid var(--border);font-size:12px}.value-table label{display:inline-flex;align-items:center;gap:4px;margin:4px}.value-table textarea{max-width:220px}.value-table th,.value-table td{padding:3px 10px;text-align:right}.value-table button{padding:4px 8px}.curve-choice{position:absolute;z-index:5;left:8px;bottom:8px;display:flex;flex-wrap:wrap;gap:5px;background:#fff;padding:5px;border:1px solid var(--border)}.box-zoom-outline{position:absolute;border:1px solid #226fb3;background:#226fb322;pointer-events:none}.plane-study{display:flex;flex-direction:column;flex:1;min-height:0}.plane-study-controls{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:6px;max-height:38%;overflow:auto}.plane-study-controls label{display:inline-flex;gap:4px;align-items:center}.plane-study-controls input:not([type=range]){width:7em}.plane-study-controls p{margin:3px 0}.plane-study-canvas{flex:1;min-height:120px;position:relative}.graph-sampling-hint{position:absolute;inset:auto auto 5px 6px;background:#fffce8;color:#594b19;border-radius:3px;padding:3px 6px;pointer-events:none}.study-layer{position:absolute;inset:0}.study-plot-stacked .study-layer{bottom:50%}.study-plot-stacked .study-layer.study-secondary{top:50%;bottom:0;border-top:1px solid var(--border)}.workspace-save-warning{position:absolute;z-index:20;top:100%;right:10px;max-width:min(460px,90vw);padding:6px 8px;background:#fff7dd;border:1px solid #dfc477}.math-formula [data-formula-part]{cursor:text}.math-formula [data-formula-part]:hover,.math-formula [data-formula-part]:focus-visible{background:#e9f4f6;outline:1px solid #54899a}.limit-study{flex:1;min-height:0;overflow:auto;padding:8px}.limit-study header,.limit-controls,.limit-probe,.limit-panel-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.limit-study header{justify-content:space-between}.limit-controls,.limit-probe{margin-block:6px}.limit-controls label{display:inline-flex;align-items:center;gap:4px}.limit-controls input{width:5em}.limit-probe label{display:inline-flex;gap:4px;align-items:center}.limit-panel{border-top:1px solid var(--border);padding:3px 0;min-width:0}.limit-panel-head output{margin-inline-start:auto}.limit-chart{position:relative;height:126px}.limit-scope .math-formula{margin-inline-end:8px}.limit-trends dl{display:grid;grid-template-columns:max-content 1fr;gap:3px 8px}.limit-trends dd{margin:0}
