@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap";.home{min-height:100vh;display:flex;flex-direction:column}.navbar{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;background:#fff;border-bottom:1px solid #e0e0e0;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2}.navbar-logo{font-size:1.5rem;font-weight:700;letter-spacing:1px;text-decoration:none;font-family:Courier New,monospace;transition:all .2s ease}.navbar-logo:before{content:"mth";color:#888;transition:color .2s ease}.navbar-logo:after{content:"crft";color:#000;transition:color .2s ease}.navbar-logo:hover:before{color:var(--accent)}.navbar-logo:hover:after{color:var(--accent)}.navbar-search{flex:1;max-width:500px;margin:0 2rem;position:relative}.search-input{width:100%;padding:.7rem 3rem .7rem .9rem;border:1px solid #ddd;border-radius:4px;font-size:.95rem;transition:all .2s ease;background:#fff;font-family:inherit}.search-input:focus{outline:none;border-color:#888;box-shadow:none}.search-input::placeholder{color:#aaa;font-weight:300}.search-icon{position:absolute;right:.9rem;top:50%;transform:translateY(-50%);font-size:1rem;pointer-events:none;opacity:.4}.navbar-stats{font-size:.9rem;color:#666;font-weight:500;white-space:nowrap}.algorithm-grid{flex:1;max-width:1200px;margin:0 auto;padding:3rem 2rem;width:100%}.category-section{margin-bottom:3rem}.category-title{font-size:1.8rem;font-weight:500;margin-bottom:1.5rem;color:var(--primary);text-transform:capitalize;border-bottom:2px solid var(--accent);padding-bottom:.5rem}.algorithm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.algorithm-card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:1.5rem;text-decoration:none;color:inherit;transition:all .2s ease;display:flex;flex-direction:column;gap:.75rem}.algorithm-card:hover{border-color:var(--accent);box-shadow:0 2px 8px #0000001a}.algorithm-card h3{font-size:1.4rem;font-weight:600;color:var(--primary);margin:0}.algo-description{color:#666;font-size:.95rem;flex:1;margin:0}.algo-complexity{display:flex;gap:1rem;font-size:.85rem;color:#888;font-family:Courier New,monospace;padding-top:.5rem;border-top:1px solid #f0f0f0}.footer{text-align:center;padding:2rem;color:#888;font-size:.9rem;border-top:1px solid #e0e0e0;margin-top:60px}.footer p{margin-bottom:16px}.footer-links{display:flex;gap:24px;justify-content:center;align-items:center}.footer-link{color:var(--accent);text-decoration:none;font-weight:500;font-size:14px;padding:8px 16px;border-radius:4px;transition:all .2s ease}.footer-link:hover{background:#59c6c11a;color:var(--primary)}@media(max-width:768px){.navbar{flex-direction:column;gap:1rem;padding:1rem}.navbar-logo{font-size:1.3rem}.navbar-search{margin:0;width:100%;max-width:100%}.navbar-stats{font-size:.85rem}.algorithm-cards{grid-template-columns:1fr}}.data-structure-display{margin-top:1rem;padding:1rem;background-color:#f8f8f8;border-radius:6px;border:1px solid #e0e0e0;font-family:Courier New,Consolas,Monaco,monospace;font-size:.85rem;max-width:100%;overflow-x:auto}.data-label{font-size:.75rem;font-weight:600;color:#666;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.5px;font-family:Lato,sans-serif}.data-content{color:#333;line-height:1.6;word-wrap:break-word;white-space:normal}.bracket{color:#666;font-weight:700}.value{color:#06c;font-weight:600;padding:2px 4px;border-radius:3px;transition:all .2s ease}.value-unsorted{color:#666;background-color:transparent}.value-sorting{color:#fff;background-color:#59c6c1}.value-sorted{color:#fff;background-color:#24515d}.value-minpick{color:#000;background-color:#ffb347}.comma{color:#666}@media(max-width:768px){.data-structure-display{font-size:.75rem}}.hash-table-display{background:var(--bg-secondary);border-radius:8px;padding:16px;margin-top:16px;border:2px solid var(--border);max-height:400px;overflow-y:auto;display:flex;flex-direction:column}.hash-table-display.empty{opacity:.6}.hash-table-header{font-weight:600;font-size:14px;color:var(--text-primary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.empty-message{color:var(--text-secondary);font-style:italic;padding:20px 0;text-align:center}.hash-table-entries{display:flex;flex-direction:column;gap:8px}.hash-entry{display:flex;align-items:center;gap:12px;padding:8px 12px;background:var(--bg-primary);border-radius:6px;transition:all .2s ease;border:2px solid transparent}.hash-entry.highlight{background:#ffd70026;border-color:var(--color-swapping);animation:pulse-highlight .5s ease}@keyframes pulse-highlight{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.hash-key{font-family:Courier New,monospace;font-weight:700;font-size:16px;color:var(--color-comparing);min-width:40px;text-align:right}.hash-arrow{color:var(--text-secondary);font-size:18px}.hash-value{flex:1;display:flex;align-items:center;gap:12px}.hash-count{font-family:Courier New,monospace;font-weight:600;font-size:14px;color:var(--text-primary);min-width:30px;background:#64c8ff26;padding:4px 8px;border-radius:4px}.hash-index{font-family:Courier New,monospace;font-weight:600;font-size:14px;color:var(--text-primary);background:#ffc86426;padding:4px 12px;border-radius:4px}.hash-memo-value{font-family:Courier New,monospace;font-weight:700;font-size:18px;color:var(--primary);background:#59c6c126;padding:6px 14px;border-radius:4px;border:1px solid var(--accent)}.hash-bar{display:flex;gap:2px;transition:width .3s ease}.hash-bar-segment{color:var(--color-sorted);font-size:16px;line-height:1;animation:bar-grow .3s ease}@keyframes bar-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.subarray-display{background:var(--bg-secondary);border-radius:8px;padding:16px;margin-top:16px;border:2px solid var(--border);max-height:300px;overflow-y:auto}.subarray-header{font-weight:600;font-size:14px;color:var(--text-primary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.subarray-list{display:flex;flex-wrap:wrap;gap:0}.subarray-item{display:inline-block;padding:8px 12px;margin:4px;background:var(--bg-primary);border-radius:6px;border:1px solid var(--border);font-family:Courier New,monospace;font-size:14px;transition:all .2s ease}.subarray-item:hover{border-color:var(--accent);background:#59c6c10d}.subarray-elements{color:var(--text-primary);font-weight:500}.subarray-sum-display{display:flex;flex-direction:column;gap:8px;padding:16px;background:var(--bg-secondary);border-radius:8px;border:2px solid var(--border);margin-top:16px;font-family:Courier New,monospace}.array-row,.prefix-row{display:flex;align-items:center;gap:12px}.row-label{min-width:100px;font-weight:600;font-size:13px;color:var(--text-secondary);text-align:right}.values-container{display:grid;grid-auto-flow:column;grid-auto-columns:53px;gap:0px}.value-box{width:53px;height:53px;padding:0;background:var(--bg-primary);border:2px solid var(--border);border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.array-box.highlighted{background:#ffb3474d;border-color:#ffb347;border-width:3px;box-shadow:0 0 12px #ffb34780}.prefix-box{background:#4ecdc40d;border-color:#4ecdc44d}.prefix-box.highlighted{background:#ffb3474d;border-color:#ffb347;border-width:3px;box-shadow:0 0 12px #ffb34780}.complement-box{background:#9370db0d;border-color:#9370db4d}.complement-box.highlighted{background:#ffb3474d;border-color:#ffb347;border-width:3px;box-shadow:0 0 12px #ffb34780}.array-value{font-size:14px;font-weight:600;color:var(--text-primary);white-space:nowrap}.prefix-value{font-size:12px;font-weight:500;color:var(--accent);white-space:nowrap}.complement-value{font-size:12px;font-weight:600;color:#9370db;white-space:nowrap}.brackets-row{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.brackets-container{flex:1;display:flex;flex-direction:column;gap:12px;position:relative}.bracket-visual{display:flex;flex-direction:column;gap:4px}.bracket-label{font-size:13px;font-weight:600;color:var(--text-secondary);padding:6px 0;font-family:Courier New,monospace}.bracket-line-wrapper{position:relative;height:30px;margin-bottom:8px}.bracket-line-visual{position:relative;height:100%;display:flex;align-items:center}.bracket-start,.bracket-end{font-size:24px;font-weight:700;color:#ffb347;position:absolute}.bracket-start{left:0;top:0}.bracket-end{right:0;top:0}.bracket-middle{flex:1;height:3px;background:#ffb347;margin:0 12px}.bracket-match .bracket-label{color:#ffb347;font-weight:700;font-size:14px;text-align:left;margin-left:100px}.prefix-sum-hashmap{background:var(--bg-secondary);border-radius:8px;padding:16px;margin-top:16px;border:2px solid var(--border);font-family:Courier New,monospace}.hashmap-header{font-weight:600;font-size:13px;color:var(--text-secondary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.hashmap-content{display:flex;flex-direction:column;gap:12px}.hashmap-entries{font-size:15px;color:var(--text-primary)}.bracket{color:var(--text-secondary);font-weight:600;margin:0 4px}.empty{color:var(--text-secondary);font-style:italic}.separator{color:var(--text-secondary)}.hashmap-entry{padding:4px 8px;border-radius:4px;transition:all .3s ease}.hashmap-entry.checking{background:#ffb34733;border:1px solid rgba(255,179,71,.5);font-weight:600}.hashmap-entry.match{background:#ffb3474d;border:1px solid #ffb347;font-weight:700;color:#ffb347;box-shadow:0 0 8px #ffb34766}.hashmap-lookup{display:flex;align-items:center;gap:12px;padding:12px;background:var(--bg-primary);border-radius:6px;border:1px solid var(--border)}.lookup-label{font-size:13px;color:var(--text-secondary);font-weight:600}.lookup-value{font-size:16px;font-weight:700;padding:4px 10px;border-radius:4px}.lookup-value.found{background:#ffb34733;color:#ffb347;border:1px solid #ffb347}.lookup-value.not-found{background:#8080801a;color:var(--text-secondary);border:1px solid var(--border)}.lookup-result{font-size:14px;font-weight:600;margin-left:8px}.lookup-result.found{color:#4caf50}.lookup-result.not-found{color:var(--text-secondary)}.viz-stage{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;gap:1rem}.bar-container{border:none;padding:16px;height:300px;max-width:100%;background-color:var(--bg-container);display:flex;align-items:flex-end;justify-content:center;border-radius:10px;box-shadow:inset 0 0 6px #0000000d;transform:scale(var(--viz-scale));transform-origin:center center}.bar{display:inline-block;margin:1px;width:10px;border:1px solid var(--fg);transition:background-color .2s ease}.bar.unsorted{background-color:#fff}.bar.sorting{background-color:var(--accent)}.bar.sorted{background-color:var(--primary)}.bar.minpick{background-color:#ffb347}.grid-visualizer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:1rem;-webkit-user-select:none;user-select:none}.grid-container{display:inline-block;border:1px solid #333;background:#fff}.grid-row{display:flex;line-height:0}.grid-cell{width:25px;height:25px;border:1px solid #e0e0e0;cursor:pointer;transition:background-color .15s ease,transform .15s ease,opacity .15s ease;position:relative;display:flex;align-items:center;justify-content:center}.distance-label{font-size:9px;font-weight:700;color:#333;pointer-events:none;z-index:10}.grid-cell.empty{background-color:#fff}.grid-cell.wall{background-color:#2c3e50}.grid-cell.start{background-color:#fff;border:4px solid #000;cursor:default}.grid-cell.end{background-color:var(--primary);border:4px solid #000;cursor:default}.grid-cell.visiting{background-color:var(--accent);transform:scale(1.05)}.grid-cell.visited{background-color:var(--accent);opacity:.4}.grid-cell.path{background-color:#ffb347;transform:scale(1.05)}.grid-cell.empty:hover{background-color:#f5f5f5}.grid-cell.wall:hover{background-color:#34495e}.node-graph-visualizer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:1rem;background:#fff;gap:2rem}.graph-svg{width:100%;max-width:800px;height:100%;max-height:400px}.graph-edge{stroke:#ddd;stroke-width:2;fill:none;transition:stroke .15s ease,stroke-width .15s ease}.graph-edge.exploring{stroke:var(--accent);stroke-width:3}.graph-edge.traversed{stroke:var(--accent);stroke-width:2}.graph-edge.backtracking{stroke:#000;stroke-width:2.5}.graph-edge.path{stroke:#ffb347;stroke-width:5}.graph-node{stroke:#333;stroke-width:2;cursor:pointer;transition:fill .15s ease,stroke .15s ease,stroke-width .15s ease}.graph-node.unvisited{fill:#fff}.graph-node.visiting,.graph-node.visited{fill:var(--accent);stroke:var(--accent)}.graph-node.backtrack{fill:#000;stroke:#000}.graph-node.finished{fill:#ffb347;stroke:#000;stroke-width:4}.node-label{fill:#2c3e50;font-size:16px;font-weight:700;font-family:Courier New,monospace;text-anchor:middle;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none;transition:fill .15s ease}.node-label.white-text{fill:#fff}.edge-weight-label{fill:#333;font-size:10px;font-weight:700;font-family:Courier New,monospace;text-anchor:middle;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.node-distance-label{fill:#666;font-size:9px;font-weight:600;font-family:Courier New,monospace;text-anchor:middle;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none}.node-distance-label.white-text{fill:#fff}.graph-node:hover{stroke-width:3}.priority-queue-display{display:flex;flex-direction:column;min-width:250px;max-width:300px;background:#f8f8f8;border:2px solid #333;border-radius:8px;overflow:hidden}.pq-header{background:var(--primary);color:#fff;padding:.75rem 1rem;font-weight:700;font-size:14px;text-align:center;border-bottom:2px solid #333}.pq-items{display:flex;flex-direction:column;gap:4px;padding:.75rem;max-height:300px;overflow-y:auto}.pq-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;background:#fff;border:2px solid #ddd;border-radius:4px;transition:all .3s ease;position:relative}.pq-item.pq-min{border-color:var(--accent);border-width:3px;background:#e8f8f7}.pq-item.pushing{background:var(--accent);border-color:#000;animation:pqPush .3s ease-out}@keyframes pqPush{0%{transform:translate(-20px);opacity:0}to{transform:translate(0);opacity:1}}.pq-item.popping{background:#ffb347;border-color:#000;border-width:3px;animation:pqPop .3s ease-out}@keyframes pqPop{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1)}to{transform:scale(.8);opacity:0}}.pq-node{font-weight:700;font-family:Courier New,monospace;font-size:14px;color:#2c3e50}.pq-priority{font-weight:700;font-family:Courier New,monospace;font-size:13px;color:#666;background:#f0f0f0;padding:2px 6px;border-radius:3px}.pq-label{position:absolute;right:-80px;font-size:11px;color:#666;font-style:italic;white-space:nowrap}.pq-footer{background:#e8e8e8;padding:.5rem 1rem;font-size:12px;font-weight:700;color:#666;text-align:center;border-top:2px solid #ddd}.linkedlist-visualizer{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:1rem;background:#fff}.linkedlist-svg{width:100%;max-width:800px;height:100%;max-height:200px}.linkedlist-arrow{stroke:#333;stroke-width:2;fill:none}.linkedlist-arrow.cycle-arrow{stroke:#e74c3c;stroke-width:2.5;stroke-dasharray:5,3}.linkedlist-arrow.reversed-arrow{stroke:var(--primary);stroke-width:2.5}.linkedlist-arrowhead{fill:#333}.linkedlist-arrowhead.cycle-arrowhead{fill:#e74c3c}.linkedlist-arrowhead.reversed-arrowhead{fill:var(--primary)}.linkedlist-node{stroke:#333;stroke-width:2;cursor:pointer;transition:fill .15s ease,stroke .15s ease,stroke-width .15s ease}.linkedlist-node.unvisited{fill:#fff;stroke:#000;stroke-width:2}.linkedlist-node.current{fill:var(--accent);stroke:#000;stroke-width:3}.linkedlist-node.visited{fill:#fff;stroke:#666;stroke-width:2;opacity:.7}.linkedlist-node.found{fill:#ffb347;stroke:#000;stroke-width:4}.linkedlist-node.swapping{fill:var(--primary);stroke:#000;stroke-width:5}.linkedlist-label{fill:#2c3e50;font-size:16px;font-weight:700;font-family:Courier New,monospace;text-anchor:middle;dominant-baseline:middle;pointer-events:none;-webkit-user-select:none;user-select:none;transition:fill .15s ease}.linkedlist-label.light-text{fill:#fff}.linkedlist-node:hover{stroke-width:3}.stackqueue-visualizer{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;background:#fff;gap:2rem}.stackqueue-container{display:flex;align-items:center;justify-content:center;min-height:300px}.stack-display{display:flex;flex-direction:column-reverse;align-items:center;gap:0;min-width:200px}.stack-item{width:180px;height:50px;display:flex;align-items:center;justify-content:center;position:relative;border:2px solid #333;background:#fff;transition:all .3s ease;margin-top:-2px;animation:slideUpFade .4s ease-out}@keyframes slideUpFade{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}.stack-item.normal{background:#fff;border-color:#333}.stack-item.active{background:var(--accent);border-color:#000;border-width:3px;animation:pulse .5s ease-in-out}@keyframes pulse{0%{transform:scale(1);box-shadow:0 0 #59c6c1b3}50%{transform:scale(1.08);box-shadow:0 0 0 10px #59c6c100}to{transform:scale(1);box-shadow:0 0 #59c6c100}}.stack-item.highlight{background:#ffb347;border-color:#000;border-width:3px;animation:popOut .3s ease-in-out}@keyframes popOut{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1)}}.stack-item.top{border-top-left-radius:8px;border-top-right-radius:8px}.stack-item:first-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.queue-display{display:flex;align-items:center;justify-content:center;min-width:400px;min-height:150px}.queue-items{display:flex;flex-direction:row;align-items:center;gap:0}.queue-item{width:70px;height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border:2px solid #333;background:#fff;transition:all .3s ease;margin-right:-2px;animation:slideInFromRight .4s ease-out}@keyframes slideInFromRight{0%{opacity:0;transform:translate(30px) scale(.8)}to{opacity:1;transform:translate(0) scale(1)}}.queue-item.normal{background:#fff;border-color:#333}.queue-item.active{background:var(--accent);border-color:#000;border-width:3px;animation:pulse .5s ease-in-out}.queue-item.highlight{background:#ffb347;border-color:#000;border-width:3px;animation:popOut .3s ease-in-out}.queue-item.front{border-top-left-radius:8px;border-bottom-left-radius:8px}.queue-item.back{border-top-right-radius:8px;border-bottom-right-radius:8px}.item-value{font-size:20px;font-weight:700;font-family:Courier New,monospace;color:#2c3e50}.stack-item .item-label{position:absolute;right:-70px;font-size:12px;font-weight:700;color:#666;white-space:nowrap}.queue-item .item-label{font-size:11px;font-weight:700;color:#666;white-space:nowrap}.queue-item .item-label.top{position:absolute;top:-20px}.queue-item .item-label.bottom{position:absolute;bottom:-20px}.empty-message{font-size:16px;color:#999;font-style:italic;padding:1.5rem;text-align:center;min-height:60px;display:flex;align-items:center;justify-content:center}.char-string-display{display:flex;gap:2px;align-items:center;justify-content:center;padding:1rem;background:#f8f8f8;border-radius:8px;min-height:80px}.char-item{width:50px;height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:2px solid #ddd;border-radius:4px;transition:all .2s ease;position:relative}.char-item.current{background:var(--accent);border-color:#000;border-width:3px;transform:scale(1.1)}.char-item.active{background:#ffb347;border-color:#000;border-width:3px}.char-item.found{background:#90ee90;border-color:#2d8c2d;border-width:2px}.char-value{font-size:24px;font-weight:700;font-family:Courier New,monospace;color:#2c3e50}.char-index{font-size:11px;color:#888;margin-top:4px}.character-string-visualizer{width:100%;padding:20px;display:flex;flex-direction:column;align-items:center;gap:20px}.window-info{display:flex;gap:20px;padding:12px 20px;background:var(--bg-container);border-radius:8px;border:2px solid var(--border)}.info-item{display:flex;gap:8px;align-items:center}.info-label{font-weight:600;color:#666;font-size:14px}.info-value{font-weight:700;color:var(--primary);font-size:16px;font-family:Courier New,monospace}.char-string-wrapper{width:100%;display:flex;justify-content:center}.char-string-display{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:20px}.char-column{display:flex;flex-direction:column;align-items:center;gap:4px}.pointer-labels{height:24px;display:flex;align-items:center;justify-content:center}.pointer-label{font-size:11px;font-weight:700;padding:2px 6px;border-radius:4px;white-space:nowrap;background:var(--primary);color:#fff}.hash-map-display{width:100%;max-width:600px;display:flex;flex-direction:column;gap:12px}.hash-map-header{font-size:16px;font-weight:600;color:#333;border-bottom:2px solid #ddd;padding-bottom:8px}.hash-map-items{display:flex;gap:16px;flex-wrap:wrap;padding:12px;background:var(--bg-container);border-radius:8px;justify-content:center}.hash-map-item{display:flex;align-items:center;gap:6px;padding:8px 16px;background:var(--bg);border:2px solid var(--primary);border-radius:6px;font-family:Courier New,monospace}.hash-char{font-size:20px;font-weight:700;color:var(--primary)}.hash-separator{font-size:16px;color:#666}.hash-count{font-size:18px;font-weight:700;color:var(--accent)}.valid-substrings{width:100%;max-width:800px;display:flex;flex-direction:column;gap:12px}.substrings-header{font-size:16px;font-weight:600;color:#333;border-bottom:2px solid #ddd;padding-bottom:8px}.substrings-list{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:var(--bg-container);border-radius:8px;max-height:200px;overflow-y:auto}.substring-item{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--bg);border:2px solid var(--border);border-radius:6px;font-family:Courier New,monospace;transition:all .3s ease}.substring-item.longest{border-color:var(--primary);background:#ffb347;font-weight:700;box-shadow:0 2px 6px #24515d33}.substring-text{font-size:14px;font-weight:500;color:var(--fg)}.substring-item.longest .substring-text{color:var(--fg)}.substring-range{font-size:11px;color:#666;background:#f0f0f0;padding:2px 6px;border-radius:4px}.char-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 16px;border:2px solid var(--border);border-radius:8px;background:var(--bg);transition:all .3s ease;min-width:50px}.char-value{font-size:24px;font-weight:700;font-family:Courier New,monospace}.char-index{font-size:12px;color:#666}.char-item.in-window{border-color:var(--accent);background:var(--accent)}.char-item.current{border-color:var(--primary);border-width:3px;transform:scale(1.15);box-shadow:0 4px 12px #24515d66}.chessboard-visualizer{display:flex;flex-direction:column;align-items:center;gap:20px;padding:20px;width:100%}.solution-counter{font-size:18px;font-weight:600;color:var(--primary);background:var(--bg-container);padding:12px 24px;border-radius:8px;border:2px solid var(--accent);text-align:center;width:fit-content}.main-layout{display:flex;gap:24px;width:100%;max-width:1400px;align-items:flex-start}.left-panels{display:flex;flex-direction:column;gap:16px;flex:0 0 350px}.call-stack-panel,.tree-panel{background:var(--bg-container);border:2px solid var(--primary);border-radius:8px;padding:16px;box-shadow:0 2px 8px #0000001a;min-height:250px;max-height:350px;overflow-y:auto}.tree-header{font-size:14px;font-weight:600;color:var(--primary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.empty-tree{color:var(--text-secondary);font-style:italic;padding:20px;text-align:center;opacity:.6}.tree-nodes{display:flex;flex-direction:column;gap:12px}.tree-column{display:flex;flex-direction:column;gap:6px}.tree-column-label{font-size:12px;font-weight:700;color:var(--primary);padding:4px 8px;background:#24515d1a;border-radius:4px;width:fit-content}.tree-column-nodes{display:flex;gap:8px;flex-wrap:wrap;padding-left:16px;border-left:2px solid var(--border)}.tree-node{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;font-family:Courier New,monospace;font-size:13px;font-weight:600;border:2px solid transparent;transition:all .3s ease;min-width:50px}.tree-node.placed{background:#59c6c14d;border-color:var(--accent);color:var(--primary)}.tree-node.exploring{background:#ffb3474d;border-color:#ffb347;animation:pulse-tree-node 1s ease infinite}.tree-node.failed{background:#c8c8c84d;border-color:#999;color:#666;text-decoration:line-through}.tree-node.backtracking{background:#ff64644d;border-color:red;animation:shake-tree .5s ease}@keyframes pulse-tree-node{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(.95)}}@keyframes shake-tree{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}.tree-node-label{font-weight:700}.tree-node-icon{font-size:14px}.call-stack-header{font-size:14px;font-weight:600;color:var(--primary);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px;display:flex;justify-content:space-between;align-items:center}.depth-badge{background:var(--accent);color:var(--primary);padding:4px 10px;border-radius:12px;font-size:12px;font-weight:700}.empty-stack{color:var(--text-secondary);font-style:italic;padding:20px;text-align:center;opacity:.6}.call-stack-items{display:flex;flex-direction:column;gap:8px}.call-stack-item{display:flex;gap:8px;padding:8px 12px;border-radius:6px;font-family:Courier New,monospace;font-size:14px;transition:all .3s ease;border-left:4px solid transparent}.call-stack-item.placed{background:#59c6c133;border-left-color:var(--accent)}.call-stack-item.exploring{background:#ffb34733;border-left-color:#ffb347;animation:pulse-exploring 1s ease infinite}.call-stack-item.backtracking{background:#ff646433;border-left-color:red;animation:shake .5s ease}@keyframes pulse-exploring{0%,to{opacity:1}50%{opacity:.7}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.call-level{font-weight:700;color:var(--primary);min-width:50px}.call-info{color:var(--fg);font-weight:500}.chessboard{display:grid;gap:0;border:3px solid var(--primary);box-shadow:0 4px 12px #00000026;flex:1;max-width:600px;width:600px;height:600px}.chess-square{display:flex;align-items:center;justify-content:center;aspect-ratio:1;position:relative;transition:all .3s ease;font-size:clamp(24px,5vw,48px)}.chess-square.light{background:#f0d9b5}.chess-square.dark{background:#b58863}.chess-square.has-queen{background:var(--accent);animation:place-queen .3s ease}@keyframes place-queen{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.queen{font-size:1em;color:var(--primary);text-shadow:0 2px 4px rgba(0,0,0,.3);animation:queen-appear .3s ease}@keyframes queen-appear{0%{transform:scale(0) rotate(180deg)}to{transform:scale(1) rotate(0)}}.chess-square.attacking{background:#ff646499!important;animation:pulse-danger .5s ease}@keyframes pulse-danger{0%,to{opacity:1}50%{opacity:.7}}.chess-square.current{background:#ffb347!important;box-shadow:inset 0 0 0 3px var(--primary);animation:pulse-current .6s ease infinite}.chess-square.backtracking{background:#ff3232cc!important;box-shadow:inset 0 0 0 4px red;animation:backtrack-pulse .5s ease}@keyframes backtrack-pulse{0%{transform:scale(1);box-shadow:inset 0 0 0 4px red}50%{transform:scale(1.1);box-shadow:inset 0 0 0 6px red}to{transform:scale(1);box-shadow:inset 0 0 0 4px red}}.chess-square.backtracking .queen{animation:queen-remove .5s ease;color:red!important;text-shadow:0 0 10px rgba(255,0,0,.8)}@keyframes queen-remove{0%{transform:scale(1) rotate(0);opacity:1}to{transform:scale(.8) rotate(-180deg);opacity:.7}}@keyframes pulse-current{0%,to{box-shadow:inset 0 0 0 3px var(--primary)}50%{box-shadow:inset 0 0 0 5px var(--primary)}}.try-marker{font-size:1.2em;font-weight:700;color:var(--primary);animation:blink .8s ease infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.3}}@media(max-width:768px){.chessboard{max-width:400px}}.solutions-gallery{width:100%;max-width:1400px;margin-top:32px;padding:20px;background:var(--bg-container);border:2px solid var(--primary);border-radius:8px;box-shadow:0 2px 8px #0000001a}.solutions-header{font-size:16px;font-weight:700;color:var(--primary);margin-bottom:20px;text-transform:uppercase;letter-spacing:.5px;text-align:center}.solutions-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center}.solution-board{display:flex;flex-direction:column;align-items:center;gap:8px}.solution-number{font-size:12px;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:.5px}.mini-chessboard{display:grid;gap:0;border:2px solid var(--primary);box-shadow:0 2px 6px #0000001a;width:160px;height:160px}.mini-chess-square{display:flex;align-items:center;justify-content:center;aspect-ratio:1;font-size:clamp(12px,2.5vw,20px)}.mini-chess-square.light{background:#f0d9b5}.mini-chess-square.dark{background:#b58863}.mini-chess-square.has-queen{background:var(--accent)}.mini-queen{color:var(--primary);font-size:1em;text-shadow:0 1px 2px rgba(0,0,0,.3)}.ml-scatter-container{display:flex;flex-direction:column;align-items:center;gap:16px}.ml-scatter-instructions{font-size:14px;color:var(--fg);padding:12px 20px;background:var(--bg-container);border:2px solid var(--border);border-radius:8px;text-align:center}.ml-scatter-instructions strong{color:var(--primary);font-weight:600}.ml-scatter-svg{border:2px solid var(--border);border-radius:8px;background:#fff;cursor:crosshair;box-shadow:0 2px 8px #0000001a}.ml-scatter-svg circle{transition:r .15s ease}.ml-scatter-svg circle:hover{r:10}.regression-visualizer-container{display:flex;flex-direction:column;align-items:center;gap:16px}.regression-instructions{text-align:center;font-size:14px;color:#24515d;line-height:1.6;padding:12px 24px;background:#e8f4f8;border-radius:8px;max-width:700px}.regression-svg{border:2px solid #24515d;border-radius:8px;background:#fff}.regression-legend{display:flex;gap:24px;font-size:13px;color:#24515d}.regression-legend .legend-item{display:flex;align-items:center;gap:8px}.regression-legend .legend-circle{width:12px;height:12px;border-radius:50%;border:2px solid #fff}.regression-legend .legend-line{width:24px;height:3px}.regression-legend .legend-line.dashed{height:2px;background:repeating-linear-gradient(to right,currentColor,currentColor 3px,transparent 3px,transparent 6px)}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.25"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.single-neuron-container{display:flex;flex-direction:column;align-items:center;gap:24px;padding:20px}.neuron-diagram{background:#fff;border:2px solid #24515d;border-radius:8px;padding:20px;width:800px}.computation-steps{display:flex;flex-direction:column;gap:16px;width:100%;max-width:800px}.step-card{background:#fff;border:2px solid #24515d;border-radius:8px;overflow:hidden}.step-header{background:#24515d;color:#fff;padding:12px 16px;display:flex;align-items:center;gap:12px}.step-number{background:#59c6c1;color:#24515d;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}.step-title{font-weight:600;font-size:16px}.step-content{padding:16px;display:flex;flex-direction:column;gap:12px}.step-what{font-family:Courier New,monospace;background:#f8f9fa;padding:12px;border-radius:4px;color:#333;font-size:14px}.step-why{color:#555;line-height:1.6;font-size:14px}.step-why em{color:#e74c3c;font-style:italic;font-weight:600}.key-insight{background:linear-gradient(135deg,#59c6c1,#24515d);color:#fff;padding:20px;border-radius:8px;max-width:800px;line-height:1.8;font-size:15px;box-shadow:0 4px 12px #24515d33}.key-insight em{color:#ffb347;font-style:italic;font-weight:600}.math-operations{display:flex;flex-direction:column;gap:16px;width:800px;margin-top:20px}.operation-box{background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:20px}.operation-header{display:flex;flex-direction:column;align-items:center;gap:16px}.operation-step-label{font-weight:700;font-size:14px;color:#24515d;text-transform:uppercase;letter-spacing:.5px}.operation-math-formula{display:flex;justify-content:center;align-items:center;padding:20px 32px;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:8px;border:2px solid #e0e0e0;font-size:24px;min-height:60px}.operation-computation{display:flex;justify-content:center;align-items:center;font-size:20px;color:#333;gap:8px}.operation-content{font-family:Courier New,monospace;font-size:20px;color:#333;display:flex;align-items:center;gap:4px}.vector-bracket{font-size:28px;font-weight:700;color:#24515d}.vector-element{display:inline-block;min-width:60px;text-align:center;padding:4px 8px;background:#f0f0f0;border-radius:4px;color:#999}.vector-element.computed{background:#59c6c1;color:#fff;font-weight:700}.vector-comma{color:#24515d;font-weight:700}.math-expression{font-size:18px;color:#333}.math-expression .result{color:#ff6b6b;font-weight:700;font-size:20px}.operation-detail{font-family:Courier New,monospace;font-size:16px;color:#ff6b6b;font-weight:600;margin-top:4px;padding:8px;background:#fff5f5;border-radius:4px}.operation-explanation{font-size:13px;color:#666;margin-top:8px;padding:8px 12px;background:#f0f8ff;border-left:3px solid #59c6c1;border-radius:4px;font-style:italic;line-height:1.5}.operation-explanation strong{color:#24515d;font-weight:700}.activation-plot{background:#fff;border:2px solid #24515d;border-radius:8px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:12px;width:800px;margin-top:20px}.plot-title{font-weight:700;font-size:16px;color:#24515d;text-transform:uppercase;letter-spacing:.5px}.activation-result{width:100%;margin-top:24px;padding-top:24px;border-top:2px solid #e0e0e0;display:flex;flex-direction:column;gap:20px}.activation-computation{display:flex;justify-content:center;align-items:center;gap:12px;padding:20px 24px;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:8px;border:2px solid #59c6c1;font-size:20px;color:#333}.final-result{display:inline-block;padding:6px 16px;background:linear-gradient(135deg,#ffb347,#ff8c42);color:#fff;font-weight:700;font-size:20px;border-radius:6px;box-shadow:0 2px 8px #ffb34766;margin-left:8px}.linear-regression-container{display:flex;flex-direction:column;align-items:center;gap:24px;padding:20px}.regression-main{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}.scatter-plot-container{display:flex;flex-direction:column;align-items:center;gap:12px}.step-formula{background:linear-gradient(135deg,#f8f9fa,#fff);border:2px solid #e0e0e0;border-radius:8px;padding:16px;margin-bottom:12px}.step-computation{font-size:14px;color:#333;background:#f8f9fa;padding:16px;border-radius:6px;margin-bottom:12px;border:1px solid #e0e0e0}.step-result{font-size:16px;color:#24515d;font-weight:700;padding:12px;background:linear-gradient(135deg,#e8f5f4,#f0f8f7);border-radius:6px;border:1px solid #59c6c1}.model-equation{width:100%;max-width:800px;background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:20px}.equation-header{display:flex;flex-direction:column;align-items:center;gap:16px}.equation-formula{display:flex;justify-content:center;align-items:center;padding:20px 32px;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:8px;border:2px solid #e0e0e0;font-size:24px;min-height:60px}.equation-computation{display:flex;justify-content:center;align-items:center;font-size:20px;color:#333;padding:16px;background:#f8f9fa;border-radius:8px}.gradient-formulas{width:100%;max-width:800px;display:flex;flex-direction:column;gap:20px}.formula-box{background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:20px}.formula-title{font-weight:700;font-size:14px;color:#24515d;text-transform:uppercase;letter-spacing:.5px;text-align:center}.formula-content{display:flex;justify-content:center;align-items:center;padding:20px 32px;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:8px;border:2px solid #e0e0e0;font-size:18px}.instructions-box{width:100%;max-width:800px;background:linear-gradient(135deg,#59c6c1,#24515d);color:#fff;padding:24px;border-radius:8px;box-shadow:0 4px 12px #24515d33}.instructions-title{font-weight:700;font-size:18px;margin-bottom:12px;text-align:center}.instructions-content{line-height:1.8;font-size:15px}.linear-regression-gd-container{display:flex;flex-direction:column;align-items:center;gap:24px;padding:20px}.gd-controls{display:flex;gap:32px;padding:20px;background:#fff;border:2px solid #24515d;border-radius:8px;width:100%;max-width:1000px;justify-content:center}.gd-button-danger{border-color:#ff6b6b;color:#ff6b6b}.gd-button-danger:hover:not(:disabled){background:#ff6b6b;color:#fff}.gd-main-content{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}.gd-left-column{display:flex;flex-direction:column;gap:24px;align-items:center}.scatter-plot-container,.loss-plot-container{display:flex;flex-direction:column;align-items:center;gap:12px}.plot-instruction{font-size:13px;color:#666;font-style:italic;margin-top:8px}.gd-state-panel{width:100%;max-width:1000px;background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px}.state-header{font-weight:700;font-size:18px;color:#24515d;text-align:center;margin-bottom:20px;text-transform:uppercase;letter-spacing:.5px}.state-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.metric-box{background:linear-gradient(135deg,#e8f5f4,#f0f8f7);border:2px solid #59c6c1;border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px;align-items:center}.metric-label{font-size:12px;color:#24515d;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:20px;color:#24515d;font-weight:700;font-family:Courier New,monospace}.gd-equation-box{width:100%;max-width:600px;background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:16px;align-items:center}.equation-label{font-weight:700;font-size:14px;color:#24515d;text-transform:uppercase;letter-spacing:.5px}.equation-display{display:flex;justify-content:center;align-items:center;padding:20px 32px;background:linear-gradient(135deg,#f8f9fa,#fff);border-radius:8px;border:2px solid #e0e0e0;font-size:24px;min-height:60px}.progress-container{width:100%;max-width:500px;background:#fff;border:2px solid #24515d;border-radius:8px;padding:20px;margin-top:16px}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.progress-label{font-weight:700;font-size:14px;color:#24515d;text-transform:uppercase;letter-spacing:.5px}.progress-value{font-weight:700;font-size:16px;color:#24515d;font-family:Courier New,monospace}.progress-bar-track{width:100%;height:24px;background:#e0e0e0;border-radius:12px;overflow:hidden;box-shadow:inset 0 2px 4px #0000001a}.progress-bar-fill{height:100%;transition:width .3s ease,background-color .3s ease;border-radius:12px;box-shadow:0 2px 4px #0003}.progress-status{margin-top:12px;font-size:13px;color:#666;font-weight:600;text-align:center}.gradient-descent-container{display:flex;flex-direction:column;align-items:center;gap:24px;padding:20px}.gd-controls{display:flex;gap:32px;padding:20px;background:#fff;border:2px solid #24515d;border-radius:8px;width:100%;max-width:1200px;justify-content:center;flex-wrap:wrap}.control-group{display:flex;flex-direction:column;gap:8px}.control-group label{font-size:14px;color:#24515d;font-weight:600;display:flex;flex-direction:column;gap:8px}.control-group select{padding:8px 12px;border:2px solid #24515d;border-radius:4px;font-size:14px;font-weight:600;background:#fff;color:#24515d;cursor:pointer;transition:all .2s}.control-group select:hover{border-color:#59c6c1}.control-group select:focus{outline:none;border-color:#59c6c1;box-shadow:0 0 0 3px #59c6c11a}.control-group input[type=range]{width:200px;cursor:pointer}.gd-button{padding:10px 16px;font-size:14px;font-weight:600;border:2px solid #24515d;border-radius:6px;background:#fff;color:#24515d;cursor:pointer;transition:all .2s;white-space:nowrap}.gd-button:hover:not(:disabled){background:#24515d;color:#fff;transform:translateY(-1px);box-shadow:0 2px 4px #24515d33}.gd-button:active:not(:disabled){transform:translateY(0)}.gd-button:disabled{opacity:.4;cursor:not-allowed}.gd-main-content{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;width:100%;align-items:start}.gd-center-column{display:flex;flex-direction:column;gap:24px;align-items:center;grid-column:2}.gd-right-column{display:flex;flex-direction:column;gap:24px;align-items:flex-start;grid-column:3;padding-left:24px}.surface-3d-container,.contour-plot-container{display:flex;flex-direction:column;align-items:center;gap:12px}.plot-title{font-weight:700;font-size:16px;color:#24515d;text-transform:uppercase;letter-spacing:.5px;cursor:help;display:flex;align-items:center;gap:8px}.tooltip-icon{font-size:14px;color:#59c6c1;font-weight:400}.plot-instruction{font-size:13px;color:#666;font-style:italic;margin-top:8px;text-align:center;max-width:500px}.gd-status-panel{display:flex;flex-direction:column;gap:16px;min-width:200px}.status-progress-minimal{display:flex;flex-direction:column;gap:8px}.progress-header-minimal{display:flex;align-items:baseline;gap:4px;font-family:Courier New,monospace;font-size:32px;font-weight:300;color:#24515d}.progress-count{font-weight:600}.progress-divider{font-size:24px;color:#ccc;font-weight:300}.progress-total{font-size:20px;color:#999;font-weight:300}.progress-bar-minimal{width:100%;height:2px;background:#e0e0e0;position:relative;overflow:hidden}.progress-fill-minimal{height:100%;background:#24515d;transition:width .3s ease}.status-converged .progress-fill-minimal{background:#4ade80}.status-diverged .progress-fill-minimal{background:#ff6b6b}.status-max-iterations .progress-fill-minimal{background:#ffb347}.status-badge{display:flex;justify-content:flex-start}.status-badge span{font-size:11px;font-weight:600;text-transform:lowercase;letter-spacing:.5px;padding:4px 12px;border-radius:12px;font-family:Courier New,monospace}.badge-converged{background:#4ade801a;color:#4ade80;border:1px solid #4ade80}.badge-diverged{background:#ff6b6b1a;color:#ff6b6b;border:1px solid #ff6b6b}.badge-maxed{background:#ffb3471a;color:#ffb347;border:1px solid #ffb347}.computation-steps-container{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:800px}.computation-step-box{width:100%;background:#fff;border:2px solid #24515d;border-radius:8px;padding:24px;box-shadow:0 2px 4px #24515d1a}.step-title{font-weight:700;font-size:14px;color:#24515d;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.step-formula{background:linear-gradient(135deg,#f8f9fa,#fff);border:2px solid #e0e0e0;border-radius:8px;padding:16px;margin-bottom:12px;overflow-x:auto;overflow-y:hidden}.step-formula::-webkit-scrollbar{height:6px}.step-formula::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.step-computation{font-size:14px;color:#333;background:#f8f9fa;padding:16px;border-radius:6px;margin-bottom:12px;border:1px solid #e0e0e0;overflow-x:auto;overflow-y:hidden}.step-computation::-webkit-scrollbar{height:6px}.step-computation::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.step-result{font-size:16px;color:#24515d;font-weight:600;padding:12px;background:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0}.step-result-final{color:#ffb347;font-weight:700;background:linear-gradient(135deg,#fff9f0,#ffe8d8);border:2px solid #ffb347}@media(max-width:1200px){.gd-main-content{flex-direction:column;align-items:center}.gd-right-column{width:100%;max-width:500px}.metrics-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.gd-controls{flex-direction:column;align-items:stretch}.control-group input[type=range]{width:100%}.metrics-grid{grid-template-columns:1fr}}.neural-network-container{display:flex;flex-direction:column;align-items:center;gap:16px;padding:20px;background:var(--bg-container);border:2px solid var(--border);border-radius:8px}.network-placeholder{text-align:center;padding:100px 40px;color:var(--fg);font-size:16px;opacity:.6}.network-title{font-size:18px;font-weight:600;color:var(--primary);text-align:center}.neural-network-svg{background:#fff;border:2px solid var(--border);border-radius:8px;box-shadow:0 2px 8px #0000001a}.connection-line{transition:stroke-width .2s ease,opacity .2s ease}.neuron-circle{transition:fill .3s ease,stroke .2s ease,stroke-width .2s ease}.activation-text{pointer-events:none;-webkit-user-select:none;user-select:none}.network-legend{display:flex;gap:24px;flex-wrap:wrap;justify-content:center;padding:12px;background:#f8f9fa;border-radius:6px;border:1px solid var(--border)}.legend-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--fg)}.legend-line{width:30px;height:3px;border-radius:2px}.legend-line.positive{background:#59c6c1}.legend-line.negative{background:#e74c3c}.legend-circle{width:20px;height:20px;border-radius:50%;border:2px solid #24515d}.legend-circle.active{background:#59c6c1cc}.legend-circle.inactive{background:#59c6c11a}.loss-landscape-container{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;background:var(--bg-container);border:2px solid var(--border);border-radius:8px}.loss-title{font-size:16px;font-weight:600;color:var(--primary);text-align:center}.loss-canvas{border:2px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 2px 8px #0000001a}.loss-stats{display:flex;gap:24px;padding:12px 20px;background:#f8f9fa;border-radius:6px;border:1px solid var(--border);width:100%;justify-content:center}.stat-item{display:flex;gap:8px;align-items:center;font-size:14px}.stat-label{color:var(--fg);font-weight:500}.stat-value{color:var(--primary);font-weight:700;font-family:Courier New,monospace}.code-snippet{max-width:100%;margin:0}.code-toggle{background:transparent;color:var(--primary);border:1px solid var(--primary);border-radius:6px;padding:8px 16px;margin:0;font-size:.85rem;text-transform:none;letter-spacing:0;width:100%;text-align:left;display:flex;align-items:center;gap:8px;transition:background-color .2s ease}.code-snippet:has(.code-block) .code-toggle{border-radius:6px 6px 0 0}.code-toggle:hover{background-color:#24515d0d;color:var(--primary)}.code-block{margin:0;border:1px solid #ddd;border-top:none;border-radius:0 0 6px 6px;overflow-x:auto;overflow-y:auto;max-height:600px}.code-block pre{margin:0!important;padding:1rem!important}.algorithm-metrics{background-color:#fff;border:1px solid #ddd;border-radius:6px;padding:1rem;margin-bottom:1rem}.algorithm-metrics h3{margin:0 0 1rem;font-size:1rem;font-weight:600;color:var(--primary);text-transform:uppercase;letter-spacing:.5px;text-align:center;padding-bottom:.75rem;border-bottom:2px solid #e0e0e0}.metrics-grid{display:grid;grid-template-columns:1fr;gap:.5rem}.metric-item{display:flex;flex-direction:column;gap:.25rem;padding:.5rem;background-color:#f8f8f8;border-radius:4px;font-size:.85rem}.metric-label{color:#666;font-weight:500;font-size:.75rem;font-family:Courier New,monospace}.metric-value{color:var(--primary);font-weight:600;font-family:Courier New,monospace;font-size:.9rem}.algorithm-article{max-width:900px;margin:0 auto;padding:3rem 0;background-color:transparent;line-height:1.8}.article-header{margin-bottom:2rem;padding-bottom:.75rem;border-bottom:1px solid #e0e0e0}.article-title{font-size:.95rem;font-weight:500;color:#666;margin:0;line-height:1.4;letter-spacing:.5px;text-transform:uppercase}.article-content{color:#333}.article-content p{margin-bottom:1.25rem;font-size:1rem;line-height:1.8}.article-content p:last-child{margin-bottom:0}.article-content strong{color:#24515d;font-weight:600}.article-content hr{margin:2.5rem 0;border:none;border-top:1px solid #e0e0e0}.article-content h1,.article-content h2,.article-content h3,.article-content h4{color:#24515d;font-weight:600;line-height:1.4}.article-content h1{font-size:2rem;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e0e0e0}.article-content h1:first-child{margin-top:0}.article-content h2{font-size:1.75rem;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e0e0e0}.article-content h3{font-size:1.35rem;margin-top:2rem;margin-bottom:.75rem}.article-content h4{font-size:1.15rem;margin-top:1.5rem;margin-bottom:.5rem}.article-content code{background-color:#f4f4f4;border:1px solid #e0e0e0;border-radius:3px;padding:2px 6px;font-family:Courier New,Consolas,Monaco,monospace;font-size:.9em;color:#d73a49;font-weight:500}.article-content pre{background-color:#f6f8fa;border:1px solid #e1e4e8;border-radius:6px;padding:16px;overflow-x:auto;margin:1.5rem 0}.article-content pre code{background:none;border:none;padding:0;color:#24292e;font-size:.9em}.article-content ul,.article-content ol{margin:1rem 0;padding-left:2rem}.article-content li{margin-bottom:.5rem}.article-content ul li{list-style-type:disc}.article-content ol li{list-style-type:decimal}.article-content blockquote{margin:1.5rem 0;padding:1rem 1.5rem;border-left:4px solid #59c6c1;background-color:#f8f9fa;color:#555;font-style:italic}.article-content blockquote p{margin-bottom:.5rem}.article-content blockquote p:last-child{margin-bottom:0}.article-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.95em;box-shadow:0 2px 4px #0000001a;background-color:#fff;overflow:hidden;border-radius:8px}.article-content thead{background-color:#24515d;color:#fff}.article-content th{padding:12px 16px;text-align:left;font-weight:600;border-bottom:2px solid #1a3c47}.article-content td{padding:10px 16px;border-bottom:1px solid #e0e0e0}.article-content tbody tr:hover{background-color:#f8f9fa;transition:background-color .2s ease}.article-content tbody tr:last-child td{border-bottom:none}.article-content tbody tr:nth-child(2n){background-color:#f9f9f9}.article-content tbody tr:nth-child(2n):hover{background-color:#f0f0f0}.article-code{margin-top:2.5rem}.code-heading{font-size:1.75rem;color:#24515d;font-weight:600;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #e0e0e0}@media(max-width:768px){.algorithm-article{padding:1.5rem 1rem}.article-content h1{font-size:1.75rem}.article-content h2{font-size:1.5rem}.article-content h3{font-size:1.25rem}.article-content h4{font-size:1.1rem}.article-content p,.article-content li{font-size:.95rem}.article-content code,.article-content table{font-size:.85em}.article-content th,.article-content td{padding:8px 10px}.code-heading{font-size:1.5rem}}.visualizer-page{padding:0;min-height:100vh;display:flex;flex-direction:column}header{text-align:center;padding:2rem 2rem 1.5rem;position:relative;border-bottom:1px solid #e0e0e0}.back-link{position:absolute;top:2rem;left:2rem;color:var(--primary);text-decoration:none;font-weight:600;transition:color .2s;font-size:.9rem}.back-link:hover{color:var(--accent)}h1{font-weight:600;font-size:2.75rem;letter-spacing:1px;margin-bottom:.5rem;text-transform:uppercase}.description{color:#666;font-size:1.1rem;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.complexity{display:flex;gap:1.5rem;justify-content:center;font-size:.9rem;color:#555;font-family:Courier New,monospace}.main-content{display:flex;flex:1;gap:0;min-height:600px}.controls-sidebar{background-color:#fafafa;padding:2rem 1.5rem;display:flex;flex-direction:column;flex-shrink:0}.controls-sidebar.left{border-right:none}.controls-sidebar.right{border-left:none}.resize-handle{background-color:#e0e0e0;flex-shrink:0;position:relative;transition:background-color .2s ease}.resize-handle.left,.resize-handle.right{width:8px;cursor:col-resize}.resize-handle.horizontal{height:8px;cursor:row-resize;width:100%}.resize-handle:hover{background-color:var(--accent)}.resize-handle.left:before,.resize-handle.right:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2px;height:40px;background-color:#999;border-radius:1px}.resize-handle.horizontal:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:2px;background-color:#999;border-radius:1px}.resize-handle:hover:before{background-color:var(--primary)}.center-content{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.visualization-area{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;overflow:hidden;flex-shrink:0;gap:1rem}.current-step-display{width:100%;max-width:800px;background-color:#0f111a;color:#e0e0e0;padding:.75rem 1rem;border-radius:4px;font-family:Courier New,Consolas,Monaco,monospace;font-size:.85rem;display:flex;align-items:center;gap:.75rem;border:1px solid #24515d;box-shadow:0 2px 4px #0000001a}.step-indicator{color:#59c6c1;font-weight:700;font-size:1rem;flex-shrink:0}.step-code{color:#e0e0e0;font-weight:700;line-height:1.4;flex:1}.controls{display:flex;flex-direction:column;gap:1.5rem}.slider-group{display:flex;flex-direction:column;gap:.5rem}.slider-group label{font-weight:500;font-size:.85rem;color:#333}.slider-group input[type=range]{width:100%}.button-group{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.button-group button{width:100%;margin:0}.step-btn{font-size:.9rem;padding:10px 16px;background-color:#fff;color:var(--primary);border:2px solid var(--primary)}.step-btn:hover{background-color:var(--primary);color:#fff}.play-stop-btn{font-size:1rem;padding:12px 20px;background-color:var(--accent);color:var(--fg)}.play-stop-btn:hover{background-color:var(--primary);color:#fff}.play-stop-btn.sorting{background-color:#ff6b6b}.play-stop-btn.sorting:hover{background-color:#c55}.intuition-section{padding:1.5rem 2rem;background-color:#fafafa}.code-section{padding:1.5rem 2rem;background-color:#fafafa;flex:1;overflow-y:auto;min-height:200px}@media(max-width:1200px){.main-content{flex-direction:column}.center-content{display:contents}.controls-sidebar.left{order:1}.resize-handle.left{order:2}.mobile-viz-section{order:3;min-height:var(--mobile-viz-height, 300px)!important}.resize-handle.right{order:4}.controls-sidebar.right{order:5}.resize-handle.horizontal{order:6}.intuition-section{order:7}.code-section{order:8;flex:1}.resize-handle.left,.resize-handle.right,.resize-handle.horizontal{width:100%;height:8px;cursor:row-resize}.resize-handle.left:before,.resize-handle.right:before,.resize-handle.horizontal:before{width:40px;height:2px}.controls-sidebar{width:100%!important;border-left:none;border-right:none;padding:1.5rem}.controls-sidebar.left{border-bottom:none;border-right:none}.controls-sidebar.right{border-top:none;border-bottom:none;border-left:none}.controls{flex-direction:row;flex-wrap:wrap;justify-content:space-around;gap:1rem}.slider-group{min-width:200px;align-items:center}.button-group{flex-direction:row;width:100%;justify-content:center}.button-group button{width:auto;flex:1}}.ml-visualization-layout{display:flex;gap:24px;width:100%;align-items:flex-start;padding:20px}.ml-main-area{flex:1;display:flex;justify-content:center;align-items:center}.ml-side-area{display:flex;flex-direction:column;gap:20px;min-width:350px}@media(max-width:1200px){.ml-visualization-layout{flex-direction:column}.ml-side-area{width:100%;min-width:unset}}.documentation-page{min-height:100vh;background:var(--bg);display:flex;flex-direction:column}.doc-header{background:var(--bg-container);border-bottom:2px solid var(--border);padding:20px 40px;display:flex;align-items:center;gap:40px;position:sticky;top:0;z-index:100}.back-button{color:var(--primary);text-decoration:none;font-weight:600;font-size:16px;transition:color .2s ease}.back-button:hover{color:var(--accent)}.doc-title{font-size:24px;font-weight:700;color:var(--primary);margin:0;flex:1}.doc-nav{display:flex;gap:20px}.doc-nav a{color:var(--fg);text-decoration:none;font-weight:500;padding:8px 16px;border-radius:4px;transition:all .2s ease}.doc-nav a:hover{background:#59c6c11a;color:var(--accent)}.doc-nav a.active{background:var(--accent);color:var(--primary);font-weight:600}.doc-content{flex:1;padding:40px;max-width:1200px;margin:0 auto;width:100%}.loading,.error{text-align:center;padding:40px;font-size:18px;color:var(--fg)}.error{color:#e74c3c}.markdown-body{color:var(--fg);line-height:1.6}.markdown-body h1{font-size:32px;font-weight:700;color:var(--primary);margin-top:40px;margin-bottom:20px;border-bottom:2px solid var(--border);padding-bottom:10px}.markdown-body h1:first-child{margin-top:0}.markdown-body h2{font-size:26px;font-weight:600;color:var(--primary);margin-top:32px;margin-bottom:16px;border-bottom:1px solid var(--border);padding-bottom:8px}.markdown-body h3{font-size:20px;font-weight:600;color:var(--primary);margin-top:24px;margin-bottom:12px}.markdown-body h4{font-size:18px;font-weight:600;color:var(--fg);margin-top:20px;margin-bottom:10px}.markdown-body p{margin-bottom:16px}.markdown-body ul,.markdown-body ol{margin-bottom:16px;padding-left:32px}.markdown-body li{margin-bottom:8px}.markdown-body li.completed-item{opacity:.7;text-decoration:line-through;color:var(--fg)}.markdown-body li.pending-item{color:var(--accent);font-weight:500}.color-reference{display:inline-flex;align-items:center;gap:6px;background:var(--bg-container);padding:2px 8px;border-radius:4px;border:1px solid var(--border);margin:0 2px}.color-swatch{display:inline-block;width:20px;height:20px;border-radius:4px;border:2px solid var(--border);box-shadow:0 1px 3px #0003;flex-shrink:0}.color-reference code{background:none;padding:0;border:none;font-size:13px;color:var(--fg);font-weight:500}.color-label{font-size:12px;color:var(--fg);opacity:.8;font-style:italic}.markdown-body code{background:var(--bg-container);padding:2px 6px;border-radius:4px;font-family:Courier New,monospace;font-size:14px;color:var(--accent);border:1px solid var(--border)}.markdown-body pre{background:#0f111a;border:2px solid var(--border);border-radius:8px;padding:16px;overflow-x:auto;margin-bottom:20px;box-shadow:0 4px 12px #00000026;color:#c5c8c6}.markdown-body pre code{background:none;border:none;padding:0;color:#c5c8c6}.markdown-body pre>div{margin:0!important;padding:16px!important;background:#0f111a!important;border-radius:8px}.markdown-body pre>div code{font-family:Courier New,Consolas,monospace!important;font-size:14px!important;line-height:1.6!important}.markdown-body blockquote{border-left:4px solid var(--accent);padding-left:16px;margin-left:0;margin-bottom:16px;color:var(--fg);opacity:.9}.markdown-body a{color:var(--accent);text-decoration:none;font-weight:500}.markdown-body a:hover{text-decoration:underline}.markdown-body hr{border:none;border-top:2px solid var(--border);margin:32px 0}.markdown-body table{width:100%;border-collapse:collapse;margin-bottom:20px}.markdown-body table th,.markdown-body table td{border:1px solid var(--border);padding:12px;text-align:left}.markdown-body table th{background:var(--bg-container);font-weight:600;color:var(--primary)}.markdown-body table tr:nth-child(2n){background:#59c6c10d}.markdown-body strong{font-weight:600;color:var(--primary)}.markdown-body em{font-style:italic;color:var(--accent)}@media(max-width:768px){.doc-header{flex-direction:column;align-items:flex-start;gap:16px}.doc-nav{width:100%;justify-content:flex-start}.doc-content{padding:20px}.markdown-body h1{font-size:28px}.markdown-body h2{font-size:22px}.markdown-body h3{font-size:18px}}:root{--viz-scale: 1;--primary: #24515d;--accent: #59c6c1;--bg: #ffffff;--fg: #000000;--bg-container: #f2f2f2;--border: #ccc}*{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--bg);color:var(--fg);font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{background-color:var(--primary);color:#fff;border:none;padding:10px 20px;margin:5px;cursor:pointer;border-radius:6px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;transition:all .2s ease;font-size:.9rem;font-family:inherit}button:hover{background-color:var(--accent);color:var(--fg)}button:active{transform:scale(.96)}button:disabled{opacity:.5;cursor:not-allowed}input[type=range]{-webkit-appearance:none;width:200px;height:6px;background:#ddd;border-radius:3px;outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:var(--primary);border-radius:50%;cursor:pointer;transition:background .2s ease}input[type=range]::-webkit-slider-thumb:hover{background:var(--accent)}input[type=range]::-moz-range-thumb{width:16px;height:16px;background:var(--primary);border-radius:50%;cursor:pointer;border:none}input[type=range]:disabled{opacity:.5;cursor:not-allowed}
