.m2-draft{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 16px;border:1px solid #8b7046;border-radius:8px;background:#30271d;color:#edd6ac;margin:22px 0}
.m2-draft>span{font-size:10px;letter-spacing:.09em;font-weight:700}
.m2-draft p{margin:0;font-size:11px;line-height:1.6;color:#cbb99e}
.m2-module-nav{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 35px}
.m2-module-nav a{padding:9px 13px;border:1px solid #3e4551;border-radius:6px;font-size:11px;color:#aeb9c9}
.m2-module-nav [aria-current=page]{background:#382631;border-color:#b0758f;color:#ffe9f2}
.m2-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:50px;align-items:center;padding:10px 0 43px}
.m2-hero h1{font-size:clamp(38px,5vw,66px);font-weight:600;line-height:1.07;margin:0 0 23px}
.m2-hero h1 em{font-style:normal;color:#e69aaf}
.m2-hero p{font-size:15px;line-height:1.9;color:#b0b9c7;max-width:710px;margin:0 0 28px}
.m2-hero .hero-actions{gap:20px;flex-wrap:wrap}
.m2-module-card{padding:26px;border:1px solid #725b47;border-radius:13px;background:linear-gradient(145deg,#312522,#171922)}
.m2-module-card>span{font-size:9px;color:#dabd95;letter-spacing:.15em}
.m2-module-card>strong{display:block;font-size:78px;line-height:1.1;color:#ebcb9b;font-weight:500;letter-spacing:-.07em;margin-top:12px}
.m2-module-card p{font-size:13px;color:#c6b69f;margin:3px 0 20px}
.m2-module-card dl{margin:0;border-top:1px solid #655044;padding-top:12px}
.m2-module-card dl>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:6px 0}
.m2-module-card dt{color:#a99a8a}.m2-module-card dd{margin:0;color:#e4d8c6}
.m2-how{max-width:850px;margin:36px 0 45px}.m2-how h2{font-size:29px;font-weight:550;margin-bottom:19px}.m2-how p{font-size:14px;color:#aab4c3;line-height:1.95;margin-bottom:17px}
.m2-curriculum{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start;padding-bottom:40px}
.m2-chapter{border:1px solid #3b3c46;border-radius:11px;background:#14171e;overflow:hidden}
.m2-chapter>header{display:flex;align-items:center;gap:20px;padding:23px;border-bottom:1px solid #3b3c46;background:#1e1d26}
.m2-chapter>header>span{font-size:39px;color:#d989a4;line-height:1}
.m2-chapter header small{font-size:9px;letter-spacing:.13em;color:#a897ab}.m2-chapter header h2{font-size:22px;font-weight:550;margin:6px 0 0}
.m2-chapter .course-lesson-link{padding:20px;margin:0;border-radius:0;border-left:0;border-right:0;background:transparent;gap:16px}.m2-chapter .course-lesson-link:last-child{border-bottom:0}
.m2-exam-band{display:flex;align-items:center;justify-content:space-between;gap:35px;border-top:1px solid #333d4b;padding:35px 0 65px}.m2-exam-band h2{font-size:30px;max-width:580px;margin-bottom:14px}.m2-exam-band p{font-size:13px;line-height:1.8;color:#a6b0c0;margin:0;max-width:640px}.m2-exam-band .btn{flex-shrink:0}
.m2-reader>.course-reader{padding-top:12px;padding-bottom:55px}
.m2-reader .course-sidebar{top:118px}
.m2-reader .course-sidebar nav i.m2-tick{font-style:normal}
.m2-reader .course-section h2{max-width:850px}
.m2-table-scroll{overflow:auto;margin:28px 0;border:1px solid #414650;border-radius:7px}
.m2-table-scroll table{border-collapse:collapse;min-width:490px;width:100%;font-size:12px;line-height:1.7}
.m2-table-scroll caption{text-align:left;padding:15px 18px;font-weight:600;color:#dfc7b1;background:#211f26}
.m2-table-scroll :is(th,td){padding:12px 17px;text-align:left;border-bottom:1px solid #39414d;vertical-align:top}.m2-table-scroll thead th{font-weight:600;background:#18202b;color:#b3c5d8}.m2-table-scroll tbody th{font-weight:500;color:#ddd4da}.m2-table-scroll tr:last-child>*{border-bottom:0}
.m2-practice .course-lab-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.m2-practice h3{font-size:18px;margin:28px 0 17px;font-weight:550}.m2-practice h2{font-size:27px}
.m2-case-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:25px 0}
.m2-case-tabs button,.m2-action-choices button{padding:10px 14px;border:1px solid #4c6072;border-radius:6px;background:#101c29;color:#bacddd;font-size:12px;line-height:1.5;min-height:40px}
.m2-case-tabs button[aria-pressed=true],.m2-action-choices button[aria-pressed=true]{background:#c4d7df;color:#172b3d;border-color:#d6e4e9}
.m2-reference-case{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #41556a;padding:4px 0 22px;margin-bottom:22px}.m2-reference-case h3{margin:5px 0 12px}.m2-reference-case p{margin:0;font-size:12px}
.m2-case-hand{display:flex;align-items:center;gap:17px;flex-shrink:0}.m2-case-hand>strong{font-size:37px;letter-spacing:-.06em;font-weight:550}.m2-cards{display:flex;gap:4px}.m2-cards>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:35px;height:49px;border-radius:4px;background:#ede6d8;color:#182c25;font:700 21px/1 Georgia,serif}.m2-cards small{font-size:14px}.m2-cards .is-red{color:#a8304c}
.m2-action-choices{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.m2-action-choices button{flex:1 1 160px;text-align:left}
.m2-check-row{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:25px}.m2-check-row>a{font-size:11px;color:#c7d8e7}
.m2-math-result{display:flex;flex-direction:column;gap:12px;margin-top:27px;padding:24px 0 0;border-top:1px solid #4a5d70;color:#b3d9dc}.m2-math-result strong{font-size:25px;font-weight:550;line-height:1.4}.m2-math-result span{font-size:12px;color:#a8bdd1;line-height:1.9}
.m2-note-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}.m2-note-fields label{display:flex;flex-direction:column;gap:10px;font-size:12px;color:#bed0e0}.m2-note-fields label:last-child{grid-column:1/-1}.m2-note-fields textarea{font-family:inherit;font-size:12px;line-height:1.8;color:#ecf1f8;background:#101a26;border:1px solid #4c6278;border-radius:7px;resize:vertical;padding:12px;min-width:0;min-height:105px}.m2-note-fields textarea:focus-visible{outline:2px solid #e5c49a;outline-offset:3px}
.m2-note-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.m2-note-actions a{font-size:11px;color:#c2d4e6}.m2-save-note{font-size:10px!important;line-height:1.7;color:#8c9cb1!important;margin-top:17px!important}
.m2-reference-links{border-top:1px solid #353e4a;padding:25px 0}.m2-reference-links h3{font-size:17px;margin-bottom:17px}.m2-reference-links a{display:block;font-size:12px;color:#d8a7bb;margin:13px 0}
.m2-pagination{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding:30px 0;border-top:1px solid #3e414c}.m2-pagination a{max-width:47%;font-size:12px;line-height:1.8;color:#d0b2c3}.m2-pagination a:last-child{text-align:right}
.m2-exam{max-width:1000px;padding-top:5px;padding-bottom:65px}.m2-exam h1{font-size:47px;font-weight:600;max-width:740px;margin-bottom:25px}.m2-exam>p{font-size:14px;line-height:1.9;color:#acb6c7;max-width:760px;margin-bottom:33px}.m2-exam-controls{display:flex;gap:17px;flex-wrap:wrap;margin:32px 0}.m2-exam-result{display:flex;flex-direction:column;gap:13px;line-height:1.8}.m2-exam-result strong{font-size:27px;color:#bbdccb}.m2-exam-result span{font-size:14px;color:#b4c1d0}
@media(max-width:1000px){.m2-hero{grid-template-columns:minmax(0,1fr) 235px;gap:30px}.m2-module-card{padding:22px}.m2-chapter>header{padding:19px;gap:15px}.m2-chapter header h2{font-size:19px}.m2-practice .course-lab-inputs{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.m2-hero{grid-template-columns:1fr 220px;gap:22px}.m2-hero h1{font-size:43px}.m2-hero p{font-size:13px}.m2-module-card>strong{font-size:65px}.m2-module-card dl>div{font-size:10px}.m2-curriculum{grid-template-columns:1fr}.m2-how{margin-top:28px}.m2-exam-band{display:block}.m2-exam-band .btn{margin-top:25px}.m2-reader .course-reader{display:block}.m2-reader .course-sidebar{position:static;max-height:none}.m2-reader .course-sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-height:230px;overflow:auto;border:1px solid #343c48;border-radius:8px;padding:8px;margin-bottom:18px}.m2-reader .course-sidebar{margin-bottom:28px}.m2-reader .course-sidebar nav a{padding:10px;font-size:10px}.m2-reference-case{align-items:flex-start}.m2-case-hand{gap:10px}.m2-case-hand>strong{font-size:31px}}
@media(max-width:600px){.m2-draft{padding:12px;gap:8px;margin:16px 0}.m2-draft>span{font-size:9px}.m2-draft p{font-size:10px}.m2-module-nav{gap:6px;margin:18px 0 28px}.m2-module-nav a{font-size:10px;padding:8px 10px}.m2-hero{grid-template-columns:1fr;padding-bottom:25px;gap:27px}.m2-hero h1{font-size:42px;margin-bottom:20px}.m2-hero p{font-size:14px}.m2-module-card{padding:22px}.m2-module-card>strong{font-size:60px;float:left;margin:15px 20px 0 0}.m2-module-card>p{padding-top:30px;margin-bottom:27px}.m2-module-card dl{clear:both}.m2-module-card dl>div{font-size:12px}.m2-how h2,.m2-exam-band h2{font-size:27px}.m2-how p{font-size:13px}.m2-chapter .course-lesson-link{padding:18px 15px;gap:12px}.m2-practice h2{font-size:23px}.m2-practice .course-lab-inputs{grid-template-columns:1fr}.m2-reference-case{flex-direction:column;gap:18px}.m2-note-fields{grid-template-columns:1fr}.m2-note-fields label:last-child{grid-column:auto}.m2-math-result strong{font-size:22px}.m2-reader .course-sidebar nav{grid-template-columns:1fr}.m2-pagination{gap:15px}.m2-pagination a{font-size:10px}.m2-exam h1{font-size:36px}.m2-exam>p{font-size:13px}.m2-action-choices button{flex-basis:120px;font-size:11px}}
.m2-quiz,.m2-exam-questions{display:grid;gap:20px}.m2-home .course-lesson-link>span:nth-child(2){flex:1;min-width:0}.m2-home .course-lesson-number{font-size:12px;color:#bd8ba1}.m2-home .course-lesson-indicator{font-size:13px;color:#c5adbf}.m2-home .course-lesson-indicator.is-done{color:#96cab0}.m2-exam :is(a,button):focus-visible{outline:2px solid #e7c995;outline-offset:4px}
.m2-table-note{margin:14px 0 10px;padding:12px 16px;border-left:3px solid #ff635e;border-radius:4px;background:#d72f3812;color:#ffe5df;font-size:14px;line-height:1.7}
.m2-table-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.m2-table-links>a{display:inline-flex;align-items:center;min-height:42px;border:1px solid #a44b52;border-radius:6px;padding:10px 15px;background:#d72f3814;color:#ffc5bb;font-size:12px;line-height:1.6}.m2-table-links>a:hover{border-color:#ff8175;background:#d72f382b}
