/* 模型篇 01：一行数上的卷积、3×5 小矩阵 */
#c1-svg, #mat1d-svg { display: block; width: 100%; height: auto; }
.c1-lbl { font: 12px var(--f-body); fill: var(--graphite); }
.c1-cell { stroke: #c9d0d7; }
.c1-ghost { stroke: #9aa2ab; stroke-dasharray: 3 3; }
.c1-v { font: 600 15px var(--f-num); fill: var(--ink); pointer-events: none; }
.c1-v.inv { fill: #fff; }
.c1-v.ghost { fill: #9aa2ab; font-weight: 400; }
.c1-v.k { font-size: 14px; }
.c1-v.zero { fill: #b9c0c8; font-weight: 400; }
.c1-idx { font: 10.5px var(--f-body); fill: #9aa2ab; }
.c1-idx.pad { fill: #6f7882; }
.c1-win { fill: none; stroke: #c8781a; stroke-width: 2.4; }
.c1-k { stroke: #c9d0d7; cursor: pointer; }
.c1-prod { font: 12px var(--f-num); fill: var(--ink-2); }
.c1-sum { font: 600 13px var(--f-num); fill: #c8781a; }
.c1-out { stroke: #c9d0d7; }
.c1-out.cur { stroke: #c8781a; stroke-width: 2.4; }
.c1-arrow { stroke: #c8781a; stroke-width: 1.4; stroke-dasharray: 3 3; fill: none; }
.c1-say { font-size: .9rem; line-height: 1.75; color: var(--ink-2); margin: 8px 0 10px; min-height: 3.4em; }
.c1-say b { font-family: var(--f-num); color: var(--ink); }
#c1-kbtns .btn.on, .c1-btns .btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-cell { stroke: #d5dbe0; }
.m-cell.row { stroke: #c8781a; stroke-width: 2.2; }
.m-cell.x.use { stroke: #c8781a; stroke-width: 2.2; }
.m-cell.y { cursor: pointer; }
.m-cell.y:focus-visible { outline: none; stroke: var(--ink); stroke-width: 3; }
.m-op { font: 20px var(--f-num); fill: var(--graphite); }
.mat1d { margin: 18px 0 22px; padding: 16px 18px 10px; border: 1px solid var(--rule); border-radius: 10px; background: #fafbfc; max-width: 560px; }
.mat1d .c1-say { min-height: 0; }
