:root { --acc: #0e7490; --accd: #155e75; --accbg: #ecf7fa }
.stage { flex: 1; display: flex; flex-direction: column; padding: 14px 18px; gap: 10px; min-width: 0; min-height: 0; background: #e9ecf0 }
.pvBox { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center } .pvIn { position: relative } .pvIn canvas { display: block; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2) }
.grid { position: absolute; left: 0; top: 0; overflow: hidden; pointer-events: none } .tile { position: absolute; border: 1.5px solid rgba(225,29,72,.8); background: rgba(225,29,72,.04) } .tile span { position: absolute; left: 4px; top: 2px; font: 800 12px Inter, sans-serif; color: #e11d48 }
.warn { background: #fff8eb; border: 1px solid #f3d9a4; padding: 8px 12px; font-size: 13px }
.scl { display: flex; gap: 8px; align-items: center; font-weight: 700 } .scl .inp { width: 110px }
.ck { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin-top: 10px } .ck input { accent-color: var(--acc) }
.go { display: flex; flex-direction: column; gap: 8px } .go .btn { width: 100% }
#paperSeg button, #modeSeg button { padding: 0 5px; font-size: 12.5px }
