/* 10.2.3 – subject-grounded practice paths for uncurated existing lessons. */
.magic90-lesson .mastery1023{box-sizing:border-box;min-width:0;margin:24px 0;padding:clamp(14px,2.8vw,27px);border:1px solid #876cc8;border-radius:20px;background:linear-gradient(155deg,#161c34,#22213a 75%);color:#f7f4ff;box-shadow:0 8px 22px #070c203d}
.mastery1023 *{box-sizing:border-box;min-width:0}
.mastery1023 .m1023-heading h3{color:#fff;font-size:clamp(1.2rem,2.5vw,1.65rem);margin:9px 0 8px}
.mastery1023 .m1023-kicker{display:block;font-size:.74rem;font-weight:800;letter-spacing:.08em;color:#dbc6ff}
.mastery1023 p,.mastery1023 li{line-height:1.64;color:#f6f2ff;overflow-wrap:anywhere}
.mastery1023 p{margin:9px 0 13px}
.mastery1023 .m1023-heading p{color:#e5deef}
.mastery1023 .m1023-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0 13px}
.mastery1023 .m1023-card{border:1px solid #766e91;border-radius:14px;padding:16px;background:#252944;margin:0 0 12px}
.mastery1023 .m1023-steps .m1023-card{margin:0}
.mastery1023 .m1023-num{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c9b5ef;color:#fff7d5;border-radius:50%;width:30px;height:30px;font-weight:850}
.mastery1023 h4{color:#fff3d2;margin:10px 0;font-size:1.05rem}
.mastery1023 .m1023-criterion{color:#eee0ff;background:#1b2340;border-left:3px solid #a99bff;padding:11px 13px}
.mastery1023 .m1023-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0}
.mastery1023 .m1023-inputs label{color:#fff;font-weight:740;display:flex;flex-direction:column;gap:7px;line-height:1.45}
.magic90-lesson .mastery1023 .m1023-inputs textarea{display:block;width:100%;font:inherit;font-size:.96rem;line-height:1.5;padding:10px 12px;min-height:85px;resize:vertical;background:#0b1a2c;color:#f9f9ff;border:1px solid #b3a9d5;border-radius:10px}
.mastery1023 textarea::placeholder{color:#c6cada;opacity:1}
.mastery1023 textarea:focus-visible,.mastery1023 button:focus-visible,.mastery1023 summary:focus-visible{outline:3px solid #ffde8a;outline-offset:3px}
.mastery1023 .m1023-reflection{border-left:3px solid #c0a6e7;padding:10px 13px;background:#1d2641;border-radius:8px}
.mastery1023 .m1023-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 9px}
.mastery1023 button{font:inherit;font-weight:800;cursor:pointer;border-radius:10px;padding:10px 14px;background:#e6ddff;color:#21163d;border:2px solid transparent}
.mastery1023 button:hover:not(:disabled){background:#fff1cf;border-color:#e7c58d}
.mastery1023 button:disabled{opacity:.5;cursor:not-allowed}
.mastery1023 .m1023-status{padding:11px 12px;border:1px solid #8c83ad;background:#1b2943;border-radius:9px;color:#fbf8ff}
.mastery1023 .m1023-status[data-state="partial"]{border-color:#d5b66c}
.mastery1023 .m1023-status[data-state="complete"]{border-color:#b1a3d9} /* never green for unchecked free work */
.mastery1023 .m1023-hint,.mastery1023 .m1023-footer{font-size:.87rem;color:#d9d8e7}
.mastery1023 .m1023-details summary{cursor:pointer;font-weight:790;color:#fff3d0}
.mastery1023 .m1023-details ul{padding-left:22px}
@media(max-width:860px){.mastery1023 .m1023-steps{grid-template-columns:minmax(0,1fr)}.mastery1023 .m1023-inputs{grid-template-columns:minmax(0,1fr)}}
@media(max-width:500px){.magic90-lesson .mastery1023{margin:16px 0;padding:12px}.mastery1023 .m1023-card{padding:12px}.mastery1023 button{width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){.mastery1023 *{scroll-behavior:auto!important;transition:none!important}}
