/* Componentes compartilháveis da nova trilha: conteúdo próprio para monômios e polinômios. */
.mp-lesson { max-width:1160px; margin-inline:auto; }
.mp-lesson section { margin-block:0 68px; }
.mp-lesson .algebra-overline { color:#d5a4e9 !important; }
.mp-opening { display:grid; grid-template-columns:1.3fr .7fr; gap:32px; align-items:center; padding:clamp(25px,4vw,48px); border:1px solid #4b3a58; border-radius:20px; background:radial-gradient(circle at 90% 15%,rgba(142,93,180,.14),transparent 38%),rgba(28,24,39,.75); }
.mp-opening > div:first-child { max-width:730px; }
.mp-opening-symbol { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px; }
.mp-opening-symbol span { color:#f8eefc; font:clamp(27px,3.4vw,42px)/1.2 Georgia,serif; }
.mp-opening-symbol span:nth-child(odd) { padding:14px; border-radius:12px; background:#362a43; }
.mp-opening-symbol span:last-child { color:#e8acd9; }
.mp-objectives { display:grid; grid-template-columns:minmax(170px,.55fr) 1.4fr; gap:25px; padding:25px; background:rgba(32,28,42,.74); border-radius:15px; }
.mp-objectives h2 { font-size:21px; }
.mp-objectives ul { display:grid; grid-template-columns:1fr 1fr; gap:7px 20px; margin:0; padding-left:20px; }
.mp-reading { max-width:950px; }
.mp-reading p { max-width:820px; }
.mp-anatomy { display:flex; flex-wrap:wrap; gap:12px; margin-top:25px; }
.mp-anatomy span { min-width:155px; padding:17px 22px; border-radius:12px; color:#fff; background:#292434; font:clamp(25px,3vw,35px)/1.2 Georgia,serif; }
.mp-anatomy small { display:block; margin-top:8px; color:#e5b7dc; font:700 12px/1.4 system-ui,sans-serif; }
.mp-lab,.mp-guided,.mp-train,.mp-challenge { padding:clamp(24px,4vw,42px); border-radius:18px; background:rgba(27,24,36,.78); }
.mp-lab { background:radial-gradient(circle at 90% 7%,rgba(155,90,190,.14),transparent 35%),rgba(28,24,38,.8); }
.mp-pieces { display:flex; flex-wrap:wrap; gap:10px; margin:23px 0; }
.mp-pieces button,.mp-options button,.mp-button { min-height:44px; padding:9px 15px; border:1px solid #695676; border-radius:10px; color:#fff8ff; background:#34283f; font:650 15px/1.4 system-ui,sans-serif; cursor:pointer; }
.mp-pieces button:hover,.mp-options button:hover,.mp-button:hover { border-color:#d2a0ea; background:#483453; }
.mp-pieces button:focus-visible,.mp-options button:focus-visible,.mp-button:focus-visible,.mp-navigation a:focus-visible,.mp-examples summary:focus-visible { outline:3px solid #e7b6e4; outline-offset:3px; }
.mp-pieces button { min-width:73px; font-size:19px; }
.mp-selected { overflow-wrap:anywhere; }
.mp-result { display:block; width:max-content; max-width:100%; margin:12px 0; padding:12px 18px; border-radius:10px; color:#fff; background:#46324f; font:clamp(24px,3vw,35px)/1.3 Georgia,serif; overflow-wrap:anywhere; }
.mp-explanation { color:#d8cbe0 !important; }
.mp-examples details { margin:9px 0; padding:17px 20px; border:1px solid #51435a; border-radius:12px; background:rgba(30,27,39,.8); }
.mp-examples summary { color:#f4e7f9; font-weight:720; cursor:pointer; }
.mp-example-body { padding-top:14px; }
.mp-example-body p { margin:0; }
.mp-errors { padding:clamp(24px,4vw,42px); border-radius:18px; background:linear-gradient(120deg,#32202f,rgba(29,23,36,.85)); }
.mp-error-case { max-width:840px; }
.mp-case-number,.mp-quiz-kind { color:#e9a8d0 !important; font-size:12px !important; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.mp-case-answer,.mp-feedback { min-height:1.6em; color:#e6d5ed !important; }
.mp-case-answer { padding:13px 16px; border-left:2px solid #d59bd0; background:rgba(255,255,255,.045); }
.mp-case-answer[hidden],.mp-reveal[hidden],.mp-next[hidden] { display:none; }
.mp-case-next { margin-left:8px; }
.mp-guided { background:rgba(35,31,47,.8); }
.mp-challenge { background:radial-gradient(circle at 95% 5%,rgba(168,88,152,.16),transparent 32%),rgba(35,27,45,.8); }
.mp-quiz { max-width:850px; margin-top:22px; padding:22px; border-radius:14px; background:rgba(14,13,23,.54); }
.mp-quiz-counter { color:#d5c6df !important; font-size:13px !important; }
.mp-quiz h3 { margin:9px 0 19px; }
.mp-options { display:grid; gap:9px; }
.mp-options button { width:100%; text-align:left; }
.mp-options button:disabled { cursor:default; opacity:.76; }
.mp-options button[aria-pressed=true] { border-color:#dda5dc; background:#5e3d64; opacity:1; }
.mp-feedback { margin:15px 0 9px !important; font-size:14px !important; }
.mp-feedback.is-correct { color:#c1f2d8 !important; }.mp-feedback.is-incorrect { color:#ffbbc8 !important; }
.mp-summary { max-width:900px; padding:28px; border-radius:15px; background:rgba(44,35,53,.56); }
.mp-navigation { display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; max-width:1160px; margin:0 auto 70px; }
.mp-navigation a { display:inline-flex; align-items:center; min-height:44px; color:#eed4f5; text-decoration:none; font-weight:700; }
.mp-navigation a:hover { color:#fff; text-decoration:underline; }
@media(max-width:700px){.mp-opening,.mp-objectives { grid-template-columns:1fr; }.mp-opening-symbol { justify-content:flex-start; }.mp-objectives ul { grid-template-columns:1fr; }.mp-lesson section { margin-bottom:52px; }.mp-quiz { padding:15px; }.mp-case-next { margin:10px 0 0; }}
@media(prefers-reduced-motion:reduce){.mp-lesson *, .mp-navigation * { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }}
