.memory-ablation{--ab-accent:#287ac3;--ab-soft:#eef5fc;max-width:1160px;width:calc(100% - 48px);margin:80px auto 90px;color:var(--ink)}
.memory-ablation[data-metric="os"]{--ab-accent:#218057;--ab-soft:#edf6f0}
.memory-ablation h2{text-align:center;font-size:32px;letter-spacing:-.5px;margin:0 0 14px}
.ablation-intro{text-align:center;color:#555;font-size:17px;line-height:1.7;margin:0 auto 28px}
[data-ablation-body]:empty{min-height:765px}
.ablation-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}
.ablation-switch{display:flex;gap:4px;border:1px solid #dce3e9;border-radius:8px;padding:4px}
.ablation-switch button{font:inherit;font-size:16px;font-weight:600;min-width:82px;padding:10px 20px;border:0;border-radius:5px;cursor:pointer;background:transparent;color:#626c75;transition:background .2s,color .2s}
.ablation-switch [data-ablation-metric="sr"]{color:#287ac3}.ablation-switch [data-ablation-metric="os"]{color:#218057}
.ablation-switch [data-ablation-metric][aria-pressed="true"]{background:var(--ab-accent);color:white}
.ablation-switch [data-ablation-split][aria-pressed="true"]{background:#edf0f2;color:#363636}
.ablation-switch button:focus-visible,.ablation-dot:focus-visible,.ablation-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.ablation-scroll{overflow-x:auto;padding:4px 0 12px}
.ablation-chart{--ab-label:330px;--ab-delta:170px;--ab-gap:26px;min-width:820px}
.ablation-head,.ablation-row{display:grid;grid-template-columns:var(--ab-label) minmax(0,1fr) var(--ab-delta);column-gap:var(--ab-gap);align-items:center;padding:0 14px}
.ablation-head{font-size:18px;color:#65717d;min-height:48px;align-items:start;padding-top:4px}
.ablation-head>span:not(:first-child){text-align:center}
.ablation-head>span:first-child{font-size:22px;font-weight:600}
.ablation-head>span:last-child{font-size:22px;font-weight:600;white-space:nowrap}
.ablation-axis{height:34px;position:relative;margin:0 32px 0 -16px;font-size:16px}
.ablation-axis span{position:absolute;left:var(--tick);transform:translateX(-50%);white-space:nowrap;text-align:center}
.ablation-axis .ablation-zero{color:#434e58;font-weight:600;font-size:20px}
.ablation-group h3{font-size:18px;line-height:1.4;font-weight:600;color:#606971;letter-spacing:.1px;margin:10px 0 0;padding:8px 14px;border-top:1px solid #e1e5e9;background:#f5f6f7}
.ablation-group:first-child h3{margin-top:0}
.ablation-row{position:relative;min-height:46px;border-bottom:1px solid #eef0f2;font-size:19px;background:white;transition:background .2s}
.ablation-row:hover,.ablation-row:focus-within{background:#fafbfc;z-index:2}
.ablation-row.is-reference{background:var(--ab-soft)}
.ablation-name{font-size:17px;line-height:1.4;padding:7px 0;color:#747c84}
.ablation-row.is-reference .ablation-name{font-weight:600;color:#53606c}
.ablation-rail{position:relative;height:100%;min-height:46px;margin:0 32px 0 -16px}
.ablation-grid{position:absolute;inset:0;background:linear-gradient(to right,#edf0f3 1px,transparent 1px);background-size:25% 100%;border-right:1px solid #edf0f3}
.ablation-rail:after{content:"";position:absolute;left:50%;top:0;bottom:0;border-left:1px dashed #95a1ad}
.ablation-line{position:absolute;left:var(--low);width:var(--span);height:3px;top:calc(50% - 1.5px);background:var(--ab-accent);opacity:.55;transition:left .65s cubic-bezier(.22,1,.36,1),width .65s cubic-bezier(.22,1,.36,1)}
.ablation-dot{position:absolute;left:var(--point);top:50%;transform:translate(-50%,-50%);height:28px;width:28px;border:0;padding:0;border-radius:50%;background:transparent;cursor:pointer;z-index:1;transition:left .65s cubic-bezier(.22,1,.36,1)}
.ablation-dot:before{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--ab-accent)}
.ablation-row.is-reference .ablation-dot:before{background:#687682;box-shadow:0 0 0 4px white}
.ablation-point-value{position:absolute;left:calc(100% + 2px);top:50%;transform:translateY(-50%);padding:3px 8px;border:1px solid #e1e5e9;border-radius:5px;background:white;color:#434e58;font:600 22px/1.3 SatNavSans,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 2px 8px #23384c0d;transition:opacity .15s}
.ablation-dot:hover .ablation-point-value,.ablation-dot:focus .ablation-point-value{opacity:1;visibility:visible}
.ablation-delta{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:23px;font-weight:600;color:var(--ab-accent)}
.ablation-delta small{font-size:16px;font-weight:400}
.ablation-row.is-negative .ablation-line,.ablation-row.is-negative .ablation-dot:before{background:#85909b}
.ablation-row.is-negative .ablation-delta,.ablation-row.is-reference .ablation-delta{color:#68737e}
.ablation-row:not(.is-revealed){opacity:0;transform:translateY(-12px)}
.ablation-row.is-revealed{animation:ablation-row-in .4s ease-out both}
.ablation-row:not(.is-revealed) .ablation-dot{left:50%}.ablation-row:not(.is-revealed) .ablation-line{left:50%;width:0}
.ablation-row.is-revealed .ablation-delta{animation:ablation-delta-in .35s .45s ease-out both}
@keyframes ablation-row-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@keyframes ablation-delta-in{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}
.ablation-full{--result-line:#dce3e9;--result-grid:#eef1f4;--result-soft:#f3f8fc;margin-top:24px;padding-top:20px;border-top:1px solid var(--result-line)}
.ablation-table{min-width:0}
.ablation-table .ablation-design-column{width:280px}
.ablation-table th,.ablation-table td{padding-inline:8px}
.ablation-table tbody th{white-space:normal;color:#68737e}
.ablation-table .ablation-table-group th{background:#f5f6f7;font-weight:600;color:#606971;text-align:left;padding:9px 12px}
.ablation-table .ablation-table-reference{background:#f3f8fc}
.ablation-table .ablation-table-reference th{font-weight:600;color:#53606c}
.ablation-table tr:not(.ablation-table-group)>:nth-child(7){border-left:1px solid var(--result-line)}
.ablation-table thead tr:first-child>:last-child{border-left:1px solid var(--result-line)}
.ablation-table thead tr:nth-child(2)>:nth-child(6){border-left:1px solid var(--result-line)}
.ablation-table thead tr:nth-child(2)>:nth-child(7){border-left:0}
@media(max-width:900px){.ablation-chart{--ab-label:310px;--ab-delta:170px;--ab-gap:20px}.ablation-row{font-size:18px}.ablation-delta{font-size:21px}.ablation-table{min-width:880px}.ablation-table .ablation-design-column{width:250px}.ablation-table th,.ablation-table td{padding-inline:6px}}
@media(max-width:600px){.memory-ablation{width:calc(100% - 24px);margin:54px auto}.memory-ablation h2{font-size:28px}.ablation-toolbar{gap:10px}.ablation-switch button{padding:9px 12px;min-width:54px;font-size:14px}.ablation-intro{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ablation-row,.ablation-line,.ablation-dot,.ablation-delta{animation:none!important;transition:none!important}.ablation-row:not(.is-revealed){opacity:1;transform:none}}
