.memory-mechanism{box-sizing:border-box;color:var(--body-text);font-family:var(--font-body);text-align:left;margin:2.5rem 0;font-size:14px;line-height:1.45}.memory-mechanism *,.memory-mechanism :before,.memory-mechanism :after{box-sizing:border-box}.memory-mechanism .memory-mechanism__heading{color:inherit;text-align:left;margin:0 0 1rem;padding:0}.memory-mechanism__eyebrow{color:var(--accent-text);margin-bottom:.45rem;font-size:12px;display:block}.memory-mechanism__title{color:var(--ink);font-size:18px;font-weight:600;line-height:1.3;display:block}.memory-mechanism__question{color:var(--muted-strong);margin-top:.5rem;display:block}.memory-mechanism__graph{width:100%;max-width:28rem;height:auto;margin:0 auto;display:block;overflow:visible}.memory-mechanism__node rect{fill:var(--bg);stroke:var(--border);stroke-width:1.4px;transition:fill .24s,stroke .24s}.memory-mechanism__node text{fill:var(--body-text);font-family:var(--font-body);text-anchor:middle;font-size:16px;font-weight:400}.memory-mechanism__edge{color:var(--muted)}.memory-mechanism__edge>path{fill:none;stroke:var(--muted);stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round;transition:stroke .24s,stroke-width .24s,opacity .24s}.memory-mechanism__edge-label{fill:var(--muted-strong);font-family:var(--font-body);text-anchor:middle;paint-order:stroke;stroke:var(--bg);stroke-width:5px;font-size:12px}.memory-mechanism[data-mode=playing] .memory-mechanism__edge:not(.is-active)>path,.memory-mechanism[data-mode=paused] .memory-mechanism__edge:not(.is-active)>path{opacity:.4}.memory-mechanism__node.is-active rect{fill:var(--accent-pale);stroke:var(--accent);stroke-width:2px}.memory-mechanism__node.is-active text{fill:var(--ink);font-weight:600}.memory-mechanism__edge.is-active>path{stroke:var(--accent);stroke-width:2.4px}.memory-mechanism .memory-mechanism__caption{margin-top:.8rem}.memory-mechanism__status{justify-content:space-between;align-items:center;gap:.5rem;min-height:2rem;margin-bottom:.2rem;display:flex}.memory-mechanism__counter{color:var(--accent-text);font-variant-numeric:tabular-nums;font-size:12px}.memory-mechanism__pause{appearance:none;border:0;border-bottom:1px solid var(--border);color:var(--muted-strong);font:inherit;cursor:pointer;background:0 0;border-radius:0;padding:.35rem .1rem;font-size:12px}.memory-mechanism__pause:hover{color:var(--accent);border-color:var(--accent)}.memory-mechanism__pause:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.memory-mechanism__pause[hidden]{display:none}.memory-mechanism__step-title{min-height:2.9em;color:var(--ink);font-size:14px;font-weight:600;line-height:1.45;display:block}.memory-mechanism .memory-mechanism__detail{min-height:7.25em;color:var(--muted-strong);margin:.25rem 0 0;font-size:13px;line-height:1.45}.memory-mechanism__anchor{display:none}@media screen and (width>=1400px){.article-page .memory-mechanism-layout{gap:clamp(2rem,3vw,3.5rem)}.article-page .memory-mechanism-layout>.article-body{flex:46rem}.article-page .memory-mechanism-layout>.memory-mechanism-aside{scrollbar-width:thin;scrollbar-color:var(--border) transparent;overscroll-behavior-y:contain;background:0 0;flex:0 0 clamp(21rem,27vw,28rem);min-width:0;height:auto;max-height:calc(100dvh - 6rem);margin-top:0;padding:0 clamp(1rem,1.5vw,1.75rem) .5rem 0;position:sticky;top:5rem;overflow:hidden auto}.memory-mechanism-aside>.memory-mechanism{margin:0}.article-page .memory-mechanism-aside .article-toc-slot{width:100%;padding:1.2rem 0 .5rem}body.article-page .memory-mechanism-aside .article-toc{position:static;max-height:12rem!important;overflow-y:auto!important}body.article-page .memory-mechanism-aside .article-toc-inner{background:0 0!important;border:0!important;padding:0!important}.memory-mechanism-aside .article-toc-slot:before{content:"Разделы статьи";color:var(--muted);margin-bottom:.6rem;font-size:12px;display:block}}@media screen and (width<=1399px){.article-page .memory-mechanism-layout{display:block}.article-page .memory-mechanism-layout>.article-body{max-width:46rem}.article-page .memory-mechanism-layout>.memory-mechanism-aside{display:none}.memory-mechanism{position:static}}@media (prefers-reduced-motion:reduce){.memory-mechanism__node rect,.memory-mechanism__edge>path{transition:none}}@media print{.memory-mechanism{break-inside:avoid}.memory-mechanism__pause{display:none!important}.memory-mechanism__node rect,.memory-mechanism__edge>path{transition:none}}
