.finder-layout { align-items: flex-start; }
.finder-layout .preview-section { min-width: 0; }
#puzzle { width: 100%; max-width: 210mm; height: auto; display: block; box-shadow: var(--shadow-lg); }
.finder-layout fieldset { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.finder-layout legend, .finder-layout label[for] { font-weight: 700; }
#puzzle-error { color: #933018; }
@media screen and (max-width:992px) {
    .finder-layout .controls-section { order: -1; }
    .finder-layout .preview-section { width: 100%; }
}
@media print {
    .site-header { display: none !important; }
    #puzzle { width: 210mm; height: 296.5mm; box-shadow: none; }
}
