.pc svg{display:block;width:100%;height:auto}.pc #game{border-bottom:1px solid var(--line)}.pc #game text{fill:var(--ink-3);font:11px var(--font)}.pc input[type=range]{width:100%;margin:0;accent-color:var(--accent)}.pc .legend{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0 18px;color:var(--ink-3);font-size:.75rem}.pc .legend span{display:inline-flex;align-items:center;gap:5px}.pc .legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.pc .left-dot{background:#6f42c1}.pc .right-dot{background:#0f766e}.pc .legend .miss-dot{border:2px solid #dc3545}.pc .legend .current-dot{border:1.5px solid var(--ink-3)}.pc .legend .train-dot{background:var(--ink-3)}.pc .legend .test-dot{border:1.5px solid var(--ink-3)}.pc .legend .boundary-line{width:14px;height:0;border-radius:0;border-top:2px solid var(--accent)}.pc .legend .actual-line{width:14px;height:0;border-radius:0;border-top:2px dashed var(--ink-3)}.pc .network{max-width:500px;margin:0 auto 12px}.pc .network line{stroke:var(--line-2);stroke-width:1.5}.pc .network circle{fill:#fff;stroke:var(--ink-3);stroke-width:1.5}.pc .network .output-node{stroke:var(--accent)}.pc .network .selectable-node{cursor:pointer}.pc .network .selectable-node:hover,.pc .network .selectable-node.selected{fill:#e7f1ff;stroke:var(--accent);stroke-width:2.5}.pc .network .selectable-node:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.pc .network text{fill:var(--ink);font:12px var(--font)}.pc .network .weight{fill:var(--accent);font:11px ui-monospace,monospace;paint-order:stroke fill;stroke:#fff;stroke-width:5px}.pc .network .network-caption{fill:var(--ink-3);font-size:11px}.pc .network-hidden .weight{font-size:10px;stroke-width:4px}.pc .network-hidden .bias{fill:var(--ink-3);font:10px ui-monospace,monospace}.pc .network-hidden text{pointer-events:none}.pc .dataset-stats{display:flex;justify-content:space-between;gap:12px;font-size:.8rem;color:var(--ink-3)}.pc .dataset-stats strong{display:block;color:var(--ink);font-size:1.1rem;font-weight:600}.pc .dataset-network{margin-top:18px}.pc .update-delta{margin:-5px 0 10px;color:var(--accent);font:.75rem ui-monospace,monospace}.pc .update-delta:empty{display:none}.pc .formulas{border-top:1px solid var(--line);padding-top:12px;font:.78rem/1.8 ui-monospace,monospace;overflow-wrap:anywhere}.pc .formula-note{color:var(--ink-3)}.pc #game .scene-banner{font:600 15px var(--font)}.pc #game .scene-banner.caught{fill:#0f766e}.pc #game .scene-banner.missed{fill:#dc3545}.pc .chart .chart-label{fill:var(--ink-3);font:11px var(--font)}.pc .hold{touch-action:none;user-select:none;-webkit-user-select:none}.pc .rl-stats{margin-bottom:10px}.pc .value-bar{position:relative;display:block;height:12px;background:var(--hover);border-radius:3px}.pc .value-bar:before{content:"";position:absolute;left:50%;top:-2px;bottom:-2px;border-left:1px solid var(--line-2)}.pc .value-bar i{position:absolute;top:0;bottom:0;background:var(--line-2);border-radius:3px}.pc .state-table{width:100%;border-collapse:collapse;font-size:.8rem;margin-bottom:4px}.pc .state-table td{padding:4px 6px;border-bottom:1px solid var(--hover);white-space:nowrap}.pc .state-table .mono{font-family:ui-monospace,monospace}.pc .state-table .raw,.pc .state-table .scaled{text-align:right}.pc .state-table .bar-cell{width:40%}.pc .state-table .value-bar i{background:var(--accent);opacity:.55}.pc .q-bars{display:grid;gap:6px;margin:0 0 20px;font-size:.8rem}.pc .q-row{display:grid;grid-template-columns:64px 1fr 64px;gap:10px;align-items:center;color:var(--ink-3)}.pc .q-row .q-value{font:.75rem ui-monospace,monospace;text-align:right}.pc .q-row.chosen{color:var(--ink);font-weight:600}.pc .q-row.chosen .value-bar i{background:var(--accent)}.pc .q-row.chosen.explored .value-bar i{background:#fd7e14}.pc .legend .miss-fill{background:#dc3545}.pc .legend .swatch{border-radius:2px;border:1px solid var(--line-2)}.pc .legend .left-fill{background:#e2d9f3}.pc .legend .coast-fill{background:var(--hover)}.pc .legend .right-fill{background:#cfe9e5}.pc .legend .landing-line{width:0;height:12px;border-radius:0;border-left:2px dashed var(--accent)}.pc .legend .weight-pos{width:14px;height:0;border-radius:0;border-top:2px solid var(--accent)}.pc .legend .weight-neg{width:14px;height:0;border-radius:0;border-top:2px solid #e8590c}.pc .q-network{margin-bottom:0}.pc .q-network .q-node-bg{fill:#fff;stroke:none}.pc .q-network .q-node{fill:#fff;stroke:var(--ink-3);stroke-width:1}.pc .q-network .q-net-value{fill:var(--ink-3);font:10px ui-monospace,monospace}.pc .segmented{display:inline-flex;margin-bottom:12px}.pc .segmented button{background:#fff;color:var(--ink);border-color:var(--line-2);border-radius:0}.pc .segmented button:first-child{border-radius:4px 0 0 4px}.pc .segmented button:last-child{border-radius:0 4px 4px 0;margin-left:-1px}.pc .segmented button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.pc .data-note{margin:0 0 12px}.pc .training-controls{margin-bottom:14px}.pc .legend .coast-dot{background:#868e96}.pc .legend .swatch+.swatch{margin-left:-3px}.pc .panel-note{margin:0 0 8px}.pc .legend[hidden]{display:none}.pc .run-legend{flex-direction:column;gap:6px;margin-top:-8px}.pc .legend .run-line{width:14px;height:0;border-radius:0;border-top:2px solid}.pc .legend .link-button{align-self:flex-start;padding:0;border:0;background:none;color:var(--accent);font-size:.75rem}.pc .legend .link-button:hover{text-decoration:underline;filter:none}.pc #grid .grid-line{stroke:var(--ink-2);stroke-width:2}.pc #grid .grid-tri{stroke:var(--line-2);stroke-width:1;fill:transparent}.pc #grid .grid-wall{fill:#868e96}.pc #grid .grid-exit{fill:transparent;stroke:var(--ink-2);stroke-width:2}.pc #grid .grid-q{fill:var(--ink);font:15px ui-monospace,monospace}.pc #grid .grid-exit-value{fill:var(--ink);font:26px ui-monospace,monospace}.pc #grid .grid-arrow{fill:var(--accent);font:600 26px var(--font)}.pc #grid .grid-caption{fill:var(--ink-3);font:11px var(--font)}.pc #grid .grid-updated{fill:none;stroke:var(--ink);stroke-width:4;stroke-linejoin:round}.pc #grid .grid-used{fill:none;stroke:#3b6db3;stroke-width:3;stroke-dasharray:7 5;stroke-linejoin:round}.pc #grid .grid-agent{fill:var(--accent);stroke:#fff;stroke-width:2}.pc .update-line{min-height:2.8em;margin:-8px 0 14px;font:.8rem/1.6 ui-monospace,monospace;overflow-wrap:anywhere}.pc .update-line .update-note{display:block;color:var(--ink-3);font-size:.72rem}.pc .q-update{margin:-6px 0 16px;padding:12px 14px 4px;border:1px solid var(--line);border-radius:6px}.pc .q-eq{font:.95rem/1.4 ui-monospace,monospace;margin-bottom:30px;overflow-wrap:anywhere}.pc .q-eq-numbers{min-height:1.4em}.pc .q-eq .target{position:relative;display:inline-block;padding:0 2px 4px;color:#3b6db3;border-bottom:2px solid #3b6db3;border-radius:0 0 9px 9px}.pc .q-eq .target:after{content:attr(data-label);position:absolute;top:calc(100% + 3px);left:50%;transform:translate(-50%);font:600 .75rem var(--font);color:#3b6db3;white-space:nowrap}.pc .update-log th{text-align:left;font-weight:600;color:var(--ink-3);padding:4px 6px;border-bottom:1px solid var(--line)}.pc .update-log td{font-family:ui-monospace,monospace}.pc .update-log td:not(:first-child),.pc .update-log th:not(:first-child){text-align:right}.pc .update-log tr.latest td{background:#e7f1ff}.pc .legend .updated-line{width:14px;height:0;border-radius:0;border-top:3px solid var(--ink)}.pc .legend .used-line{width:14px;height:0;border-radius:0;border-top:2px dashed #3b6db3}.pc .grid-legend{margin:8px 0 0}.pc #grid .grid-q{pointer-events:none}.pc #grid .grid-move path{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}.pc #grid .grid-move polygon{fill:var(--ink)}.pc #grid .grid-slip path{stroke:#e8590c;stroke-dasharray:5 4}.pc #grid .grid-slip polygon{fill:#e8590c}.pc #grid .grid-max-tag{fill:#3b6db3;font:600 11px var(--font)}.pc #grid .grid-exit.good{stroke:#0f766e;stroke-width:3}.pc #grid .grid-exit.bad{stroke:#dc3545;stroke-width:3}.pc #grid .grid-caption.good,.pc #grid .grid-caption.bad{fill:var(--ink)}.pc .q-network .q-net-label{fill:var(--ink);font:10px ui-monospace,monospace}.pc .legend .ripple-line{width:14px;height:0;border-radius:0;border-top:2.5px solid #e8590c;opacity:.7}.pc .ripple-note{margin:-8px 0 8px;min-height:1.2em}.pc #grid .grid-unit-bg{stroke:var(--line-2);stroke-width:1}.pc .q-network .unit-hit{fill:transparent;stroke:none;cursor:pointer}.pc .q-network .unit-hit:hover,.pc .q-network .unit-hit:focus{stroke:var(--accent);stroke-width:2;outline:none}.pc .q-network .unit-number{fill:var(--ink-3);font:10px var(--font)}.pc #grid .grid-direction{fill:#868e96;fill-opacity:.45;pointer-events:none}.pc .legend .grid-arrow-key{color:var(--accent);font-weight:600}.pc #grid .grid-v-value{paint-order:stroke;stroke:#ffffffd9;stroke-width:5px;stroke-linejoin:round}.pc #grid .grid-step-actual{fill:var(--ink);stroke:var(--ink);stroke-width:3;stroke-linecap:round}.pc #grid path.grid-step-actual{fill:none}.pc #grid .grid-step-intended{fill:#868e96;stroke:#868e96;stroke-width:2;stroke-dasharray:5 4;stroke-linecap:round}.pc #grid path.grid-step-intended{fill:none}.pc #grid polygon.grid-step-intended{stroke-dasharray:none}.pc .world-plot{display:block;width:100%}.pc .q-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.pc .q-card{padding:4px;border:1px solid transparent;border-radius:4px;cursor:pointer}.pc .q-card span{display:block;margin-bottom:3px;font-size:.8rem;color:var(--ink-2)}.pc .q-card:hover,.pc .q-card:focus{border-color:var(--accent);outline:none}.pc .legend .value-scale{width:48px;height:9px;border-radius:2px;background:linear-gradient(to right,#dc35458c,#fff,#0f766e8c);border:1px solid var(--line)}.pc .legend .trail-line{width:14px;height:0;border-radius:0;border-top:2px solid rgba(73,80,87,.5)}.pc .value-bar.from-left:before{display:none}.pc .prob-bars .q-row.chosen .value-bar i{background:var(--accent)}.pc .q-update .q-eq-numbers{margin-bottom:12px;font-size:.85rem}.pc #grid .grid-ref{fill:var(--ink-2);font:12px ui-monospace,monospace;paint-order:stroke;stroke:#ffffffd9;stroke-width:4px}.pc .legend .more-line{width:14px;height:0;border-radius:0;border-top:3px solid rgba(15,118,110,.8)}.pc .legend .less-line{width:14px;height:0;border-radius:0;border-top:3px solid rgba(220,53,69,.8)}.pc .legend .prob-scale{width:48px;height:9px;border-radius:2px;background:linear-gradient(to right,#0d6efd0f,#0d6efda8);border:1px solid var(--line)}.pc .ga-trace .ga-trace-head{margin-bottom:6px;font:600 .8rem var(--font);color:var(--ink-2)}.pc .ga-trace svg{display:block;width:100%;height:auto}.pc .ga-trace .ga-row-label{fill:var(--ink-3);font:11px var(--font)}.pc .ga-trace .ga-row-label.parent{font-weight:600;fill:var(--ink-2)}.pc .ga-trace .ga-trace-text{margin:4px 0 10px;font:.78rem/1.6 ui-monospace,monospace}.pc .ga-table-wrap{max-height:300px;overflow-y:auto;border-bottom:1px solid var(--line)}.pc .ga-table th{position:sticky;top:0;background:#fff;padding:4px 6px;border-bottom:1px solid var(--line);color:var(--ink-3);font-weight:500;font-size:.75rem;text-align:left}.pc .ga-table td{padding:2px 6px}.pc .ga-genes{display:block;width:100%;height:12px;image-rendering:pixelated;border:1px solid var(--hover)}.pc .ga-tag{display:inline-block;margin-left:5px;padding:0 4px;border-radius:3px;font:600 .65rem var(--font);color:var(--ink-2);background:var(--hover)}.pc .ga-tag.child{color:#fff;background:var(--accent)}.pc .legend .ga-tag{margin-left:0}.pc .legend .gene-pos{background:var(--accent)}.pc .legend .gene-neg{background:#e8590c}.pc .optimization-log{overflow-x:auto}.pc .legend .model-plan-line{width:18px;height:0;border-radius:0;border-top:3px solid #6f42c1}.pc .legend .model-candidate-line{width:18px;height:0;border-radius:0;border-top:2px solid var(--line-2)}.pc .legend .model-prediction-dot{width:10px;height:10px;border:2px solid #e8590c;border-radius:50%}.pc .model-comparison th{text-align:left;font-size:.75rem;color:var(--ink-3)}.pc .model-comparison td:not(:first-child){font-variant-numeric:tabular-nums}.pc .model-page .q-update{margin-bottom:18px}.pc .model-page #plans{width:100%}#page.perceptron{display:contents}.pc-main{position:relative;max-width:calc(var(--game-scale, 1) * 900px);width:100%;margin:0 auto}.pc-main>.section-head,.pc-panel>.section-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pc-main>.section-head{min-height:32px;margin-bottom:6px;padding-right:28px}.pc-main>.section-head h2{font-size:15px;font-weight:600}.pc .section-head span{font-size:13px;color:var(--ink-3)}.pc .section-head .head-toggle{margin-left:auto;border:0;background:none;min-height:0;padding:0;font-size:13px;color:var(--accent)}.main-notes{position:absolute;top:6px;right:0}.pc-main #game{border-bottom:1px solid var(--line)}.pc .status{min-height:22px;margin:10px 0 14px;font-size:14px;color:var(--ink-2)}.pc-panel>.section-head{min-height:36px;padding:4px 12px 4px 18px;background:var(--band);border-bottom:1px solid var(--line);margin:0}.pc-panel:not(:first-child)>.section-head{border-top:1px solid var(--line)}.pc-panel>.section-head h2{font-size:14px;font-weight:600}.pc-panel{position:relative}.pc-panel>.pc-notes{position:absolute;top:7px;right:10px}.pc-body{padding:10px 18px 14px}.pc-panel.whole .pc-body{padding:0}.pc-panel.whole section[hidden]{display:none}.pc-panel.whole section>.section-head{min-height:36px;padding:4px 12px 4px 18px;background:var(--band);border-bottom:1px solid var(--line);margin:0 0 10px}.pc-panel.whole section>:not(.section-head){margin-left:18px;margin-right:18px}.pc-body:empty{display:none}.pc .formulas{border:0;padding:0;font:13px/1.7 var(--mono);color:var(--ink-2)}.pc .formulas+.formulas{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.pc-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px 10px;align-items:center;font-size:14px}.pc-settings>label:not(.check){color:var(--ink-2)}.pc-settings output{display:block;font-size:12px;color:var(--ink-3)}.pc-settings select{width:100%;max-width:none}.pc-settings .check{grid-column:1 / -1;display:flex;align-items:center;gap:8px;color:var(--ink)}.pc-run{display:contents}.pc-run .btn{min-height:38px}.pc-run .btn.primary{min-width:0}.pc-run .btn[aria-pressed=true]{background:var(--hover);border-color:var(--ink-3)}.pc-run .btn.primary[aria-pressed=true]{background:var(--accent);filter:brightness(.9)}.pc .legend{margin:6px 0 10px;font-size:13px;color:var(--ink-2)}.pc .dataset-stats{font-size:13px;color:var(--ink-3)}.pc .dataset-stats strong{font-size:18px}.pc .state-table{font-size:13px}.pc .q-update{border-color:var(--line);border-radius:var(--radius)}.pc .q-eq{font-size:14px}.pc-notes p{margin:0 0 6px}.pc-notes p:last-child{margin:0}
