/* Μουσείο ΤΝ · v7.85.91 · perceptron learning exhibit · mobile parity */
.ix-perceptron{margin:1.7rem 0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel)}.ix-perceptron-head{padding:1.2rem 1.25rem 1rem;border-bottom:1px solid var(--line)}.ix-perceptron-kicker{margin:0 0 .25rem;color:var(--blue);font-weight:700;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}.ix-perceptron h2{margin:.15rem 0 .55rem;font:400 clamp(1.7rem,4vw,2.5rem)/1.08 var(--serif)}.ix-perceptron-head p{max-width:880px;margin:.4rem 0}.ix-perceptron-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)}
.ix-perceptron-plotwrap{padding:1rem;background:color-mix(in srgb,var(--wall) 88%,var(--blue) 12%)}.ix-perceptron-plot{display:block;width:100%;min-height:390px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.ix-p-grid{stroke:var(--line);stroke-width:.6;opacity:.55}.ix-p-axis{stroke:var(--muted);stroke-width:1}.ix-p-boundary{stroke:var(--gold);stroke-width:3}.ix-p-positive{fill:var(--blue);stroke:var(--panel);stroke-width:2}.ix-p-negative{fill:var(--gold);stroke:var(--panel);stroke-width:2}.ix-p-wrong{stroke:#c23a3a!important;stroke-width:4!important}.ix-p-current{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--blue) 60%,transparent))}.ix-p-normal{stroke:var(--blue);stroke-width:2;marker-end:url(#ixArrow)}.ix-perceptron-legend{display:flex;gap:1rem;flex-wrap:wrap;margin:.65rem .25rem 0;font-size:.86rem;color:var(--muted)}.ix-perceptron-legend span{display:inline-flex;gap:.4rem;align-items:center}.ix-legend-circle{width:.8rem;height:.8rem;border-radius:50%;background:var(--blue)}.ix-legend-square{width:.8rem;height:.8rem;background:var(--gold)}.ix-legend-line{width:1.5rem;height:3px;background:var(--gold)}.ix-legend-vector{position:relative;width:1.5rem;height:2px;background:var(--blue)}.ix-legend-vector:after{content:"";position:absolute;right:-1px;top:-3px;border-left:6px solid var(--blue);border-top:4px solid transparent;border-bottom:4px solid transparent}
.ix-perceptron-panel{padding:1.15rem;border-left:1px solid var(--line)}.ix-p-metric{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:.7rem .8rem;border:1px solid var(--line);border-radius:12px;background:var(--wall);margin-bottom:.8rem}.ix-p-metric strong{font-variant-numeric:tabular-nums}.ix-p-formula{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9rem;overflow-wrap:anywhere}.ix-p-control{margin:1rem 0}.ix-p-control label{display:grid;grid-template-columns:1fr auto;gap:.7rem;align-items:end;font-weight:700}.ix-p-control input[type="range"]{width:100%;min-height:44px;margin-top:.2rem;touch-action:pan-y}.ix-perceptron-grid,.ix-perceptron-plotwrap,.ix-perceptron-panel{min-width:0}.ix-p-value{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:600}.ix-p-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.45rem;margin:1rem 0}.ix-p-buttons button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--wall);color:var(--ink);font:inherit;font-weight:700;cursor:pointer}.ix-p-buttons button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.ix-p-buttons button[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--gold)}.ix-p-status{min-height:4.5rem;padding:.8rem;border-left:4px solid var(--gold);background:var(--wall);font-size:.9rem}.ix-p-note{font-size:.84rem;color:var(--muted);margin:.85rem 0 0}.ix-p-lesson{padding:1rem 1.25rem;border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 96%,var(--gold) 4%)}.ix-p-lesson strong{display:block;margin-bottom:.3rem}
@media(max-width:820px){.ix-perceptron-grid{grid-template-columns:1fr}.ix-perceptron-panel{border-left:0;border-top:1px solid var(--line)}.ix-perceptron-plot{min-height:330px}}
@media(max-width:500px){.ix-perceptron-head,.ix-perceptron-panel,.ix-p-lesson{padding:1rem}.ix-perceptron-plotwrap{padding:.55rem}.ix-p-buttons{grid-template-columns:1fr}.ix-perceptron-plot{min-height:280px}.ix-p-metric{grid-template-columns:1fr}.ix-p-formula{font-size:.82rem}.ix-perceptron-legend{gap:.55rem .8rem;font-size:.8rem}}
@media(max-width:350px){.ix-perceptron-plot{min-height:255px}.ix-perceptron-head,.ix-perceptron-panel,.ix-p-lesson{padding:.85rem}.ix-perceptron-plotwrap{padding:.4rem}}
@media(max-height:430px) and (orientation:landscape){.ix-perceptron-grid{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)}.ix-perceptron-plot{min-height:280px}.ix-p-buttons{grid-template-columns:repeat(2,1fr)}}
