/* wb-pattern.css — 규칙 찾기 (test-workbook 원본) */

/* ── 보기 영역 ── */
.sample-area {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4mm;
}

.sample-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2.5px solid var(--wb-primary);
    border-radius: 16px;
    padding: 14px 24px;
}

.sample-label {
    font-size: 15px;
    font-weight: 900;
    color: var(--wb-primary);
    flex-shrink: 0;
}

.sample-cells {
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-cell {
    width: 108px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sample-hint {
    font-size: 14px;
    color: #999;
}

/* ── 문제 영역 ── */
.problems {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-content: space-evenly;
}

.p-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #D5C8FF;
    border-radius: 12px;
    overflow: hidden;
    padding: 4px;
}

.p-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-blank {
    border: 2.5px dashed #AAAAAA;
    border-radius: 12px;
    background: #F0F0F0;
    padding: 0;
}

/* ==========================================================================
   빈 슬롯 — Sample은 점선+회색+번호 / Problems 24셀은 실선+흰
   ========================================================================== */
.s-cell.blank {
    border: 3px dashed #D4CCBE;
    background: #fafafa;
    border-radius: 12px;
}
.s-cell.blank .wbk-cell-num {
    font-size: 72px;
    font-weight: 800;
    color: #C9BFAD;
    line-height: 1;
    letter-spacing: -3px;
}
.p-cell.blank {
    border: 2px solid #d0c8c0;
    background: white;
}
