/* MEC Promo — only what the promoters' app adds on top of MEC Studio's
   stylesheet (assets/studio/studio.css, loaded first). */

.mp-btn--onDark { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.mp-ends { color: var(--pink-soft); font-weight: 800; white-space: nowrap; }
.mp-earn { color: var(--ok-ink); }

/* Level */
.mp-level .ms-row { justify-content: flex-start; gap: 8px; }
.mp-level .ms-row small { margin-left: auto; }
.mp-level__name { font: 900 18px var(--display); letter-spacing: .06em; }
.mp-level--bronze { color: #A0612B; }
.mp-level--silver { color: #6F7C8C; }
.mp-level--gold { color: #B07A00; }
.mp-level--diamond { color: #1E88B6; }
.mp-guide { border-color: var(--pink); background: var(--purple-bg); }

/* Links */
.mp-coupon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--purple-bg); color: var(--purple-ink); }
.mp-coupon span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mp-coupon b { font: 900 22px var(--display); letter-spacing: .04em; }
.mp-coupon em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.mp-coupon .ms-link { margin-left: auto; }
.mp-ev { gap: 12px; }
.mp-ev__top { display: flex; gap: 12px; align-items: center; }
.mp-ev__top img, .mp-ev__top .ms-next__ph { width: 56px; height: 70px; border-radius: 12px; object-fit: cover; flex: none; }
.mp-ev__top .ms-item__m b { display: block; font-size: 16px; }
.mp-ev__top .ms-item__m small { display: block; color: var(--muted); font-size: 12.5px; }
.mp-qr { width: 190px; max-width: 70%; align-self: center; border-radius: 12px; border: 1px solid var(--line); image-rendering: pixelated; }
.mp-url { text-align: center; }
.mp-texts { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.mp-text { display: flex; flex-direction: column; gap: 6px; }
.mp-text pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 13px/1.45 var(--body); background: var(--soft); border-radius: 12px; padding: 10px 12px; color: var(--ink); }
.mp-chan { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }

/* Equipo, ventas */
.mp-me { background: var(--purple-bg); border-radius: 12px; }
.mp-sale .ms-item__r { align-self: flex-start; }
.mp-why { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--purple-ink); }

/* Guía */
.mp-coach { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; background: var(--ink); color: #fff; }
.mp-coach small { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--pink-soft); }
.mp-coach b { font: 900 30px/1 var(--display); text-transform: uppercase; }
.mp-coach span { font-size: 13px; color: #DCD3EE; }
.mp-coach .ms-meter { background: rgba(255,255,255,.15); }
.mp-insight { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--pink); border-radius: 14px; padding: 12px 14px; }
.mp-insight b { font-size: 14.5px; }
.mp-insight p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mp-plan { display: flex; flex-direction: column; gap: 10px; }
.mp-step { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.mp-step.is-today, .mp-step.is-big { border-color: var(--pink); box-shadow: 0 0 0 3px var(--purple-bg); }
.mp-step.is-done { opacity: .6; }
.mp-step.is-past:not(.is-big) { opacity: .75; }
.mp-step__chk { flex: none; padding-top: 2px; }
.mp-step__chk input { width: 24px; height: 24px; accent-color: var(--pink); }
.mp-step__m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mp-step__when { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.mp-step__m b { font-size: 15px; }
.mp-step__m p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mp-step .mp-text { margin-top: 6px; }
.mp-step .mp-text .ms-btn { align-self: flex-start; }
.mp-book { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.mp-book + .mp-book { margin-top: 8px; }
.mp-book summary { padding: 13px 0; font-weight: 800; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mp-book summary::after { content: "+"; font-weight: 900; color: var(--pink); }
.mp-book[open] summary::after { content: "–"; }
.mp-book summary::-webkit-details-marker { display: none; }
.mp-book ul { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.ms-next a.ms-next__top { color: inherit; text-decoration: none; }
a.ms-stat { color: inherit; text-decoration: none; }
a.ms-me { color: inherit; text-decoration: none; }

/* Retos, mensajes */
.mp-goal { gap: 8px; }
.mp-goal.is-done { border-color: var(--ok); background: var(--ok-bg); }
.mp-goal__prize { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--purple-ink); }
.mp-unread .ms-item__t { font-weight: 900; }
.mp-msg { font-size: 15px; line-height: 1.6; }

/* Notificaciones */
.mp-notif.is-on { border-color: var(--ok); }
.mp-pref { align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mp-pref:last-child { border-bottom: 0; }
.mp-pref span { display: flex; flex-direction: column; }
.mp-pref small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.mp-welcome { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 8px 4px 4px; }
.mp-welcome b { font: 900 26px/1.05 var(--display); text-transform: uppercase; }
.mp-welcome__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; font-size: 14.5px; font-weight: 700; width: 100%; }
.mp-welcome__list li { padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.mp-welcome .ms-btn { width: 100%; }
.mp-welcome .ms-steps { text-align: left; width: 100%; }

/* Sprint (class-mec-promo-sprint.php) */
.mp-sp .ms-next__body { padding-top: 16px; }
.mp-sp__k { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-soft); }
.mp-sp__prize { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.mp-sp__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mp-sp__nums > div { background: #2E2638; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-sp__nums b { font-size: 22px; font-variant-numeric: tabular-nums; }
.mp-sp__nums small { font-size: 11.5px; color: #C9C2D3; }
.mp-sp__rank { display: flex; flex-direction: column; gap: 2px; }
.mp-sp__rank > div { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; font-size: 14px; }
.mp-sp__rank > div > span:first-child { font-family: var(--mono); color: #C9C2D3; }
.mp-sp__rank > div > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-sp__rank b { font-variant-numeric: tabular-nums; }
.mp-sp__rank .is-me { background: #3A2E48; }
.mp-sp__end { color: #C9C2D3; }
.mp-sp-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mp-sp-rules > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.mp-sp-rules b { font-size: 20px; color: var(--pink); }
.mp-sp-rules small { font-size: 11.5px; color: var(--muted); }
.mp-sp-card { gap: 8px; }
.mp-sp-card.is-dbl { border-color: var(--ok); background: var(--ok-bg); }
.mp-sp-card.is-won { border-color: var(--ok); background: var(--ok-bg); }
.mp-sp-rule { margin: 0; font-size: 15px; font-weight: 700; }
.mp-sp-days { display: flex; gap: 6px; flex-wrap: wrap; }
.mp-sp-days i { font-style: normal; font-size: 12px; font-weight: 800; width: 38px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--muted); }
.mp-sp-days i.is-on { background: var(--pink); color: #fff; }
