.head-title.svelte-l4dbmq{z-index:201;justify-content:space-between;align-items:center;gap:.3rem;padding-bottom:.5rem;padding-right:.5rem;display:flex}.multi-head.svelte-l4dbmq{position:relative}.multi-head.svelte-l4dbmq .title-text:where(.svelte-l4dbmq){white-space:nowrap;text-align:center;font-weight:500}.multi-head.svelte-l4dbmq button:where(.svelte-l4dbmq){color:#9ca3af;border:1px solid #d1d5db;border-radius:.3rem;padding:.1rem;box-shadow:0 1px 2px #0000000d}.multi-head.svelte-l4dbmq button:where(.svelte-l4dbmq):disabled{color:#e5e7eb;border:1px solid #e5e7eb}.head-content.svelte-l4dbmq{width:100%}.head-card-container.svelte-l4dbmq{z-index:11}.head-card.svelte-l4dbmq{background-color:#fff;border:1px solid #f9fafb;box-shadow:0 4px 6px -1px #03071226,0 2px 4px -2px #03071214}.cell-text{text-anchor:middle;font-family:monospace;font-size:.6rem}.matrix-svg .cell,.matrix-svg .cell.highlight{opacity:1}.matrix-svg .cell.dim{opacity:.1!important}.matrix-tooltip.svelte-odlapx{pointer-events:none;border-radius:3px;padding:.5rem;font-family:monospace;position:absolute;transform:translate(-50%,-100%)}.matrix-tooltip.svelte-odlapx .arrow:where(.svelte-odlapx){bottom:-5px;left:calc(50% - 5px)}.attention-matrix-container.svelte-1hqz787{cursor:pointer;border-radius:.5rem;gap:1rem;padding:1rem;transition:background-color .2s}.attention-matrix-container.svelte-1hqz787 .attention-qk:where(.svelte-1hqz787),.attention-matrix-container.svelte-1hqz787 .attention-mask:where(.svelte-1hqz787),.attention-matrix-container.svelte-1hqz787 .attention-softmax:where(.svelte-1hqz787){display:none}.attention-matrix-container.svelte-1hqz787 .matrix{padding:.5rem}.attention-matrix-container.svelte-1hqz787 .matrix-label:where(.svelte-1hqz787){white-space:nowrap;color:#9ca3af}.attention-matrix-container.svelte-1hqz787 .attention-result:where(.svelte-1hqz787) .matrix-label:where(.svelte-1hqz787):hover{color:#4b5563}.attention-matrix-container.svelte-1hqz787 .arrow:where(.svelte-1hqz787){left:-1rem;top:calc(var(--attention-matrix-width) / 2 - .5rem);color:#d1d5db;width:1.2rem;height:1.2rem;position:absolute}.attention-matrix-container.svelte-1hqz787 .attention-matrix:where(.svelte-1hqz787){position:relative}.color-scale.svelte-1hqz787{justify-content:space-between;align-items:center;gap:.2rem;width:100%;height:1rem;padding:0 1rem;display:flex;position:absolute;bottom:-1.2rem}.color-scale.svelte-1hqz787 .bar:where(.svelte-1hqz787){background:linear-gradient(90deg,#fff 0%,#6c2bd9 100%);border:1px solid #e5e7eb;flex:1 0 0;height:.4rem}.color-scale.svelte-1hqz787 .val:where(.svelte-1hqz787){color:#4b5563;flex-shrink:0;font-family:monospace;font-size:.7rem}.attention-matrix.svelte-dh5apq,.head-title.svelte-dh5apq{z-index:102}.attention.expanded.svelte-dh5apq .title:where(.svelte-dh5apq),.attention.expanded.svelte-dh5apq .head-content{z-index:900}.attention.expanded.svelte-dh5apq .multi-head .head-card:first-child{z-index:900!important}.attention.svelte-dh5apq .attention-bounding:where(.svelte-dh5apq){width:calc(100% + 1rem);height:100%;padding:.5rem 0;top:-.5rem;left:-.3rem}.attention.svelte-dh5apq .column:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){color:#4b5563;font-size:.7rem}.attention.svelte-dh5apq .column:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){z-index:102;font-size:.9rem;transition:none;position:absolute;top:-1.7rem;left:50%;transform:translate(-50%)}.attention.svelte-dh5apq .column.query:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){color:#76a9fa}.attention.svelte-dh5apq .column.key:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){color:#f98080}.attention.svelte-dh5apq .column.value:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){color:#31c48d}.attention.svelte-dh5apq .column.out:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){color:#ac94fa}.attention.svelte-dh5apq .content:where(.svelte-dh5apq){grid-template-columns:auto 0;display:grid}.attention.svelte-dh5apq .content:where(.svelte-dh5apq) .tokens:where(.svelte-dh5apq){gap:.6rem}.attention.svelte-dh5apq .heads:where(.svelte-dh5apq){padding:0 7rem 0 8rem}.attention.svelte-dh5apq .heads:where(.svelte-dh5apq) .head1.cell:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){height:auto;line-height:1}.attention.svelte-dh5apq .heads:where(.svelte-dh5apq) .head1.cell.active.query:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){color:#1a56db;z-index:100;background-color:#e1effe;padding:.2rem;font-size:1rem}.attention.svelte-dh5apq .heads:where(.svelte-dh5apq) .head1.cell.active.key:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){color:#c81e1e;z-index:100;background-color:#fde8e8;padding:.2rem;font-size:1rem}canvas.svelte-1toa60d{opacity:0;width:100%;height:100%;transition:opacity .2s;display:block;position:absolute;top:0;left:0;overflow:hidden}canvas.active.svelte-1toa60d,canvas.svelte-1toa60d:hover{opacity:1}.transformer-blocks.expanded.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx){opacity:.2}.transformer-blocks.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx){z-index:200;opacity:0;white-space:pre;color:#9ca3af;transition:opacity .2s;position:absolute;top:0;left:calc(-50% - .5rem);transform:translateY(-100%)}.transformer-blocks.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx) .text:where(.svelte-1u6l7nx){padding-left:.5rem;font-size:.85rem;line-height:1.2;transition:opacity .5s}.transformer-blocks.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx) .text:where(.svelte-1u6l7nx) .strong:where(.svelte-1u6l7nx){font-weight:600}.transformer-blocks.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx) .text.highlight:where(.svelte-1u6l7nx) .strong:where(.svelte-1u6l7nx){color:#3f83f8;font-weight:600;transition:all .5s}.transformer-blocks.svelte-1u6l7nx .guide.active:where(.svelte-1u6l7nx){opacity:1}.transformer-blocks.svelte-1u6l7nx .content:where(.svelte-1u6l7nx){grid-template-columns:repeat(4, minmax(var(--min-column-width), 1fr));display:grid}.transformer-blocks.svelte-1u6l7nx .content:where(.svelte-1u6l7nx) .column.final:where(.svelte-1u6l7nx){grid-column-start:2}.transformer-blocks.svelte-1u6l7nx .content:where(.svelte-1u6l7nx) .column.final:where(.svelte-1u6l7nx) .label.float:where(.svelte-1u6l7nx){left:2rem}.second-column.svelte-1u6l7nx{grid-column:span 2}.prob-dim.svelte-1u6l7nx{pointer-events:none;z-index:300;background:linear-gradient(#fff0 0%,#fff 100%);width:100%;height:30%;position:absolute;bottom:-3rem;transform:translate(-1rem)}.prob-dim.expanded.svelte-1u6l7nx{z-index:998}.probability-col.svelte-vaptix{z-index:102;-webkit-user-select:none;user-select:none;min-width:6rem}.probability-col.svelte-vaptix rect.highlighted{fill:#9061f9}.formula-steps.svelte-1rnf74c{justify-content:space-between;align-items:center;gap:1rem;height:10rem;display:flex}.formula-steps.svelte-1rnf74c .step-arrow{color:#9ca3af}.formula-steps.svelte-1rnf74c .norm-step:where(.svelte-1rnf74c){width:3rem}.formula-steps.svelte-1rnf74c .final-step:where(.svelte-1rnf74c){white-space:nowrap;width:4rem}.formula-step.svelte-1rnf74c{flex-direction:column;flex-shrink:0;gap:1rem;height:100%;display:flex}.formula-step.svelte-1rnf74c .step-title:where(.svelte-1rnf74c){text-align:center;flex-direction:column;flex-shrink:0;width:100%;display:flex;position:relative}.formula-step.svelte-1rnf74c .step-title:where(.svelte-1rnf74c) .sub-title:where(.svelte-1rnf74c){color:#9ca3af;text-align:center;width:100%;font-size:.8rem;position:absolute;bottom:-1.1rem}.formula-step.svelte-1rnf74c .step-content:where(.svelte-1rnf74c){flex:1 0 0;align-items:center;width:100%;display:flex;position:relative}.formula-step.svelte-1rnf74c .annotation:where(.svelte-1rnf74c){color:#9ca3af;flex-direction:column;align-items:center;gap:.1rem;font-size:.75rem;line-height:0;display:flex;position:absolute;left:50%;transform:translate(-50%)}.formula-step.svelte-1rnf74c .annotation.logit:where(.svelte-1rnf74c){gap:.4rem;bottom:1.5rem}.formula-step.svelte-1rnf74c .annotation.logit:where(.svelte-1rnf74c) svg{transform:scaleY(-1)}.formula-step.svelte-1rnf74c .annotation.temp:where(.svelte-1rnf74c){top:1.3rem}.formula-step.svelte-1rnf74c .number:where(.svelte-1rnf74c){font-family:monospace}.formula-step.svelte-1rnf74c .filtered:where(.svelte-1rnf74c){background-color:#edebfe}.formula-step.svelte-1rnf74c .text:where(.svelte-1rnf74c){font-size:.9rem;font-weight:300}.formula-step.svelte-1rnf74c .highlight:where(.svelte-1rnf74c){color:#9061f9;font-weight:600}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c){text-align:center;flex-shrink:0}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c) .frac-line:where(.svelte-1rnf74c){background-color:#000;width:100%;height:1px;margin:.1rem 0}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c) .frac-top:where(.svelte-1rnf74c){padding-right:.8rem}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c) .frac-bottom:where(.svelte-1rnf74c){flex-direction:column;width:100%;display:flex}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c) .sum:where(.svelte-1rnf74c){opacity:0}.formula-step.svelte-1rnf74c .fraction:where(.svelte-1rnf74c) .sum.active:where(.svelte-1rnf74c){opacity:1}.formula-step.svelte-1rnf74c .topk-formula:where(.svelte-1rnf74c) .cases:where(.svelte-1rnf74c){flex-direction:column;gap:.5rem;display:flex}.formula-step.svelte-1rnf74c .topk-formula:where(.svelte-1rnf74c) .case-row:where(.svelte-1rnf74c){flex-direction:column;align-items:center;gap:.2rem;display:flex}.softmax-popover{display:flex;width:max-content!important;max-width:none!important;padding:0!important}.softmax-popover-title.svelte-1rnf74c .highlight:where(.svelte-1rnf74c){color:#6c2bd9;font-weight:800}.softmax-popover-content.svelte-1rnf74c{flex-direction:column;justify-content:center;align-items:center;gap:1.5rem;height:100%;padding:1rem 2rem;display:flex}.weight-popover-card{flex-direction:column;display:flex;width:max-content!important;max-width:none!important;padding:0!important}.weight-popover-title.svelte-1o6cn03{flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;display:flex}.content.svelte-1o6cn03{width:100%}.content.svelte-1o6cn03 .formula{position:relative}.content.svelte-1o6cn03 .formula .first-row{opacity:1;width:100%;position:absolute}.content.svelte-1o6cn03 .formula .total{opacity:0}.content.svelte-1o6cn03 .formula .katex-html{font-size:.9rem}.controls.svelte-1o6cn03{gap:.5rem;display:flex}.weight-popover-content{width:100%;padding:3rem 2rem 1.5rem 1rem}.weight-popover-content .tokens{flex-direction:column;padding-right:.3rem;display:flex}.weight-popover-content .token-label{text-align:right;color:#6b7280;font-size:.8rem;line-height:1}.weight-popover-content .matrix{justify-content:space-around;height:100%;position:relative}.weight-popover-content .matrix .title,.weight-popover-content .matrix .size{color:#111827;white-space:nowrap;font-size:.8rem;position:absolute}.weight-popover-content .matrix .size{bottom:-1.5rem}.weight-popover-content .matrix .title{text-align:center;line-height:1.2;bottom:calc(100% + 1rem)}.weight-popover-content .operator{color:#000;opacity:.8;padding:0 .5rem;font-size:1.2rem}.weight-popover-content.svelte-1sgka5b{gap:.5rem;padding:3rem 2rem 1.5rem 3.5rem}.matrix.svelte-1sgka5b .title:where(.svelte-1sgka5b){text-align:center;line-height:1.2}.softmax-popover.svelte-xupgmx{position:absolute;top:0;right:calc(100% + 6rem)}.logit-popover.svelte-xupgmx{z-index:998;position:absolute;top:15rem;right:calc(100% + 6rem);width:max-content!important}.frac-line{border-color:#000}.softmax-tooltip{z-index:999}.softmax.expanded.svelte-xupgmx .title:where(.svelte-xupgmx),.softmax.expanded.svelte-xupgmx .content:where(.svelte-xupgmx){z-index:900}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-bounding:where(.svelte-xupgmx){width:calc(100% + 3rem);height:100%;padding:.5rem 0;top:-.5rem;left:-5rem}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx){grid-template-columns:0 auto;padding-right:3rem;display:grid}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx){color:#9ca3af;gap:var(--softmax-row-gap);flex-direction:column;flex-shrink:0;display:flex}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) span.number:where(.svelte-xupgmx){font-family:monospace;font-size:.8rem}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box:where(.svelte-xupgmx){cursor:default;text-align:right;width:100%;height:var(--softmax-row-height);flex-shrink:0;justify-content:center;align-items:center;padding-right:4px;font-size:.9rem;display:flex;position:relative}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.zero:where(.svelte-xupgmx){color:#d1d5db}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.filtered:where(.svelte-xupgmx){color:#6b7280;background-color:#edebfe}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.highlight:where(.svelte-xupgmx){color:#7e3af2;transition:background-color .2s}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.sample_highlight:where(.svelte-xupgmx){color:#fff;background-color:#ac94fa}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.final_token_highlight:where(.svelte-xupgmx){color:var(--predicted-color);font-weight:600;transition:background-color 1s}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.cutoff:where(.svelte-xupgmx){position:relative}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx) .text-box.cutoff:where(.svelte-xupgmx) .cutoff-label:where(.svelte-xupgmx){color:#9061f9;background-color:#f9fafb;font-family:serif;font-size:.9rem;font-weight:600;line-height:1;position:absolute;top:1rem;transform:translateY(50%)}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .second-column:where(.svelte-xupgmx){padding-left:2px}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-row:where(.svelte-xupgmx) .vector-box:where(.svelte-xupgmx){background-color:#f9fafb;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .token-string:where(.svelte-xupgmx){width:5rem}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .token-string:where(.svelte-xupgmx) .text-box:where(.svelte-xupgmx){justify-content:end}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .token-string:where(.svelte-xupgmx) .text-box:where(.svelte-xupgmx) span:where(.svelte-xupgmx){z-index:102}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .logits:where(.svelte-xupgmx),.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .scaled:where(.svelte-xupgmx),.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .sampling:where(.svelte-xupgmx){width:5rem}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .strike:where(.svelte-xupgmx){text-decoration:line-through}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx){gap:.5rem;position:absolute;top:0;left:-5rem;transform:translateY(calc(-100% - 1rem))}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx){border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:end;display:flex;top:0}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx) .title-text:where(.svelte-xupgmx){color:#9ca3af;align-items:end;gap:2px;display:flex}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx) .title-text:where(.svelte-xupgmx):hover{background-color:#f9fafb}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx) .title-text.btn:where(.svelte-xupgmx){color:#6b7280;cursor:pointer;border:1px solid #d1d5db;border-radius:.3rem;height:max-content;padding:.1rem .3rem}.softmax.svelte-xupgmx .second-column:where(.svelte-xupgmx){position:relative}.embedding-bounding.svelte-1036wcd{width:calc(100% - 2rem);height:100%;padding:.5rem 0;top:-.5rem;left:2rem}.embedding.expanded.svelte-1036wcd .title:where(.svelte-1036wcd),.embedding.expanded.svelte-1036wcd .content:where(.svelte-1036wcd){z-index:900}.embedding.expanded.svelte-1036wcd .operations:where(.svelte-1036wcd){pointer-events:none;opacity:.2}.embedding.svelte-1036wcd .embedding-detail:where(.svelte-1036wcd){opacity:0}.embedding.svelte-1036wcd .title:where(.svelte-1036wcd){white-space:nowrap;justify-content:end;width:1rem;padding-left:3rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd){padding-left:2rem;display:flex}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-column:where(.svelte-1036wcd) .column:where(.svelte-1036wcd){padding:0 1rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-column:where(.svelte-1036wcd) .column:where(.svelte-1036wcd) .cell:where(.svelte-1036wcd){text-align:left;justify-content:flex-end;gap:.5rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-column:where(.svelte-1036wcd) .symbol:where(.svelte-1036wcd){color:#9ca3af;font-size:.8rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-string:where(.svelte-1036wcd){flex-shrink:0;width:7rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .subtitle:where(.svelte-1036wcd){justify-content:center;align-items:end;line-height:1.3}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .index-val:where(.svelte-1036wcd) .label:where(.svelte-1036wcd){color:#9ca3af;font-size:.8rem;line-height:1}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .index-val:where(.svelte-1036wcd) .val:where(.svelte-1036wcd){text-align:left;color:#4b5563;width:4rem;font-family:monospace;font-size:.7rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-embedding:where(.svelte-1036wcd){width:11rem;position:relative}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-embedding:where(.svelte-1036wcd) .vocab-index:where(.svelte-1036wcd){flex-shrink:0;justify-content:center;width:5rem;padding-right:1rem;display:flex;overflow:visible}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .position-embedding:where(.svelte-1036wcd) .subtitle:where(.svelte-1036wcd){margin-left:-1rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .position-embedding:where(.svelte-1036wcd) .cell:where(.svelte-1036wcd){justify-content:center;gap:.5rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .position-embedding:where(.svelte-1036wcd) .index-val:where(.svelte-1036wcd){justify-content:start;width:2rem}.activation.svelte-15ffy6h,.residual.svelte-15ffy6h,.dropout.svelte-15ffy6h,.ln.svelte-15ffy6h{z-index:101;flex-shrink:0;width:1.2rem;position:relative}.activation.svelte-15ffy6h .cursor:where(.svelte-15ffy6h),.residual.svelte-15ffy6h .cursor:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h .cursor:where(.svelte-15ffy6h),.ln.svelte-15ffy6h .cursor:where(.svelte-15ffy6h){height:100%;position:absolute;left:50%}.activation.svelte-15ffy6h svg.main:where(.svelte-15ffy6h),.residual.svelte-15ffy6h svg.main:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h svg.main:where(.svelte-15ffy6h),.ln.svelte-15ffy6h svg.main:where(.svelte-15ffy6h){width:100%;height:100%;overflow:visible}.activation.svelte-15ffy6h svg:where(.svelte-15ffy6h) path:where(.svelte-15ffy6h),.residual.svelte-15ffy6h svg:where(.svelte-15ffy6h) path:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h svg:where(.svelte-15ffy6h) path:where(.svelte-15ffy6h),.ln.svelte-15ffy6h svg:where(.svelte-15ffy6h) path:where(.svelte-15ffy6h){transform:translate(50%)}.activation.svelte-15ffy6h svg:where(.svelte-15ffy6h) .icon:where(.svelte-15ffy6h),.residual.svelte-15ffy6h svg:where(.svelte-15ffy6h) .icon:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h svg:where(.svelte-15ffy6h) .icon:where(.svelte-15ffy6h),.ln.svelte-15ffy6h svg:where(.svelte-15ffy6h) .icon:where(.svelte-15ffy6h){fill:#d1d5db;opacity:.6}.activation.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.residual.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.ln.svelte-15ffy6h .icon:where(.svelte-15ffy6h){opacity:1;transition:opacity .3s}.activation.svelte-15ffy6h .line:where(.svelte-15ffy6h),.residual.svelte-15ffy6h .line:where(.svelte-15ffy6h),.dropout.svelte-15ffy6h .line:where(.svelte-15ffy6h),.ln.svelte-15ffy6h .line:where(.svelte-15ffy6h){opacity:0;transition:opacity .3s}.activation.active.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.residual.active.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.dropout.active.svelte-15ffy6h .icon:where(.svelte-15ffy6h),.ln.active.svelte-15ffy6h .icon:where(.svelte-15ffy6h){opacity:0}.activation.active.svelte-15ffy6h .line:where(.svelte-15ffy6h),.residual.active.svelte-15ffy6h .line:where(.svelte-15ffy6h),.dropout.active.svelte-15ffy6h .line:where(.svelte-15ffy6h),.ln.active.svelte-15ffy6h .line:where(.svelte-15ffy6h),.activation.active.svelte-15ffy6h .guide:where(.svelte-15ffy6h),.residual.active.svelte-15ffy6h .guide:where(.svelte-15ffy6h),.dropout.active.svelte-15ffy6h .guide:where(.svelte-15ffy6h),.ln.active.svelte-15ffy6h .guide:where(.svelte-15ffy6h){opacity:1}.dropout.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;stroke-dasharray:2 2;fill:none;stroke-width:2px}.residual.svelte-15ffy6h{width:.5rem}.residual.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1px}.residual.svelte-15ffy6h .head:where(.svelte-15ffy6h){stroke:#9ca3af}.residual.svelte-15ffy6h .residual-text:where(.svelte-15ffy6h){color:#9ca3af;white-space:nowrap;font-size:.9rem;position:absolute;top:-2.2rem;left:4rem;transform:translate(-50%)}.ln.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1px}.activation.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;stroke-dasharray:2 4;fill:none;stroke-width:2px}.activation.svelte-15ffy6h .guide:where(.svelte-15ffy6h){width:100%;height:100%;top:0;transform:translate(0)}.activation.svelte-15ffy6h .guide:where(.svelte-15ffy6h) .guide-text:where(.svelte-15ffy6h){opacity:1;top:50%;transform:translateY(-50%)}.guide.svelte-15ffy6h{opacity:0;transition:opacity .5s;position:absolute;top:calc(100% - 10px);left:0;transform:translate(calc(-100% - 5px))}.guide.svelte-15ffy6h svg:where(.svelte-15ffy6h){width:100%;height:100%;overflow:visible}.guide.svelte-15ffy6h .guide-text:where(.svelte-15ffy6h){color:#9ca3af;white-space:nowrap;font-size:.9rem;position:absolute;top:50px;left:50%;transform:translate(-50%)}.guide.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1px;stroke-dasharray:none}.column.operation-col.svelte-9ewkp4{cursor:help;z-index:300;height:fit-content}.column.operation-col.residual.svelte-9ewkp4{opacity:.5!important}.column.operation-col.residual.active.svelte-9ewkp4{opacity:1!important}.column.operation-col.active.svelte-9ewkp4{z-index:300}.column.operation-col.active.svelte-9ewkp4:after{content:"";z-index:998;width:1.3rem;height:100%;position:absolute}.dropout-popover,.ln-popover,.residual-popover{z-index:998;width:10rem}.mlp.svelte-1x3itvv .mlp-bounding:where(.svelte-1x3itvv){width:calc(100% + .2rem);height:100%;padding:.5rem 0;top:-.5rem;left:-.2rem}.mlp.svelte-1x3itvv .content:where(.svelte-1x3itvv){grid-template-columns:repeat(4, minmax(var(--min-column-width), 1fr));display:grid}.mlp.svelte-1x3itvv .content:where(.svelte-1x3itvv) .first-layer:where(.svelte-1x3itvv){grid-column:span 2}.mlp.svelte-1x3itvv .content:where(.svelte-1x3itvv) .activation:where(.svelte-1x3itvv){position:relative;left:calc(.8rem - 100%)}.mlp.svelte-1x3itvv .column.out-label:where(.svelte-1x3itvv) .label:where(.svelte-1x3itvv){opacity:0}.mlp.svelte-1x3itvv .column.out-label:where(.svelte-1x3itvv) .last:where(.svelte-1x3itvv) .label:where(.svelte-1x3itvv){opacity:1}.mlp.svelte-1x3itvv .last-block:where(.svelte-1x3itvv){pointer-events:none}.mlp.svelte-1x3itvv .last-block:where(.svelte-1x3itvv) .vector:where(.svelte-1x3itvv){width:0}.weight-popover-content.svelte-hj15bc{gap:1rem;padding:3rem 3rem 1.5rem 2.5rem}.weight-popover-content.svelte-1pjvffv{gap:.6rem;padding:3rem 3rem 1.5rem 1rem}.operator.svelte-1pjvffv{position:relative}.matrix.svelte-1pjvffv .title:where(.svelte-1pjvffv){text-align:center;line-height:1.1}.weight-popover-content.svelte-1xl9o57{gap:1rem;padding:3rem 4rem 1.5rem 1rem}.operator.svelte-1xl9o57{position:relative}.weight-popover.svelte-1nqiwmm{z-index:998;position:absolute;width:max-content!important}.qkv-weight-popover.svelte-1nqiwmm{transform:translate(1rem)}.attention-weight-popover.svelte-1nqiwmm{transform:translate(1rem,-50%)}.mlp-weight-popover.svelte-1nqiwmm{transform:translate(calc(-100% - .5rem))}.softmax-weight-popover.svelte-1nqiwmm{transform:translate(calc(1rem - 100%))}.tooltip-box.svelte-1nqiwmm{z-index:998;color:#4b5563;pointer-events:none;white-space:nowrap;background-color:#fff;border:1px solid #e5e7eb;border-radius:.4rem;align-items:center;gap:2px;padding:.2rem .4rem;font-size:1rem;font-weight:300;display:flex;position:fixed}.formula{height:4rem;position:relative}.formula>div{width:100%;position:absolute;top:0}.first-row{transform:translateY(100%)}.katex-display{margin:0!important}.transformer-bounding-title.deactive.svelte-qdio06{pointer-events:none}.transformer-bounding-title.svelte-qdio06{z-index:400;color:#9ca3af;justify-content:space-between;align-items:center;gap:.3rem;transition:opacity .2s;display:flex;position:absolute;left:13rem;transform:translateY(calc(-100% - .2rem))}.transformer-bounding-title.hide.svelte-qdio06{opacity:0}.transformer-bounding-title.svelte-qdio06 .title-text:where(.svelte-qdio06){white-space:nowrap;text-align:center;width:10rem;font-weight:500}.transformer-bounding-title.svelte-qdio06 button:where(.svelte-qdio06){color:#9ca3af;border:1px solid #d1d5db;border-radius:.3rem;padding:.1rem;box-shadow:0 1px 2px #0000000d}.transformer-bounding-title.svelte-qdio06 button:where(.svelte-qdio06):disabled{color:#e5e7eb;border:1px solid #e5e7eb}.transformer-bounding-title.active.svelte-qdio06{color:#1c64f2}.transformer-bounding-title.active.svelte-qdio06 button:where(.svelte-qdio06){color:#1c64f2;border:1px solid #3f83f8}.transformer-bounding-title.active.svelte-qdio06 button:where(.svelte-qdio06):disabled{color:#a4cafe;border:1px solid #a4cafe}.transformer-bounding.svelte-qdio06{opacity:1;z-index:400;pointer-events:none;border-radius:1rem;height:calc(95% - 3.5rem);transition:all .2s;position:absolute}.transformer-bounding.active.svelte-qdio06{border:2px dashed #76a9fa}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu){grid-template-columns:1fr 1fr;display:grid}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .vector-column:where(.svelte-56f2xu){position:relative;left:3rem}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .vector-column.initial-column:where(.svelte-56f2xu){left:-12px}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu){flex-direction:column;align-items:end;display:flex;position:relative;left:12px}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column.hide:where(.svelte-56f2xu){pointer-events:none;opacity:.2}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector:where(.svelte-56f2xu){-webkit-user-select:none;user-select:none;font-size:1rem}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector:where(.svelte-56f2xu) span:where(.svelte-56f2xu){opacity:.3}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector.query:where(.svelte-56f2xu){color:#3f83f8}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector.key:where(.svelte-56f2xu){color:#f05252}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector.value:where(.svelte-56f2xu){color:#0e9f6e}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu) .qkv-column:where(.svelte-56f2xu) .sub-vector:where(.svelte-56f2xu) .head-rest:where(.svelte-56f2xu){text-shadow:-1px -1px #fff,1px -1px #fff,-1px 1px #fff,1px 1px #fff;justify-content:center;align-items:center;height:100%;font-weight:700;display:flex}.qkv.animate-forward.svelte-56f2xu .vector-column:where(.svelte-56f2xu){transition:left .1s}.navigation-footer.svelte-y6e4yz{z-index:10;align-items:center;height:3rem;display:flex;position:absolute;bottom:0;left:0;right:0}.navigation-footer.svelte-y6e4yz .nav-section:where(.svelte-y6e4yz){cursor:pointer;justify-content:center;align-items:center;height:100%;transition:all .2s;display:flex}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz){cursor:default;flex:none;align-items:center;gap:.75rem;padding:0 1rem;display:flex}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz){cursor:pointer;-webkit-user-select:none;user-select:none;background:#e5e7eb;border-radius:2px;width:6rem;height:4px;transition:all .2s;position:relative}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz):hover{background:#d1d5db}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz):active{cursor:grabbing}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz) .progress-fill:where(.svelte-y6e4yz){background:#3f83f8;border-radius:2px;height:100%;transition:width .3s}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz) .progress-fill.dragging:where(.svelte-y6e4yz){transition:none}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz){position:relative}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-counter:where(.svelte-y6e4yz){white-space:nowrap;color:#1c64f2;cursor:pointer;background:#ebf5ff;border:1px solid #c3ddfd;border-radius:12px;width:3.4rem;padding:.25rem .3rem;font-size:.75rem;font-weight:500;transition:all .2s}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-counter:where(.svelte-y6e4yz):hover{background:#e1effe;border-color:#c3ddfd}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #e5e7eb4d;border-radius:8px;min-width:200px;height:300px;margin-bottom:.5rem;position:absolute;bottom:100%;left:10%;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz) .dropdown-item:where(.svelte-y6e4yz){text-align:left;cursor:pointer;color:#4b5563;background:0 0;border:none;width:100%;padding:.5rem .75rem;font-size:.8rem;transition:all .2s;display:block}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz) .dropdown-item:where(.svelte-y6e4yz):hover{color:#1c64f2;background:#ebf5ff}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz) .dropdown-item.active:where(.svelte-y6e4yz){color:#1c64f2;background:#ebf5ff;font-weight:600}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz) .dropdown-item:where(.svelte-y6e4yz):first-child{border-radius:8px 8px 0 0}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .page-counter-container:where(.svelte-y6e4yz) .page-dropdown:where(.svelte-y6e4yz) .dropdown-item:where(.svelte-y6e4yz):last-child{border-radius:0 0 8px 8px}.navigation-footer.svelte-y6e4yz .nav-section.left:where(.svelte-y6e4yz),.navigation-footer.svelte-y6e4yz .nav-section.right:where(.svelte-y6e4yz){-webkit-user-select:none;user-select:none;-webkit-user-drag:none;flex:1;justify-content:flex-start;padding-left:.5rem}.navigation-footer.svelte-y6e4yz .nav-section.left:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz),.navigation-footer.svelte-y6e4yz .nav-section.right:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz){color:#3f83f8;background:#3b82f614;border:1px solid #3b82f626;border-radius:50%;justify-content:center;align-items:center;width:1.8rem;height:1.8rem;transition:all .2s;display:flex}.navigation-footer.svelte-y6e4yz .nav-section.left:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz):hover,.navigation-footer.svelte-y6e4yz .nav-section.right:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz):hover{color:#1c64f2;background:#3b82f61f;border-color:#3b82f640}.navigation-footer.svelte-y6e4yz .nav-section.left:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz) svg,.navigation-footer.svelte-y6e4yz .nav-section.right:where(.svelte-y6e4yz) .nav-arrow-circle:where(.svelte-y6e4yz) svg{width:16px;height:16px}.navigation-footer.svelte-y6e4yz .nav-section.right:where(.svelte-y6e4yz){justify-content:flex-end;padding-right:.5rem}.floating-container.svelte-y5v0on{z-index:1000;position:fixed}.text-card.svelte-y5v0on{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-user-select:none;user-select:none;cursor:var(--card-cursor,grab);background:#fff6;border-radius:.6rem;flex-direction:column;display:flex;box-shadow:0 12px 32px #0000001f,0 4px 8px #0000000f}.text-card.svelte-y5v0on :where(.svelte-y5v0on){cursor:inherit}.text-card.svelte-y5v0on .card-header:where(.svelte-y5v0on){flex-shrink:0;padding:.5rem}.text-card.svelte-y5v0on .card-body:where(.svelte-y5v0on){flex:1 0 0;padding:0 1rem .5rem}.text-carousel.svelte-y5v0on{height:100%;padding-bottom:2rem;position:relative}.text-carousel.svelte-y5v0on .carousel-content:where(.svelte-y5v0on){height:100%;position:relative}.text-carousel.svelte-y5v0on .carousel-slide:where(.svelte-y5v0on){opacity:0;width:100%;height:100%;transition:opacity .3s;position:absolute;top:0;left:0}.text-carousel.svelte-y5v0on .carousel-slide.active:where(.svelte-y5v0on){opacity:1}.close-btn{min-width:auto;padding:.25rem .5rem}.textbook-content.svelte-y5v0on{cursor:default;font-size:.95rem;line-height:1.6}.textbook-content p{margin:0 0 .5rem}.textbook-content span.red{color:#f05252;font-weight:500}.textbook-content span.blue{color:#3f83f8;font-weight:500}.textbook-content span.green{color:#0e9f6e;font-weight:500}.textbook-content span.purple{color:#9061f9;font-weight:500}.textbook-content strong,.textbook-content b{color:var(--textbook-highlight-color);font-weight:500}.textbook-content br{line-height:.8}.textbook-content ul,.textbook-content ol{margin:.5rem 0;padding-left:.5rem}.textbook-content li{margin:.2rem 0;line-height:1.3}.textbook-content blockquote{color:var(--textbook-highlight-color);margin:.5rem 0;font-size:.9rem;font-style:italic}.textbook-content .numbered-list{flex-direction:column;display:flex}.textbook-content .numbered-item{align-items:flex-start;gap:.6rem;padding:.5rem;display:flex}.textbook-content .number-circle{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1rem;height:1rem;margin-top:.2rem;font-size:.7rem;font-weight:600;display:flex}.textbook-content .item-content{flex:1;line-height:1.4}.floating-container.svelte-1cl5xy9{z-index:1000;position:fixed;bottom:2rem;right:2rem}:root{--textbook-highlight-color:#1c64f2;--textbook-highlight-background:linear-gradient(to top, #fbff0080, #fbff004d, #ffd40800);--textbook-highlight-shadow-in:inset 0 0 10px #fbff0080, inset 0 0 10px 2px #fbff004d;--textbook-highlight-shadow-out:0 2px 8px 1px #fbff0080, 0 1.5px 6px 3px #fbff001f}.remove-finger:after,.remove-finger :after{display:none!important}.input-form.textbook-highlight .input-btn-group{transition:box-shadow .2s ease-in-out;box-shadow:var(--textbook-highlight-shadow-out)!important}.input-form .generate-button.textbook-highlight{border:1px solid var(--predicted-color);color:var(--predicted-color);transition:box-shadow .2s ease-in-out;position:relative;box-shadow:var(--textbook-highlight-shadow-out)!important}.input-form .generate-button.textbook-highlight:after{content:"👆";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;bottom:-2.2rem;left:50%;right:0;transform:translate(-50%)}.input-form .select-button.textbook-highlight{position:relative}.input-form .select-button.textbook-highlight:after{content:"👆";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;bottom:-2.2rem;left:50%;right:0;transform:translate(-50%)}.step.textbook-highlight>.title{white-space:nowrap!important;width:1rem!important;color:var(--textbook-highlight-color)!important;font-weight:500!important}.textbook-highlight .bounding{opacity:1!important;border:1px dashed var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-in)!important;z-index:400!important;border-radius:1rem!important}.embedding.textbook-highlight .title,.softmax.textbook-highlight .title{padding-bottom:3.5rem!important}.embedding.textbook-highlight .bounding,.softmax.textbook-highlight .bounding{padding:0!important;top:-3.3rem!important}.transformer-bounding-title.textbook-highlight{color:var(--textbook-highlight-color)!important}.transformer-bounding-title.textbook-highlight button,.transformer-bounding-title.textbook-highlight button:disabled{border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important}.transformer-bounding.textbook-highlight{border:1px dashed var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-in)!important}.embedding .column.textbook-highlight{background:var(--textbook-highlight-background)!important;transition:all .2s!important}.embedding .column.textbook-highlight .subtitle{color:var(--textbook-highlight-color)!important;transition:all .2s!important}.embedding .column.textbook-highlight .bounding{opacity:0!important}.embedding .title.textbook-highlight .title-text{cursor:pointer;transition:all .2s ease-in-out;position:relative;color:#4b5563!important;background:var(--textbook-highlight-background)!important}.embedding .title.textbook-highlight .title-text:after{content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;right:-2rem}.qkv-column.textbook-highlight:after{z-index:400;content:"👇";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;top:-2rem;right:2rem}.path-group.qkv.textbook-highlight{animation:1.5s ease-in-out infinite svelte-1cl5xy9-opacity-blink!important}.multi-head .head-title.textbook-highlight{color:var(--textbook-highlight-color)!important;transition:all .3s ease-in-out!important;scale:1.1!important}.multi-head .head-title.textbook-highlight button{border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-out)!important;transition:all .5s!important}.multi-head .head-title.textbook-highlight:after{z-index:400;content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;bottom:0;right:-1.5rem}.attention-result.textbook-highlight:after{content:"👆";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;bottom:-2.2rem;left:50%}.attention-result.textbook-highlight .matrix-label{color:#4b5563!important;background:var(--textbook-highlight-background)!important}path.to-attention-out.value-to-out.textbook-highlight{animation:1.5s ease-in-out infinite svelte-1cl5xy9-opacity-blink!important}path.to-attention-out.value-to-out.textbook-highlight:after{z-index:400;content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;bottom:0;right:-1.5rem}.column.out.textbook-highlight:after{z-index:400;content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;bottom:-4rem;left:0}.step.transformer-blocks .guide.textbook-highlight{transition:all .5s!important;scale:1.1!important}.transformer-bounding-title.textbook-button-highlight{color:var(--textbook-highlight-color)!important;transition:all .3s ease-in-out!important;scale:1.1!important}.transformer-bounding-title.textbook-button-highlight button{border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-out)!important;transition:all .5s!important}.transformer-bounding-title.textbook-button-highlight:after{z-index:400;content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:1.7rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;bottom:-.5rem;right:-2rem}.attention .title.textbook-highlight{color:var(--textbook-highlight-color)!important}.mlp .title.textbook-highlight{color:var(--textbook-highlight-color)}.path-group.softmax.textbook-highlight>path{animation:1.5s ease-in-out infinite svelte-1cl5xy9-opacity-blink!important}.column.final.textbook-highlight:after{z-index:400;content:"👉";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;bottom:0;right:1rem}.step.softmax .title.textbook-highlight .title-text{cursor:pointer;transition:all .2s ease-in-out;position:relative;color:#4b5563!important;background:var(--textbook-highlight-background)!important}.step.softmax .title.textbook-highlight .title-text:after{content:"👈";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke-horizon;display:block;position:absolute;right:-2rem}.formula-step.scaled.textbook-highlight{background:var(--textbook-highlight-background)!important;color:#4b5563!important}.title-box.scaled.textbook-highlight .title-text{color:#4b5563!important;background:var(--textbook-highlight-background)!important}.content-box.scaled.textbook-highlight{background:var(--textbook-highlight-background)!important}.temperature-input.textbook-highlight{position:relative}.temperature-input.textbook-highlight:after{content:"👆";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%)}.temperature-input.textbook-highlight{background:var(--textbook-highlight-background)!important}.formula-step.sampling.textbook-highlight{background:var(--textbook-highlight-background)!important;color:#4b5563!important}.title-box.sampling.textbook-highlight .title-text{color:#4b5563!important;background:var(--textbook-highlight-background)!important}.content-box.sampling.textbook-highlight{background:var(--textbook-highlight-background)!important}.sampling-input.textbook-highlight{position:relative}.sampling-input.textbook-highlight:after{content:"👆";white-space:nowrap;color:var(--textbook-highlight-color);pointer-events:none;font-size:2rem;animation:1.5s ease-in-out infinite svelte-1cl5xy9-finger-poke;display:block;position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%)}.sampling-input.textbook-highlight{background:var(--textbook-highlight-background)!important}.residual-start.textbook-highlight .residual-text{color:#4b5563!important;background:var(--textbook-highlight-background)!important}.operation-col.textbook-highlight .icon{opacity:0!important}.operation-col.textbook-highlight .line,.operation-col.textbook-highlight .guide{opacity:1!important}.operation-col.textbook-highlight .guide-text{color:#4b5563!important;background:var(--textbook-highlight-background)!important}@keyframes svelte-1cl5xy9-finger-poke{0%,to{transform:translateY(0)}20%{transform:translateY(-4px)}40%{transform:translateY(3px)}60%{transform:translateY(-2px)}80%{transform:translateY(0)}}@keyframes svelte-1cl5xy9-finger-poke-horizon{0%,to{transform:translate(0)}20%{transform:translate(-4px)}40%{transform:translate(3px)}60%{transform:translate(-2px)}80%{transform:translate(0)}}@keyframes svelte-1cl5xy9-textbook-button-blink{0%{color:#4b5563;border:1px solid #d1d5db}50%{border:1px solid var(--predicted-color);color:var(--predicted-color)}to{color:#4b5563;border:1px solid #d1d5db}}@keyframes svelte-1cl5xy9-scale-blink{0%{transform:scale(1)}50%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes svelte-1cl5xy9-opacity-blink{0%,to{opacity:.6}50%{opacity:1}}.main-section.svelte-1uha8ag{opacity:0}.main-section.active.svelte-1uha8ag{opacity:1}.nodes.svelte-1uha8ag{width:100%;height:100%;padding:1rem 0 3rem;position:relative}.steps.svelte-1uha8ag{grid-template-columns:auto 3.5fr .5fr .5fr;width:100%;height:100%;display:grid;position:relative}.steps.expanded.svelte-1uha8ag .step>.title{padding-bottom:3rem}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag){width:100%;height:100%;position:relative}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps:where(.svelte-1uha8ag){grid-template-columns:.5fr 2fr 1fr;width:100%;height:100%;display:grid;position:absolute}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps.main:where(.svelte-1uha8ag){transform-origin:3rem;top:0;left:0}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps.next:where(.svelte-1uha8ag){transform-origin:100%;pointer-events:none;justify-content:end;top:0;right:0}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .transition-watch:where(.svelte-1uha8ag){pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .hide:where(.svelte-1uha8ag){display:none}@keyframes svelte-1uha8ag-width-collapse{0%{width:100%}to{width:0%}}@keyframes svelte-1uha8ag-expand{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes svelte-1uha8ag-collapse{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.step{grid-template-rows:var(--title-height) 1fr;height:100%;display:grid}.step>.title{z-index:102;color:#9ca3af;white-space:nowrap;cursor:default;flex-direction:column;grid-row:1;justify-content:end;min-width:0;padding-bottom:2rem;transition:all .5s;display:flex;overflow:visible}.step>.title:hover{color:#4b5563}.step>.title.expandable{cursor:pointer}.step .content{grid-row:2;height:fit-content}.column{flex-direction:column;gap:.5rem;display:flex;position:relative}.column .cell{height:var(--vector-height);align-items:center;gap:1rem;display:flex;position:relative}.column .subtitle{text-align:center;color:#9ca3af;z-index:102;width:100%;font-size:.8rem;position:absolute;top:0;transform:translateY(calc(-100% - 1rem))}.vector,.sub-vector{z-index:101;width:12px;height:var(--vector-height);flex-shrink:0;justify-content:start;position:relative}.cell.x1-12,.vector.x1-12,.sub-vector.x1-12{height:calc(var(--vector-height) / 12)}.cell.x3,.vector.x3,.sub-vector.x3{height:calc(var(--vector-height) * 3)}.cell.x4,.vector.x4,.sub-vector.x4{height:calc(var(--vector-height) * 3.1)}.vector.vocab,.sub-vector.vocab{width:0;height:100%}.sub-vector.head-rest{flex:1 0 0}.label{color:#374151;z-index:101;text-overflow:ellipsis;text-align:right;max-width:7rem;font-size:.9rem;line-height:var(--vector-height);height:var(--vector-height);flex-shrink:0;display:inline;overflow:hidden}.label.float{position:absolute;left:-.8rem;transform:translate(-100%)}.label.float-right{position:absolute;left:-.8rem}.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bounding{box-sizing:content-box;opacity:0;pointer-events:none;border:2px dashed #d1d5db;border-radius:.5rem;height:100%;padding:.5rem 0;transition:opacity .5s;position:absolute;top:-.5rem;left:0}.bounding.active{opacity:.8}.popover{z-index:998;width:max-content}.tooltip{z-index:999;white-space:nowrap;color:#4b5563!important;background-color:#fff!important;border:1px solid #e5e7eb!important;padding:.2rem .5rem!important;font-size:.8rem!important;font-weight:300!important}.dim.svelte-1uha8ag{z-index:800;opacity:.7;-webkit-user-select:none;user-select:none;background-color:#fff;width:100%;height:100%;position:absolute;top:0;left:0}.dim.attention.svelte-1uha8ag{z-index:0}.dim-partial.svelte-1uha8ag{-webkit-user-select:none;user-select:none;z-index:850;height:100%;position:absolute;top:0}.dim-partial.right.svelte-1uha8ag{background:linear-gradient(90deg,#fff0 0%,#fff 80%);right:0}.dim-partial.left.svelte-1uha8ag{background:linear-gradient(-90deg,#fff0 0%,#fff 80%);left:0}.dim-partial.embedding.left.svelte-1uha8ag{display:none}.dim-partial.embedding.right.svelte-1uha8ag{width:60%}.dim-partial.attention.left.svelte-1uha8ag,.dim-partial.attention.right.svelte-1uha8ag{width:20%}.dim-partial.softmax.left.svelte-1uha8ag{width:60%}.dim-partial.softmax.right.svelte-1uha8ag{display:none}.sankey.svelte-1uha8ag{width:100%;height:100%;position:absolute;top:0;left:0}.sankey.attention.svelte-1uha8ag .sankey-top{pointer-events:none;z-index:810!important}svg g.path-group,div.step>div,div.step .column{transition:opacity .5s}
