.function-graph-lab{--graph-bg:var(--ui-bg,var(--bg));--graph-panel:var(--ui-panel,var(--panel));--graph-raised:var(--ui-raised,var(--panel2));--graph-text:var(--ui-text,var(--text));--graph-muted:var(--ui-muted,var(--muted));--graph-accent:var(--ui-accent,var(--accent));--graph-ink:var(--ui-on-accent,var(--on-accent,var(--bg)));--graph-border:color-mix(in srgb,var(--graph-text) 17%,var(--graph-panel));--graph-secondary:color-mix(in srgb,var(--graph-text) 62%,var(--graph-accent));color:var(--graph-text);display:grid;gap:12px;min-width:0;width:100%;padding-bottom:20px}.function-graph-lab *{box-sizing:border-box}.function-graph-lab [hidden]{display:none!important}.function-graph-lab h1,.function-graph-lab h2,.function-graph-lab p{margin:0}.function-graph-lab h1{font-size:clamp(25px,3vw,34px);line-height:1.15;overflow-wrap:anywhere}.function-graph-lab h2{font-size:17px;line-height:1.3}.function-graph-lab p{line-height:1.5}.function-graph-heading{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.function-graph-heading>div:first-child{flex:1 1 360px;min-width:0}.function-graph-heading p{margin-top:6px;color:var(--graph-muted)}.function-graph-source{display:flex;align-items:center;flex-wrap:wrap;gap:7px;max-width:440px}.function-graph-source:empty{display:none}.function-graph-source>span,.function-graph-source>p{color:var(--graph-muted);font-size:14px;overflow-wrap:anywhere}.function-graph-source>p{flex-basis:100%}.function-graph-lab button,.function-graph-lab summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid var(--graph-border);border-radius:9px;background:var(--graph-panel);color:var(--graph-text);font:inherit;font-size:14px;font-weight:500;line-height:1.25;cursor:pointer;text-decoration:none;text-align:center;max-width:100%}.function-graph-lab button{transition:none}.function-graph-lab button>span,.function-graph-lab summary>span{min-width:0;overflow-wrap:anywhere}.function-graph-lab button>svg,.function-graph-lab summary>svg{width:20px;height:20px;flex:none}.function-graph-lab button:hover:not(:disabled),.function-graph-lab summary:hover{border-color:var(--graph-accent);background:color-mix(in srgb,var(--graph-accent) 7%,var(--graph-panel))}.function-graph-lab button:focus-visible,.function-graph-lab summary:focus-visible,.function-graph-lab input:focus-visible,.function-graph-lab select:focus-visible,.function-graph-lab textarea:focus-visible,.function-graph-board:focus-visible{outline:2px solid var(--graph-accent);outline-offset:3px}.function-graph-lab button[aria-pressed=true]{background:color-mix(in srgb,var(--graph-accent) 12%,var(--graph-panel));border-color:var(--graph-accent)}.function-graph-lab button:disabled{color:var(--graph-muted);opacity:.55;cursor:not-allowed}.function-graph-modes,.function-graph-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid var(--graph-border);border-radius:10px;background:var(--graph-panel)}.function-graph-modes button svg{color:var(--graph-accent)}.function-graph-tools{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px;min-width:0}.function-graph-tools>.function-graph-toolbar{flex:1 1 620px}.function-graph-tools>.function-graph-settings{flex:0 0 auto;padding-top:6px}.function-graph-tools>.function-graph-settings[open]{flex:1 1 100%;padding-top:0}.function-graph-history{display:flex;gap:6px;margin-left:auto}.function-graph-lab .function-graph-toolbar [aria-pressed=true]{background:color-mix(in srgb,var(--graph-accent) 12%,var(--graph-panel));border-color:var(--graph-accent)}.function-graph-settings{min-width:0}.function-graph-lab summary{list-style:none}.function-graph-lab summary::-webkit-details-marker{display:none}.function-graph-settings>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start;gap:14px;margin-top:8px;max-height:65dvh;overflow:auto;padding:12px;border:1px solid var(--graph-border);border-radius:10px;background:var(--graph-panel)}.function-graph-settings-view,.function-graph-settings-precision,.function-graph-settings-advanced{display:grid;align-content:start;gap:9px;min-width:0}.function-graph-settings h3{margin:0;font-size:15px}.function-graph-settings summary{justify-content:flex-start}.function-graph-settings .function-graph-compare{display:grid;gap:8px;min-width:0}.function-graph-settings .function-graph-compare>div{display:grid;gap:8px;padding-top:8px}.function-graph-settings-advanced>div{display:grid;gap:9px;padding-top:8px;min-width:0}.function-graph-settings-advanced [data-graph-advanced-parameters]{display:grid;gap:6px}.function-graph-settings-advanced [data-graph-advanced-parameters] input{width:130px;max-width:55%}.function-graph-settings p{color:var(--graph-muted);font-size:13px}.function-graph-settings label{flex-wrap:wrap}.function-graph-settings-actions{display:flex;flex-wrap:wrap;gap:6px}.function-graph-lab label{display:flex;align-items:center;gap:7px;min-width:0;color:var(--graph-muted);font-size:14px;line-height:1.4}.function-graph-lab input,.function-graph-lab select,.function-graph-lab textarea{color:var(--graph-text);background:var(--graph-bg);border:1px solid var(--graph-border);border-radius:7px;padding:8px;font:inherit;min-width:0;min-height:38px}.function-graph-number-field{position:relative;display:inline-grid;flex:0 1 120px;width:120px;max-width:100%;min-width:0;font-size:15px;font-variant-numeric:tabular-nums}.function-graph-lab .function-graph-number-field>input{display:block;width:100%;max-width:none;min-width:0;color:transparent;caret-color:var(--graph-text)}.function-graph-number-field>output{position:absolute;inset:0;padding:8px;display:block;align-content:center;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--graph-text);font:inherit;font-size:15px;line-height:22px}.function-graph-number-field:focus-within>input{color:var(--graph-text)}.function-graph-number-field:focus-within>output{visibility:hidden}.function-graph-lab input[type=checkbox]{accent-color:var(--graph-accent);width:18px;height:18px;min-height:0;flex:none}.function-graph-lab input[type=range]{accent-color:var(--graph-accent);padding:0;border:0;width:100%;height:38px;background:transparent}.function-graph-lab fieldset{border:1px solid var(--graph-border);border-radius:8px;padding:9px;min-width:0}.function-graph-lab legend{color:var(--graph-muted);font-size:13px;padding:0 4px}.function-graph-range{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px}.function-graph-range label{flex-direction:column;align-items:stretch}.function-graph-range input{width:100%}.function-graph-range .function-graph-number-field{width:100%;flex:none}.function-graph-serialization{flex-direction:column;align-items:stretch!important}.function-graph-serialization textarea{resize:vertical;width:100%}.function-graph-board-wrap{min-width:0;overflow:hidden;border:1px solid var(--graph-border);border-radius:12px;background:var(--graph-panel)}.function-graph-board{display:block;width:100%;aspect-ratio:9/5;min-height:260px;max-height:500px;background:var(--graph-panel);touch-action:pan-y pinch-zoom;cursor:default;overflow:hidden}.function-graph-board[data-tool=pan]{touch-action:pinch-zoom;cursor:grab}.function-graph-board[data-tool=pan]:active{cursor:grabbing}.function-graph-board[data-tool=pan] .function-graph-target{cursor:grab}.function-graph-board .function-graph-target{touch-action:pinch-zoom}.function-graph-board[data-tool=add],.function-graph-board[data-tool=trace]{cursor:crosshair}.function-graph-board-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 9px;border-top:1px solid var(--graph-border)}.function-graph-board-footer>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.function-graph-board-footer button{min-height:36px;padding:6px 10px;font-size:13px}.function-graph-board-footer [data-graph-action=zoom-in],.function-graph-board-footer [data-graph-action=zoom-out]{width:38px;min-height:38px;font-size:21px;padding:3px}.function-graph-board-footer [data-graph-zoom-label]{min-width:62px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}.function-graph-board-footer [data-graph-zoom-label]{cursor:ew-resize;user-select:none;touch-action:pan-y pinch-zoom}.function-graph-zoom-editor{display:flex;align-items:center;gap:5px}.function-graph-zoom-editor input{width:90px;min-height:38px;font-size:14px;font-variant-numeric:tabular-nums}.function-graph-onboarding{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;border-left:2px solid var(--graph-accent);background:color-mix(in srgb,var(--graph-accent) 4%,var(--graph-panel));border-radius:7px}.function-graph-onboarding>div:first-child{flex:1 1 380px;min-width:0}.function-graph-onboarding h2{font-size:16px}.function-graph-onboarding>h2{flex-basis:100%}.function-graph-onboarding p{color:var(--graph-muted);font-size:14px;margin-top:4px}.function-graph-onboarding>p{flex:1 1 380px;min-width:0}.function-graph-onboarding>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.function-graph-coordinate-results{display:grid;gap:8px;min-width:0}.function-graph-coordinate-results p{font-size:14px;color:var(--graph-muted);overflow-wrap:anywhere}.function-graph-param-description{grid-column:1/-1;color:var(--graph-muted);font-size:13px}.function-graph-board-hint{padding:0 10px 8px;color:var(--graph-muted);font-size:13px}.function-graph-legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;padding:8px 10px;font-size:13px;color:var(--graph-muted)}.function-graph-legend>span{display:inline-flex;align-items:center;gap:7px}.function-graph-legend i{display:block;width:24px;flex:none;border-top:3px solid var(--graph-accent)}.function-graph-legend .function-graph-legend-item--comparison i{border-color:var(--graph-secondary);border-top-style:dashed}.function-graph-legend .function-graph-legend-item--variant i{border-color:var(--graph-muted);border-top-style:dotted}.function-graph-reset-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid var(--graph-border);border-radius:9px;background:var(--graph-panel);font-size:14px}.function-graph-reset-confirm>p{flex:1 1 240px}.function-graph-grid-line{stroke:color-mix(in srgb,var(--graph-text) 9%,transparent);stroke-width:1;fill:none;pointer-events:none}.function-graph-axis{stroke:var(--graph-muted);stroke-width:1.5;fill:none;pointer-events:none}.function-graph-axis-label{fill:var(--graph-muted);font-size:14px;font-family:inherit;pointer-events:none}.function-graph-axis-name{fill:var(--graph-text);font-size:17px;font-family:inherit;font-weight:600;pointer-events:none}.function-graph-label,.function-graph-point-label{fill:var(--graph-text);font:15px Arial,sans-serif;paint-order:stroke;stroke:var(--graph-panel);stroke-width:4px;stroke-linejoin:round;pointer-events:none}.function-graph-curve{fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.function-graph-curve--primary{stroke:var(--graph-accent)}.function-graph-curve--comparison{stroke:var(--graph-secondary);stroke-dasharray:9 5}.function-graph-curve--variant{stroke:color-mix(in srgb,var(--graph-muted) 65%,transparent);stroke-width:1.5;stroke-dasharray:4 6}.function-graph-symmetry{stroke:color-mix(in srgb,var(--graph-accent) 55%,var(--graph-muted));stroke-width:1;stroke-dasharray:6 6;fill:none;pointer-events:none}.function-graph-intercept,.function-graph-zero{fill:var(--graph-panel);stroke:var(--graph-accent);stroke-width:1.7}.function-graph-intersection{fill:var(--graph-secondary);stroke:var(--graph-panel);stroke-width:1.5}.function-graph-intersection-label{fill:var(--graph-secondary);font:14px Arial,sans-serif;paint-order:stroke;stroke:var(--graph-panel);stroke-width:4px;pointer-events:none}.function-graph-target{cursor:move;outline:none}.function-graph-hit-area{fill:transparent;stroke:none}.function-graph-handle{fill:var(--graph-accent);stroke:var(--graph-panel);stroke-width:2}.function-graph-target[data-graph-point] .function-graph-handle{fill:var(--graph-text);stroke:var(--graph-panel)}.function-graph-target.is-selected .function-graph-handle{fill:var(--graph-accent);stroke:var(--graph-text)}.function-graph-target:hover .function-graph-handle,.function-graph-target:focus-visible .function-graph-handle{stroke:var(--graph-text);stroke-width:3}.function-graph-target:focus-visible .function-graph-hit-area{stroke:var(--graph-accent);stroke-width:1.5;stroke-dasharray:3 2}.function-graph-trace-guide{stroke:var(--graph-muted);fill:none;stroke-width:1;stroke-dasharray:3 4;pointer-events:none}.function-graph-trace-target .function-graph-handle{fill:var(--graph-panel);stroke:var(--graph-accent);stroke-width:2.5}.function-graph-segment{fill:none;stroke:color-mix(in srgb,var(--graph-accent) 65%,var(--graph-muted));stroke-width:1.5;pointer-events:none}.function-graph-measurement{fill:none;stroke:var(--graph-secondary);stroke-width:1.7;stroke-dasharray:5 4;pointer-events:none}.function-graph-midpoint{fill:var(--graph-panel);stroke:var(--graph-secondary);stroke-width:1.7;pointer-events:none}.function-graph-quadrant{fill:color-mix(in srgb,var(--graph-muted) 70%,var(--graph-panel));font:16px Arial,sans-serif;pointer-events:none}.function-graph-target.is-emphasized .function-graph-handle{stroke:var(--graph-text);stroke-width:3}.function-graph-label.is-emphasized{font-weight:600}.function-graph-status{color:var(--graph-text);font-size:14px;overflow-wrap:anywhere}.function-graph-status:empty{display:none}.function-graph-feature-target{cursor:pointer;touch-action:manipulation;outline:none}.function-graph-feature-marker{fill:var(--graph-panel);stroke:var(--graph-accent);stroke-width:1.8}.function-graph-feature-target:is(.is-selected,:focus-visible) .function-graph-feature-marker{stroke:var(--graph-text);stroke-width:3}.function-graph-feature-target:focus-visible{outline:none}.function-graph-feature-details{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;border:1px solid var(--graph-border);border-radius:9px;padding:10px 12px;background:var(--graph-panel);min-width:0}.function-graph-feature-details strong,.function-graph-feature-details span{overflow-wrap:anywhere;min-width:0}.function-graph-feature-details>button{margin-left:auto;min-height:36px;font-size:13px;padding:6px 9px}.function-graph-controls{display:grid;gap:12px;min-width:0}.function-graph-parameter-group,.function-graph-point-controls{border:1px solid var(--graph-border);border-radius:10px;background:var(--graph-panel);padding:11px;display:grid;gap:8px}.function-graph-parameter-group>header{display:flex;align-items:center;flex-wrap:wrap;gap:9px;justify-content:space-between}.function-graph-parameter-group--comparison{border-left:3px solid var(--graph-secondary)}.function-graph-parameter{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);align-items:center;gap:12px}.function-graph-parameter>label:first-child{display:grid;grid-template-columns:minmax(115px,auto) minmax(70px,1fr)}.function-graph-parameter>label:last-child{font-size:12px;justify-content:space-between}.function-graph-parameter>label:last-child input{width:120px;font-size:15px;font-variant-numeric:tabular-nums}.function-graph-parameter small{grid-column:1/-1;color:var(--graph-muted);font-size:12px;overflow-wrap:anywhere}.function-graph-parameter input:disabled{opacity:.45}.function-graph-point-controls>div,.function-graph-variant-controls,.function-graph-points{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.function-graph-point-controls input{width:110px}.function-graph-variant-controls{justify-content:space-between}.function-graph-empty{color:var(--graph-muted);padding:10px 0}.function-graph-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px;align-items:start}.function-graph-results:empty{display:none}.function-graph-result{border:1px solid var(--graph-border);border-radius:9px;background:var(--graph-panel);padding:10px;min-width:0;display:grid;align-content:start;gap:4px}.function-graph-result small{color:var(--graph-muted);font-size:13px}.function-graph-result strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.function-graph-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.function-graph-formulas,.function-graph-challenge{border:1px solid var(--graph-border);border-radius:10px;background:var(--graph-panel);padding:12px;display:grid;align-content:start;gap:8px;min-width:0}.function-graph-formulas>div{min-width:0;overflow:auto;max-width:100%}.function-graph-formulas .function-graph-exact{display:grid;gap:6px;padding-top:8px;overflow-wrap:anywhere;font-size:13px;color:var(--graph-muted)}.function-graph-formulas dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 10px;margin:6px 0}.function-graph-formulas dt{color:var(--graph-muted)}.function-graph-formulas dd{margin:0;overflow-wrap:anywhere}.function-graph-formulas p{margin-bottom:8px}.function-graph-formulas summary{min-height:34px;padding:6px 9px;margin-top:8px;font-size:13px}.function-graph-formulas .math-rich,.function-graph-formulas .katex-display{max-width:100%}.function-graph-challenge>div{display:flex;flex-wrap:wrap;gap:7px}.function-graph-challenge button{min-height:36px;padding:6px 10px;font-size:13px}.function-graph-challenge [data-graph-challenge-result]{color:var(--graph-muted);font-size:14px}.function-graph-notebook{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--graph-border);border-radius:12px;background:var(--graph-panel)}.function-graph-notebook:not(.notebook-maximized){max-height:none}.function-graph-notebook>header{flex:none;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 14px}.function-graph-notebook>header small{color:var(--graph-muted)}.function-graph-notebook [data-graph-notebook]{min-height:0;flex:1;overflow:auto;padding:0 8px 8px}.function-graph-notebook .notebook-workspace{max-height:none}@media(max-width:760px){.function-graph-heading>div:first-child{flex-basis:100%}.function-graph-lower{grid-template-columns:minmax(0,1fr)}.function-graph-toolbar{gap:6px}.function-graph-toolbar button,.function-graph-toolbar summary{font-size:13px;padding:8px}.function-graph-tools>.function-graph-toolbar{flex-basis:100%}.function-graph-tools>.function-graph-settings{padding-top:0}.function-graph-board{min-height:280px}}@media(max-width:480px){.function-graph-lab{gap:11px}.function-graph-history button{position:relative;width:40px;min-width:40px;min-height:40px;padding:7px}.function-graph-history button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.function-graph-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px}.function-graph-modes button{min-height:44px;padding:6px;font-size:14px;line-height:1.25}.function-graph-modes button{flex-direction:column;gap:4px}.function-graph-modes button>svg{width:18px;height:18px}.function-graph-modes button>span{overflow-wrap:normal}.function-graph-parameter{grid-template-columns:minmax(0,1fr);gap:4px}.function-graph-parameter>label:first-child{grid-template-columns:minmax(125px,auto) minmax(65px,1fr)}.function-graph-parameter>label:last-child{justify-content:space-between}.function-graph-parameter>label:last-child input{width:132px}.function-graph-results{grid-template-columns:repeat(2,minmax(0,1fr))}.function-graph-result{padding:10px}.function-graph-result strong{font-size:15px}.function-graph-settings>div{grid-template-columns:minmax(0,1fr);max-height:65dvh;padding:10px}.function-graph-board-footer{gap:5px}.function-graph-board-footer button{min-height:40px}.function-graph-parameter>label:last-child input{max-width:55%}.function-graph-parameter>label:last-child .function-graph-number-field{max-width:55%}}@media(max-width:330px){.function-graph-modes{grid-template-columns:repeat(2,minmax(0,1fr))}}
