/* ============================================================ */
/* default_edu56.css                                             */
/* 9까지의 수 마스터 패키지                                      */
/* ============================================================ */

.math-problems {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
}

.ans-text {
    color: #dc2626 !important;
    font-weight: 800 !important;
}

/* [1777213812] 숫자 따라 쓰기 */
.num9-trace-card-1777213812 {
    width: calc(33.333% - 14px);
    min-height: 190px;
    box-sizing: border-box;
    border: 2px solid #f59e0b;
    border-radius: 14px;
    background: #fffbeb;
    padding: 16px 12px 14px;
    position: relative;
    text-align: center;
}
.num9-small-num-1777213812,
.num9-small-num-1777213813,
.num9-small-num-1777213814,
.num9-small-num-1777213815,
.num9-small-num-1777213816,
.num9-small-num-1777213817,
.num9-small-num-1777213818 {
    position: absolute;
    top: 9px;
    left: 10px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #64748b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.num9-trace-main-1777213812 {
    font-size: 86px;
    line-height: 1;
    font-weight: 900;
    color: #111827;
    font-family: Arial, sans-serif;
    margin: 8px 0 14px;
}
.num9-trace-row-1777213812 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.num9-trace-row-1777213812 span {
    height: 42px;
    line-height: 42px;
    border-bottom: 3px solid #92400e;
    font-size: 30px;
    font-weight: 800;
    color: #9ca3af;
}

/* [1777213813] 개수 세어 숫자 쓰기 */
.num9-count-card-1777213813 {
    width: calc(50% - 14px);
    min-height: 150px;
    box-sizing: border-box;
    border: 2px solid #38bdf8;
    border-radius: 14px;
    background: #f0f9ff;
    padding: 18px 14px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 80px;
    align-items: center;
    gap: 14px;
}
.num9-icons-1777213813,
.num9-icons-1777213818 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.num9-shape-1777213813,
.num9-shape-1777213818 {
    font-size: 30px;
    line-height: 1;
    color: #0284c7;
}
.num9-write-answer-1777213813 {
    height: 56px;
    line-height: 56px;
    border: 3px solid #0369a1;
    border-radius: 10px;
    background: #fff;
    font-size: 34px;
    text-align: center;
}

/* [1777213814] 수만큼 색칠하기 */
.num9-color-card-1777213814 {
    width: calc(50% - 14px);
    box-sizing: border-box;
    border: 2px solid #f472b6;
    border-radius: 14px;
    background: #fdf2f8;
    padding: 18px 14px;
    position: relative;
}
.num9-color-target-1777213814 {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #9d174d;
    margin-bottom: 14px;
}
.num9-color-circles-1777213814 {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 7px;
}
.num9-color-circle-1777213814 {
    aspect-ratio: 1 / 1;
    border: 3px solid #db2777;
    border-radius: 50%;
    background: #fff;
}
.num9-color-circle-1777213814.is-colored {
    background: #f9a8d4;
}

/* [1777213815] 큰 수와 작은 수 비교 */
.num9-compare-card-1777213815 {
    width: calc(50% - 14px);
    box-sizing: border-box;
    border: 2px solid #a78bfa;
    border-radius: 14px;
    background: #f5f3ff;
    padding: 24px 18px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    align-items: center;
    gap: 12px;
}
.num9-compare-box-1777213815,
.num9-compare-blank-1777213815 {
    height: 72px;
    line-height: 72px;
    border-radius: 12px;
    text-align: center;
    font-size: 42px;
    font-weight: 900;
}
.num9-compare-box-1777213815 {
    background: #fff;
    border: 2px solid #7c3aed;
    color: #111827;
}
.num9-compare-blank-1777213815 {
    background: #fff;
    border: 3px dashed #7c3aed;
    color: #7c3aed;
}

/* [1777213816] 빠진 숫자 채우기 */
.num9-missing-card-1777213816 {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #34d399;
    border-radius: 14px;
    background: #ecfdf5;
    padding: 24px 18px;
    position: relative;
}
.num9-missing-row-1777213816 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.num9-missing-cell-1777213816 {
    height: 58px;
    line-height: 58px;
    border-radius: 10px;
    background: #fff;
    border: 2px solid #059669;
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #064e3b;
}
.num9-missing-cell-1777213816.is-blank {
    border-style: dashed;
    background: #fefce8;
}

/* [1777213817] 순서대로 잇기 */
.num9-connect-card-1777213817 {
    width: calc(50% - 14px);
    height: 230px;
    box-sizing: border-box;
    border: 2px solid #fb7185;
    border-radius: 14px;
    background: #fff1f2;
    padding: 12px;
    position: relative;
}
.num9-connect-dot-1777213817 {
    position: absolute;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e11d48;
    text-align: center;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
}
.num9-connect-dot-1777213817.pos0 { left: 18%; top: 20%; }
.num9-connect-dot-1777213817.pos1 { left: 45%; top: 12%; }
.num9-connect-dot-1777213817.pos2 { left: 72%; top: 22%; }
.num9-connect-dot-1777213817.pos3 { left: 28%; top: 42%; }
.num9-connect-dot-1777213817.pos4 { left: 58%; top: 42%; }
.num9-connect-dot-1777213817.pos5 { left: 12%; top: 68%; }
.num9-connect-dot-1777213817.pos6 { left: 38%; top: 72%; }
.num9-connect-dot-1777213817.pos7 { left: 66%; top: 68%; }
.num9-connect-dot-1777213817.pos8 { left: 82%; top: 50%; }
.num9-connect-card-1777213817.ans-mode .num9-connect-dot-1777213817 {
    background: #fecdd3;
}
.num9-connect-answer-1777213817 {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #be123c;
}

/* [1777213818] 단원 마무리 */
.num9-review-card-1777213818 {
    width: calc(50% - 14px);
    min-height: 145px;
    box-sizing: border-box;
    border: 2px solid #14b8a6;
    border-radius: 14px;
    background: #f0fdfa;
    padding: 20px 16px;
    position: relative;
    text-align: center;
}
.num9-review-answer-1777213818 {
    width: 70px;
    height: 54px;
    line-height: 54px;
    margin: 12px auto 0;
    border: 3px solid #0f766e;
    border-radius: 10px;
    background: #fff;
    font-size: 32px;
}
.num9-review-eq-1777213818 {
    font-size: 44px;
    font-weight: 900;
    color: #111827;
    margin-top: 26px;
}
.num9-review-eq-1777213818 span {
    display: inline-block;
    width: 58px;
    height: 50px;
    line-height: 50px;
    border: 3px dashed #0f766e;
    border-radius: 10px;
    vertical-align: middle;
}
.num9-review-seq-1777213818,
.num9-review-order-1777213818 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}
.num9-review-seq-1777213818 strong,
.num9-review-seq-1777213818 span,
.num9-review-order-1777213818 strong,
.num9-review-order-1777213818 span {
    display: inline-block;
    width: 54px;
    height: 54px;
    line-height: 54px;
    border-radius: 10px;
    border: 2px solid #0f766e;
    background: #fff;
    font-size: 30px;
    font-weight: 900;
}
.num9-review-seq-1777213818 span,
.num9-review-order-1777213818 span {
    border-style: dashed;
    background: #fefce8;
}

@media print {
    .num9-trace-card-1777213812 { width: calc(33.333% - 14px); page-break-inside: avoid; }
    .num9-count-card-1777213813,
    .num9-color-card-1777213814,
    .num9-compare-card-1777213815,
    .num9-connect-card-1777213817,
    .num9-review-card-1777213818 { width: calc(50% - 14px); page-break-inside: avoid; }
    .num9-missing-card-1777213816 { page-break-inside: avoid; }
}
