.memory-root{--memory-bg:var(--tool-midnight);--memory-panel:var(--tool-surface);--memory-line:var(--tool-line);--memory-text:var(--tool-ink);--memory-muted:var(--tool-muted);--memory-accent:var(--tool-accent);color:var(--memory-text);background:radial-gradient(ellipse 60rem 29rem at 70% 8rem,var(--tool-glow),transparent 82%),var(--memory-bg);min-height:100vh;font-family:system-ui,sans-serif;line-height:1.55;color-scheme:dark}.memory-root :focus-visible{outline:2px solid var(--memory-accent);outline-offset:4px}.memory-root a{color:var(--memory-accent);text-underline-offset:.18em}.memory-root a:hover{color:#fff}.memory-root button,.memory-root input,.memory-root select,.memory-root textarea{font:inherit}.memory-root h2,.memory-root h3{margin:0;line-height:1.25;font-weight:740}.memory-root h2{font-size:clamp(1.34rem,3vw,1.86rem)}.memory-root h3{font-size:1.13rem}.memory-root p{margin:.55rem 0 0}.memory-root ol,.memory-root ul{margin:.55rem 0 0;padding-inline-start:1.3rem}.memory-root ul{list-style:disc}.memory-root ol{list-style:decimal}.memory-root code{font-size:.9em;overflow-wrap:anywhere}.memory-wrap{width:min(100% - 2 * clamp(.9rem,4vw,2.5rem),69rem);margin-inline:auto}.memory-comparison,.memory-inputs,.memory-interactive,.memory-output{display:grid;gap:.85rem;min-width:0}.memory-workspace{display:grid;align-items:start;gap:1rem 1.5rem}.memory-comparison>*,.memory-grid>*,.memory-interactive>*,.memory-setup>*{min-width:0}.memory-setup{display:grid;gap:.85rem}.memory-entry{min-width:0}.memory-panel{border-top:1px solid var(--memory-line)}.memory-files{max-width:100%}.memory-peak .memory-files[open],.memory-verdict>.memory-actions .memory-files[open]{flex:1 1 100%}.memory-export-content{display:grid;gap:.65rem;padding-block:.4rem .75rem}.memory-export-content>*{min-width:0}.memory-settings>.memory-grid{margin-top:.65rem}.memory-setup>.memory-inset{margin:0;padding-top:0}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.74rem}.memory-setup>.memory-grid{align-items:end}.memory-field{min-width:0;display:grid;gap:.28rem;align-content:start;overflow-wrap:anywhere}.memory-field>span{color:var(--memory-muted);font-size:.87rem;font-weight:655}.memory-field input,.memory-field select,.memory-field textarea{display:block;width:100%;min-width:0;min-height:45px;border:1px solid #796b91;border-radius:.5rem;color:var(--memory-text);background:#171322;padding:.5rem .58rem}.memory-field input::placeholder{color:#afa3c1}.memory-field textarea{min-height:8rem;resize:vertical;font-family:ui-monospace,monospace;font-size:.85rem}.memory-check{display:flex;align-items:center;gap:.5rem;min-height:44px;cursor:pointer}.memory-root input[type=checkbox]{accent-color:var(--memory-accent);width:1.1rem;height:1.1rem;flex:0 0 auto}.memory-inset{border-top:1px solid var(--memory-line);margin-top:.74rem;padding-top:.34rem}.memory-inset>summary,.memory-panel>summary{cursor:pointer;min-height:44px;padding:.6rem 0;font-weight:690}.memory-root summary:hover{color:var(--memory-accent)}.memory-root summary small{margin-inline-start:.4rem;color:var(--memory-muted);font-size:.8rem;font-weight:500}.memory-detail{padding-bottom:.75rem}.memory-detail>*+*{margin-top:.65rem}.memory-muted{color:var(--memory-muted);font-size:.9rem}.memory-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem}.memory-actions .memory-muted{margin:.25rem 0}.memory-button{display:inline-flex;justify-content:center;align-items:center;max-width:100%;min-height:44px;padding:.46rem .84rem;border-radius:.55rem;border:1px solid #7a6890;background:#392d4b;color:var(--memory-text);cursor:pointer;text-align:center;text-decoration:none;font-weight:680!important}.memory-root .memory-button:hover{background:#4b395f}.memory-root .memory-button:disabled{opacity:.56;cursor:default}.memory-root .memory-primary{background:var(--memory-accent);color:var(--tool-midnight);border-color:var(--memory-accent)}.memory-root .memory-primary:hover{background:var(--memory-text);color:var(--tool-midnight)}.memory-secondary{background:transparent}.memory-comparison{padding-block:.6rem}.memory-result-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.memory-result-title h2{scroll-margin-block-start:.9rem}.memory-answer{font-size:clamp(1.1rem,2.8vw,1.4rem);line-height:1.35}.memory-answer>strong:first-child{font-size:clamp(1.65rem,5.4vw,2.35rem);letter-spacing:-.035em;font-variant-numeric:tabular-nums}.memory-alert,.memory-verdict{padding:.85rem 1rem;border:1px solid #7c6a90;border-radius:.65rem;background:#322740;overflow-wrap:anywhere}.memory-verdict p:first-child{margin-top:0}.memory-verdict.memory-within{border-color:#8b77aa}.memory-verdict.memory-over{border-color:#a7717b;background:#492d3c}.memory-alert{border-color:#b47575;background:#432a33;color:#ffedec}.memory-peak,.memory-peak .memory-actions,.memory-verdict>.memory-actions{margin-top:.65rem}.memory-peak{border-top:1px solid var(--memory-line);padding-top:.72rem}.memory-peak .memory-actions a{display:inline-flex;align-items:center;min-height:44px}.memory-custom-actions{display:grid;justify-items:start;gap:.2rem}.memory-custom-actions>a{display:inline-flex;align-items:center;min-height:44px}.memory-cost-handoff{border-top:1px solid var(--memory-line);margin-top:.72rem;padding-top:.72rem}.memory-cost-explanation{border-top:0;margin-top:.2rem;padding-top:0}.memory-cost-explanation .memory-detail>button{margin-top:.7rem}.memory-capacity-option>button{margin-block-start:.6rem}.memory-stack-figure{margin:.65rem 0 .85rem}.memory-stack{min-height:1.15rem;background:#151123;position:relative;display:flex;border-radius:.38rem;overflow:hidden}.memory-model-segment{background:#c6a9ef}.memory-kv-segment{background:#80dbd3}.memory-allocation-segment{background:#ffc782}.memory-budget-mark{width:2px;position:absolute;inset-block:0;background:#faf6ff}.memory-budget-key{background:#faf6ff}.memory-stack-key{display:flex;flex-wrap:wrap;gap:.32rem .85rem;margin-top:.5rem;color:var(--memory-muted);font-size:.8rem}.memory-stack-key>span{display:flex;align-items:center;gap:.3rem}.memory-stack-key i{display:inline-block;width:.6rem;height:.6rem;border-radius:.14rem}.memory-stack-scale{display:flex;justify-content:space-between;gap:.5rem;margin-top:.25rem;color:var(--memory-muted);font-size:.77rem;font-variant-numeric:tabular-nums}.memory-components{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem .9rem;margin:0}.memory-components>div{border-bottom:1px solid var(--memory-line);padding:.4rem 0;min-width:0;overflow-wrap:anywhere}.memory-components dt{color:var(--memory-muted);font-size:.81rem}.memory-components dd{margin:.2rem 0 0;font-variant-numeric:tabular-nums;font-weight:740}.memory-exact{display:block;color:var(--memory-muted);font-weight:500}.memory-sweep{margin-block:.35rem}.memory-context-chart{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.45rem;margin:.8rem 0;padding:.65rem;border:1px solid var(--memory-line);border-radius:.65rem;background:#181427}.memory-context-chart figcaption{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem .75rem;font-size:.8rem}.memory-context-chart figcaption span{color:var(--memory-muted)}.memory-context-chart figcaption i{display:inline-block;inline-size:.85rem;margin-inline-end:.3rem;vertical-align:.2em;border-top:2px dashed #ffc87d}.memory-context-chart svg{display:block;width:100%;height:clamp(5rem,19vw,8rem);overflow:visible}.memory-context-chart svg :is(polyline,line){fill:none;vector-effect:non-scaling-stroke}.memory-context-chart svg polyline{stroke:#8ee6df;stroke-width:2;stroke-linejoin:round}.memory-context-chart svg circle{fill:#8ee6df;stroke:#181427;stroke-width:1;vector-effect:non-scaling-stroke}.memory-context-chart svg .memory-chart-current{fill:#f7f3ff;stroke:#181427;stroke-width:2}.memory-chart-grid{stroke:var(--memory-line)}.memory-chart-budget{stroke:#ffc87d;stroke-width:1.5;stroke-dasharray:4 3}.memory-chart-axis{flex-direction:column;padding-block:.1rem;text-align:end}.memory-chart-axis,.memory-chart-context{display:flex;justify-content:space-between}.memory-chart-context{grid-column:2;gap:.27rem}.memory-chart-axis,.memory-chart-context{color:var(--memory-muted);font-size:.73rem;font-variant-numeric:tabular-nums}.memory-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.memory-limit{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.35rem .9rem;padding-block:.45rem}.memory-root .memory-limit p{margin:0}.memory-root .memory-sweep-list{list-style:none;padding:0}.memory-sweep-list li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:.36rem .75rem;padding:.4rem .5rem;border-top:1px solid var(--memory-line)}.memory-sweep-list li:last-child{border-bottom:1px solid var(--memory-line)}.memory-sweep-list .memory-sweep-current{background:#292238}.memory-context-amount{text-align:end;font-variant-numeric:tabular-nums}.memory-sweep-budget{display:block;color:var(--memory-muted)}.memory-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--memory-line);border-radius:.5rem;margin-top:.55rem}.memory-table-scroll table{width:100%;border-collapse:collapse;text-align:left;font-size:.87rem}.memory-table-scroll caption{padding:.54rem;color:var(--memory-muted);text-align:left}.memory-table-scroll :is(th,td){padding:.48rem .55rem;border-top:1px solid var(--memory-line)}.memory-table-scroll td>span{white-space:nowrap;font-variant-numeric:tabular-nums}.memory-table-scroll [data-selected=true]{background:#352741}.memory-observed{margin-top:.65rem;padding:.6rem 0;border-top:1px solid var(--memory-line);overflow-wrap:anywhere}.memory-observed>:is(strong,span){display:block}.memory-observations>p{max-width:75ch}.memory-next-steps{margin:0;padding-top:0}.memory-next-steps[open] .memory-actions{margin-top:.7rem}.memory-code{padding:.68rem;border-radius:.45rem;background:#171220;font-size:.83rem;white-space:pre-wrap;overflow-wrap:anywhere}.memory-method{padding:clamp(1.9rem,6vw,3.4rem) 0}.memory-guide-example{max-width:76ch;margin-block:.9rem 1.5rem}.memory-root .memory-guide-sources{margin-block-start:1.15rem}.memory-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1.33rem;margin-top:.9rem}.memory-method-grid div{border-top:1px solid var(--memory-line);padding-top:.6rem}.memory-method-grid dt{font-weight:750}.memory-method-grid dd{margin:.35rem 0 0;color:var(--memory-muted)}@media (min-width:64rem){.memory-workspace-planned{grid-template-columns:minmax(19rem,2fr) minmax(0,3fr)}.memory-workspace:not(.memory-workspace-planned) .memory-inputs{max-width:49rem}.memory-comparison{padding-block-start:0}}@media (max-width:745px){.memory-components{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:455px){.memory-grid,.memory-method-grid{grid-template-columns:minmax(0,1fr)}.memory-setup>.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-sweep-list li{grid-template-columns:minmax(0,1fr) auto;gap:.12rem .65rem}.memory-sweep-list li>:nth-child(2){grid-area:2/1;text-align:start}.memory-sweep-list li>:last-child{grid-area:1/2/span 2}.memory-sweep-list .memory-button{padding-inline:.56rem;font-size:.88rem}}@media (max-width:320px){.memory-setup>.memory-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.memory-root *,.memory-root :after,.memory-root :before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}