@import url('./concrete-objects.css?v=20261126-shared-1');
/* Aiedue Numbers: a fresh blue-paper / coral-cube theme on the Korean app shell. */
:root{--mf-blue:#2679dd;--mf-ink:#253851;--mf-muted:#667992;--mf-paper:#f5f9fe;--mf-coral:#ee7c62;--mf-line:#d9e5f3}
#main-container{background:var(--mf-paper)}

#dashboard-section{justify-content:center;padding:90px 36px 130px;overflow:auto}
#dashboard-section .math-learning-toolbar{position:absolute;top:20px;left:30px;right:30px;padding:0;width:auto}
#dashboard-section .math-home-logo{width:170px}
.numbers-foundation-home{width:min(1120px,100%);margin:auto}
.numbers-foundation-home .dashboard-stage-board{position:static;transform:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%;max-width:none;align-items:stretch;margin:16px auto 24px;padding:0}
.numbers-foundation-home .dashboard-stage-slot{min-width:0;position:relative}
.numbers-foundation-home .dashboard-stage-card{height:320px;width:100%;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:2px solid #d4e4f8;border-radius:34px;background:#fff;box-shadow:0 10px 0 #e1eaf7,0 20px 35px #345c8e0b;padding:22px 12px;color:var(--mf-ink);position:relative;transform:none;cursor:pointer;transition:transform .15s,border-color .15s}
.numbers-foundation-home .dashboard-stage-card:hover{transform:translateY(-5px);border-color:var(--mf-blue)}
.numbers-foundation-home .stage-badge{position:static;background:#eaf3ff;color:#3971b7;border-radius:10px;padding:5px 12px;font-size:11px;letter-spacing:1px;font-weight:900}
.numbers-foundation-home .stage-illustration{display:flex;align-items:center;justify-content:center;width:106px;height:106px;background:#f0f6ff;border-radius:30px;font-size:54px;font-weight:900;color:var(--mf-blue);line-height:1}
.numbers-foundation-home [data-stage="2"] .stage-illustration{color:#d76f56;background:#fff1eb}
.numbers-foundation-home [data-stage="3"] .stage-illustration{color:#5874c5;background:#f0efff;font-size:50px}
.numbers-foundation-home [data-stage="4"] .stage-illustration{color:#21917d;background:#eafaF4;font-size:46px}
.numbers-foundation-home .level-title{font-size:23px;font-weight:900;color:var(--mf-ink)}
.numbers-foundation-home .level-desc{font-size:16px;font-weight:800;white-space:nowrap;color:#516580}
.numbers-foundation-home .stage-first-try{position:relative;display:block;margin:17px auto 0;border:0;border-radius:20px;color:#57718e;font-size:13px;font-weight:700;background:transparent;padding:6px 12px}
.mf-extra-menu{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:30px auto 0}
.mf-extra-menu button{border:1px solid #d7e4f5;background:#ffffffb5;border-radius:16px;padding:11px 18px;color:#4b6687;font-weight:800}
#numbers-foundations-section{overflow:auto;justify-content:center;align-items:center;background:linear-gradient(155deg,#f5f9ff,#f0f6fe);padding:20px 24px 125px}
#numbers-foundations-content{width:100%;min-width:0;max-width:1240px;margin:auto}
.mf-shell{width:100%;color:var(--mf-ink);position:relative;font-family:'Noto Sans KR',sans-serif}
.mf-header{display:flex;align-items:center;gap:20px;padding:0 10px 14px}
.mf-home{width:130px;flex:0 0 130px;background:transparent;border:0;cursor:pointer}
.mf-home img{width:100%;height:76px;object-fit:contain}
.mf-kicker{font-size:12px;font-weight:800;letter-spacing:.02em;color:#6482a7}
.mf-header h1{font-size:25px;font-weight:900;margin:4px 0}
.mf-voice{margin-left:auto;width:52px;height:52px;border:1px solid #cdddF4;background:#fff;border-radius:18px;font-size:25px;cursor:pointer}
.mf-voice[hidden]{display:none}
.mf-status-row{display:flex;justify-content:space-between;gap:10px;color:#69829e;font-size:12px;font-weight:700;margin:0 10px 12px}
.mf-workspace{padding:24px 30px 16px;background:#fff;border:1px solid #dce7f4;border-radius:32px;box-shadow:0 16px 45px #355b8a0b;position:relative}
.mf-target{text-align:center;color:var(--mf-blue);font-size:100px;font-weight:900;line-height:1.1;letter-spacing:-.04em}
.mf-instruction{text-align:center;font-size:18px;font-weight:800;margin:10px 0 20px;color:#4a6485}
.mf-count-board{border-radius:24px;background:#f5f9ff;padding:20px 16px;min-height:110px;border:2px solid transparent}
.mf-count-row{display:grid;grid-template-columns:repeat(var(--slots),minmax(0,1fr));gap:10px;max-width:100%;justify-content:center}
.mf-slot{border:3px solid transparent;border-radius:16px;aspect-ratio:1;max-height:74px;display:flex;align-items:center;justify-content:center;min-width:0}
.mf-slot.goal{border-color:#7db6ff;background:#e9f3ff55;animation:mf-glow 1.8s ease-in-out infinite}
@keyframes mf-glow{0%,100%{box-shadow:0 0 0 2px #d6e9ff55,0 0 8px #80b8ff44}50%{border-color:#428fec;box-shadow:0 0 0 4px #b3d5ff88,0 0 17px #69a8fb77}}
.mf-token{position:relative;display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;flex-shrink:0;border:0;border-radius:14px;background:transparent;cursor:grab;touch-action:none;padding:8px;user-select:none;-webkit-user-select:none}
.mf-token:active{cursor:grabbing;background:#e6f0ff}
.mf-token:focus-visible,.mf-workspace button:focus-visible,.mf-shell button:focus-visible,.numbers-foundation-home button:focus-visible{outline:4px solid #85adf8;outline-offset:3px}
.mf-token[aria-pressed="true"]{outline:3px solid #ef8269;background:#fff0ea}
.mf-slot .mf-token{width:100%;height:100%;min-width:0;max-width:68px;max-height:68px;padding:6px}
.mf-slot .mf-block{width:100%;height:auto;max-width:46px}
.mf-reserve{background:#f6f8fc;border:2px dashed #d0daea;border-radius:22px;padding:14px 18px 12px;margin-top:20px;min-height:120px}
.mf-reserve h2{font-size:16px;font-weight:900;color:#607592;margin:0}
.mf-reserve-row{display:flex;align-items:center;min-height:62px;flex-wrap:wrap;gap:4px}
.mf-reserve p,.mf-legend{font-size:12px;color:#788da6;text-align:center;font-weight:600;margin:9px 0}
.mf-reserve p{text-align:right}
.mf-feedback{min-height:30px;color:#53708f;font-size:14px;font-weight:700;text-align:center;padding:12px 4px 0}
.mf-feedback.error{color:#c04b46}
.mf-voice-status,.mf-storage-warning{text-align:center;color:#a9603e;font-size:12px;min-height:16px;margin:2px}
.mf-write-layout{display:grid;grid-template-columns:minmax(320px,1.35fr) minmax(230px,.85fr);gap:30px;align-items:center;min-width:0}
.mf-writing-top{display:flex;align-items:center;gap:16px;font-weight:700;color:#58789b;margin-bottom:10px;font-size:14px}
.mf-writing-top strong{font-size:30px;color:var(--mf-blue)}
.mf-writing-top button{margin-left:auto;border:1px solid #d6e1f0;border-radius:12px;padding:7px 12px;font-size:12px;font-weight:800;color:#6a809b;background:#fff}
.mf-writing{display:block;width:100%;max-height:460px;aspect-ratio:1;border:2px solid #d9e5f6;border-radius:24px;background:#f8fbff;touch-action:none;user-select:none}
.mf-guide-grid{stroke:#dfE8f5;stroke-width:1;stroke-dasharray:6 6;fill:none}
.mf-digit-guide{fill:none;stroke:#c8d5e7;stroke-width:27;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 16}
.mf-digit-guide.current{stroke:#adc7ea}
.mf-ink,.mf-live-ink{fill:none;stroke:#287adb;stroke-width:15;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mf-start{fill:#ed8d70;stroke:#fff;stroke-width:3;pointer-events:none}
.mf-start-number{text-anchor:middle;fill:white;font-size:17px;font-weight:900;pointer-events:none}
.mf-direction{stroke:#ce735b;stroke-width:4;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mf-trace-note{text-align:center;font-size:12px;color:#7189a8;font-weight:700;margin:10px 0 0}
.mf-reading-panel{padding:10px 10px 10px 0}
.mf-reading-panel h2{font-size:19px;font-weight:900;line-height:1.7;margin:0 0 22px}
.mf-reading-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mf-reading-options button,.mf-answer-row button{min-height:82px;border:2px solid #dce6f4;border-radius:20px;font-size:32px;font-weight:900;background:white;color:#425e80;cursor:pointer;box-shadow:0 4px 0 #edf2f8}
.mf-reading-options button.selected{border-color:var(--mf-blue);background:#edf5ff;color:var(--mf-blue)}
.mf-check{display:block;width:100%;margin:22px 0 0;background:var(--mf-blue);color:white;border:0;border-radius:17px;padding:18px;font-size:19px;font-weight:900;cursor:pointer}
.mf-check:disabled,.mf-answer-row button:disabled,.mf-reading-options button:disabled{opacity:.55;cursor:default}
.mf-cooldown{min-height:40px;text-align:center;font-size:14px;font-weight:800;line-height:1.7;color:#c55e4f;margin:15px 0 0}
.mf-equation{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr) 42px minmax(120px,.9fr);gap:16px;align-items:end;margin:30px 0 24px}
.mf-operand{min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:flex-end}
.mf-mini-objects{width:100%;min-height:180px;display:flex;align-items:center;justify-content:center;align-content:center;flex-wrap:wrap;gap:6px;margin-bottom:20px;padding:6px}
.mf-object-place,.mf-static-token{display:flex;width:56px;height:56px;align-items:center;justify-content:center;position:relative}
.mf-object-place .mf-token{width:54px;height:54px;padding:5px}
.mf-equation-number{font-size:80px;font-weight:900;line-height:1.2}
.mf-operator{text-align:center;color:#de6b50;padding-bottom:2px}
.mf-operator>span{display:block;font-size:74px;font-weight:900;line-height:1.15;background:#fff1e9;border-radius:20px;padding:0 3px}
.mf-operator>small{display:block;font-size:13px;font-weight:900;margin-top:7px}
.mf-equals{font-size:46px;font-weight:900;padding-bottom:20px;text-align:center;color:#7890ae}
.mf-result-wrap{text-align:center;min-width:0}
.mf-result-wrap>small{font-size:12px;font-weight:700;color:#7891af}
.mf-result{border:3px dashed #e3a0a0;border-radius:24px;min-height:270px;padding:12px 8px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;background:#fffafa;min-width:0}
.mf-result.correct{border-color:#65a1ec;background:#f1f7ff}
.mf-result-number{color:#d85a61;font-size:80px;font-weight:900;line-height:1.2}
.mf-result.correct .mf-result-number{color:var(--mf-blue)}
.mf-result-number.unknown{color:#8da4c2}
.mf-result-objects{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:5px;flex:1;min-height:130px;width:100%;margin-bottom:10px}
.mf-result-objects .mf-block{width:30px;height:30px;border-radius:7px}
.mf-x{display:inline-flex;align-items:center;justify-content:center;color:#db4f58;font-size:58px;font-family:Arial,sans-serif;font-weight:900;line-height:1;filter:drop-shadow(0 1px 1px #fff)}
.mf-token .mf-block+.mf-x{position:absolute;inset:0;background:#ffffff66;font-size:64px}
.mf-answer-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:780px;margin:30px auto 0}
.mf-answer-row button:hover:not(:disabled){background:#f0f6ff;border-color:#7faeea}
.mf-success{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;background:#ffffffd9;z-index:5;border-radius:32px;color:var(--mf-blue);pointer-events:none}
.mf-success.show{display:flex;animation:mf-pop .35s ease-out}
.mf-success>span{font-size:210px;font-family:Arial,sans-serif;line-height:1;text-shadow:0 0 30px #6cb1ff88}
.mf-success strong{font-size:45px;font-weight:900}
.mf-success small{font-size:19px;font-weight:800;margin:12px 0}
@keyframes mf-pop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
.mf-drag-ghost{position:fixed;z-index:6000;pointer-events:none;transform:translate(-50%,-50%) scale(1.1);opacity:.9;width:60px;height:60px;border:0;border-radius:14px;background:#fff7;padding:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 24px #4a6c9355}
.mf-report{margin:16px 0;padding:18px;border:1px solid #dae6f5;border-radius:22px;background:#f8fbff}
.mf-report h3{font-size:17px;font-weight:900;color:#355b87;margin:0 0 12px}
.mf-report-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:12px}
.mf-report-type{padding:10px 12px;border-radius:13px;background:white;border:1px solid #e2eaf5;font-size:12px}
.mf-report-type strong{display:block;font-size:15px;color:#41658f;margin-bottom:4px}
.mf-record-log{display:flex;flex-direction:column;gap:8px;margin:14px 0;max-height:380px;overflow:auto}
.mf-record-log article{border:1px solid #e1e9f3;border-radius:13px;padding:12px;background:#fff;font-size:13px;line-height:1.8}
.mf-record-log .right{color:#277bc7}.mf-record-log .wrong{color:#c85858}
.mf-record-filter{padding:9px 12px;border:1px solid #cbdcf2;border-radius:12px;background:white;font-size:13px}
@media(min-width:1200px){.mf-count-row{width:100%;gap:16px}.mf-slot{max-width:90px;margin:auto;width:100%}}
@media(max-width:900px){#dashboard-section{padding:90px 22px 120px}.numbers-foundation-home .dashboard-stage-board{gap:10px}.numbers-foundation-home .dashboard-stage-card{height:270px;border-radius:25px;padding:18px 6px;gap:11px}.numbers-foundation-home .stage-illustration{width:85px;height:85px;font-size:46px}.numbers-foundation-home .level-desc{font-size:13px}.numbers-foundation-home .level-title{font-size:20px}.mf-equation{gap:8px;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr) 28px minmax(100px,.8fr)}.mf-mini-objects{gap:2px;min-height:190px}.mf-object-place,.mf-static-token{width:44px;height:44px}.mf-object-place .mf-token{width:44px;height:44px}.mf-mini-objects .mf-block{width:34px;height:34px}.mf-x{font-size:47px}.mf-operator>span{font-size:60px}.mf-equation-number,.mf-result-number{font-size:66px}.mf-write-layout{grid-template-columns:minmax(270px,1.25fr) minmax(210px,.85fr);gap:22px}}
@media(max-width:620px){#dashboard-section{padding:85px 12px 110px}#dashboard-section .math-learning-toolbar{top:12px;left:15px;right:15px}#dashboard-section .math-home-logo{width:125px}#dashboard-section .math-learning-toolbar>.flex{display:none}.numbers-foundation-home .dashboard-stage-board{gap:6px}.numbers-foundation-home .dashboard-stage-card{height:215px;border-radius:20px;padding:14px 3px;gap:13px}.numbers-foundation-home .stage-badge{font-size:9px;padding:4px 5px}.numbers-foundation-home .stage-illustration{width:58px;height:65px;font-size:35px;border-radius:18px}.numbers-foundation-home [data-stage="3"] .stage-illustration,.numbers-foundation-home [data-stage="4"] .stage-illustration{font-size:30px}.numbers-foundation-home .level-title{font-size:16px}.numbers-foundation-home .level-desc{font-size:11px;white-space:normal;line-height:1.7;min-height:38px;display:flex;align-items:center}.numbers-foundation-home .stage-first-try{font-size:10px;padding:3px;margin-top:12px}.mf-extra-menu{gap:7px;margin-top:20px}.mf-extra-menu button{font-size:11px;padding:10px 12px;border-radius:12px}#numbers-foundations-section{padding:14px 9px 115px}.mf-header{gap:10px;padding:0 4px 10px}.mf-home{width:82px;flex-basis:82px}.mf-home img{height:52px}.mf-header h1{font-size:18px}.mf-kicker{font-size:10px}.mf-voice{width:40px;height:40px;font-size:20px;border-radius:13px}.mf-status-row{font-size:10px;margin:0 4px 10px}.mf-workspace{padding:18px 10px 12px;border-radius:24px}.mf-target{font-size:80px}.mf-instruction{font-size:15px;margin:10px 0 16px}.mf-count-board{padding:18px 6px;min-height:80px;border-radius:18px}.mf-count-row{gap:3px}.mf-slot{border-width:2px;border-radius:8px;min-height:24px}.mf-slot .mf-token{padding:2px}.mf-slot .mf-block{border-radius:5px;border-width:1px;box-shadow:inset 1px 1px #ffc3af,inset -1px -1px #dc6d55}.mf-reserve{padding:12px;margin-top:18px}.mf-reserve h2{font-size:14px}.mf-reserve .mf-token{width:48px;height:48px}.mf-reserve .mf-block{width:34px;height:34px}.mf-reserve-row{min-height:52px}.mf-feedback{font-size:12px;line-height:1.7}.mf-write-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:12px}.mf-writing-top{gap:6px;font-size:10px;flex-wrap:wrap}.mf-writing-top strong{font-size:22px}.mf-writing-top button{font-size:10px;padding:5px 7px}.mf-writing{border-radius:18px}.mf-reading-panel{padding:0}.mf-reading-panel h2{font-size:13px;margin-bottom:12px;line-height:1.7}.mf-reading-options{gap:7px;grid-template-columns:1fr 1fr}.mf-reading-options button{font-size:23px;min-height:58px;border-radius:13px}.mf-check{font-size:14px;padding:14px 6px;margin-top:14px;border-radius:12px}.mf-trace-note{font-size:10px;line-height:1.7}.mf-cooldown{font-size:11px;line-height:1.7}.mf-equation{gap:4px;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) 22px minmax(63px,.85fr);margin:20px 0 16px}.mf-mini-objects{min-height:160px;margin-bottom:12px;padding:0;gap:2px}.mf-object-place,.mf-static-token{width:29px;height:34px}.mf-object-place .mf-token{width:29px;height:34px;padding:2px}.mf-mini-objects .mf-block{width:25px;height:25px;border-radius:6px;border-width:1px}.mf-mini-objects .mf-x{font-size:36px}.mf-token .mf-block+.mf-x{font-size:39px}.mf-equation-number,.mf-result-number{font-size:48px}.mf-operator>span{font-size:42px;border-radius:12px}.mf-operator>small{font-size:10px;margin-top:4px}.mf-equals{font-size:28px;padding-bottom:22px}.mf-result{min-height:228px;border-radius:16px;border-width:2px;padding:8px 3px}.mf-result-objects{gap:3px;min-height:150px;margin-bottom:8px}.mf-result-objects .mf-block{width:22px;height:22px;border-radius:5px;border-width:1px}.mf-result-wrap>small{font-size:10px}.mf-answer-row{gap:9px;margin-top:22px}.mf-answer-row button{font-size:30px;min-height:68px;border-radius:15px}.mf-success>span{font-size:155px}.mf-success strong{font-size:32px}.mf-success small{font-size:16px}.mf-legend{font-size:10px;line-height:1.8}}
/* Scope home typography above the shared Math shell's compound selectors. */
#dashboard-section .dashboard-stage-card.level-card .stage-badge{position:static;transform:none;left:auto;top:auto;min-width:0;width:auto;max-width:100%;letter-spacing:1px;font-size:11px;line-height:1.3;padding:5px 10px}
#dashboard-section .dashboard-stage-card.level-card .level-title{font-size:23px;line-height:1.3;margin:0;white-space:nowrap}
#dashboard-section .dashboard-stage-card.level-card .level-desc{font-size:16px;line-height:1.6;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;margin:0;max-width:100%}
@media(max-width:900px){#dashboard-section .dashboard-stage-card.level-card .level-title{font-size:20px}#dashboard-section .dashboard-stage-card.level-card .level-desc{font-size:13px}}
@media(max-width:620px){#dashboard-section .dashboard-stage-card.level-card .stage-badge{font-size:9px;padding:4px 5px;letter-spacing:0}#dashboard-section .dashboard-stage-card.level-card .level-title{font-size:17px}#dashboard-section .dashboard-stage-card.level-card .level-desc{font-size:12px}#dashboard-section .stage-first-try{font-size:10px;line-height:1.5;padding:6px 0;white-space:normal;word-break:keep-all}}
@media(prefers-reduced-motion:reduce){.mf-slot.goal{animation:none;box-shadow:0 0 0 3px #c6e0ff}.mf-success.show{animation:none}.numbers-foundation-home .dashboard-stage-card{transition:none}}
