.mf-tabs{display:flex;gap:5px;padding:5px;background:#edf2fa;border:1px solid #dce5f2;border-radius:11px;width:max-content;margin:0 0 16px;max-width:100%}.mf-tabs button{display:flex;align-items:center;gap:8px;border:0;border-radius:8px;padding:10px 19px;background:transparent;color:#60749e;font-weight:750;font-size:14px;cursor:pointer;white-space:nowrap}.mf-tabs [aria-selected=true]{color:#2465ff;background:white;box-shadow:0 2px 6px #183d7012}.mf-shell{--sidebar-width:190px}.mf-shell .sidebar{width:190px}.mf-shell .app-main{margin-left:190px}.mf-shell .sidebar .brand{padding-left:0}.mf-shell .sidebar .nav-item{font-size:14px}.mf-shell .content{padding:15px 18px 22px;max-width:none}.mf-shell .topbar{padding:22px 22px 18px;min-height:106px;gap:14px;align-items:center}.mf-shell .shell-heading>img{display:none}.mf-shell .shell-heading b{font-size:27px;color:#091953;letter-spacing:-1px}.mf-shell .shell-heading span{font-size:13px;color:#8193b7;margin-top:8px}.mf-shell .topbar-right .streak{display:none}.mf-shell .topbar-right{gap:11px}.mf-shell .version{font-size:11px}.mf-shell .shell-heading{flex:1}.mf-shell .user-copy{font-size:12px}.mf-metrics{display:flex;gap:9px}.mf-metrics>div{display:flex;align-items:center;gap:10px;border:1px solid #e4ebf7;border-radius:9px;min-width:117px;padding:11px 12px;color:#316bff}.mf-metrics span{display:grid;gap:4px}.mf-metrics small{font-size:10px;color:#91a1bc}.mf-metrics b{font-size:16px;color:#0a1c52;white-space:nowrap}.mf-page{color:#0b1c54}.mf-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:16px}.mf-map-main{min-width:0;background:linear-gradient(140deg,#fff,#fbfdff);border:1px solid #e1e9f6;border-radius:12px;overflow:hidden;position:relative}.mf-map-tools{padding:13px 16px;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;min-height:66px;border-bottom:1px solid #f3f5f9}.mf-crumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:35px;color:#8090b2;font-size:13px}.mf-crumbs button{border:0;background:transparent;padding:2px;color:#263963;font:inherit;font-weight:700;cursor:pointer;display:flex;align-items:center}.mf-crumbs b{color:#0d1c57}.mf-tools{display:flex;gap:9px;align-items:center}.mf-tools>button,.mf-back{display:flex;align-items:center;justify-content:center;gap:9px;color:#153066;border:1px solid #e0e8f4;background:#fff;border-radius:9px;font-weight:750;font-size:12px;padding:10px 12px;cursor:pointer}.mf-zoom{display:flex;align-items:center;border:1px solid #e0e8f4;border-radius:8px;overflow:hidden;font-size:12px;font-weight:700}.mf-zoom button{border:0;background:#fff;color:#1a3568;width:31px;height:34px;font-size:19px;cursor:pointer}.mf-zoom span{border-left:1px solid #edf1f6;border-right:1px solid #edf1f6;padding:8px 9px;min-width:50px;text-align:center}.mf-graph-scroll{overflow:auto;overscroll-behavior:contain;height:690px;max-height:calc(100vh - 286px);min-height:430px;scrollbar-width:thin;scrollbar-color:#ccd8ed transparent}.mf-graph-sized{position:relative}.mf-graph{position:relative;transform-origin:top left}.mf-lines{position:absolute;inset:0;pointer-events:none}.mf-node{position:absolute;display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #dce4f0;border-radius:14px;box-shadow:0 5px 13px #4869a206;padding:9px 12px;color:#0b1c54;cursor:pointer;transition:box-shadow .15s,border-color .15s}.mf-node:hover{border-color:#80a4ff;box-shadow:0 4px 14px #3b69f71c}.mf-node.selected{border:2px solid #3b70ff;background:linear-gradient(120deg,#f5f9ff,#edf3ff);box-shadow:0 3px 13px #3a6cff21}.mf-node-dot{flex:none;width:16px;height:16px;border-radius:50%;background:#cbd1dc;border:2px solid #f0f3f8;display:flex;align-items:center;justify-content:center}.mf-node.done .mf-node-dot{background:#43ad74;border-color:#dff3e8}.mf-node.current .mf-node-dot,.mf-node.selected .mf-node-dot{background:#316eff;border-color:#e3edff}.mf-node-copy{display:flex;flex-direction:column;min-width:0;gap:4px}.mf-node-copy strong{font-size:16px;font-weight:800;letter-spacing:-.2px}.mf-node-copy small{font-size:12px;line-height:1.2;color:#7f91b4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:192px}.mf-node em{font-style:normal;color:#7c8fb6;white-space:nowrap;font-size:10px;margin-left:auto}.mf-node-action{width:27px;height:27px;border-radius:50%;border:1px solid #e5ebf6;display:flex;align-items:center;justify-content:center;font-size:19px;flex:none;margin-left:auto;background:#fff;color:#112655}.mf-hub{border:2px solid #b1c4ff;background:#f7f9ff}.mf-hub .mf-node-dot{background:transparent;border:0;color:#386dff;width:25px;height:30px}.mf-hub .mf-node-copy strong{font-size:20px}.mf-hub em{position:absolute;bottom:9px;left:50px}.mf-tone-0{background:#faf6ff;border-color:#e2d7f7}.mf-tone-1{background:#f3fcf5;border-color:#d8eddf}.mf-tone-2{background:#fff5f8;border-color:#f2dce5}.mf-tone-3{background:#fffbf0;border-color:#f2e6c6}.mf-tone-4{background:#f1f7ff;border-color:#d7e3f8}.mf-tone-5{background:#faf5ff;border-color:#e4d9f4}.mf-node[class*=mf-tone] .mf-node-dot{width:30px;height:30px;background:transparent;border:0;color:#6553a2}.mf-set-node .mf-node-dot{width:20px;height:25px;background:transparent;border:0;color:#3876ff}.mf-legend{position:absolute;bottom:10px;left:16px;display:flex;gap:21px;padding:10px 14px;background:#ffffffed;border:1px solid #e6ecf6;border-radius:9px;font-size:11px;font-weight:700;pointer-events:none}.mf-legend span{display:flex;align-items:center;gap:9px}.mf-legend i,.mf-context-words i{width:13px;height:13px;border-radius:50%;display:inline-block;flex:none}.mf-legend .done,.mf-context-words .done i{background:#40aa73}.mf-legend .current,.mf-context-words .current i,.mf-context-words .selected i{background:#316eff}.mf-legend .future,.mf-context-words .future i{background:#cbd1dc}.mf-card{border:1px solid #e1e9f6;border-radius:12px;background:#fff;padding:18px}.mf-side{display:flex;flex-direction:column;gap:12px;min-width:0}.mf-preview{position:relative;min-height:410px}.mf-preview>small{font-size:13px;font-weight:800}.mf-area-badge{float:right;padding:5px 9px;color:#316dff;background:#eaf2ff;border-radius:6px;font-size:11px}.mf-preview h2{font-size:30px;letter-spacing:-1px;margin:29px 0 6px;overflow-wrap:anywhere}.mf-preview h3{font-size:19px;margin:5px 0 13px}.mf-preview p{font-size:12px;color:#8194b4;line-height:1.7}.mf-word-pager{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.mf-word-pager button{width:33px;height:33px;font-size:20px;color:#20366b;border:1px solid #e0e7f3;background:white;border-radius:8px;cursor:pointer}.mf-preview .mf-preview-word{margin-top:0;color:#316dff;font-size:32px}.mf-count{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:650;color:#6b809f;margin:14px 0 7px}.mf-count small{font-size:11px}.mf-meter{height:7px;background:#edf1f8;border-radius:5px;overflow:hidden}.mf-meter>i{display:block;height:100%;background:#346eff;border-radius:5px}.mf-etymology{border-radius:9px;background:#edf3ff;padding:12px 15px;text-align:center;color:#254887;font-size:13px;font-weight:650;line-height:1.55}.mf-root-peek{margin:23px 0;display:grid;gap:8px}.mf-root-peek button{display:flex;gap:12px;align-items:center;border:1px solid #e3eaf6;border-radius:9px;padding:12px;background:#fff;cursor:pointer;color:#162b5f}.mf-root-peek small{color:#8294b4}.mf-primary{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:49px;background:linear-gradient(110deg,#43a273,#459f71);border:1px solid #419c6d;border-radius:9px;color:#fff;font-size:16px;font-weight:800;cursor:pointer;padding:11px 14px;line-height:1.3}.mf-primary:hover{background:#358d60}.mf-primary:disabled,.mf-audio:disabled{opacity:.55;cursor:default}.mf-preview-art{height:190px;width:100%;margin:13px 0 2px;position:relative;overflow:hidden;background:white}.mf-preview-art>img{width:100%;height:100%;object-fit:contain}.mf-audio{border:1px solid #dee7f6;border-radius:27px;color:#2867ff;background:#fff;min-height:40px;display:flex;align-items:center;justify-content:center;gap:9px;padding:9px 19px;font-size:13px;font-weight:750;cursor:pointer;margin:10px auto 15px}.mf-root-art{display:block;max-width:100%;height:205px;object-fit:contain}.mf-flow h3{margin:0 0 14px;font-size:13px}.mf-flow>div{display:flex;justify-content:space-between;gap:5px}.mf-flow span{display:grid;text-align:center;gap:9px}.mf-flow span i{font-style:normal;display:flex;align-items:center;justify-content:center;border-radius:50%;width:29px;height:29px;margin:auto;background:#edf3fe;color:#46639a;font-weight:750}.mf-flow span:first-child i{background:#316eff;color:white}.mf-flow span b{font-size:10px;white-space:nowrap;color:#647d9f}.mf-flow p{font-size:11px;color:#8d9eba;line-height:1.6;margin:12px 0 0}.mf-mini header{display:flex;align-items:center;justify-content:space-between;font-size:12px}.mf-mini header button{border:1px solid #e0e8f5;background:#fff;border-radius:6px;padding:4px;color:#2256b6;cursor:pointer}.mf-mini svg{display:block;width:100%;height:119px;border:1px solid #edf1f8;border-radius:8px;margin-top:9px}.mf-mini p{font-size:11px;color:#8c9db9;margin:9px 0 0}.mf-study-layout{display:grid;grid-template-columns:310px minmax(0,1fr) 316px;gap:14px;margin-top:12px;color:#0a1a52}.mf-context{padding:17px}.mf-back{width:100%;margin-bottom:22px;min-height:42px;font-size:13px}.mf-context-path{display:grid;gap:22px;margin:12px 0 9px;padding-left:18px;position:relative;border-left:1px solid #a8c2ff}.mf-context-path b,.mf-context-path strong{position:relative;font-size:14px}.mf-context-path b:before,.mf-context-path strong:before{content:'';position:absolute;left:-25px;top:1px;border:3px solid #f3f7ff;width:14px;height:14px;background:#a4b9dd;border-radius:50%}.mf-context-path strong{padding:9px 8px;background:#edf3ff;border-radius:9px}.mf-context-path strong:before{background:#316eff;top:11px}.mf-context-path small{font-size:11px;color:#6681ad}.mf-context-words{padding-left:20px;display:grid;gap:7px;border-left:1px solid #b7cafa}.mf-context-words button{display:flex;align-items:center;gap:9px;min-height:41px;padding:8px 10px;text-align:left;color:#12265e;border:1px solid #e0e7f3;border-radius:12px;background:#fff;font-size:13px;cursor:pointer}.mf-context-words .selected{border-color:#4a7cff;background:#edf3ff}.mf-context-words b{overflow-wrap:anywhere}.mf-context-words span{margin-left:auto;width:21px;height:21px;border-radius:50%;border:1px solid #e2e8f4;text-align:center;font-size:19px}.mf-study-card{padding:19px 30px;min-width:0;min-height:745px}.mf-steps{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:1px 0 22px}.mf-steps span{display:flex;align-items:center;gap:7px;color:#91a2c0;font-size:11px;font-weight:750;white-space:nowrap}.mf-steps i{width:29px;height:29px;border-radius:50%;background:#edf2fa;display:flex;justify-content:center;align-items:center;font-style:normal;font-size:14px;color:#7590b1}.mf-steps .active{color:#276bff}.mf-steps .active i{color:#fff;background:#306dff;box-shadow:0 3px 8px #3974ff20}.mf-steps .done i{background:#e1f3e8;color:#42a371}.mf-study-center{text-align:center}.mf-study-art{height:262px;position:relative;overflow:hidden;background:#fff;width:100%;margin:0 auto}.mf-study-art>img{width:100%;height:100%;object-fit:contain}.mf-study-center h1{font-size:64px;line-height:1.12;letter-spacing:-1.8px;margin:16px 0 9px;overflow-wrap:anywhere;color:#07194f}.mf-study-center h2{font-size:25px;margin:6px 0 17px}.mf-study-center>.mf-etymology{max-width:480px;margin:0 auto 16px;width:fit-content}.mf-example{border:1px solid #e3ebf8;border-radius:13px;padding:17px 15px;margin:13px 0 11px;line-height:1.4}.mf-example b{font-size:20px;letter-spacing:-.4px}.mf-example p{font-size:16px;color:#6e88ae;margin:10px 0 0}.mf-audio-row{display:flex;justify-content:center;gap:23px}.mf-audio-row .mf-audio{min-width:145px;margin:3px 0 13px}.mf-study-center>.mf-primary{min-height:57px;font-size:19px}.mf-help h3{font-size:18px;margin:0 0 16px}.mf-root-memory{border:1px solid #e3eaf6;border-radius:12px;text-align:center;margin-bottom:23px;padding:10px}.mf-root-memory h2{margin:3px 0 5px;font-size:28px}.mf-root-memory img{width:100%;height:185px;object-fit:contain}.mf-root-memory>b{display:block;font-size:17px;margin:6px}.mf-related{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border:1px solid #e0e8f5;border-radius:12px;padding:12px 13px;background:white;margin:9px 0;color:#12295f;cursor:pointer}.mf-related span{display:grid;gap:5px}.mf-related b{font-size:15px}.mf-related small{font-size:12px;color:#8c9eb9}.mf-related i{font-style:normal}.mf-help>.mf-back{color:#276cff;background:#e9f1ff;border:0;margin:28px 0 0}.mf-question{padding:40px 0 20px}.mf-question>small{font-size:14px;color:#6d84a8}.mf-question>h2{font-size:42px;margin:25px 0}.mf-question>p{font-size:15px;color:#7085a8}.mf-choices{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:35px 0}.mf-choices button{border:1px solid #dce5f4;min-height:72px;border-radius:12px;background:#fafdff;color:#183468;font-size:18px;cursor:pointer;padding:15px}.mf-choices button:hover:not(:disabled){border-color:#4479ff;background:#edf3ff}.mf-choices button:disabled{opacity:.65}.mf-question form{display:grid;gap:14px;margin:30px 0}.mf-question input{border:1px solid #cbdcf8;border-radius:10px;font-size:25px;padding:17px;width:100%;color:#0b2356;box-sizing:border-box;text-align:center}.mf-answer-feedback{min-height:33px;font-size:14px;margin:18px 0}.mf-answer-feedback.good{color:#258758}.mf-answer-feedback.bad{color:#ae4e42}.mf-save-error{font-size:12px;color:#b74343;text-align:center;line-height:1.6}.mf-complete{display:grid;gap:15px;justify-items:center;padding:65px 0 20px;color:#359c6b}.mf-complete h1{font-size:36px}.mf-complete h2{font-size:21px;color:#152b5a}.mf-complete p{font-size:14px;color:#7187a8}.mf-complete .mf-audio{margin:0}.mf-shell button:focus-visible,.mf-tabs button:focus-visible{outline:3px solid #3270ff;outline-offset:3px}.mf-shell .word-visual-masked::after{height:20%;display:block}.mf-feedback:empty{display:none}.mf-shell button{font-family:inherit}.mf-shell .mf-node-copy strong{line-height:1.25}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.mf-shell.app-shell{grid-template-columns:190px minmax(0,1fr);background:#fbfdff}.mf-shell .app-main{margin-left:0}.mf-mini>svg{display:block;width:100%;height:119px}.mf-mini header svg{width:17px;height:17px;margin:0;border:0}.mf-node.mf-set-node .mf-node-dot,.mf-node.mf-hub .mf-node-dot{background:transparent;border:0}.mf-node .root-colored-word{font-size:inherit}
@media(min-width:1700px){.mf-map-main .mf-graph{margin-left:auto;margin-right:auto}.mf-study-layout{grid-template-columns:285px minmax(0,1fr) 315px}.mf-study-art{height:310px}}
@media(max-width:1430px){.mf-metrics>div{min-width:99px;padding:10px 8px}.mf-metrics b{font-size:13px}.mf-shell .shell-heading b{font-size:23px}.mf-shell .shell-heading span{max-width:280px;font-size:11px}.mf-shell .user-copy{display:none}.mf-study-layout{grid-template-columns:230px minmax(0,1fr) 240px}.mf-study-card{padding:19px}.mf-study-center h1{font-size:43px}.mf-steps{gap:8px}.mf-steps span{font-size:10px}.mf-audio-row{gap:9px}.mf-audio-row .mf-audio{min-width:0}.mf-map-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1190px){.mf-shell .mf-metrics{display:none}.mf-map-layout{grid-template-columns:minmax(0,1fr) 280px}.mf-study-layout{grid-template-columns:210px minmax(0,1fr)}.mf-help{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.mf-help .mf-root-memory{grid-row:2/5;margin:0}.mf-help h3:nth-of-type(2){grid-column:2}.mf-help>.mf-back{grid-column:1/-1;margin:0}.mf-map-tools{padding:12px}.mf-tools{gap:5px}.mf-tools>button{font-size:10px;padding:9px}.mf-node-copy small{font-size:12px}}
@media(max-width:900px){.mf-shell.app-shell{grid-template-columns:72px minmax(0,1fr)}.mf-shell .sidebar{width:72px;top:0;bottom:0;height:auto;right:auto;padding:22px 8px}.mf-shell .app-main{margin-left:0}.mf-shell .sidebar .nav-label,.mf-shell .sidebar .brand strong,.mf-shell .sidebar .sidebar-quote,.mf-shell .sidebar .version{display:none}.mf-shell .sidebar .nav-item{justify-content:center;padding:12px}.mf-shell .topbar{padding:17px;min-height:90px}.mf-shell .shell-heading span{max-width:none}.mf-shell .content{padding:12px}.mf-map-layout{grid-template-columns:1fr}.mf-side{display:grid;grid-template-columns:1fr 1fr}.mf-preview{grid-row:1/3;min-height:0}.mf-graph-scroll{max-height:none;height:685px;min-height:0}.mf-study-layout{grid-template-columns:190px minmax(0,1fr)}.mf-study-card{padding:16px}.mf-example b{font-size:16px}.mf-study-art{height:220px}.mf-study-center h1{font-size:36px}.mf-study-center h2{font-size:20px}}
@media(max-width:600px){.mf-shell.app-shell{display:block}.mf-shell .sidebar{display:none}.mf-shell .app-main{margin-left:0}.mf-shell .topbar{padding:13px 12px;gap:8px;min-height:86px}.mf-shell .shell-heading b{font-size:21px}.mf-shell .shell-heading span{font-size:10px;max-width:225px;margin-top:5px}.mf-shell .topbar-right{gap:5px}.mf-shell .topbar-right .icon-btn,.mf-shell .topbar-right .user-menu{display:none}.mf-shell .content{padding:10px}.mf-tabs{width:100%;box-sizing:border-box;margin-bottom:11px}.mf-tabs button{flex:1;justify-content:center;padding:10px 8px;font-size:12px}.mf-map-tools{gap:7px}.mf-tools{width:100%;justify-content:space-between}.mf-crumbs{font-size:11px;gap:6px}.mf-graph-scroll{height:600px;min-height:0}.mf-legend{gap:12px;padding:8px;font-size:10px;left:9px}.mf-side{grid-template-columns:1fr}.mf-preview{grid-row:auto}.mf-preview-art{height:220px}.mf-side .mf-flow{padding:15px}.mf-mini{display:none}.mf-study-layout{display:flex;flex-direction:column}.mf-context{padding:12px}.mf-context .mf-back{margin:0 0 10px}.mf-context-path{display:none}.mf-context-words{display:flex;overflow:auto;gap:7px;padding:0;border:0}.mf-context-words button{white-space:nowrap;flex:none;min-height:35px;font-size:11px}.mf-context-words span{display:none}.mf-context-words i{width:8px;height:8px}.mf-study-card{min-height:630px;padding:17px 13px}.mf-steps{gap:8px;flex-wrap:nowrap;margin-bottom:13px;justify-content:space-between}.mf-steps span{flex-direction:column;gap:5px;font-size:9px}.mf-steps i{width:26px;height:26px;font-size:12px}.mf-study-art{height:235px}.mf-study-center h1{font-size:40px;margin-top:11px}.mf-study-center h2{font-size:23px}.mf-example{padding:14px 10px}.mf-example p{font-size:14px}.mf-audio-row{gap:10px}.mf-audio-row .mf-audio{font-size:11px;padding:9px 12px}.mf-help{display:block}.mf-root-memory img{height:190px}.mf-root-memory{margin-bottom:20px!important}.mf-help>.mf-back{margin:20px 0 0}.mf-question{padding:25px 0}.mf-question>h2{font-size:34px}.mf-choices{gap:10px}.mf-choices button{font-size:16px;min-height:70px}.mf-complete{padding:40px 0}.mf-complete h1{font-size:28px}}
@media(max-width:600px){.mf-shell .sidebar{display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:65px;padding:5px 8px;overflow-x:auto;border-top:1px solid #dce5f3;z-index:50}.mf-shell .sidebar .nav-list{display:flex;gap:5px;min-width:max-content}.mf-shell .sidebar .nav-item{display:flex;flex-direction:column;gap:4px;padding:7px 9px;min-width:55px;font-size:9px}.mf-shell .sidebar .nav-label{display:block;font-size:9px}.mf-shell .sidebar .nav-spacer,.mf-shell .sidebar .brand{display:none}.mf-shell .app-main{padding-bottom:78px}}
@media(min-width:1431px){.mf-node-copy strong{font-size:18px}.mf-node-copy small{font-size:13px}.mf-node em{font-size:11px}.mf-context-words button{font-size:15px}.mf-context-path b{font-size:16px}.mf-context-path strong{font-size:19px}.mf-context-path small{font-size:13px}.mf-steps span{font-size:13px}.mf-study-center h1{font-size:76px}.mf-study-art{height:280px}}
.mf-pan-hint{display:none}
@media(max-width:600px){.mf-pan-hint{display:block;padding:0 13px 9px;font-size:10px;color:#7c90b2}.mf-map-main:after{content:'지도를 좌우로 움직여 하부 가지를 살펴보세요.';position:absolute;right:12px;bottom:48px;font-size:10px;color:#7188ac;background:#ffffffeb;padding:5px 8px;border-radius:6px;pointer-events:none}}

.md-shell .shell-heading span{max-width:none}.md-top-controls{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.md-modes{display:flex;gap:5px;background:#f5f8ff;border:1px solid #e0e8f6;border-radius:10px;padding:4px}.md-modes button{border:0;background:transparent;color:#183566;display:flex;align-items:center;gap:9px;border-radius:7px;padding:10px 17px;font-weight:750;font-size:13px;cursor:pointer}.md-modes button[aria-pressed=true]{background:#fff;box-shadow:0 2px 8px #23497810}.md-modes button[data-md-mode=drill][aria-pressed=true]{background:#2467ff;color:#fff}.md-page{background:linear-gradient(150deg,#fff,#fbfdff);border:1px solid #dfe8f6;border-radius:13px;overflow:hidden;color:#0b2358}.md-page .mf-tools>small{font-size:11px;color:#8398bd;margin-left:14px}.md-scroll{height:728px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7d8f4 transparent;max-width:100%}.md-sized,.md-canvas{position:relative}.md-canvas{transform-origin:top left}.md-column-label{position:absolute;top:9px;background:linear-gradient(100deg,#f0f5ff,#f8faff);text-align:center;border-radius:7px;padding:7px;font-size:13px;font-weight:700;box-sizing:border-box;color:#31517e}.md-node{position:absolute;display:flex;align-items:center;gap:10px;text-align:left;padding:9px 10px;border:1px solid #dce5f3;border-radius:13px;background:#fff;color:#0b245e;box-sizing:border-box;cursor:pointer;box-shadow:0 2px 8px #2f67b704}.md-node:hover{border-color:#82a8ff}.md-node.selected{border:2px solid #3875ff;background:#edf4ff;box-shadow:0 2px 7px #4c79ff18}.md-dot{display:flex;align-items:center;justify-content:center;flex:none;width:14px;height:14px;border-radius:50%;background:#b8c3d8;color:#316cff}.md-dot svg{width:18px;height:18px}.md-node.done .md-dot{background:#42a777}.md-node.current .md-dot,.md-node.selected .md-dot{background:#3676ff}.md-dot:has(svg){background:transparent!important;width:21px;height:25px}.md-copy{display:grid;gap:5px;min-width:0}.md-copy>b{font-size:16px;line-height:1.2;font-weight:800;letter-spacing:-.2px;overflow-wrap:anywhere}.md-copy>small{color:#7c91b2;font-size:11px;line-height:1.15;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.md-progress{margin-left:auto;display:grid;gap:6px;flex:none;width:54px;text-align:right;font-size:11px}.md-progress>b{font-weight:650}.md-progress>i{height:6px;width:54px;border-radius:5px;background:#e5eaf4;display:block;overflow:hidden}.md-progress em{height:100%;background:#477fff;display:block;border-radius:5px}.md-node.done .md-progress em{background:#4bb782}.md-word-picture{position:absolute;border:2px solid #3775ff;background:#f3f7ff;border-radius:13px;box-sizing:border-box;padding:9px;box-shadow:0 3px 9px #3466d214;height:250px}.md-word-heading{display:flex;align-items:center;justify-content:space-between;background:none;border:0;color:#0b2358;width:100%;padding:2px 3px 8px;font-size:15px;cursor:pointer}.md-word-heading>span{font-size:12px;font-weight:700;color:#235dc8}.md-picture-button{display:block;width:100%;border:0;background:white;border-radius:9px;overflow:hidden;padding:0;cursor:zoom-in}.md-picture{position:relative;height:151px;width:100%;overflow:hidden;background:#fff}.md-picture>img{width:100%;height:100%;object-fit:contain;display:block}.md-picture-actions{display:flex;gap:6px;margin-top:7px}.md-picture-actions button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d2def4;background:white;border-radius:7px;padding:7px 3px;flex:1;color:#17366e;font-size:11px;font-weight:700;cursor:pointer}.md-word-picture>small{display:block;text-align:center;color:#7790b7;font-size:10px;margin-top:7px}.md-stage{position:absolute;padding:15px 16px 12px;border:1px solid #c7d7f1;border-radius:15px;background:#fff;box-sizing:border-box;min-height:175px;box-shadow:0 2px 9px #3465a504}.md-stage.active{border:2px solid #3574ff;background:linear-gradient(130deg,#fcfdff,#f0f6ff);box-shadow:0 3px 10px #3366ff10}.md-stage.done{border-color:#43aa77;background:linear-gradient(140deg,#f1fbf6,#eaf8f2);min-height:158px}.md-stage.locked{border-color:#cbd4e3;background:#f8fafc;color:#677b9b}.md-stage>header{display:flex;align-items:center;gap:11px;margin-bottom:12px}.md-stage>header>i{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;background:#316fff;color:#fff;font-size:17px;font-weight:750;border-radius:50%;font-style:normal}.md-stage.done>header>i{background:#28a16b}.md-stage.locked>header>i{background:#a8b5ca}.md-stage h3{font-size:18px;margin:0;color:#0a215a}.md-stage>header>span{font-size:11px;font-weight:700;margin-left:auto;color:#637fa8;white-space:nowrap}.md-stage.done>header>span{color:#23845c}.md-stage-prompt{display:grid;gap:6px;margin-bottom:11px;line-height:1.4;min-height:31px}.md-stage-prompt>b{font-size:15px;font-weight:650;color:#183872}.md-stage-prompt>small{font-size:12px;color:#7a8faf}.md-stage .md-sentence{font-size:15px;line-height:1.55;font-weight:500}.md-stage input{display:block;width:100%;box-sizing:border-box;border:1px solid #cbd8ef;background:white;border-radius:8px;font:600 18px/1.25 inherit;font-family:inherit;font-size:18px;line-height:1.3;font-weight:600;color:#122e69;padding:10px 12px;min-height:44px;outline:none}.md-stage.active input{border-color:#6696ff}.md-stage input:focus{box-shadow:0 0 0 2px #4a82ff26;border-color:#3476ff}.md-stage input:disabled{background:#f8fafc;color:#8698b5}.md-stage input::placeholder{font-size:12px;font-weight:400;color:#889eba}.md-stage-actions{display:flex;gap:9px;margin-top:10px}.md-stage-actions button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d0dcf0;background:#fff;color:#173468;border-radius:7px;min-height:37px;padding:7px 20px;font-weight:700;font-size:12px;cursor:pointer}.md-stage-actions .md-grade{min-width:135px;background:#439f72;border-color:#3c996c;color:white;font-size:14px}.md-stage-actions button:disabled{background:#bdc7d8;border-color:#bdc7d8;color:white;cursor:default;opacity:.65}.md-stage-status{font-size:11px;line-height:1.5;color:#7a91b5;margin:9px 0 0;min-height:17px}.md-stage-status.error{color:#b44d4d}.md-stage-saved{display:flex;gap:7px;align-items:center;font-size:12px;color:#26875c;padding:9px 10px;border:1px solid #cce9d9;border-radius:7px;background:#ffffffa6}.md-hint{font-size:12px;color:#5172ac;background:#e7efff;border-radius:6px;padding:7px 10px;margin:8px 0}.md-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #d7e5fd;background:#edf4ff;color:#2b61d8;padding:15px 18px;font-size:12px;font-weight:600;line-height:1.5}.md-footer>span{display:flex;gap:12px;align-items:center}.md-footer>small{font-size:11px;white-space:nowrap}.md-footer button{border:1px solid #68a189;background:#fff;color:#25845d;border-radius:7px;font-weight:750;cursor:pointer;padding:8px 13px;white-space:nowrap}.md-note{font-size:11px;color:#8298b7;line-height:1.6;margin:12px 3px 0}#md-picture-dialog{max-width:min(850px,92vw);width:850px;border:1px solid #cad9ef;border-radius:17px;padding:20px;box-sizing:border-box;color:#122b59}#md-picture-dialog::backdrop{background:#122d526b}#md-picture-dialog header{display:flex;align-items:center;justify-content:space-between}#md-picture-dialog header>button{border:1px solid #dce5f2;border-radius:7px;width:36px;height:36px;background:#fff;font-size:24px;color:#244469;cursor:pointer}.md-picture-large{position:relative;overflow:hidden;background:#fff;height:min(62vh,550px);width:100%}.md-picture-large>img{display:block;width:100%;height:100%;object-fit:contain}#md-picture-dialog p{font-size:12px;color:#738bae;text-align:center}.md-shell .word-visual-masked:after{height:20%;display:block}.md-shell button:disabled{cursor:default}.md-page input:focus-visible{outline:2px solid #3980ff;outline-offset:2px}
@media(max-width:1250px){.md-page .mf-tools>small{display:none}.md-modes button{padding:10px 12px}}
@media(max-width:600px){.md-top-controls{display:block}.md-modes{margin-bottom:10px;justify-content:center}.md-modes button{flex:1;justify-content:center;font-size:12px}.md-modes button[data-md-refresh]{flex:0}.md-scroll{height:650px}.md-footer{padding:11px;font-size:10px;align-items:flex-start}.md-footer>small{display:none}.md-footer>span{gap:7px}.md-page .mf-map-tools{padding:10px}.md-note{font-size:10px}.md-stage-prompt>b{font-size:15px}}

.md-parent .md-progress{width:35px}.md-parent .md-copy>b{white-space:nowrap;font-size:17px;transform:translateY(-14px)}.md-parent .md-progress>b,.md-parent .md-dot{transform:translateY(-14px)}.md-parent .md-copy>small{position:absolute;left:40px;right:11px;bottom:11px;max-width:none;font-size:10px}.md-parent .md-progress>i{position:absolute;bottom:32px;left:41px;right:12px;width:auto}
.page-student-map:not(.mf-shell) .mf-tabs{position:relative;z-index:16}.page-student-map:not(.mf-shell) .topbar{height:auto;min-height:102px}

.md-stage.locked form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.md-stage.locked .md-stage-actions{margin:0}.md-stage.locked .md-stage-actions .md-grade{min-width:73px;padding:7px 9px}.md-stage.locked .md-stage-actions button:not(.md-grade){display:none}.md-stage.locked input{min-height:38px;font-size:15px}

/* Keep the map scrollable even when its contents fit the full canvas. */
.md-scroll{max-height:calc(100dvh - 150px)}
@media(max-width:600px){.md-scroll{max-height:calc(100dvh - 190px)}}

.md-scroll{cursor:grab;touch-action:pan-x pan-y}.md-scroll.md-panning,.md-scroll.md-panning *{cursor:grabbing!important;user-select:none!important}.md-scroll input{cursor:text}
