.task51 .task-number { margin:.25rem 0 .75rem; }
.task51 .tab-list { grid-auto-flow:row; grid-template-columns:repeat(8,minmax(0,1fr)); }
.task51 .tab-list button { overflow-wrap:normal; hyphens:auto; }
.task51 .step-panel[hidden],.task51 [hidden] { display:none!important; }
.task51 .table-scroll table { min-width:34rem; }
.task51 .syntax-help { font-size:.92rem; color:#4f6878; margin:.4rem 0; }
.task51 .helps { margin:1rem 0; }
.task51 .part { margin:1.25rem 0; padding:1rem; border:1px solid #b9d1df; border-radius:.85rem; background:#f9fcfe; }
.task51 .part h3 { margin-top:0; }
.task51 .part > label { margin-top:.85rem; }
.task51 .point-actions,.task51 .action-row { display:flex; flex-wrap:wrap; gap:.6rem; }
.task51 .point-actions button,.task51 .action-row button { margin-top:.5rem; }
.task51 .five-layout { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(25rem,1.25fr); gap:1.25rem; align-items:start; }
.task51 .five-layout > * { min-width:0; }
.task51 .five-work h3:not(:first-child) { border-top:2px solid #c9dae4; margin-top:2rem; padding-top:1.4rem; }
.task51 .five-figure { position:sticky; top:1rem; overflow:hidden; }
.task51 #ggb-51 { width:100%; min-height:27rem; overflow:hidden; }
.task51 .five-figure figcaption { margin:.75rem 0; font-size:.92rem; }
.task51 #ggb-status { margin:.5rem 0; font-weight:700; }
.task51 .result-rows { margin:.5rem 0; padding:.6rem; border:1px solid #b9d1df; border-radius:.5rem; background:#f9fcfe; }
.task51 .result-rows p { margin:.25rem 0; }
.task51 .source-note { margin:1.4rem 0; font-size:.9rem; }
.task51 .source-note a { overflow-wrap:anywhere; }
.task51 .summary-item { margin:.8rem 0; padding:.8rem; border:1px solid #b9d1df; border-radius:.7rem; background:#f9fcfe; }
.task51 .summary-item h3 { margin:0 0 .4rem; }
.task51 .summary-item p { margin:.35rem 0; overflow-wrap:anywhere; }
.task51 .summary-section .prompt { margin:0 0 .75rem; color:#4f6878; font-size:.88rem; }
.task51 .summary-grid { display:grid; grid-template-columns:minmax(170px,.45fr) 1fr; gap:7px 14px; margin:0; text-align:left; }
.task51 .summary-grid dt { color:#4f6878; font-weight:700; }
.task51 .summary-grid dd { min-width:0; margin:0; overflow-wrap:anywhere; white-space:pre-line; }
.task51 .summary-result { display:inline-flex; align-items:center; padding:3px 8px; border-radius:999px; font-weight:800; font-size:.76rem; }
.task51 .summary-result.complete { color:#14513c; background:#e7f6ef; }
.task51 .summary-result.open { color:#80530d; background:#fff1d8; }
@media (max-width:600px) { .task51 .summary-grid { grid-template-columns:1fr; }.task51 .summary-grid dt { margin-top:5px; } }
.task51 .quiz-question { min-width:0; }
.task51 .quiz-question legend { font-weight:700; }
.task51 #quiz-results { margin-top:1rem; padding:1rem; border:1px solid #287b61; border-radius:.75rem; background:#e7f6ef; }
.task51 #quiz-results p { margin:.45rem 0; }
.task51 .geometry-plot { max-height:28rem; }
.task51 .geometry-plot .danger-point { stroke-width:3; }
.task51 .neuron-figure { margin:1rem 0; padding:.8rem; border:1px solid #b9d1df; border-radius:.85rem; background:#f9fcfe; }
.task51 .neuron-stage { position:relative; width:100%; max-width:900px; height:310px; margin:auto; color:#12324a; }
.task51 .neuron-wires { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:#5d7889; stroke-width:4; stroke-linecap:round; z-index:0; }
.task51 .neuron-wires-mobile,.task51 .neuron-wires-narrow { display:none; }
.task51 .neuron-input,.task51 .neuron-weight,.task51 .neuron-core,.task51 .neuron-threshold,.task51 .neuron-output { position:absolute; z-index:1; transform:translate(-50%,-50%); }
.task51 .neuron-input { display:grid; place-items:center; left:10%; width:110px; height:76px; border:3px solid #126e9c; border-radius:50%; background:#fff; font-weight:800; }
.task51 .neuron-input-one { top:25%; }.task51 .neuron-input-two { top:75%; }
.task51 .neuron-weight { left:32%; }.task51 .neuron-weight-one { top:25%; }.task51 .neuron-weight-two { top:75%; }
.task51 .neuron-core { left:62%; top:50%; display:grid; place-items:center; width:145px; min-height:105px; padding:.5rem; border:3px solid #126e9c; border-radius:50%; background:#e9f3f8; text-align:center; font-weight:800; }
.task51 .neuron-core strong { font-size:1.5rem; line-height:1; }.task51 .neuron-core span { display:block; }
.task51 .neuron-threshold { left:62%; top:88%; }
.task51 .neuron-output { left:88%; top:50%; display:grid; place-items:center; width:140px; min-height:82px; padding:.5rem; border:3px solid #5d7889; border-radius:1rem; background:#f1f5f7; text-align:center; font-weight:800; }
.task51 .neuron-output.is-firing,.task51 .point-card-stations .is-firing { border-color:#287b61; background:#e7f6ef; color:#14513c; }
.task51 .neuron-output.is-quiet,.task51 .point-card-stations .is-quiet { border-color:#af3f47; background:#fff1f1; color:#81252c; }
.task51 .neuron-control { display:flex; align-items:center; justify-content:center; min-width:166px; min-height:48px; padding:0 .1rem; border:1px solid #b9d1df; border-radius:.65rem; background:#fff; box-shadow:0 2px 8px #12324a16; font-weight:800; }
.task51 .neuron-control-label { white-space:nowrap; }.task51 .neuron-control output { min-width:2.4rem; text-align:center; font-variant-numeric:tabular-nums; }
.task51 .neuron-control button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #126e9c; border-radius:.5rem; background:#fff; color:#12324a; font:inherit; font-size:1.4rem; cursor:pointer; }
.task51 .neuron-control button:disabled { opacity:.4; cursor:not-allowed; }
.task51 .neuron-control button:focus-visible,.task51 .row-choice:focus-visible,.task51 .four-svg-point:focus-visible { outline:3px solid #bd8900; outline-offset:3px; }
.task51 .neuron-figure figcaption { margin:.7rem .2rem .2rem; line-height:1.5; }
.task51 .neuron-mode { padding:.7rem 1rem; border:1px solid #b9d1df; border-radius:.7rem; background:#f9fcfe; }
.task51 .neuron-mode p { margin:.3rem 0; }.task51 #three-mode-warning { font-weight:800; color:#81252c; }
.task51 .row-choice { margin:0!important; white-space:nowrap; }.task51 tr.is-selected { outline:3px solid #bd8900; outline-offset:-3px; background:#fff8df; }
.task51 [aria-current="true"].row-choice { border-color:#bd8900; background:#fff8df; }
.task51 .four-comparison { display:grid; grid-template-columns:minmax(0,430px) minmax(0,1fr); align-items:start; gap:1.2rem; }
.task51 .four-comparison > * { min-width:0; }.task51 .four-comparison .geometry-figure { margin:0; }
.task51 .four-comparison .geometry-plot { max-height:none; }
.task51 #four-plot text { font-size:25px; }
.task51 #four-plot .axis-label { font-size:27px; }
.task51 #four .four-comparison-work input[type="checkbox"] { flex:none; width:1.2rem; height:1.2rem; min-height:0; margin:.1rem .3rem 0 0; }
.task51 #four .four-comparison-work fieldset label { align-items:center; justify-content:flex-start; }
.task51 .four-comparison-work fieldset { margin:.8rem 0; }.task51 .four-comparison-work .point-actions button { margin:.2rem 0; }
.task51 .point-calculation { margin:.8rem 0; padding:.8rem; border:1px solid #b9d1df; border-radius:.7rem; background:#f9fcfe; line-height:1.5; }
.task51 .point-card-title { display:block; margin-bottom:.5rem; }.task51 .point-card-stations { display:grid; gap:.4rem; }
.task51 .point-card-stations > span { display:grid; gap:.15rem; padding:.5rem; border:1px solid #b9d1df; border-radius:.5rem; background:#fff; }
.task51 .point-card-stations b { font-size:.9rem; }.task51 .point-card-stations span { overflow-wrap:anywhere; }
.task51 .point-actions .is-active { border-color:#bd8900; background:#fff8df; }
.task51 .four-svg-point { cursor:pointer; }.task51 .four-point-hit { fill:transparent; stroke:none; }.task51 .four-point-ring { fill:none; stroke:#bd8900; stroke-width:5; opacity:0; }
.task51 .four-svg-point.is-active .four-point-ring,.task51 .four-svg-point:focus-visible .four-point-ring { opacity:1; }
.task51 .visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.task51 .neuron-task-work { min-width:0; }
.task51 .input-choice-hint { margin:.25rem 0 .75rem; color:#4f6878; font-size:.92rem; }
@media (min-width:1000px) {
  .task51 .neuron-task-layout { display:grid; grid-template-columns:minmax(28rem,1.05fr) minmax(0,1fr); gap:1.2rem; align-items:start; }
  .task51 .neuron-task-layout > .neuron-diagram { position:sticky; top:1rem; min-width:0; }
  .task51 .neuron-task-layout .neuron-figure { margin:0; padding:.65rem; }
  .task51 .neuron-task-layout .neuron-stage { height:320px; }
  .task51 .neuron-task-layout .neuron-input { left:9%; width:72px; height:64px; font-size:.9rem; }
  .task51 .neuron-task-layout .neuron-weight { left:35%; }
  .task51 .neuron-task-layout .neuron-core { left:65%; width:102px; min-height:100px; padding:.35rem; font-size:.85rem; }
  .task51 .neuron-task-layout .neuron-threshold { left:65%; top:92%; }
  .task51 .neuron-task-layout .neuron-output { left:90%; width:86px; min-height:86px; padding:.3rem; font-size:.78rem; }
  .task51 .neuron-task-layout .neuron-control { min-width:140px; font-size:.9rem; }
  .task51 .neuron-task-layout .neuron-control output { min-width:1.65rem; }
  .task51 .neuron-task-layout .neuron-control button { flex:none; }
  .task51 .neuron-task-layout .neuron-figure figcaption { font-size:.86rem; }
  .task51 .neuron-task-layout .neuron-mode { margin-top:.65rem; padding:.6rem .75rem; font-size:.88rem; }
  .task51 .neuron-task-work .table-scroll table { min-width:0; width:100%; table-layout:fixed; font-size:.82rem; }
  .task51 .neuron-task-work th,.task51 .neuron-task-work td { padding:.35rem .25rem; overflow-wrap:anywhere; hyphens:auto; }
  .task51 .neuron-task-work th:first-child { width:6.3rem; }
  .task51 .neuron-task-work th:nth-child(2),.task51 .neuron-task-work th:nth-child(3) { width:2.1rem; }
  .task51 .neuron-task-work .row-choice { min-height:44px; width:100%; padding:.4rem .3rem; font-size:inherit; white-space:normal; }
}
@media (max-width:900px) { .task51 .four-comparison { grid-template-columns:1fr; }.task51 .four-comparison .geometry-figure { max-width:430px; } }
@media (max-width:760px) { .task51 .neuron-stage { width:min(100%,360px); height:600px; }.task51 .neuron-wires-desktop { display:none; }.task51 .neuron-wires-mobile { display:block; }.task51 .neuron-input { width:105px; height:72px; }.task51 .neuron-input-one { left:23%; top:9%; }.task51 .neuron-input-two { left:77%; top:9%; }.task51 .neuron-weight-one { left:23%; top:30%; }.task51 .neuron-weight-two { left:77%; top:30%; }.task51 .neuron-core { left:50%; top:54%; width:140px; min-height:92px; }.task51 .neuron-threshold { left:80%; top:68%; }.task51 .neuron-output { left:50%; top:88%; width:180px; min-height:76px; }.task51 .neuron-control { min-width:140px; font-size:.9rem; }.task51 .neuron-control output { min-width:1.65rem; }.task51 .neuron-control button { flex:none; } }
@media (max-width:390px) { .task51 .neuron-control { min-width:136px; }.task51 .neuron-threshold { left:78%; }.task51 .point-actions { flex-direction:column; align-items:stretch; } }
@media (max-width:360px) { .task51 .neuron-wires-mobile { display:none; }.task51 .neuron-wires-narrow { display:block; }.task51 .neuron-weight-one { left:23%; }.task51 .neuron-weight-two { left:77%; }.task51 .neuron-control { display:grid; grid-template-columns:44px 44px; grid-template-rows:28px 44px; grid-template-areas:"label value" "minus plus"; column-gap:4px; width:106px; min-width:0; min-height:0; padding:2px 5px; }.task51 .neuron-control-label { grid-area:label; text-align:center; }.task51 .neuron-control output { grid-area:value; min-width:0; }.task51 .neuron-control [data-adjust$=":-1"] { grid-area:minus; }.task51 .neuron-control [data-adjust$=":1"] { grid-area:plus; }.task51 .neuron-threshold { left:22%; top:72%; } }
@media (max-width:1050px) { .task51 .tab-list { grid-template-columns:repeat(4,minmax(0,1fr)); } .task51 .five-layout { grid-template-columns:minmax(0,1fr) minmax(21rem,1fr); } }
@media (max-width:850px) { .task51 .five-layout { grid-template-columns:1fr; } .task51 .five-figure { position:static; } }
@media (max-width:600px) { .task51 .tab-list { grid-template-columns:repeat(2,minmax(0,1fr)); } .task51 .step-panel,.task51 .perceptron-hero { padding:1rem; } .task51 .geometry-figure { padding:.45rem; } .task51 #ggb-51 { min-height:19rem; } .task51 .geometry-plot text { font-size:17px; } .task51 .input-grid { grid-template-columns:1fr; } }

.task51 #four-quiz { display:grid; gap:.8rem; }
.task51 #four-quiz fieldset { min-width:0; }
.task51 #four-quiz input[type="checkbox"] { width:1.2rem; height:1.2rem; min-height:0; margin:.1rem .35rem 0 0; flex:none; }
.task51 #four-quiz label { align-items:center; justify-content:flex-start; }
.task51 .four-mode-actions button[aria-pressed="true"] { border-color:#bd8900; background:#fff8df; }
.task51 .four-display { min-height:3.5rem; padding:.55rem .7rem; border:1px solid #b9d1df; border-radius:.5rem; background:#f9fcfe; }
@media (min-width:901px) {
  .task51 .four-comparison > .geometry-figure { position:sticky; top:1rem; }
  .task51 .four-comparison-work { position:sticky; top:1rem; max-height:calc(100vh - 2rem); overflow-y:auto; scrollbar-gutter:stable; padding:0 .35rem .5rem .05rem; }
}
.task51 .six-layout > * { min-width:0; }
@media (min-width:1000px) {
  .task51 .six-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:1.2rem; align-items:start; }
  .task51 .six-layout > .geometry-figure { position:sticky; top:1rem; margin:0; }
  .task51 .six-work { position:sticky; top:1rem; max-height:calc(100vh - 2rem); overflow-y:auto; scrollbar-gutter:stable; padding:0 .35rem .5rem .05rem; }
  .task51 .six-work .part:first-child { margin-top:0; }
  .task51 .six-work .table-scroll table { min-width:0; width:100%; }
}
@media (max-width:999px) { .task51 .six-work { overflow:visible; max-height:none; } }
.task51 #four-plot .four-fire-half { fill:#287b61; fill-opacity:.22; stroke:none; }
.task51 #three .three-answer-table { table-layout:fixed; }
.task51 #three .three-answer-table th.coordinate-column { width:3.3rem; }
.task51 #three .neuron-fixed-value { display:flex; min-width:6rem; width:auto; min-height:3rem; gap:.2rem; padding:.35rem .6rem; }
