@charset "UTF-8";.head-title.svelte-l4dbmq{padding-bottom:.5rem;padding-right:.5rem;z-index:201;display:flex;align-items:center;gap:.3rem;justify-content:space-between}.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){border-radius:.3rem;padding:.1rem;border:1px solid #D1D5DB;color:#9ca3af;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{font-size:.6rem;font-family:monospace;text-anchor:middle}.matrix-svg .cell,.matrix-svg .cell.highlight{opacity:1}.matrix-svg .cell.dim{opacity:.1!important}.matrix-tooltip.svelte-odlapx{position:absolute;padding:.5rem;pointer-events:none;transform:translate(-50%,-100%);font-family:monospace;border-radius:3px}.matrix-tooltip.svelte-odlapx .arrow:where(.svelte-odlapx){left:calc(50% - 5px);bottom:-5px}.attention-matrix-container.svelte-1hqz787{cursor:pointer;border-radius:.5rem;transition:.2s background-color;gap:1rem;padding:1rem}.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){position:absolute;left:-1rem;top:calc(var(--attention-matrix-width) / 2 - .5rem);width:1.2rem;height:1.2rem;color:#d1d5db}.attention-matrix-container.svelte-1hqz787 .attention-matrix:where(.svelte-1hqz787){position:relative}.color-scale.svelte-1hqz787{position:absolute;bottom:-1.2rem;height:1rem;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 1rem;gap:.2rem}.color-scale.svelte-1hqz787 .bar:where(.svelte-1hqz787){height:.4rem;flex:1 0 0;border:1px solid #E5E7EB;background:linear-gradient(90deg,#fff,#6c2bd9)}.color-scale.svelte-1hqz787 .val:where(.svelte-1hqz787){flex-shrink:0;font-family:monospace;font-size:.7rem;color:#4b5563}.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){top:-.5rem;padding:.5rem 0;left:-.3rem;width:calc(100% + 1rem);height:100%}.attention.svelte-dh5apq .column:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){font-size:.7rem;color:#4b5563}.attention.svelte-dh5apq .column:where(.svelte-dh5apq) .title:where(.svelte-dh5apq){z-index:102;position:absolute;top:-1.7rem;left:50%;transform:translate(-50%);font-size:.9rem;transition:none}.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){display:grid;grid-template-columns:auto 0}.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){background-color:#e1effe;color:#1a56db;font-size:1rem;z-index:100;padding:.2rem}.attention.svelte-dh5apq .heads:where(.svelte-dh5apq) .head1.cell.active.key:where(.svelte-dh5apq) .label:where(.svelte-dh5apq){background-color:#fde8e8;color:#c81e1e;font-size:1rem;z-index:100;padding:.2rem}canvas.svelte-1toa60d{position:absolute;top:0;left:0;opacity:0;display:block;width:100%;height:100%;overflow:hidden;transition:opacity .2s}canvas.active.svelte-1toa60d{opacity:1}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;transition:opacity .2s;white-space:pre;position:absolute;top:0;left:calc(-50% - .5rem);transform:translateY(-100%);color:#9ca3af}.transformer-blocks.svelte-1u6l7nx .guide:where(.svelte-1u6l7nx) .text:where(.svelte-1u6l7nx){transition:opacity .5s;line-height:1.2;padding-left:.5rem;font-size:.85rem}.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){transition:all .5s;color:#3f83f8;font-weight:600}.transformer-blocks.svelte-1u6l7nx .guide.active:where(.svelte-1u6l7nx){opacity:1}.transformer-blocks.svelte-1u6l7nx .content:where(.svelte-1u6l7nx){display:grid;grid-template-columns:repeat(4,minmax(var(--min-column-width),1fr))}.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;position:absolute;bottom:-3rem;transform:translate(-1rem);width:100%;height:30%;z-index:300;background-color:#fff;background:linear-gradient(180deg,#fff0,#fff)}.prob-dim.expanded.svelte-1u6l7nx{z-index:998}.probability-col.svelte-vaptix{min-width:6rem;z-index:102;-webkit-user-select:none;-moz-user-select:none;user-select:none}.probability-col.svelte-vaptix rect.highlighted{fill:#9061f9}.formula-steps.svelte-1ot071o{height:10rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.formula-steps.svelte-1ot071o .step-arrow{color:#9ca3af}.formula-steps.svelte-1ot071o .norm-step:where(.svelte-1ot071o){width:3rem}.formula-steps.svelte-1ot071o .final-step:where(.svelte-1ot071o){width:4rem;white-space:nowrap}.formula-step.svelte-1ot071o{height:100%;flex-shrink:0;display:flex;flex-direction:column;gap:1rem}.formula-step.svelte-1ot071o .step-title:where(.svelte-1ot071o){flex-shrink:0;text-align:center;width:100%;display:flex;flex-direction:column;position:relative}.formula-step.svelte-1ot071o .step-title:where(.svelte-1ot071o) .sub-title:where(.svelte-1ot071o){width:100%;font-size:.8rem;color:#9ca3af;position:absolute;text-align:center;bottom:-1.1rem}.formula-step.svelte-1ot071o .step-content:where(.svelte-1ot071o){flex:1 0 0;flex-shrink:0;width:100%;display:flex;align-items:center;position:relative}.formula-step.svelte-1ot071o .annotation:where(.svelte-1ot071o){display:flex;flex-direction:column;align-items:center;gap:.1rem;position:absolute;font-size:.75rem;color:#9ca3af;line-height:0;left:50%;transform:translate(-50%)}.formula-step.svelte-1ot071o .annotation.logit:where(.svelte-1ot071o){gap:.4rem;bottom:1.5rem}.formula-step.svelte-1ot071o .annotation.logit:where(.svelte-1ot071o) svg{transform:scaleY(-1)}.formula-step.svelte-1ot071o .annotation.temp:where(.svelte-1ot071o){top:1.3rem}.formula-step.svelte-1ot071o .number:where(.svelte-1ot071o){font-family:monospace}.formula-step.svelte-1ot071o .filtered:where(.svelte-1ot071o){background-color:#edebfe}.formula-step.svelte-1ot071o .text:where(.svelte-1ot071o){font-size:.9rem;font-weight:300}.formula-step.svelte-1ot071o .highlight:where(.svelte-1ot071o){color:#9061f9;font-weight:600}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o){flex-shrink:0;text-align:center}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o) .frac-line:where(.svelte-1ot071o){width:100%;height:1px;background-color:#000;margin:.1rem 0}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o) .frac-top:where(.svelte-1ot071o){padding-right:.8rem}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o) .frac-bottom:where(.svelte-1ot071o){width:100%;display:flex;flex-direction:column}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o) .sum:where(.svelte-1ot071o){opacity:0}.formula-step.svelte-1ot071o .fraction:where(.svelte-1ot071o) .sum.active:where(.svelte-1ot071o){opacity:1}.formula-step.svelte-1ot071o .topk-formula:where(.svelte-1ot071o) .cases:where(.svelte-1ot071o){display:flex;flex-direction:column;gap:.5rem}.formula-step.svelte-1ot071o .topk-formula:where(.svelte-1ot071o) .case-row:where(.svelte-1ot071o){display:flex;flex-direction:column;align-items:center;gap:.2rem}.softmax-popover{width:-moz-max-content!important;width:max-content!important;max-width:none!important;padding:0!important;display:flex}.softmax-popover-title.svelte-1ot071o .highlight:where(.svelte-1ot071o){color:#6c2bd9;font-weight:800}.softmax-popover-content.svelte-1ot071o{height:100%;padding:1rem 2rem;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1.5rem}.weight-popover-card{width:-moz-max-content!important;width:max-content!important;max-width:none!important;padding:0!important;display:flex;flex-direction:column}.weight-popover-title.svelte-1o6cn03{flex-shrink:0;display:flex;align-items:center;gap:1rem;justify-content:space-between}.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{display:flex;gap:.5rem}.weight-popover-content{padding:3rem 2rem 1.5rem 1rem;width:100%}.weight-popover-content .tokens{padding-right:.3rem;display:flex;flex-direction:column}.weight-popover-content .token-label{font-size:.8rem;line-height:1;text-align:right;color:#6b7280}.weight-popover-content .matrix{height:100%;position:relative;justify-content:space-around}.weight-popover-content .matrix .title,.weight-popover-content .matrix .size{color:#111827;font-size:.8rem;white-space:nowrap;position:absolute}.weight-popover-content .matrix .size{bottom:-1.5rem}.weight-popover-content .matrix .title{line-height:1.2;text-align:center;bottom:calc(100% + 1rem)}.weight-popover-content .operator{padding:0 .5rem;font-size:1.2rem;color:#000;opacity:.8}.weight-popover-content.svelte-6npunz{padding:3rem 2rem 1.5rem 3.5rem;gap:.5rem}.matrix.svelte-6npunz .title:where(.svelte-6npunz){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;width:-moz-max-content!important;width:max-content!important;position:absolute;top:15rem;right:calc(100% + 6rem)}.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){top:-.5rem;padding:.5rem 0;left:-5rem;width:calc(100% + 3rem);height:100%}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx){padding-right:3rem;display:grid;grid-template-columns:0 auto}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .content-box:where(.svelte-xupgmx){flex-shrink:0;display:flex;flex-direction:column;color:#9ca3af;gap:var(--softmax-row-gap)}.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;position:relative;flex-shrink:0;text-align:right;font-size:.9rem;padding-right:4px;display:flex;justify-content:center;align-items:center;width:100%;height:var(--softmax-row-height)}.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){background-color:#edebfe;color:#6b7280}.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){position:absolute;color:#9061f9;top:1rem;transform:translateY(50%);font-size:.9rem;font-weight:600;font-family:serif;line-height:1;background-color:#f9fafb}.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-right:1px solid #E5E7EB;border-left: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;left:-5rem;top:0;transform:translateY(calc(-100% - 1rem))}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx){flex-shrink:0;display:flex;justify-content:center;border-radius:.5rem;top:0;align-items:end}.softmax.svelte-xupgmx .content:where(.svelte-xupgmx) .softmax-subtitle:where(.svelte-xupgmx) .title-box:where(.svelte-xupgmx) .title-text:where(.svelte-xupgmx){display:flex;align-items:end;gap:2px;color:#9ca3af}.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;height:-moz-max-content;height:max-content;border:1px solid #D1D5DB;border-radius:.3rem;padding:.1rem .3rem;cursor:pointer}.softmax.svelte-xupgmx .second-column:where(.svelte-xupgmx){position:relative}.embedding-bounding.svelte-1036wcd{top:-.5rem;padding:.5rem 0;left:2rem;width:calc(100% - 2rem);height:100%}.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){justify-content:end;padding-left:3rem;width:1rem;white-space:nowrap}.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){justify-content:flex-end;gap:.5rem;text-align:left}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-column:where(.svelte-1036wcd) .symbol:where(.svelte-1036wcd){font-size:.8rem;color:#9ca3af}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-string:where(.svelte-1036wcd){width:7rem;flex-shrink:0}.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;line-height:1;font-size:.8rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .index-val:where(.svelte-1036wcd) .val:where(.svelte-1036wcd){width:4rem;text-align:left;font-size:.7rem;color:#4b5563;font-family:monospace}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-embedding:where(.svelte-1036wcd){position:relative;width:11rem}.embedding.svelte-1036wcd .content:where(.svelte-1036wcd) .token-embedding:where(.svelte-1036wcd) .vocab-index:where(.svelte-1036wcd){width:5rem;flex-shrink:0;display:flex;justify-content:center;overflow:visible;padding-right:1rem}.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){width:2rem;justify-content:start}.activation.svelte-15ffy6h,.residual.svelte-15ffy6h,.dropout.svelte-15ffy6h,.ln.svelte-15ffy6h{position:relative;width:1.2rem;flex-shrink:0;z-index:101}.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){height:100%;width: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){opacity:1}.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:2}.residual.svelte-15ffy6h{width:.5rem}.residual.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1}.residual.svelte-15ffy6h .head:where(.svelte-15ffy6h){stroke:#9ca3af}.residual.svelte-15ffy6h .residual-text:where(.svelte-15ffy6h){position:absolute;top:-2.2rem;left:4rem;transform:translate(-50%);font-size:.9rem;color:#9ca3af;white-space:nowrap}.ln.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1}.activation.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;stroke-dasharray:2,4;fill:none;stroke-width:2}.activation.svelte-15ffy6h .guide:where(.svelte-15ffy6h){height:100%;width:100%;top:0;transform:translate(0)}.activation.svelte-15ffy6h .guide:where(.svelte-15ffy6h) .guide-text:where(.svelte-15ffy6h){top:50%;transform:translateY(-50%);opacity:1}.guide.svelte-15ffy6h{position:absolute;top:calc(100% - 10px);left:0;transition:opacity .5s;transform:translate(calc(-100% - 5px));opacity:0}.guide.svelte-15ffy6h svg:where(.svelte-15ffy6h){width:100%;height:100%;overflow:visible}.guide.svelte-15ffy6h .guide-text:where(.svelte-15ffy6h){position:absolute;top:50px;left:50%;transform:translate(-50%);font-size:.9rem;color:#9ca3af;white-space:nowrap}.guide.svelte-15ffy6h path:where(.svelte-15ffy6h){stroke:#9ca3af;fill:none;stroke-width:1;stroke-dasharray:none}.column.operation-col.svelte-9ewkp4{cursor:help;z-index:300;height:-moz-fit-content;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:"";position:absolute;height:100%;width:1.3rem;z-index:998}.dropout-popover,.ln-popover,.residual-popover{width:10rem;z-index:998}.mlp.svelte-1x3itvv .mlp-bounding:where(.svelte-1x3itvv){top:-.5rem;padding:.5rem 0;left:-.2rem;width:calc(100% + .2rem);height:100%}.mlp.svelte-1x3itvv .content:where(.svelte-1x3itvv){display:grid;grid-template-columns:repeat(4,minmax(var(--min-column-width),1fr))}.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(-100% + .8rem)}.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-gaxonc{padding:3rem 3rem 1.5rem 2.5rem;gap:1rem}.weight-popover-content.svelte-1cblsy3{padding:3rem 3rem 1.5rem 1rem;gap:.6rem}.operator.svelte-1cblsy3{position:relative}.matrix.svelte-1cblsy3 .title:where(.svelte-1cblsy3){line-height:1.1;text-align:center}.weight-popover-content.svelte-8zknrv{padding:3rem 4rem 1.5rem 1rem;gap:1rem}.operator.svelte-8zknrv{position:relative}.weight-popover.svelte-1nqiwmm{z-index:998;position:absolute;width:-moz-max-content!important;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(-100% + 1rem))}.tooltip-box.svelte-1nqiwmm{z-index:998;background-color:#fff;position:fixed;border:1px solid #E5E7EB;color:#4b5563;padding:.2rem .4rem;border-radius:.4rem;pointer-events:none;white-space:nowrap;font-size:1rem;font-weight:300;display:flex;align-items:center;gap:2px}.formula{height:4rem;position:relative}.formula>div{position:absolute;width:100%;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{position:absolute;left:13rem;transform:translateY(calc(-100% - .2rem));z-index:400;display:flex;align-items:center;justify-content:space-between;gap:.3rem;color:#9ca3af;transition:opacity .2s}.transformer-bounding-title.hide.svelte-qdio06{opacity:0}.transformer-bounding-title.svelte-qdio06 .title-text:where(.svelte-qdio06){width:10rem;white-space:nowrap;text-align:center;font-weight:500}.transformer-bounding-title.svelte-qdio06 button:where(.svelte-qdio06){border-radius:.3rem;padding:.1rem;border:1px solid #D1D5DB;color:#9ca3af;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){border:1px solid #3F83F8;color:#1c64f2}.transformer-bounding-title.active.svelte-qdio06 button:where(.svelte-qdio06):disabled{border:1px solid #A4CAFE;color:#a4cafe}.transformer-bounding.svelte-qdio06{position:absolute;opacity:1;z-index:400;pointer-events:none;height:calc(95% - 3.5rem);border-radius:1rem;transition:all .2s}.transformer-bounding.active.svelte-qdio06{border:2px dashed #76A9FA}.qkv.svelte-56f2xu .content:where(.svelte-56f2xu){display:grid;grid-template-columns:1fr 1fr}.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){position:relative;left:12px;display:flex;flex-direction:column;align-items:end}.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;-moz-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){height:100%;display:flex;justify-content:center;align-items:center;font-weight:700;text-shadow:-1px -1px 0 white,1px -1px 0 white,-1px 1px 0 white,1px 1px 0 white}.qkv.animate-forward.svelte-56f2xu .vector-column:where(.svelte-56f2xu){transition-delay:.9s;transition:left .1s}.navigation-footer.svelte-y6e4yz{position:absolute;bottom:0;left:0;right:0;height:3rem;display:flex;align-items:center;z-index:10}.navigation-footer.svelte-y6e4yz .nav-section:where(.svelte-y6e4yz){display:flex;align-items:center;justify-content:center;height:100%;cursor:pointer;transition:all .2s ease}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz){flex:0 0 auto;display:flex;align-items:center;gap:.75rem;cursor:default;padding:0 1rem}.navigation-footer.svelte-y6e4yz .nav-section.center:where(.svelte-y6e4yz) .progress-bar:where(.svelte-y6e4yz){width:6rem;height:4px;background:#e5e7eb;border-radius:2px;cursor:pointer;transition:all .2s ease;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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){height:100%;background:#3f83f8;border-radius:2px;transition:width .3s ease}.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){width:3.4rem;white-space:nowrap;background:#ebf5ff;color:#1c64f2;border:1px solid #C3DDFD;border-radius:12px;padding:.25rem .3rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.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){position:absolute;bottom:100%;left:10%;margin-bottom:.5rem;background:#fffffff2;border:1px solid rgba(229,231,235,.3);border-radius:8px;box-shadow:0 8px 24px #0000001f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);height:300px;overflow-y:auto;min-width:200px}.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){display:block;width:100%;padding:.5rem .75rem;text-align:left;background:transparent;border:none;cursor:pointer;font-size:.8rem;color:#4b5563;transition:all .2s ease}.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{background:#ebf5ff;color:#1c64f2}.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){background:#ebf5ff;color:#1c64f2;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;-moz-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){width:1.8rem;height:1.8rem;border-radius:50%;background:#3b82f614;color:#3f83f8;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border:1px solid rgba(59,130,246,.15)}.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{background:#3b82f61f;color:#1c64f2;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{position:fixed;z-index:1000}.text-card.svelte-y5v0on{box-shadow:0 12px 32px #0000001f,0 4px 8px #0000000f;border-radius:.6rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff6;display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:var(--card-cursor, grab)}.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{position:relative;height:100%;padding-bottom:2rem}.text-carousel.svelte-y5v0on .carousel-content:where(.svelte-y5v0on){position:relative;height:100%}.text-carousel.svelte-y5v0on .carousel-slide:where(.svelte-y5v0on){position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity .3s ease}.text-carousel.svelte-y5v0on .carousel-slide.active:where(.svelte-y5v0on){opacity:1}.close-btn{padding:.25rem .5rem;min-width:auto}.textbook-content.svelte-y5v0on{line-height:1.6;font-size:.95rem;cursor:default}.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{margin:.5rem 0;font-style:italic;font-size:.9rem;color:var(--textbook-highlight-color)}.textbook-content .numbered-list{display:flex;flex-direction:column}.textbook-content .numbered-item{display:flex;align-items:flex-start;gap:.6rem;padding:.5rem}.textbook-content .number-circle{display:flex;align-items:center;justify-content:center;width:1rem;height:1rem;margin-top:.2rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;font-weight:600;font-size:.7rem;border-radius:50%;flex-shrink:0}.textbook-content .item-content{flex:1;line-height:1.4}.floating-container.svelte-1cl5xy9{position:fixed;bottom:2rem;right:2rem;z-index:1000}:root{--textbook-highlight-color: #1C64F2;--textbook-highlight-background: linear-gradient( to top, rgba(251, 255, 0, .5), rgba(251, 255, 0, .3), rgba(255, 212, 8, 0) );--textbook-highlight-shadow-in: inset 0 0 10px rgba(251, 255, 0, .5), inset 0 0 10px 2px rgba(251, 255, 0, .3);--textbook-highlight-shadow-out: 0 2px 8px 1px rgba(251, 255, 0, .5), 0 1.5px 6px 3px rgba(251, 255, 0, .12)}.remove-finger:after{display:none!important}.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{transition:box-shadow .2s ease-in-out;box-shadow:var(--textbook-highlight-shadow-out)!important;border:1px solid var(--predicted-color);color:var(--predicted-color);position:relative}.input-form .generate-button.textbook-highlight:after{content:"👆";display:block;white-space:nowrap;position:absolute;bottom:-2.2rem;right:0;left:50%;transform:translate(-50%);color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.input-form .select-button.textbook-highlight{position:relative}.input-form .select-button.textbook-highlight:after{content:"👆";display:block;white-space:nowrap;position:absolute;bottom:-2.2rem;right:0;left:50%;transform:translate(-50%);color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.step.textbook-highlight>.title{width:1rem!important;white-space:nowrap!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{top:-3.3rem!important;padding:0!important}.transformer-bounding-title.textbook-highlight{color:var(--textbook-highlight-color)!important}.transformer-bounding-title.textbook-highlight button{border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important}.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{transition:all .2s!important;background:var(--textbook-highlight-background)!important}.embedding .column.textbook-highlight .subtitle{transition:all .2s!important;color:var(--textbook-highlight-color)!important}.embedding .column.textbook-highlight .bounding{opacity:0!important}.embedding .title.textbook-highlight .title-text{position:relative;transition:all .2s ease-in-out;cursor:pointer;color:#4b5563!important;background:var(--textbook-highlight-background)!important}.embedding .title.textbook-highlight .title-text:after{content:"👈";display:block;white-space:nowrap;position:absolute;right:-2rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.qkv-column.textbook-highlight:after{z-index:400;content:"👇";display:block;white-space:nowrap;position:absolute;right:2rem;top:-2rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.path-group.qkv.textbook-highlight{animation:svelte-1cl5xy9-opacity-blink 1.5s ease-in-out infinite!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{transition:all .5s!important;border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-out)!important}.multi-head .head-title.textbook-highlight:after{z-index:400;content:"👈";display:block;white-space:nowrap;position:absolute;right:-1.5rem;bottom:0rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.attention-result.textbook-highlight:after{content:"👆";display:block;white-space:nowrap;position:absolute;bottom:-2.2rem;left:50%;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.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:svelte-1cl5xy9-opacity-blink 1.5s ease-in-out infinite!important}path.to-attention-out.value-to-out.textbook-highlight:after{z-index:400;content:"👈";display:block;white-space:nowrap;position:absolute;right:-1.5rem;bottom:0rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.column.out.textbook-highlight:after{z-index:400;content:"👈";display:block;white-space:nowrap;position:absolute;left:0;bottom:-4rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.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{transition:all .5s!important;border:1px solid var(--textbook-highlight-color)!important;color:var(--textbook-highlight-color)!important;box-shadow:var(--textbook-highlight-shadow-out)!important}.transformer-bounding-title.textbook-button-highlight:after{z-index:400;content:"👈";display:block;white-space:nowrap;position:absolute;right:-2rem;bottom:-.5rem;color:var(--textbook-highlight-color);font-size:1.7rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.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:svelte-1cl5xy9-opacity-blink 1.5s ease-in-out infinite!important}.column.final.textbook-highlight:after{z-index:400;content:"👉";display:block;white-space:nowrap;position:absolute;right:1rem;bottom:0rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.step.softmax .title.textbook-highlight .title-text{position:relative;transition:all .2s ease-in-out;cursor:pointer;color:#4b5563!important;background:var(--textbook-highlight-background)!important}.step.softmax .title.textbook-highlight .title-text:after{content:"👈";display:block;white-space:nowrap;position:absolute;right:-2rem;color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke-horizon 1.5s ease-in-out infinite}.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:"👆";display:block;white-space:nowrap;position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%);color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.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:"👆";display:block;white-space:nowrap;position:absolute;bottom:-2.5rem;left:50%;transform:translate(-50%);color:var(--textbook-highlight-color);font-size:2rem;pointer-events:none;animation:svelte-1cl5xy9-finger-poke 1.5s ease-in-out infinite}.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%{border:1px solid #D1D5DB;color:#4b5563}50%{border:1px solid var(--predicted-color);color:var(--predicted-color)}to{border:1px solid #D1D5DB;color:#4b5563}}@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{height:100%;width:100%;padding:1rem 0 3rem;position:relative}.steps.svelte-1uha8ag{width:100%;height:100%;position:relative;display:grid;grid-template-columns:auto 3.5fr .5fr .5fr}.steps.expanded.svelte-1uha8ag .step>.title{padding-bottom:3rem}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag){position:relative;width:100%;height:100%}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps:where(.svelte-1uha8ag){height:100%;width:100%;position:absolute;display:grid;grid-template-columns:.5fr 2fr 1fr}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps.main:where(.svelte-1uha8ag){transform-origin:3rem center;top:0;left:0}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .block-steps.next:where(.svelte-1uha8ag){transform-origin:right center;justify-content:end;top:0;right:0;pointer-events:none}.steps.svelte-1uha8ag .blocks:where(.svelte-1uha8ag) .transition-watch:where(.svelte-1uha8ag){position:absolute;top:0;left:0;height:100%;width:100%;pointer-events:none}.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{height:100%;display:grid;grid-template-rows:var(--title-height) 1fr}.step>.title{z-index:102;display:flex;flex-direction:column;justify-content:end;grid-row:1;color:#9ca3af;white-space:nowrap;padding-bottom:2rem;overflow:visible;min-width:0;transition:all .5s;cursor:default}.step>.title:hover{color:#4b5563}.step>.title.expandable{cursor:pointer}.step .content{grid-row:2;height:-moz-fit-content;height:fit-content}.column{display:flex;flex-direction:column;gap:.5rem;position:relative}.column .cell{height:var(--vector-height);display:flex;gap:1rem;align-items:center;position:relative}.column .subtitle{position:absolute;top:0;transform:translateY(calc(-100% - 1rem));text-align:center;font-size:.8rem;color:#9ca3af;width:100%;z-index:102}.vector,.sub-vector{position:relative;z-index:101;width:12px;height:var(--vector-height);flex-shrink:0;justify-content:start}.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{height:100%;width:0}.sub-vector.head-rest{flex:1 0 0}.label{font-size:.9rem;color:#374151;z-index:101;display:inline;max-width:7rem;overflow:hidden;text-overflow:ellipsis;text-align:right;line-height:var(--vector-height);height:var(--vector-height);flex-shrink:0}.label.float{position:absolute;left:-.8rem;transform:translate(-100%)}.label.float-right{position:absolute;left:-.8rem}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bounding{position:absolute;box-sizing:content-box;top:-.5rem;padding:.5rem 0;left:0;height:100%;border:2px dashed #D1D5DB;border-radius:.5rem;transition:opacity .5s;opacity:0;pointer-events:none}.bounding.active{opacity:.8}.popover{z-index:998;width:-moz-max-content;width:max-content}.tooltip{z-index:999;background-color:#fff!important;color:#4b5563!important;border:1px solid #E5E7EB!important;padding:.2rem .5rem!important;font-size:.8rem!important;white-space:nowrap;font-weight:300!important;border-color:#e5e7eb!important}.dim.svelte-1uha8ag{position:absolute;top:0;left:0;width:100%;height:100%;z-index:800;background-color:#fff;opacity:.7;-webkit-user-select:none;-moz-user-select:none;user-select:none}.dim.attention.svelte-1uha8ag{z-index:0}.dim-partial.svelte-1uha8ag{-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:850;position:absolute;top:0;height:100%}.dim-partial.right.svelte-1uha8ag{right:0;background:linear-gradient(90deg,#fff0,#fff 80%)}.dim-partial.left.svelte-1uha8ag{left:0;background:linear-gradient(-90deg,#fff0,#fff 80%)}.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{position:absolute;left:0;top:0;width:100%;height:100%}.sankey.attention.svelte-1uha8ag .sankey-top{z-index:810!important;pointer-events:none}svg g.path-group{transition:opacity .5s}div.step>div{transition:opacity .5s}div.step .column{transition:opacity .5s}
