/* Scoped to the voluntary coach: the Swipe card and edge mascot are untouched. */
.mc-home,.mc-progress,.mc-next{color:#17354f;font-family:inherit}
.mc-home{display:grid;grid-template-columns:94px minmax(0,1fr);gap:18px;align-items:center;padding:24px;border:1px solid #bfdbe6;border-radius:24px;background:linear-gradient(125deg,#eefcff,#f7faff);box-shadow:0 12px 28px #214d7210}
.mc-home>img{width:94px;height:116px;object-fit:contain;filter:drop-shadow(0 8px 9px #179ed42a)}
.mc-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.1em;color:#427389}
.mc-home h2,.mc-progress h2,.mc-next h2{margin:8px 0;font-size:23px;line-height:1.25;color:#16354e}
.mc-home p,.mc-home small{display:block;margin:8px 0;line-height:1.55}
.mc-home small{color:#587384;font-size:13px}
.mc-home-actions,.mc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.mc-home button,.mc-progress button,.mc-next button,.mc-dialog button{min-height:44px;border:1px solid #bfd7e3;border-radius:13px;padding:11px 15px;background:#fff;color:#176298;font-family:inherit;font-size:14px;font-weight:700;line-height:1.35;cursor:pointer;white-space:normal}
.mc-home-actions>button:first-child,.mc-primary,.mc-next>button{color:#fff!important;background:linear-gradient(110deg,#08a7d7,#1760dc)!important;border-color:transparent!important;box-shadow:0 5px 12px #1764be18}
.mc-home .mc-quiet,.mc-dialog .mc-quiet{background:transparent;border-color:transparent;box-shadow:none;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.mc-home button:focus-visible,.mc-progress button:focus-visible,.mc-next button:focus-visible,.mc-dialog :focus-visible{outline:3px solid #1476d6;outline-offset:3px}
.mc-dialog{width:min(720px,calc(100vw - 24px));max-width:720px;height:min(880px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #c7dee9;border-radius:26px;background:#f8fcff;color:#183b55;box-shadow:0 24px 90px #071d4c48;overflow:hidden;font-family:inherit}
.mc-dialog[open]{display:flex;flex-direction:column}
.mc-dialog::backdrop{background:#0d254a9c;backdrop-filter:blur(4px)}
.mc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 18px;flex:none;border-bottom:1px solid #d8e7ef;background:#f8fcff}
.mc-header h1{margin:7px 0 0;font-size:clamp(21px,4.7vw,29px);line-height:1.2;color:#153c58}
.mc-header>button{font-size:29px;line-height:1;padding:6px;width:44px;flex:none}
.mc-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 24px 28px;scroll-padding:20px}
.mc-speech{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.mc-speech img{width:74px;height:90px;flex:none;object-fit:contain;animation:mc-enter .35s ease-out}
.mc-speech p{position:relative;margin:0;padding:15px 18px;border:1px solid #cee5eb;border-radius:18px;background:#fff;line-height:1.55;font-size:15px}
.mc-objective{color:#5a7486;font-size:13px;line-height:1.5;margin:0 0 20px}
.mc-question,.mc-lesson,.mc-support,.mc-finish{background:#fff;border:1px solid #d3e3ee;border-radius:20px;padding:22px;margin-bottom:14px}
.mc-body h2{font-size:clamp(19px,4.5vw,25px);line-height:1.45;margin:8px 0 18px;font-weight:750;overflow-wrap:anywhere}
.mc-body p{line-height:1.6;overflow-wrap:anywhere}
.mc-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:14px;margin:18px 0}
.mc-fields label{display:grid;gap:9px;color:#45637b;font-size:14px;font-weight:700}
.mc-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:52px;border:1px solid #bcd5e3;border-radius:13px;background:#f8fbff;padding:12px;color:#183c57;font-family:inherit;font-size:20px}
.mc-feedback:empty{display:none}
.mc-feedback{font-size:14px;color:#755313}
.mc-solution{padding:14px 16px;border-radius:13px;background:#eaf8f5;color:#176557}
.mc-options{display:grid;gap:12px;margin:14px 0}
.mc-options button{text-align:left;padding:18px}
.mc-options strong,.mc-options small{display:block}
.mc-options small{font-weight:400;color:#557084;margin-top:6px;line-height:1.5}
.mc-families{display:grid;gap:12px;margin:18px 0}
.mc-families>details,.mc-more{border:1px solid #cee0eb;border-radius:16px;background:#fff;padding:15px;min-width:0}
.mc-families summary,.mc-more summary{cursor:pointer;color:#175d86;font-weight:750;line-height:1.5;min-height:30px;overflow-wrap:anywhere}
.mc-families .mc-options{margin-bottom:0}
.mc-families button{min-width:0;overflow-wrap:anywhere}
.mc-lesson details{margin-top:15px;border-top:1px solid #e0eaf2;padding-top:13px}
.mc-lesson summary{cursor:pointer;color:#176298;font-weight:700;line-height:1.5}
.mc-lesson ol{padding-left:22px}
.mc-lesson li{margin:16px 0;line-height:1.6}
.mc-lesson li p{margin:4px 0}
.mc-game .ex-top,.mc-game .ex-instruction{line-height:1.6}
.mc-game-return{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.mc-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;padding:12px 24px;border-top:1px solid #d8e7ef;background:#f8fcff}
.mc-footer span{font-size:12px;color:#587386;text-align:right;line-height:1.4}
.mc-footer button{background:transparent;border:0;padding-left:0}
.mc-progress{padding:22px;border-radius:22px;border:1px solid #c6deea;background:#fff;margin:18px 0}
.mc-proof-list{display:grid;gap:14px;margin:20px 0}
.mc-proof-list article{border:1px solid #d5e6ee;background:#f6fbfe;border-radius:16px;padding:17px}
.mc-proof-list h3{font-size:17px;line-height:1.4;margin:0 0 12px}
.mc-proof-list ol{padding:0;list-style:none;margin:0 0 14px}
.mc-proof-list li{font-size:14px;line-height:1.5;margin:8px 0;color:#627889}
.mc-proof-list li.is-done{color:#17786e;font-weight:650}
.mc-note{font-size:12px;line-height:1.6;color:#607889;margin:12px 0 0}
.mc-next{padding:20px;background:#eaf9f7;border-radius:20px;border:1px solid #b5ddd6;margin:18px 0}
.mc-next p{font-size:14px;line-height:1.6}
.mp-body>.mp-statistics{margin-top:20px;border-top:1px solid #d5e3ee;padding-top:18px}
.mp-statistics>summary{cursor:pointer;color:#176298;font-weight:700;line-height:1.5;margin-bottom:18px}
.mp-statistics .mp-coach,.mp-statistics .mp-mission{display:none}
@keyframes mc-enter{from{opacity:0;transform:translateY(9px) rotate(-4deg)}to{opacity:1;transform:none}}
@media(max-width:480px){.mc-home{grid-template-columns:65px minmax(0,1fr);gap:12px;padding:18px}.mc-home>img{width:65px;height:90px}.mc-home h2{font-size:21px}.mc-home p{font-size:14px}.mc-home-actions{gap:4px}.mc-header{padding:17px 16px}.mc-body{padding:18px 16px 24px}.mc-question,.mc-lesson,.mc-support,.mc-finish{padding:18px}.mc-footer{padding:10px 16px}.mc-eyebrow{font-size:10px}.mc-progress{padding:17px}.mc-speech{gap:9px}.mc-speech img{width:58px;height:76px}.mc-speech p{font-size:14px;padding:12px}}
@media(prefers-reduced-motion:reduce){.mc-speech img{animation:none}}
.mc-data-figure{margin:20px 0 24px;max-width:100%;min-width:0}
.mc-data-figure figcaption{font-size:14px;font-weight:750;color:#286786;line-height:1.5;margin-bottom:12px}
.mc-data-figure table{border-collapse:collapse;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.mc-proba-table th,.mc-proba-table td{border:1px solid #c7dce9;padding:12px 8px;text-align:center;overflow-wrap:anywhere;line-height:1.45}
.mc-proba-table thead th{background:#e9f6fc;font-size:13px;font-weight:700}
.mc-proba-table th:first-child{width:18%}
.mc-proba-table tbody th{background:#f1f8fc;font-weight:800}
.mc-proba-table td{font-size:18px;font-weight:750}
.mc-table-note{font-size:13px!important;line-height:1.55!important;margin:10px 0 0!important;color:#526e80}
.mc-matrix-wrap{display:table;max-width:100%;margin:12px auto;border-left:3px solid #247da7;border-right:3px solid #247da7;padding:8px 12px;position:relative}
.mc-matrix-wrap:before,.mc-matrix-wrap:after{content:'';position:absolute;left:0;right:0;height:7px;border-left:7px solid #247da7;border-right:7px solid #247da7;pointer-events:none}
.mc-matrix-wrap:before{top:0}.mc-matrix-wrap:after{bottom:0}
.mc-data-figure .mc-matrix{width:auto;min-width:130px}
.mc-matrix td{text-align:center;padding:10px 16px;font-size:24px;font-weight:650;line-height:1.3;color:#16486a}
@media(max-width:360px){.mc-proba-table th,.mc-proba-table td{padding:10px 5px}.mc-proba-table thead th{font-size:12px}.mc-proba-table td{font-size:16px}.mc-matrix td{padding:9px 10px;font-size:22px}.mc-matrix-wrap{padding:7px 8px}}
.mc-triangle svg{display:block;width:100%;max-width:320px;height:auto;margin:0 auto;overflow:visible}
.mc-triangle text{fill:#1a5879;font-size:20px;font-weight:650;font-family:system-ui,sans-serif}
.mc-triangle .mc-diagram-small{display:none}
.mc-score-table th,.mc-score-table td{border:1px solid #c7dce9;padding:12px 9px;line-height:1.45;text-align:center;overflow-wrap:anywhere}
.mc-score-table thead th{font-size:13px;background:#e9f6fc}.mc-score-table tbody th{background:#f1f8fc;font-size:18px}.mc-score-table td{font-size:18px;font-weight:700}
.mc-matrix-pair{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin:8px 0 22px}
.mc-matrix-pair .mc-data-figure{margin:10px 0;flex:1 1 125px;text-align:center}
.mc-matrix-pair .mc-matrix-wrap{padding:6px 8px;margin:8px auto}
.mc-matrix-pair .mc-matrix{min-width:95px}.mc-matrix-pair .mc-matrix td{padding:9px 8px;font-size:22px}
@media(max-width:360px){.mc-matrix-pair{gap:4px}.mc-matrix-pair .mc-data-figure{flex-basis:95px}.mc-matrix-pair .mc-matrix-wrap{padding:5px}.mc-matrix-pair .mc-matrix{min-width:70px}.mc-matrix-pair .mc-matrix td{padding:8px 4px;font-size:20px}}
.mc-fraction-row{display:flex;align-items:center;justify-content:center;gap:24px;padding:12px 0;color:#174e72;font-size:24px;font-weight:700}
.mc-fraction{display:inline-grid;text-align:center;min-width:44px;font-variant-numeric:tabular-nums;line-height:1.35}
.mc-fraction>span{padding:5px 10px}.mc-fraction>span:first-child{border-bottom:2px solid #247da7}
.mc-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0!important;margin:12px 0!important;list-style:none}
.mc-value-grid li{margin:0!important;border:1px solid #c7dce9;border-radius:10px;background:#f0f8fc;min-width:0;text-align:center;padding:9px 4px!important}
.mc-value-grid strong{display:block;font-size:20px;color:#174e72;font-variant-numeric:tabular-nums}
.mc-value-grid small{display:block;font-size:11px;color:#4b7187;white-space:nowrap;line-height:1.6}
@media(max-width:360px){.mc-value-grid{gap:5px}.mc-value-grid strong{font-size:18px}.mc-value-grid li{padding:8px 2px!important}.mc-fraction-row{gap:18px}}
.mc-program{margin:12px 0 0;padding:14px 12px;border-radius:12px;background:#eaf5fc;color:#153f58;font:600 16px/1.8 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}
.mc-piecewise{display:grid;gap:10px;margin:12px 0 0}.mc-piecewise>div{border-left:3px solid #27a9d0;padding:8px 12px;background:#eef8fc;border-radius:0 10px 10px 0;min-width:0}.mc-piecewise dt{color:#4b7187;font-size:14px;font-weight:600}.mc-piecewise dd{margin:6px 0 0;font-size:20px;font-weight:700;color:#153f58;overflow-wrap:anywhere}
.mc-network{display:block;width:100%;max-width:390px;height:auto;margin:12px auto 0;overflow:visible}.mc-network line{stroke:#4385a8;stroke-width:2.5}.mc-network rect{fill:#fff;stroke:#c3dce9;stroke-width:1}.mc-network text{fill:#153f58;text-anchor:middle;font:700 16px system-ui,sans-serif}.mc-network circle{fill:#e0f7ff;stroke:#167da9;stroke-width:2}.mc-network .mc-network-node{font-size:15px}.mc-network-list{margin-top:12px;font-size:14px;color:#45677d}.mc-network-list summary{min-height:32px;padding:6px 0;cursor:pointer}.mc-network-list ul{margin:8px 0!important;padding-left:22px!important}.mc-network-list li{margin:4px 0!important}
@media(max-width:360px){.mc-program{padding:12px 9px;font-size:15px}.mc-piecewise dd{font-size:19px}.mc-piecewise>div{padding-left:9px}}
.mc-midpoint,.mc-area{display:block;width:100%;height:auto;max-width:370px;margin:12px auto;color:#1d688e}.mc-midpoint line{stroke:#5e8da6;stroke-width:3}.mc-midpoint circle{fill:#168ac1}.mc-midpoint text,.mc-area text{fill:#174d69;text-anchor:middle;font:700 19px system-ui,sans-serif}.mc-area polygon{fill:#e5f7fc;stroke:#248cae;stroke-width:2.5}.mc-area .mc-height{stroke:#ca7922;stroke-width:2.8;stroke-dasharray:6 4}.mc-area .mc-right-angle{fill:none;stroke:#a56b2a;stroke-width:2}.mc-area rect{fill:#fff;stroke:#d2e6ee}.mc-data-note{font-size:13px!important;line-height:1.6!important;margin:4px 0 0!important;color:#4c7085}
.mc-point-table{border-collapse:collapse;width:100%;table-layout:fixed;margin-top:12px}.mc-point-table th,.mc-point-table td{border:1px solid #c8e0ed;text-align:center;padding:12px 5px;overflow-wrap:anywhere}.mc-point-table thead th{font-size:13px;background:#edf7fc}.mc-point-table tbody th,.mc-point-table td{font-size:20px;color:#194962}.mc-point-table tbody th{background:#f4faff}
.mc-quantities{display:grid;gap:10px;margin:12px 0 0}.mc-quantities>div{background:#edf7fc;border-radius:12px;padding:12px 14px}.mc-quantities dt{font-size:14px;color:#4b7187}.mc-quantities dd{font-size:23px;color:#194962;font-weight:700;margin:5px 0 0;overflow-wrap:anywhere}
.mc-parametric{display:grid;gap:8px;margin:14px 0}.mc-parametric>div{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;background:#edf7fc;border-radius:10px;padding:10px 12px}.mc-parametric dt{font-weight:700;color:#235675}.mc-parametric dd{font-size:20px;margin:0;color:#194962;overflow-wrap:anywhere}.mc-plane-equation{border-top:1px solid #cee2ed;margin:12px 0 0!important;padding-top:12px;font-size:18px!important;line-height:1.6!important;overflow-wrap:anywhere;color:#194962}
.mc-spectrum-wrap{display:table;margin:16px auto 6px;border-left:3px solid #2482a7;border-right:3px solid #2482a7;padding:6px 8px}.mc-spectrum{border-collapse:collapse;color:#194962}.mc-spectrum td{font-size:22px;font-weight:600;text-align:center;padding:10px 14px;min-width:38px;font-variant-numeric:tabular-nums}
.mc-v191-circle,.mc-v191-speed{display:block;width:100%;height:auto;max-width:350px;margin:12px auto}.mc-v191-circle .mc-v191-outside{fill:#d7f3f6;stroke:#2587aa;stroke-width:2.5}.mc-v191-circle .mc-v191-hole{fill:#fff;stroke:#2587aa;stroke-width:1.7}.mc-v191-circle .mc-v191-center{fill:#265d78}.mc-v191-circle .mc-v191-radius{stroke:#b47126;stroke-width:2.5;stroke-dasharray:5 4;fill:none}.mc-v191-circle text,.mc-v191-speed text{font:600 16px system-ui,sans-serif;fill:#194962;text-anchor:middle}.mc-v191-speed .mc-v191-positive{fill:#c9edf5;stroke:none}.mc-v191-speed .mc-v191-negative{fill:#f7dec2;stroke:none}.mc-v191-speed .mc-v191-axis{stroke:#8ba5b5;stroke-width:1.5;fill:none}.mc-v191-speed .mc-v191-line{stroke:#256d94;stroke-width:2.7;fill:none}.mc-v191-draws{list-style:none!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0!important;padding:0!important}.mc-v191-draws li{min-width:0;text-align:center;padding:10px 4px!important;margin:0!important;border:1px solid #c7dfec;border-radius:12px;background:#edf7fc}.mc-v191-draws small{display:block;font-size:12px;color:#53758b}.mc-v191-draws strong{display:block;font-size:22px;margin-top:5px;color:#194962}
@media(max-width:360px){.mc-v191-draws{gap:5px}.mc-v191-draws strong{font-size:20px}.mc-v191-draws small{font-size:11px}}
.mc-v191-circle-values{display:grid;gap:4px;margin:6px 0;text-align:center;font:600 15px/1.6 system-ui,sans-serif;color:#194962}.mc-v191-circle-values span{overflow-wrap:anywhere}
.mc-v192-circle{display:block;width:100%;max-width:320px;height:auto;margin:12px auto}.mc-v192-circle circle{fill:#f4faff;stroke:#79a8bd;stroke-width:2}.mc-v192-circle .mc-v192-sector{fill:#bcecf4;stroke:#2087a6;stroke-width:2}.mc-v192-circle .mc-v192-axis{fill:none;stroke:#527b92;stroke-width:1.7}.mc-v192-circle text{font:650 21px system-ui,sans-serif;fill:#194962;text-anchor:middle}
.mc-v192-halves{display:grid;gap:15px;margin:16px 0}.mc-v192-halves>div{min-width:0}.mc-v192-halves span{display:block;color:#355d73;font-size:15px;line-height:1.5;margin-bottom:6px}.mc-v192-halves i{display:block;height:16px;border:1px solid #2589ae;border-radius:5px;background:#bfeaf4;box-sizing:border-box}
.mc-v192-boxes{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.mc-v192-boxes>div{flex:1 1 57px;min-width:0;text-align:center;border:1px solid #bcd9e7;background:#edf8fc;border-radius:13px;padding:13px 7px}.mc-v192-boxes strong{display:block;font-size:24px;color:#166285}.mc-v192-boxes span{display:block;margin-top:7px;font-size:14px;line-height:1.5;color:#355d73;overflow-wrap:anywhere}
.mc-v190-table table{border-collapse:collapse;table-layout:fixed;width:100%;margin:12px 0 0;color:#194962;font-variant-numeric:tabular-nums}.mc-v190-table td,.mc-v190-table th{border:1px solid #c7dfec;text-align:center;padding:12px 5px;overflow-wrap:anywhere}.mc-v190-table th{background:#edf7fc;font-size:13px;width:29%;line-height:1.5}.mc-v190-table td{font-size:19px;font-weight:600}.mc-v190-dimensions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.mc-v190-dimensions>span{flex:1;min-width:68px;text-align:center;background:#e9f7fc;border:1px solid #c5e1ed;border-radius:12px;padding:12px 5px;color:#355d73;font-size:13px}.mc-v190-dimensions strong{display:block;margin-top:6px;font-size:22px;color:#166285}.mc-v190-repere{display:block;width:100%;max-width:340px;margin:12px auto}.mc-v190-repere .mc-v190-axis{stroke:#7899ac;stroke-width:1.7;fill:none}.mc-v190-repere .mc-v190-tick{stroke:#adc4d1;stroke-width:1;fill:none}.mc-v190-repere circle{fill:#1988b9}.mc-v190-repere text{font:600 16px system-ui,sans-serif;fill:#194962}.mc-v190-repere text:last-child{text-anchor:middle;font-size:14px}
@media(max-width:360px){.mc-v190-table td{font-size:17px;padding:10px 3px}.mc-v190-table th{font-size:12px;padding:10px 3px}.mc-v190-dimensions{gap:5px}.mc-v190-dimensions strong{font-size:20px}}
@media(max-width:360px){.mc-point-table thead th{font-size:12px}.mc-point-table th,.mc-point-table td{padding:10px 3px}.mc-spectrum-wrap{padding:6px 4px}.mc-spectrum td{font-size:20px;padding:9px 10px;min-width:32px}.mc-quantities dd{font-size:21px}.mc-parametric dd{font-size:18px}.mc-plane-equation{font-size:16px!important}}

/* V193: a useful, bounded gauge; no changes to Swipe layout. */
.mc-v193-gauge{position:relative;height:32px;border:2px solid #2371a9;border-radius:7px;overflow:hidden;background:#fff}.mc-v193-gauge span{display:block;height:100%;background:#58b8dc}.mc-v193-gauge i{position:absolute;top:0;bottom:0;border-left:1px solid #2371a9}.mc-v193-endpoints{display:flex;justify-content:space-between;gap:1rem;margin-top:.3rem;font-size:.85em}

/* V194: six compact place-value columns, scoped to the new mission. */
.mc-v194-positions table th{width:auto;padding:9px 2px;font-size:12px}.mc-v194-positions table td{padding:9px 2px;font-size:18px}

/* V196: compact, fully headed index/value table; no Swipe styles changed. */
.mc-v196-list th{width:auto;font-size:12px;padding:9px 2px}.mc-v196-list th:first-child{width:44px}.mc-v196-list td{font-size:16px;padding:9px 2px;white-space:nowrap}

/* V198: only the new sales table; no global/Swipe changes. */
.mc-v198-table th{width:auto;padding:10px 3px;font-size:12px}.mc-v198-table th:first-child{width:64px}.mc-v198-table td{padding:10px 3px}

/* V199: new mission controls and diagrams only; no Swipe styles. */
.mc-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:52px;border:1px solid #bcd5e3;border-radius:13px;background:#f8fbff;padding:12px;color:#183c57;font-family:inherit;font-size:17px}.mc-v199-table th{width:auto;padding:10px 3px;font-size:12px}.mc-v199-table th:first-child{width:80px}.mc-v199-table td{padding:10px 3px;font-size:17px}.mc-v199-code{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:16px;padding:14px;background:#edf7fc;border:1px solid #cee0ec;border-radius:12px;color:#16466a}.mc-v199-numbers,.mc-v199-terms{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.mc-v199-numbers span,.mc-v199-terms span{padding:11px 13px;border:1px solid #c7dfec;border-radius:12px;background:#eff8fd;color:#194a70;font-size:19px}.mc-v199-terms span{font-size:16px}

/* V207: typography and native MathML, scoped to mission reading only. */
@font-face{font-family:MokiMath207;src:url('./assets/fonts/moki-math-v207/STIXTwoMath-v207.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
.mc-dialog .mc-instruction{font-size:clamp(17px,4.2vw,19px);line-height:1.65;font-weight:450;margin:12px 0 20px;color:#183b55}
.mc-instruction>p{margin:10px 0}.mc-instruction>p:first-child{margin-top:0}.mc-instruction>p:last-child{margin-bottom:0}
.mc-dialog .mc-formula{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:16px 8px;margin:16px 0;border:1px solid #d7e7ef;border-radius:12px;background:#f3f9fd;color:#164b6b;scrollbar-width:thin}
.mc-dialog math.mc-math{font-family:MokiMath207,'Cambria Math','Noto Sans Math',math;font-size:1.08em;font-weight:400;font-style:normal;line-height:normal;white-space:nowrap;vertical-align:middle;margin:.12em .08em}
.mc-dialog .mc-formula math.mc-math{font-size:1.22em;margin:0 auto;min-width:max-content}
.mc-dialog .mc-lesson p,.mc-dialog .mc-lesson li{font-size:16px;line-height:1.7}
.mc-dialog .mc-solution{font-size:16px;line-height:1.8}
.mc-dialog .mc-fields label{font-size:14px;font-weight:600;line-height:1.5}
.mc-dialog .mc-data-figure figcaption{font-size:14px;font-weight:600;line-height:1.6}
.mc-dialog .mc-v199-terms{gap:9px}.mc-dialog .mc-v199-terms>span{font-size:17px;padding:10px 12px}
.mc-dialog .mc-v199-terms math.mc-math{font-size:1.18em}
.mc-dialog .mc-data-figure svg text{font-weight:500}
.mc-next-objective{display:block;max-width:100%;white-space:normal;line-height:1.5;margin-bottom:14px}
.mc-proof-list ul{padding-left:20px;line-height:1.6}
/* V216: explicit rhythm between independent cards, including collapsed groups. */
.lh-home-focus:has(>.mc-home),.lh-home-focus:has(>.mc-next){display:grid;gap:20px;min-width:0}
.lh-home-focus>.mc-home,.lh-home-focus>.mc-next{margin:0;min-width:0;box-sizing:border-box}
.mc-home>div{min-width:0}
.mc-progress{display:flow-root;box-sizing:border-box;min-width:0}
.mc-progress>.mc-more{margin:16px 0 0}
.mc-progress>button[data-mc-choose]{display:block;margin-top:18px;max-width:100%}
.mc-progress .mc-more[open]>.mc-proof-list{margin-bottom:0}
.mc-progress .mc-more>summary{min-height:36px}
.mc-progress .mc-proof-list article{min-width:0;box-sizing:border-box}
.mc-progress .mc-proof-list article>button{max-width:100%;margin-top:12px}
.mc-dialog .mc-lesson>details+details{margin-top:18px}
.mc-dialog .mc-math-fallback{font:inherit;white-space:normal;overflow-wrap:anywhere}
.mc-dialog .mc-answer-line{display:block;margin:7px 0;line-height:1.7}
.mc-dialog .mc-answer-line:first-child{margin-top:0}.mc-dialog .mc-answer-line:last-child{margin-bottom:0}
.mc-dialog .mc-inline-math{display:inline-block;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;vertical-align:middle;white-space:nowrap;padding:2px 0;scrollbar-width:thin}
@media(max-width:360px){.mc-dialog .mc-body{padding-left:15px;padding-right:15px}.mc-dialog .mc-question{padding:17px}.mc-dialog .mc-formula{padding:12px 6px}.mc-dialog .mc-formula math.mc-math{font-size:1.14em}}

/* V222: optional intent controls only. */
/* V224: one optional bridge and an unobtrusive route back; no Swipe changes. */
.mc-prerequisite{border-top:1px solid #c9e0e9;padding-top:20px;margin-top:24px;min-width:0}.mc-prerequisite h3{font-size:18px;line-height:1.5;margin:10px 0;color:#1a506d}.mc-prerequisite p{font-size:15px;line-height:1.65}.mc-prerequisite .mc-note{font-size:13px}.mc-prerequisite button{max-width:100%;min-height:46px;margin-top:10px;white-space:normal}.mc-detour-return{margin-bottom:16px}.mc-detour-return button{font-size:14px;min-height:44px;max-width:100%;white-space:normal}
/* V223: a voluntary continuation, without another nested card or any Swipe styles. */
.mc-continuation{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #c9e0e9}.mc-continuation h3{font-size:18px;font-weight:650;line-height:1.45;color:#1a506d;margin:10px 0 14px;overflow-wrap:anywhere}.mc-finish-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px}.mc-finish-actions>button{margin:0!important;max-width:100%}
@media(max-width:480px){.mc-finish-actions{flex-direction:column;align-items:stretch}.mc-finish-actions>button{width:100%}}
.mc-intent{margin:0 0 16px;padding:13px 16px;border:1px solid #c9dfe9;border-radius:18px;color:#244b60;background:#f7fcff}
.mc-intent>summary{cursor:pointer;min-height:44px;line-height:1.5;font-size:14px;padding:3px 0}.mc-intent>summary span{margin-right:10px;color:#567481}.mc-intent>summary strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}
.mc-intent form{margin:14px 0 0}.mc-intent fieldset{border:0;margin:0;padding:0;min-width:0}.mc-intent legend{font-weight:650;font-size:15px;margin:0 0 10px;padding:0}.mc-intent-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mc-intent-options label{display:flex;align-items:center;gap:8px;min-height:48px;border:1px solid #c9dfe9;border-radius:12px;padding:9px;background:white;font-size:14px;line-height:1.4;cursor:pointer}.mc-intent input{width:18px;height:18px;flex:none;accent-color:#1671cf}
.mc-intent .mc-intent-chapter{display:grid;gap:8px;margin:16px 0 0;font-size:14px;font-weight:650}.mc-intent .mc-intent-chapter[hidden]{display:none}.mc-intent select{box-sizing:border-box;max-width:100%;min-width:0;width:100%;min-height:48px;padding:10px;border:1px solid #bcd6e4;border-radius:12px;background:white;color:#204b65;font:inherit;font-weight:450}.mc-intent-note{font-size:12px;line-height:1.6;color:#587584;margin:12px 0}.mc-intent-status{font-size:14px;line-height:1.5;color:#8d4b20}.mc-intent-status:empty{display:none}.mc-intent-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mc-intent-actions button{min-height:44px;border:1px solid #bcd6e4;border-radius:12px;padding:10px 13px;background:#fff;color:#1c648f;font:650 14px/1.4 inherit;cursor:pointer}.mc-intent-actions button[type=submit]{background:#1767cd;color:#fff;border-color:#1767cd}.mc-intent-actions button[data-mc-intent-reset]{border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px}.mc-intent :focus-visible{outline:3px solid #1675cc;outline-offset:3px}
.mc-intent-actions button{font-family:inherit;font-size:14px;font-weight:650;line-height:1.4}
@media(max-width:360px){.mc-intent{padding:12px}.mc-intent-options{grid-template-columns:1fr}.mc-intent-actions{align-items:stretch;flex-direction:column}.mc-intent-actions button{width:100%}}
