/* 扫描判题卡页（两列紧凑布局） */
.scan-sheet-page {
    page-break-before: always;
    break-before: page;
}

.scan-sheet-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
}

.scan-sheet-paper-code {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.scan-sheet-hint {
    font-size: 14px;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.5;
}

.scan-sheet-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    align-items: start;
}

.scan-sheet-col {
    display: grid;
    row-gap: 12px;
}

.scan-sheet-item {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.scan-sheet-no {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    margin-right: 2px;
}

.scan-sheet-marks {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.scan-sheet-page .scan-grade-box {
    border: 1px solid #333;
    box-sizing: border-box;
    background: #fff;
    width: 21px;
    height: 21px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 16px;
}

.scan-sheet-page .scan-grade-box:last-child {
    margin-right: 0;
}

.scan-sheet-empty {
    color: #888;
    font-size: 13px;
    margin-top: 6px;
}

@media print {
    .scan-sheet-two-cols {
        column-gap: 18px;
    }
}
