/* Mechanism lab: one visual language for evidence, selection and learning. */
.method-lab{border:1px solid #ded5e9;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 18px 65px #84669d0b}.method-lab [hidden]{display:none!important}.lab-intro{padding:25px 30px 22px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #eee7f3}.lab-kicker{display:flex;align-items:center;gap:8px;font-size:12px;color:#9772b2;font-weight:650;letter-spacing:1.1px;white-space:nowrap}.lab-kicker>i{width:6px;height:6px;border-radius:50%;background:#b89bce;box-shadow:0 0 0 5px #b89bce14}.lab-intro>p{font-size:14px;color:#9a8ba7}.lab-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:10px;gap:8px;background:#fcfaff;border-bottom:1px solid #eee7f3}.lab-tabs>button{display:flex;align-items:center;gap:13px;padding:18px 17px;border:1px solid transparent;border-radius:14px;background:transparent;text-align:left;min-width:0;transition:background .2s,box-shadow .2s,border-color .2s}.lab-tabs>button[aria-selected=true]{background:#f1eaf8;border-color:#e1d2ec;box-shadow:0 3px 10px #8e6aa50a}.lab-tab-number{width:29px;height:29px;flex:0 0 auto;border:1px solid #dacee5;border-radius:50%;font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;color:#ad97bc}.lab-tabs>button[aria-selected=true] .lab-tab-number{color:#fff;background:#b094c5;border-color:#b094c5}.lab-tabs strong{display:block;font-size:16px;font-weight:650;line-height:1.4;color:#7d5e94;letter-spacing:-.2px}.lab-tabs small{display:block;font-size:12px;font-weight:400;color:#a08bac;margin-top:6px;line-height:1.5}.lab-tab-arrow{margin-left:auto;font-size:23px;color:#bfa6cd;line-height:1}.lab-tabs>button:hover{background:#f6f0fb}.lab-tabs>button[aria-selected=true]:last-child{background:#edf5f2;border-color:#d3e7dd}.lab-tabs>button:last-child strong{color:#719489}.lab-tabs>button:last-child[aria-selected=true] .lab-tab-number{background:#8ab6a4;border-color:#8ab6a4}
.lab-panel{padding:32px 30px 20px;scroll-margin-top:100px;animation:panel-arrive .45s both}.lab-panel-heading{display:flex;justify-content:space-between;gap:30px;align-items:start;margin-bottom:27px}.lab-overline{font-size:11px;letter-spacing:1.3px;font-weight:650;color:#a184b5;line-height:1.6}.lab-panel-heading h3{font-size:29px;line-height:1.3;letter-spacing:-.9px;color:#6b4e81;font-weight:600;margin-top:8px}.lab-panel-heading p{font-size:15px;line-height:1.85;max-width:720px;color:#93829f;margin-top:12px}.lab-play{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:13px;border:1px solid #ddcde9;background:#f6f0fb;border-radius:24px;min-height:40px;padding:9px 16px;color:#9972b2;margin-top:6px;transition:background .2s,border-color .2s}.lab-play:hover{background:#eee4f7;border-color:#bfa4d4}.lab-play[aria-pressed=true]{background:#9f7bb8;color:#fff;border-color:#9f7bb8}.play-symbol{font-size:10px;min-width:11px;text-align:center}.lab-footnote{font-size:12px;color:#9e8daa;line-height:1.85;margin-top:19px}.lab-segmented{display:inline-flex;padding:4px;gap:3px;background:#f3eff8;border:1px solid #e7dff0;border-radius:25px;max-width:100%}.lab-segmented button{border:0;background:transparent;border-radius:21px;padding:9px 15px;color:#9c87ad;min-height:38px;font-size:13px;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}.lab-segmented button[aria-pressed=true]{background:#fff;color:#826096;box-shadow:0 2px 8px #9176ad13;font-weight:600}.analyzer-toolbar{display:flex;justify-content:center;margin:0 0 23px}.analyzer-grid{display:grid;grid-template-columns:1.07fr 1fr;gap:20px;align-items:stretch}.trajectory-view{border-radius:17px;background:linear-gradient(140deg,#292435,#302a3c);color:#ddd2e6;border:1px solid #584664;overflow:hidden}.demo-window-head{padding:16px 19px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #b18eca25;font-size:10px;font-weight:550;letter-spacing:1px;color:#bda9cd}.demo-window-head>span:first-child{display:flex;align-items:center;gap:9px}.window-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#bfa2d3;box-shadow:11px 0 #927ca555,22px 0 #927ca530;margin-right:21px}.trajectory-outcome{font-size:10px;color:#9ec4b2;letter-spacing:.5px}.trajectory-outcome[data-success=false]{color:#d7a4ac}.trajectory-goal{padding:18px 19px 16px;display:flex;flex-direction:column;gap:7px}.trajectory-goal>span{font-size:10px;letter-spacing:1.5px;color:#a991b9}.trajectory-goal strong{font-size:16px;font-weight:500;color:#f0e6f6;line-height:1.55}.trajectory-list{padding:0 9px 11px;display:flex;flex-direction:column;gap:4px}.trajectory-step{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:8px;width:100%;background:transparent;text-align:left;padding:9px 10px;position:relative;transition:background .35s,border-color .35s;min-height:54px;color:#b6a3c4}.trajectory-step:hover,.trajectory-step[aria-pressed=true]{background:#ab89cc12;border-color:#ac88c440}.trajectory-number{color:#877294;font:11px ui-monospace,monospace;width:22px;flex:0 0 auto}.trajectory-step-body{display:flex;flex-direction:column;gap:3px;min-width:0}.trajectory-step code{font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#d5c5e1;overflow-wrap:anywhere}.trajectory-step-body>span{font-size:12px;line-height:1.5;color:#9987a7;transition:color .3s}.trajectory-step-status{margin-left:auto;font-size:18px;flex:0 0 14px;text-align:center;color:#a896b8}.trajectory-step.is-scanning{background:linear-gradient(90deg,#af89d22b,#ac87d30b);border-color:#b58ad570}.trajectory-step.is-scanning::after{content:'';position:absolute;top:0;bottom:0;left:0;width:2px;background:#c9a2e7;box-shadow:0 0 10px #c3a0dd}.trajectory-step.is-scanning .trajectory-step-body>span{color:#c8b3d8}.trajectory-step.is-error{background:#c68da91a;border-color:#bc88ad40}.trajectory-step.is-error code{color:#e0bfd8}.trajectory-step.is-error .trajectory-step-status{color:#e0b5c6;background:#bd7ea52b;border-radius:50%}.trajectory-step.is-error .trajectory-number{color:#d5a9c8}.trajectory-legend{display:flex;justify-content:center;gap:17px;padding:14px 10px;border-top:1px solid #b18eca20;font-size:10px;color:#a793b8;flex-wrap:wrap}.trajectory-legend>span{display:flex;align-items:center;gap:5px}.trajectory-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}.legend-scan{background:#c39de1}.legend-error{background:#d7a2be}.legend-neutral{background:#897995}
.analysis-view{border:1px solid #e6dced;border-radius:17px;background:linear-gradient(150deg,#fdfaff,#fff);padding:22px;display:flex;flex-direction:column;min-width:0}.analyzer-model{display:flex;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid #eee5f4}.analyzer-orb{position:relative;width:49px;height:49px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#e3d1f1,#c1a1da);color:#fff;display:flex;align-items:center;justify-content:center;font:26px Georgia,serif;box-shadow:0 4px 18px #b396cb35;flex:0 0 auto}.analyzer-orb>span{position:absolute;inset:-4px;border:1px solid #c7abd74a;border-radius:50%;rotate:30deg;scale:1.15 .72;animation:orb-orbit 7s linear infinite}.analyzer-orb>span:last-child{rotate:-50deg;animation-direction:reverse}.analyzer-model .lab-overline{font-size:9px;letter-spacing:.8px}.analyzer-model h4{font-size:18px;color:#8d6ba4;margin:4px 0 0;font-weight:550;line-height:1.35}.analyzer-status{margin-left:auto;font-size:9px;font-weight:550;letter-spacing:.8px;color:#9b82ab;white-space:nowrap}.reference-note{display:flex;gap:9px;margin:14px 0 18px;font-size:12px;line-height:1.75;color:#9f8eab}.reference-note>span{font-size:19px;color:#c2afd0}.skill-output{min-height:291px;border:1px solid #e5d7ee;border-radius:11px;background:#faf7fd;overflow:hidden}.skill-output-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;font-weight:650;letter-spacing:.8px;color:#b395c8;border-bottom:1px solid #e9dff1;padding:12px 14px}.skill-count{font-size:10px;font-weight:500;letter-spacing:0;background:#ece3f5;border-radius:12px;padding:2px 7px;color:#a383b7;white-space:nowrap}.skill-content{padding:12px;min-height:244px}.skill-pending{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px}.skill-pending p{font-size:13px;color:#b79dc8;text-align:center}.thinking-dots{display:flex;gap:6px}.thinking-dots i{width:5px;height:5px;background:#c0a5d2;border-radius:50%;animation:thinking 1.5s ease-in-out infinite}.thinking-dots i:nth-child(2){animation-delay:.16s}.thinking-dots i:nth-child(3){animation-delay:.32s}.generated-skill{border:1px solid #e0cdea;border-radius:9px;padding:13px;background:#fff;animation:skill-arrive .4s both}.generated-skill+.generated-skill{margin-top:11px}.generated-skill.is-focused{border-color:#b391c9;box-shadow:0 0 0 3px #ba9cd518}.generated-skill-top{display:flex;gap:8px;align-items:center;justify-content:space-between;font:11px ui-monospace,monospace;color:#b29ac3}.generated-skill-top strong{font-size:10px;font-weight:500;color:#a47abf;background:#f2ebf7;padding:3px 6px;border-radius:4px;white-space:nowrap}.skill-evidence{font-size:12px;line-height:1.75;color:#a793b4;margin-top:10px;padding-left:9px;border-left:2px solid #decbe9}.skill-text{font-size:13px;line-height:1.8;color:#8c6ba2;margin-top:11px;min-height:23px}.skill-text.is-typing::after{content:'▍';color:#b897cc;animation:thinking 1s ease-in-out infinite}.empty-skills{min-height:218px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;text-align:center;padding:15px}.empty-skills>span{width:44px;height:44px;border:1px solid #c8dfd3;background:#eff7f2;border-radius:50%;color:#89ae9b;display:flex;align-items:center;justify-content:center}.empty-skills strong{font-size:15px;font-weight:550;color:#8b9d93}.empty-skills p{font-size:13px;color:#a5aba4;line-height:1.8}.selection-map{margin-top:auto;padding-top:21px}.selection-map>span{font-size:12px;color:#a387b6}.mask-cells{display:flex;gap:6px;margin-top:10px}.mask-cells>span{flex:1;min-width:0;text-align:center;background:#f8f5fb;border:1px solid #eae0f1;border-radius:5px;overflow:hidden;transition:background .35s,border-color .35s}.mask-cells small{font-size:9px;color:#c4afd3;display:block;border-bottom:1px solid #ede5f3;padding:2px}.mask-cells b{display:block;padding:5px 0;font:13px ui-monospace,monospace;color:#c3afd0}.mask-cells .mask-selected{border-color:#c5a5da;background:#eee1f7}.mask-cells .mask-selected b{color:#a674c3}.selection-map>p{font-size:12px;color:#b39ac3;margin-top:11px;line-height:1.8}.analysis-inspector{display:flex;gap:11px;align-items:center;border:1px solid #e9deef;border-radius:10px;padding:13px 17px;margin-top:17px;background:#fcfaff;color:#ac90bd;font-size:13px;line-height:1.8;min-height:72px}.inspector-icon{font-size:25px;flex:0 0 auto;color:#bea3d0}.analyzer-timeline{display:flex;align-items:center;gap:16px;margin-top:19px;color:#a58bb7;font-size:12px}.analyzer-timeline label{white-space:nowrap}.analyzer-timeline input{flex:1;min-width:50px}.analysis-progress-label{font:11px ui-monospace,monospace;white-space:nowrap}.analysis-restart{border:1px solid #e3d6ed;border-radius:50%;width:32px;height:32px;background:#faf6fd;color:#b093c3;font-size:20px;line-height:1;flex:0 0 auto}.method-lab input[type=range]{accent-color:#b192c8;cursor:ew-resize;height:24px;min-width:0}.method-lab input:focus-visible{outline:2px solid #b49aca;outline-offset:5px;border-radius:4px}
/* Bounded signed distillation. */
.distill-context{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;background:#fbf9fd;border:1px solid #e9deef;border-radius:14px;padding:20px 24px;margin-bottom:24px;text-align:center}.context-tag{font-size:10px;letter-spacing:1.4px;color:#b196c4;font-weight:650}.distill-context>div>p{font-size:24px;font-family:Georgia,serif;color:#9b7bb0;margin-top:5px}.distill-context>div>span:last-child{font-size:12px;color:#b29cc1}.distill-context>div:last-child .context-tag,.distill-context>div:last-child>p{color:#8eae9f}.same-token{font-size:12px;line-height:1.9;color:#b8a2c8;border-inline:1px solid #e7dcec;padding-inline:25px}.distill-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px}.curve-stage{border:1px solid #e6daef;border-radius:16px;background:linear-gradient(145deg,#fdfaff,#fff);padding:21px 20px;min-width:0}.chart-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#b199c2}.formula-chip{font:13px Georgia,serif;color:#a584bd;white-space:nowrap;padding:6px 9px;background:#f4edf9;border:1px solid #eadff2;border-radius:5px}.lab-chart{width:100%;height:auto;overflow:visible;margin-top:13px}.distill-grid-lines path,.reward-grid-lines path{fill:none;stroke:#ece3f2;stroke-width:1;stroke-dasharray:3 5}.chart-labels text{font:12px var(--sans);fill:#b199c2}.axis-name{font:12px var(--sans);fill:#ad92be}.distill-bounds{fill:none;stroke:#d7bfe6;stroke-width:1;stroke-dasharray:5 5}.linear-curve{fill:none;stroke:#c4bdce;stroke-width:1.6;stroke-dasharray:6 5;opacity:.8}.clip-curve{fill:none;stroke:#c7b190;stroke-width:1.7;stroke-dasharray:2 5;opacity:.85}.tanh-curve{fill:none;stroke:#b796cc;stroke-width:3.5;stroke-linecap:round}.tanh-area{fill:url(#coefficient-fill)}.distill-guide,.reward-guide{fill:none;stroke:#a4c9b8;stroke-width:1;stroke-dasharray:4 5}.distill-point,.reward-point{fill:#9f7db9;stroke:#fff;stroke-width:3;transition:fill .2s}.distill-point-halo,.reward-point-halo{fill:#b99cce;opacity:.16}.curve-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:11px;color:#b29cc2;margin-top:6px}.curve-legend>span{display:flex;align-items:center;gap:6px}.curve-legend i{display:inline-block;width:17px;height:0;border-top:2px solid #b796cc}.curve-legend .key-linear{border-top:2px dashed #c4bdce}.curve-legend .key-clip{border-top:2px dotted #c7b190}.signal-caption{display:flex;align-items:center;gap:15px;margin-top:27px;border-top:1px solid #eee5f4;padding-top:18px;min-height:76px}.signal-direction{font-size:11px;font-weight:650;letter-spacing:.8px;white-space:nowrap;color:#9cbcaa;background:#eef6f1;padding:5px 9px;border-radius:5px}.signal-caption p{font-size:13px;line-height:1.75;color:#b09aba}.distill-controls{border:1px solid #e7dced;border-radius:16px;background:#fbf8fd;padding:21px 20px}.parameter-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.parameter-head>strong{font-size:14px;font-weight:550;color:#a07db7}.distill-reset{border:0;background:transparent;padding:4px 0;color:#b399c5;font-size:11px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}.method-lab fieldset{padding:0;border:0;margin:0 0 23px;min-width:0}.method-lab legend{padding:0;margin:0 0 10px;display:flex;width:100%;justify-content:space-between;gap:15px;font-size:13px;color:#ae93c0}.method-lab legend>strong{font:17px Georgia,serif;color:#9b75b1}.parameter-options{display:flex;gap:7px}.parameter-options button{flex:1;border:1px solid #e5d9ee;background:#fff;border-radius:7px;color:#b89dcb;padding:8px 10px;min-height:39px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;transition:background .2s,border-color .2s,color .2s}.parameter-options button[aria-pressed=true]{background:#eadef2;border-color:#cfb2df;color:#9b72b2}.parameter-options button small{font-size:8px}.method-lab fieldset>p{font-size:11px;line-height:1.8;margin-top:9px;color:#c0a9d1}.gap-control label,.temperature-control label{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:#af91c2}.gap-readout,.temperature-readout{font:15px ui-monospace,monospace;color:#a077ba}.gap-control input,.temperature-control input{width:100%;margin:12px 0 1px}.range-endpoints{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#c2a9d3}.selection-toggle{display:flex;gap:9px;align-items:center;border:1px solid #e5d8ee;background:#f5eef9;border-radius:8px;padding:10px;width:100%;margin-top:23px;min-height:42px;color:#ac88c1;font-size:12px}.switch-track{width:29px;height:17px;border-radius:10px;background:#c3a5d5;position:relative;flex:0 0 auto}.switch-track>i{position:absolute;width:11px;height:11px;top:3px;left:15px;border-radius:50%;background:#fff;transition:left .2s}.selection-toggle[aria-pressed=false]{color:#b3a3bc;background:#f7f4f9}.selection-toggle[aria-pressed=false] .switch-track{background:#d2c6dc}.selection-toggle[aria-pressed=false] .switch-track>i{left:3px}.coefficient-readouts{display:grid;grid-template-columns:1fr 1fr;margin-top:20px;border-top:1px solid #e9dff1;padding-top:16px;gap:14px}.coefficient-readouts>div>span{display:block;font-size:10px;color:#b79cc8}.coefficient-readouts output{font-size:25px;line-height:1.5;font-weight:500;color:#b89bc9;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.coefficient-readouts>div:last-child output{color:#9f79b6}.mechanism-note{display:flex;align-items:center;gap:16px;margin-top:22px;padding:16px 20px;border:1px solid #e7dcee;border-radius:10px;background:#fcfaff;color:#af95bf;font-size:13px;line-height:1.85}.mechanism-note>span{font:25px Georgia,serif;color:#c0a6d1;flex:0 0 auto}#panel-distill[data-direction=negative] .distill-point{fill:#c390a5}#panel-distill[data-direction=negative] .signal-direction{color:#b98a9d;background:#faeff3}#panel-distill[data-direction=masked] .distill-point{fill:#b8acbf}#panel-distill[data-direction=masked] .signal-direction{background:#f3eff7;color:#b6a6c1}
/* Success-relative preference and scale invariance. */
.reward-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.temperature-ghost{fill:none;stroke:#d7c9e5;stroke-width:1.4;stroke-dasharray:4 4;opacity:.65}.temperature-active{fill:none;stroke:#ab8ac0;stroke-width:3.5}.ranking-curve{fill:none;stroke:#c7becf;stroke-width:1.3;stroke-dasharray:6 6}.reward-guide{stroke:#b0cabd}.reward-legend{gap:18px}.temperature-control{margin-top:27px;border-top:1px solid #eee4f4;padding-top:21px}.temperature-default{background:transparent;border:0;color:#b196c3;font-size:10px;padding:0;text-decoration:underline;text-underline-offset:3px}.pair-controls{display:flex;flex-direction:column;gap:8px;margin-top:21px}.pair-controls>label{display:flex;align-items:center;gap:13px;font-size:13px;color:#a48ab5}.pair-controls input{flex:1}.pair-controls output{width:27px;font:13px ui-monospace,monospace;text-align:right;color:#a284b5}.pair-readout{font-size:13px;line-height:1.8;color:#a38ab1;margin-top:18px;min-height:50px}.reward-comparison{padding:23px;border:1px solid #dfebe5;background:linear-gradient(145deg,#f7fbf8,#fff);border-radius:16px}.comparison-heading .lab-overline{font-size:10px;letter-spacing:1px;color:#9ab5a8}.comparison-heading h4{font-size:22px;font-weight:550;line-height:1.45;letter-spacing:-.5px;margin:8px 0;color:#87a596}.comparison-heading p{font-size:13px;line-height:1.85;color:#9fb3a8;margin-top:9px}.scale-options{margin:21px 0}.scale-options button{border-color:#dce9e0;background:#fff;color:#a7bcaf}.scale-options button[aria-pressed=true]{border-color:#bad7c8;background:#e8f3ed;color:#8aab9a}.reward-table-head{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:10px;padding:0 0 11px;border-bottom:1px solid #e1ece5;font-size:10px;color:#a2b7a9}.reward-table-head>span:not(:first-child){text-align:right}.reward-comparison-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:16px;border-bottom:1px solid #e7eee9;padding:17px 0}.reward-comparison-row>span:first-child{display:flex;flex-direction:column;gap:3px}.reward-comparison-row strong{font-size:14px;line-height:1.4;font-weight:550;color:#97b29f}.reward-comparison-row small{font-size:11px;color:#a8beb0}.reward-comparison-row>span:not(:first-child){text-align:right}.reward-comparison-row b{font:14px ui-monospace,monospace;color:#97b2a0;display:block}.reward-comparison-row>span>i{height:4px;background:#e9f0ec;border-radius:4px;display:block;overflow:hidden;margin-top:10px}.reward-comparison-row>span>i>i{display:block;height:100%;border-radius:4px;background:#adccbc;transition:width .5s cubic-bezier(.2,.65,.3,1)}.reward-comparison-row .absolute-score b{color:#b6a9c1}.reward-comparison-row .absolute-score>i>i{background:#d6c7e0}.reward-comparison-row[data-success=false] strong,.reward-comparison-row[data-success=false] small,.reward-comparison-row[data-success=false] b{color:#c1b2b8}.reward-invariant{display:flex;align-items:center;gap:12px;border:1px solid #dcebe2;border-radius:9px;background:#edf7f1;padding:13px;margin-top:22px;color:#9fbbaa}.reward-invariant>span{font-size:23px}.reward-invariant>p{font-size:12px;line-height:1.85}.absolute-definition{font-size:11px;line-height:1.85;color:#a9b9b0;margin-top:14px}.reward-rule{font-size:12px;line-height:1.85;color:#98b2a3;border-top:1px solid #e1ece5;padding-top:16px;margin-top:16px}.reward-evidence{padding:20px 23px;background:#fbf8fe;border:1px solid #e7daef;border-radius:12px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:14px}.evidence-badge{max-width:140px;font-size:9px;letter-spacing:1px;line-height:1.9;color:#b69aca}.reward-evidence>div{display:flex;flex-direction:column;gap:6px}.reward-evidence>div>span{font-size:12px;color:#b39bc3}.reward-evidence strong{font-size:28px;font-weight:550;line-height:1.3;letter-spacing:-.7px;color:#b198c4}.reward-evidence .evidence-ours strong{color:#9770b2}.reward-evidence .evidence-ours>span{color:#aa8fbd}.evidence-arrow{font-size:20px;color:#d5c3e2}.lab-footer{display:flex;align-items:center;gap:17px;border-top:1px solid #e7deef;background:linear-gradient(100deg,#f8f3fc,#f1f7f4);padding:23px 30px}.loop-symbol{font-size:30px;line-height:1;color:#bea1d1}.lab-footer strong{font-size:15px;font-weight:550;color:#a07db7}.lab-footer p{font-size:12px;line-height:1.8;color:#af94c1;margin-top:6px}.inference-badge{font-size:10px;color:#99b4a5;background:#edf5f0;border:1px solid #d8e7de;padding:7px 10px;border-radius:6px;white-space:nowrap;margin-left:auto}
/* Readable contrast: lavender is decorative; all explanatory text stays darker. */
.lab-intro>p,.lab-tabs small,.lab-panel-heading p,.lab-footnote,.reference-note,.skill-evidence,.skill-pending p,.selection-map>p,.analysis-inspector,.signal-caption p,.method-lab fieldset>p,.mechanism-note,.comparison-heading p,.pair-readout,.absolute-definition,.reward-rule,.reward-invariant>p,.lab-footer p{color:#80718d}.lab-kicker,.lab-overline,.lab-tab-number,.lab-intro .lab-kicker,.lab-panel .lab-overline,.analyzer-status,.skill-output-head,.selection-map>span,.analyzer-timeline,.chart-topline,.curve-legend,.method-lab legend,.gap-control label,.temperature-control label,.range-endpoints,.selection-toggle,.coefficient-readouts>div>span,.lab-footer strong{color:#8b6e9e}.analyzer-model .lab-overline{color:#9c86ad}.skill-count{color:#9773ae}.generated-skill-top{color:#9474a9}.generated-skill-top strong{color:#9265ad}.skill-text{color:#7a5a91}.chart-labels text,.axis-name{fill:#9a84ab}.parameter-options button{color:#9377a8}.parameter-options button[aria-pressed=true]{color:#805898}.distill-reset,.temperature-default{color:#9274a7}.coefficient-readouts output{color:#997faa}.coefficient-readouts>div:last-child output{color:#8860a2}.comparison-heading h4{color:#658d7b}.comparison-heading .lab-overline,.reward-table-head{color:#829e8e}.reward-comparison-row strong,.reward-comparison-row b{color:#719582}.reward-comparison-row small{color:#88a191}.reward-comparison-row .absolute-score b{color:#a18aaf}.reward-comparison-row[data-success=false] strong,.reward-comparison-row[data-success=false] small,.reward-comparison-row[data-success=false] b{color:#a28d96}.reward-evidence>div>span,.evidence-badge{color:#9477a8}.reward-evidence strong{color:#a18ab3}.reward-evidence .evidence-ours strong{color:#80569d}.inference-badge{color:#6d9681}
@keyframes panel-arrive{from{opacity:.2;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes skill-arrive{from{opacity:.2;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes orb-orbit{to{rotate:390deg}}@keyframes thinking{50%{opacity:.25;translate:0 -2px}}
@media(min-width:1100px){.trajectory-step code{font-size:13px}.demo-window-head{font-size:11px}.trajectory-outcome{font-size:11px}.trajectory-step-body>span{font-size:12px}.trajectory-legend{font-size:11px}.skill-output-head{font-size:10px}.analyzer-model .lab-overline{font-size:10px}.analyzer-status{font-size:10px}.skill-evidence{font-size:13px}.skill-text{font-size:14px}.lab-footnote{font-size:13px}.generated-skill-top strong{font-size:11px}.method-lab fieldset>p{font-size:12px}.range-endpoints{font-size:11px}.reward-table-head{font-size:11px}.reward-comparison-row small{font-size:12px}.reward-comparison-row b{font-size:15px}.absolute-definition{font-size:12px}.inference-badge{font-size:11px}}
@media(max-width:1050px){.lab-tabs>button{padding:16px 11px;gap:9px}.lab-tabs strong{font-size:14px}.lab-tabs small{font-size:11px}.lab-tab-arrow{display:none}.lab-intro{flex-direction:column;align-items:start;gap:10px}.lab-panel{padding:28px 23px 20px}.lab-panel-heading h3{font-size:27px}.analyzer-grid{gap:15px}.analysis-view{padding:17px}.analyzer-model{gap:11px}.analyzer-status{font-size:8px}.analyzer-model .lab-overline{font-size:8px}.analyzer-model h4{font-size:16px}.generated-skill-top{flex-wrap:wrap;gap:5px}.distill-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:17px}.curve-stage{padding:19px 15px}.chart-topline{font-size:11px}.formula-chip{font-size:11px}.distill-controls{padding:19px 16px}.parameter-head{flex-direction:column;align-items:start;gap:6px}.distill-context{gap:15px}.same-token{padding-inline:20px}.reward-grid{grid-template-columns:1.2fr 1fr;gap:17px}.reward-comparison{padding:19px}.comparison-heading h4{font-size:20px}.reward-table-head{font-size:9px}.reward-comparison-row{gap:12px}.reward-evidence{padding:19px}.evidence-badge{max-width:115px;font-size:8px}.reward-evidence strong{font-size:26px}.lab-footer{padding:22px 24px;flex-wrap:wrap}.inference-badge{margin-left:46px}.lab-footer>div{flex:1;min-width:65%}.lab-tabs>button[aria-selected=true]{box-shadow:none}}
@media(max-width:820px){.analyzer-grid{grid-template-columns:1fr}.analysis-view{min-height:450px}.analyzer-model .lab-overline{font-size:10px}.analyzer-status{font-size:10px}.analyzer-model h4{font-size:18px}.analyzer-orb{width:50px;height:50px}.skill-output{min-height:200px}.skill-content{min-height:160px}.skill-pending{min-height:160px}.skill-output-head{font-size:10px}.generated-skill-top{flex-wrap:nowrap}.skill-evidence{font-size:13px}.skill-text{font-size:14px}.selection-map{padding-top:24px}.analyzer-toolbar{margin-bottom:20px}.trajectory-step{padding:11px 12px}.trajectory-step code{font-size:14px}.trajectory-step-body>span{font-size:13px}.trajectory-list{padding-inline:11px}.trajectory-goal strong{font-size:17px}.trajectory-legend{font-size:12px;padding:16px}.distill-grid,.reward-grid{grid-template-columns:1fr}.distill-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;padding:24px}.parameter-head{grid-column:1/3;flex-direction:row;align-items:center;margin-bottom:24px}.distill-controls fieldset{grid-row:2;margin-bottom:22px}.gap-control{grid-column:1/3}.selection-toggle{grid-column:1;grid-row:4;margin:18px 0 0;align-self:center}.coefficient-readouts{grid-column:2;grid-row:4;border:0;margin-top:18px;padding:0}.signal-caption{min-height:65px}.chart-topline{font-size:13px}.formula-chip{font-size:14px}.lab-chart{max-height:390px}.curve-legend{font-size:12px}.signal-caption p{font-size:14px}.lab-panel-heading p{font-size:15px}.reward-comparison{padding:24px}.comparison-heading h4{font-size:24px}.comparison-heading p{font-size:14px}.reward-table-head{font-size:12px}.reward-comparison-row{padding:16px 0}.reward-comparison-row strong{font-size:15px}.reward-comparison-row small{font-size:12px}.reward-comparison-row b{font-size:16px}.reward-rule,.reward-invariant>p{font-size:13px}.absolute-definition{font-size:12px}.reward-evidence{gap:11px}.reward-evidence>div>span{font-size:11px}.reward-evidence strong{font-size:25px}.evidence-badge{max-width:100px}.lab-footer p{font-size:13px}}
@media(max-width:600px){.method-lab{border-radius:17px}.lab-intro{padding:21px 19px;gap:8px}.lab-kicker{font-size:10px;letter-spacing:1px}.lab-intro>p{font-size:13px;line-height:1.8}.lab-tabs{gap:4px;padding:7px}.lab-tabs>button{padding:12px 7px;flex-direction:column;align-items:center;gap:8px;text-align:center;border-radius:10px}.lab-tab-number{width:25px;height:25px;font-size:10px}.lab-tabs strong{font-size:12px;line-height:1.55;letter-spacing:0}.lab-tabs small{display:none}.lab-panel{padding:25px 15px 18px}.lab-panel-heading{flex-direction:column;gap:13px;margin-bottom:22px}.lab-panel-heading h3{font-size:26px;letter-spacing:-.7px}.lab-panel-heading p{font-size:14px;line-height:1.9;margin-top:12px}.lab-overline{font-size:10px;letter-spacing:1.1px}.lab-play{font-size:12px;min-height:39px;padding:8px 14px;margin-top:0}.lab-segmented{padding:3px;gap:1px;width:100%;justify-content:center;border-radius:14px}.lab-segmented button{font-size:11px;padding:8px 9px;min-height:39px;white-space:normal;line-height:1.5;border-radius:11px;flex:1}.analyzer-toolbar .lab-segmented{background:#f6f1fa}.analyzer-grid{gap:16px}.trajectory-view{border-radius:13px}.demo-window-head{font-size:9px;padding:14px 15px;gap:8px;letter-spacing:.5px}.trajectory-outcome{font-size:9px}.window-dot{margin-right:14px;box-shadow:9px 0 #927ca555,18px 0 #927ca530}.trajectory-goal{padding:16px}.trajectory-goal strong{font-size:15px}.trajectory-step{padding:9px 7px;gap:7px;min-height:60px}.trajectory-number{width:19px;font-size:10px}.trajectory-step code{font-size:11px;line-height:1.65}.trajectory-step-body>span{font-size:12px;line-height:1.65}.trajectory-list{padding-inline:7px;gap:3px}.trajectory-step-status{font-size:10px;flex-basis:12px}.trajectory-legend{font-size:10px;gap:12px}.analysis-view{padding:18px 15px;border-radius:13px;min-height:470px}.analyzer-orb{width:42px;height:42px;font-size:24px}.analyzer-model{gap:12px}.analyzer-model .lab-overline{font-size:8px}.analyzer-model h4{font-size:17px}.analyzer-status{font-size:8px}.reference-note{font-size:12px;margin-block:16px}.skill-output-head{font-size:8px;padding:12px 10px;letter-spacing:.6px}.skill-count{font-size:9px}.skill-content{padding:10px}.generated-skill{padding:12px}.generated-skill-top{font-size:10px;flex-wrap:wrap;gap:7px}.generated-skill-top strong{font-size:10px}.skill-evidence{font-size:12px}.skill-text{font-size:13px;line-height:1.9}.mask-cells{gap:5px}.mask-cells small{font-size:9px}.mask-cells b{font-size:13px}.analysis-inspector{font-size:13px;padding:13px 12px;gap:10px}.inspector-icon{font-size:23px}.analyzer-timeline{gap:10px;font-size:11px;flex-wrap:wrap;margin-top:19px}.analyzer-timeline label{flex-basis:100%}.analyzer-timeline input{margin:0;min-width:100px}.lab-footnote{font-size:12px;line-height:1.9}.distill-context{padding:16px 12px;gap:10px;grid-template-columns:1fr 1fr}.same-token{grid-column:1/3;grid-row:2;border-inline:0;border-top:1px solid #e8e0ed;padding:12px 0 0;margin-top:3px;font-size:12px}.distill-context>div>p{font-size:22px}.distill-context>div>span:last-child{font-size:11px}.context-tag{font-size:9px}.curve-stage{padding:18px 11px 16px;border-radius:13px}.chart-topline{font-size:11px;gap:7px;align-items:start}.formula-chip{font-size:11px;padding:4px 6px}.lab-chart{margin-top:18px}.chart-labels text{font-size:15px}.axis-name{font-size:15px}.curve-legend{gap:12px;font-size:10px}.curve-legend i{width:12px}.signal-caption{gap:9px;align-items:start;margin-top:22px;padding-top:15px;min-height:82px}.signal-direction{font-size:10px;padding:5px 7px}.signal-caption p{font-size:12px}.distill-controls{display:block;padding:21px 17px;border-radius:13px}.parameter-head{flex-direction:row;gap:10px;margin-bottom:22px}.parameter-head>strong{font-size:14px}.distill-reset{font-size:10px}.method-lab legend{font-size:13px}.parameter-options button{min-height:42px;font-size:14px}.parameter-options button small{font-size:9px}.method-lab fieldset>p{font-size:12px}.method-lab fieldset{margin-bottom:24px}.gap-control label,.temperature-control label{font-size:12px}.gap-control input,.temperature-control input{height:30px}.range-endpoints{font-size:11px}.selection-toggle{font-size:13px;margin-top:22px}.coefficient-readouts{margin-top:22px;border-top:1px solid #e9dff1;padding-top:17px;gap:15px}.coefficient-readouts>div>span{font-size:11px}.coefficient-readouts output{font-size:30px}.mechanism-note{font-size:12px;padding:15px;gap:12px;line-height:1.9}.reward-grid{gap:18px}.reward-comparison{padding:20px 16px;border-radius:13px}.comparison-heading h4{font-size:23px}.comparison-heading p{font-size:13px}.comparison-heading .lab-overline{font-size:9px}.reward-table-head{font-size:10px;gap:9px}.reward-comparison-row{gap:12px}.reward-comparison-row b{font-size:14px}.reward-comparison-row strong{font-size:14px}.reward-comparison-row small{font-size:11px}.reward-invariant>p{font-size:12px}.reward-rule{font-size:12px}.absolute-definition{font-size:12px}.reward-evidence{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;padding:18px 13px;margin-top:20px}.evidence-badge{grid-column:1/6;max-width:none;font-size:9px;margin-bottom:8px}.reward-evidence>div>span{font-size:10px;line-height:1.6}.reward-evidence strong{font-size:23px}.evidence-arrow{font-size:16px}.temperature-default{font-size:10px}.pair-controls{margin-top:22px}.pair-readout{font-size:12px}.lab-footer{padding:21px 17px;gap:12px}.loop-symbol{font-size:27px}.lab-footer strong{font-size:14px}.lab-footer p{font-size:12px;line-height:1.85}.inference-badge{margin-left:40px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.method-lab *,.method-lab *::before,.method-lab *::after{animation:none!important;transition:none!important}}
@media print{.lab-tabs,.lab-play,.analyzer-timeline,.lab-panel input,.distill-reset,.parameter-options,.selection-toggle{display:none!important}.lab-panel[hidden]{display:block!important}.lab-panel{break-inside:avoid}.trajectory-view{print-color-adjust:exact}.method-lab{box-shadow:none}}
/* Trace the assignment from an error to its generated corrective skill. */
.analyzer-grid{position:relative}.analyzer-bridge{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2}.analyzer-bridge path{fill:none;stroke:#bd95d6;stroke-width:1.5;opacity:.7}.analyzer-bridge .bridge-packet{stroke:#ae7bce;stroke-width:2.5;stroke-dasharray:7 93;opacity:0}.analyzer-bridge circle{fill:#c3a0d8;stroke:#fff;stroke-width:1.5}.lab-panel[data-playing=true] .bridge-packet{opacity:1;animation:skill-transmit 2s linear infinite}@keyframes skill-transmit{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
/* Labels and explanations are intentionally larger than conventional diagram microtype. */
.lab-intro>p,.lab-panel-heading p{font-size:15px}.lab-kicker,.lab-overline{font-size:12px}.lab-tabs small{font-size:13px}.lab-panel-heading h3{font-size:30px}.lab-play,.lab-segmented button{font-size:14px}.demo-window-head,.trajectory-outcome,.trajectory-legend{font-size:12px;letter-spacing:.3px}.trajectory-goal>span{font-size:12px}.trajectory-step code{font-size:14px}.trajectory-step-body>span{font-size:13px}.trajectory-number{font-size:12px}.analyzer-model .lab-overline,.analyzer-status{font-size:11px}.reference-note,.skill-output-head,.skill-count,.generated-skill-top,.generated-skill-top strong{font-size:12px;letter-spacing:0}.skill-evidence{font-size:14px}.skill-text{font-size:15px}.selection-map>span,.selection-map>p,.analyzer-timeline{font-size:13px}.mask-cells small{font-size:11px}.mask-cells b{font-size:14px}.analysis-inspector{font-size:14px}.analysis-progress-label{font-size:12px}.lab-footnote{font-size:13px}.chart-topline,.curve-legend{font-size:13px}.parameter-head>strong{font-size:15px}.distill-reset{font-size:12px}.method-lab legend,.gap-control label,.temperature-control label{font-size:14px}.method-lab fieldset>p{font-size:13px}.parameter-options button small{font-size:11px}.range-endpoints,.temperature-default{font-size:12px}.context-tag{font-size:12px}.distill-context>div>span:last-child,.same-token{font-size:13px}.coefficient-readouts>div>span{font-size:12px}.signal-caption p,.mechanism-note{font-size:14px}.comparison-heading .lab-overline{font-size:12px}.comparison-heading p,.pair-readout{font-size:14px}.reward-table-head{font-size:12px}.reward-comparison-row small{font-size:13px}.reward-invariant>p,.reward-rule,.absolute-definition{font-size:13px}.evidence-badge{font-size:11px}.reward-evidence>div>span{font-size:13px}.lab-footer p{font-size:13px}.inference-badge{font-size:12px}.lab-tabs strong{color:#735386}.lab-tabs small{color:#8b799a}.trajectory-step-body>span{color:#b3a0c1}.trajectory-number{color:#a38bb3}.trajectory-legend{color:#b5a1c5}.mask-cells small{color:#a38bb4}.mask-cells b{color:#a18ab0}.mask-cells .mask-selected b{color:#8c5aa8}.signal-caption p,.lab-footnote{color:#80718d}
@media(max-width:1050px){.analyzer-model .lab-overline,.analyzer-status{font-size:10px}.analyzer-model{flex-wrap:wrap}.analyzer-status{margin-left:auto}.lab-tabs small{font-size:12px}.lab-tabs strong{font-size:14px}.trajectory-step code{font-size:12px}.skill-evidence{font-size:13px}.skill-text{font-size:14px}.lab-panel .lab-overline{font-size:11px}.evidence-badge{font-size:10px}}
@media(max-width:820px){.analyzer-bridge{display:none}.trajectory-step code{font-size:14px}.analyzer-model{flex-wrap:nowrap}.analyzer-model .lab-overline{font-size:11px}.analyzer-status{font-size:11px}.lab-tabs small{font-size:12px}}
@media(max-width:600px){.lab-tabs strong{font-size:12px}.lab-panel-heading h3{font-size:26px}.lab-panel-heading p,.lab-intro>p{font-size:14px}.lab-play{font-size:13px}.lab-segmented button{font-size:12px}.lab-kicker,.lab-panel .lab-overline{font-size:11px;letter-spacing:.8px}.trajectory-step code{font-size:12px}.trajectory-step-body>span{font-size:12px}.trajectory-number{font-size:11px}.trajectory-goal>span,.demo-window-head,.trajectory-outcome,.trajectory-legend{font-size:11px;letter-spacing:0}.reference-note{font-size:13px}.analyzer-model .lab-overline,.analyzer-status{font-size:10px}.analyzer-model{flex-wrap:wrap}.analyzer-status{font-size:11px}.analyzer-model h4{font-size:17px}.analyzer-model .lab-overline{font-size:11px}.skill-output-head{font-size:10px}.skill-count{font-size:11px}.generated-skill-top,.generated-skill-top strong{font-size:11px}.skill-evidence{font-size:13px}.skill-text{font-size:14px}.lab-footnote{font-size:12px}.analysis-inspector{font-size:13px}.analyzer-timeline{font-size:12px}.chart-topline{font-size:12px}.curve-legend{font-size:11px}.distill-context>div>span:last-child{font-size:12px}.context-tag{font-size:11px}.same-token{font-size:12px}.method-lab legend,.gap-control label,.temperature-control label{font-size:13px}.method-lab fieldset>p{font-size:12px}.range-endpoints,.temperature-default,.distill-reset{font-size:11px}.parameter-options button small{font-size:10px}.coefficient-readouts>div>span{font-size:12px}.signal-caption p,.mechanism-note{font-size:13px}.comparison-heading .lab-overline{font-size:11px}.comparison-heading p,.pair-readout,.reward-rule{font-size:13px}.reward-table-head{font-size:11px}.reward-comparison-row small{font-size:12px}.reward-invariant>p,.absolute-definition{font-size:12px}.reward-evidence>div>span{font-size:11px}.evidence-badge{font-size:10px}.inference-badge{font-size:11px}.lab-footer p{font-size:12px}}
/* Cross-browser sliders, with a quiet track instead of platform-default black. */
.method-lab input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;outline:none}.method-lab input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:6px;background:#e8dfef;border:0}.method-lab input[type=range]::-moz-range-track{height:5px;border-radius:6px;background:#e8dfef;border:0}.method-lab input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;margin-top:-5px;background:#b497c8;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #cbb4da,0 2px 5px #a481bf20;transition:box-shadow .2s}.method-lab input[type=range]::-moz-range-thumb{width:12px;height:12px;background:#b497c8;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #cbb4da}.method-lab input[type=range]:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #cbb4da30}.method-lab input[type=range]:focus-visible{outline:2px solid #cbb4da;outline-offset:3px}.curve-reference{width:100%;justify-content:center;color:#a38cb2;font-size:12px;margin-top:5px}.analysis-inspector{color:#7d668d}.lab-footer .inference-badge{background:#edf5f0;color:#719582}
@media(max-width:600px){.curve-reference{font-size:11px}.analyzer-model .lab-overline{font-size:10px}.analyzer-status{font-size:10px}}
@media(max-width:600px){.chart-labels text{font-size:26px}.axis-name{font-size:24px}.formula-chip{font-size:13px}.curve-legend{font-size:12px}.curve-reference{font-size:12px}.inference-badge{font-size:12px}.trajectory-legend{font-size:12px;gap:11px}.skill-output-head{font-size:11px}.lab-tabs strong{font-size:13px}}

/* Complete recorded rollouts stay readable inside the mechanism panel. */
.trajectory-source{margin-top:7px;color:#baa9c7;font-size:13px;line-height:1.5}
.trajectory-view{align-self:start}
.trajectory-list{max-height:570px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#8e729f #302a3c}
.trajectory-step{flex-shrink:0}
.mask-cells{display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));max-height:190px;overflow-y:auto;gap:6px}
.mask-cells>span{min-width:34px}
.generated-skill-top{flex-wrap:wrap}
.generated-skill-top strong{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:600px){.trajectory-list{max-height:440px}.trajectory-source{font-size:12px}.mask-cells{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}}
