body.m3p-portal-page { margin: 0 !important; background: #F8F5F1 !important; min-height: 100vh; }
body.m3p-portal-page #wpadminbar { display: none; }
html:has(body.m3p-portal-page) { margin-top: 0 !important; }
.m3p-portal { min-height: 100dvh; padding-bottom: calc(86px + env(safe-area-inset-bottom)); background: var(--m3p-color-background); }
.m3p-portal .m3p-skip { position: fixed; z-index: 999; left: 10px; top: -60px; background: #fff; padding: 10px; color: var(--m3p-color-ink); }
.m3p-portal .m3p-skip:focus { top: 10px; }
.m3p-topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #E8DFD4; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.m3p-topbar__inner { min-height: 74px; max-width: var(--m3p-container); margin: auto; padding: 10px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m3p-brand { display: flex; align-items: center; gap: 11px; }
.m3p-brand__text { display: flex; flex-direction: column; }
.m3p-brand__text strong { font-size: 16px; line-height: 1.25; letter-spacing: -.02em; }
.m3p-brand__text small { font-size: 11px; color: var(--m3p-color-muted); line-height: 1.3; margin-top: 2px; }
.m3p-demo-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #E8DFD4; color: #423B35; border: 1px solid #DED7CF; padding: 7px 9px; border-radius: 100px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.m3p-demo-pill__dot { background: #4F4740; width: 6px; height: 6px; border-radius: 50%; }
.m3p-main__inner { width: 100%; max-width: var(--m3p-container); margin: auto; padding: 24px 18px 42px; }
.m3p-screen[hidden] { display: none !important; }
.m3p-screen { animation: m3p-screen-in .2s ease-out; }
@keyframes m3p-screen-in { from{opacity:.45;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
.m3p-welcome { background: #E8DFD4; border: 1px solid #DED7CF; border-radius: var(--m3p-radius-xl); padding: 29px 21px 26px; position: relative; overflow: hidden; min-height: 264px; }
.m3p-welcome__copy { z-index: 2; position: relative; max-width: 370px; }
.m3p-welcome .m3p-eyebrow { display: inline-flex; gap: 6px; align-items: center; }
.m3p-welcome .m3p-eyebrow .m3p-icon { width: 14px; height: 14px; }
.m3p-welcome h1 { font-size: clamp(30px, 7.4vw, 42px); line-height: 1.12; letter-spacing: -.045em; font-weight: 790; max-width: 335px; margin: 12px 0; }
.m3p-welcome h1 span { color: var(--m3p-color-brand); }
.m3p-welcome p { color: var(--m3p-color-text); font-size: 14px; max-width: 315px; line-height: 1.62; }
.m3p-welcome__graphic { position: absolute; right: -58px; bottom: -95px; width: 215px; height: 215px; opacity: .75; }
.m3p-orbit { position: absolute; border: 2px solid #CFC4B8; border-radius: 50%; }
.m3p-orbit--one { inset: 0; }
.m3p-orbit--two { inset: 24px; }
.m3p-graphic-heart { width: 80px; height: 80px; border-radius: 28px; display: grid; place-items: center; background: #CFC4B8; color: #423B35; position: absolute; left: 67px; top: 67px; transform: rotate(-11deg); }
.m3p-graphic-heart .m3p-icon { width: 39px; height: 39px; }
.m3p-graphic-dot { position: absolute; border-radius: 50%; background: #766B61; }
.m3p-graphic-dot--a { width: 15px; height: 15px; left: 7px; top: 50px; }
.m3p-graphic-dot--b { width: 11px; height: 11px; right: 5px; top: 34px; }
.m3p-intro-card { margin-top: 18px; border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); box-shadow: var(--m3p-shadow-card); background: #fff; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.m3p-intro-card__icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 15px; background: #E8DFD4; color: var(--m3p-color-brand); }
.m3p-intro-card__body h2 { font-size: 19px; letter-spacing: -.03em; margin-bottom: 5px; }
.m3p-intro-card__body p { font-size: 13px; color: var(--m3p-color-muted); line-height: 1.55; }
.m3p-intro-card .m3p-btn { margin-top: 3px; }
.m3p-section-title { font-size: 17px; letter-spacing: -.025em; margin: 25px 0 12px !important; }
.m3p-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m3p-feature { background: white; border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); padding: 17px; }
.m3p-feature__icon { display: inline-flex; height: 39px; width: 39px; align-items: center; justify-content: center; border-radius: 12px; }
.m3p-feature__icon--mint { color: #423B35; background: #E8DFD4; }
.m3p-feature__icon--peach { color: #B26331; background: #FFF2E6; }
.m3p-feature h3 { font-size: 14px; letter-spacing: -.02em; margin: 12px 0 4px; }
.m3p-feature p { font-size: 12px; color: var(--m3p-color-muted); }
.m3p-disclaimer, .m3p-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px; border-radius: var(--m3p-radius-md); background: #E8DFD4; color: #4F4740; }
.m3p-disclaimer .m3p-icon,.m3p-note .m3p-icon { height: 18px; width: 18px; flex: 0 0 18px; margin-top: 2px; }
.m3p-disclaimer p,.m3p-note span { font-size: 12px; line-height: 1.55; }
.m3p-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.98); border-top: 1px solid #DED7CF; box-shadow: 0 -10px 28px rgba(41,39,35,.06); padding-bottom: env(safe-area-inset-bottom); }
.m3p-bottom-nav__inner { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--m3p-container); margin: 0 auto; padding: 6px 10px 5px; }
.m3p-portal .m3p-nav__item { appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-width: 0; min-height: 57px; background: transparent; border: 0; border-radius: 13px; padding: 6px 2px; margin: 0; box-shadow: none; font: inherit; color: #6C8075; cursor: pointer; }
.m3p-portal .m3p-nav__icon { display: flex; justify-content: center; align-items: center; width: 33px; height: 28px; line-height: 0; }
.m3p-portal .m3p-nav__icon .m3p-icon { width: 23px; height: 23px; }
.m3p-portal .m3p-nav__label { display: block; font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.m3p-portal .m3p-nav__item.is-active { color: #423B35; background: #E8DFD4; }
.m3p-portal .m3p-nav__item:hover { color: #292723; background: #F0ECE7; }
.m3p-page-heading { margin: 10px 2px 22px; }
.m3p-page-heading h1 { font-size: clamp(28px,7vw,38px); letter-spacing: -.045em; line-height: 1.15; margin: 8px 0 9px; }
.m3p-page-heading p { color: var(--m3p-color-muted); font-size: 14px; line-height: 1.6; }
.m3p-map-card,.m3p-todo-preview,.m3p-profile-preview { padding: 20px; }
.m3p-map-card .m3p-row { align-items: flex-start; }
.m3p-map-card h3 { font-size: 17px; margin: 3px 0 8px; }
.m3p-map-card p,.m3p-profile-preview p,.m3p-chat-preview p,.m3p-card > p { color: var(--m3p-color-muted); font-size: 13px; line-height: 1.65; }
.m3p-map-placeholder { height: 182px; margin: 14px 0 15px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.m3p-map-placeholder__center { display: grid; place-items: center; width: 70px; height: 70px; background: #E8DFD4; color: var(--m3p-color-brand); border-radius: 23px; z-index: 1; }
.m3p-map-placeholder__center .m3p-icon { width: 35px; height: 35px; }
.m3p-map-placeholder__ring { position: absolute; width: 144px; height: 144px; border: 2px solid #DED7CF; border-radius: 50%; }
.m3p-map-placeholder__ring--b { width: 198px; height: 198px; border-color: #E8DFD4; }
.m3p-todo-preview__item { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #E8DFD4; font-size: 13px; }
.m3p-todo-preview__item:nth-of-type(2) { margin-top: 13px; }
.m3p-faux-check { width: 24px; height: 24px; border: 1.5px solid #CFC4B8; border-radius: 8px; display: grid; place-items: center; flex: 0 0 24px; }
.m3p-faux-check.is-checked { background: var(--m3p-color-brand); border-color: var(--m3p-color-brand); color: #fff; }
.m3p-faux-check .m3p-icon { width: 15px; height: 15px; }
.m3p-progress__head { display: flex; justify-content: space-between; margin: 22px 0 9px; font-size: 12px; color: var(--m3p-color-text); }
.m3p-progress__bar { width: 100%; height: 9px; border-radius: 100px; overflow: hidden; background: #E8DFD4; }
.m3p-progress__bar span { display: block; width: 33.33%; height: 100%; background: var(--m3p-color-brand); border-radius: 100px; }
.m3p-caption { font-size: 11px !important; color: var(--m3p-color-muted); margin-top: 11px !important; }
.m3p-chat-preview { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 17px; }
.m3p-chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 15px; background: var(--m3p-color-brand); color: #fff; }
.m3p-chat-preview__bubble { background: #E8DFD4; border: 1px solid #DED7CF; border-radius: 5px 20px 20px 20px; padding: 20px 17px; }
.m3p-chat-preview__bubble strong { font-size: 15px; }
.m3p-chat-preview__bubble p { margin-top: 8px; }
.m3p-screen[data-m3p-panel="mentor"] .m3p-card { padding: 20px; }
.m3p-screen[data-m3p-panel="mentor"] .m3p-card p { margin: 13px 0; }
.m3p-profile-preview { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 34px 25px; }
.m3p-profile-preview h2 { font-size: 20px; }
.m3p-profile-preview__avatar { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 28px; background: #E8DFD4; color: var(--m3p-color-brand); }
.m3p-profile-preview__avatar .m3p-icon { width: 36px; height: 36px; }
@media(min-width:680px){.m3p-main__inner{padding:38px 30px 50px}.m3p-welcome{min-height:290px;padding:43px 36px}.m3p-welcome__graphic{right:25px;bottom:-56px;width:250px;height:250px}.m3p-graphic-heart{left:85px;top:85px}.m3p-welcome__copy{max-width:420px}.m3p-welcome p{max-width:365px}.m3p-intro-card{padding:25px}.m3p-feature-grid{gap:18px}.m3p-feature{padding:22px}.m3p-bottom-nav__inner{padding:8px 20px}.m3p-portal .m3p-nav__item{min-height:60px}}
@media(max-width:360px){.m3p-brand__text strong{font-size:14px}.m3p-brand-mark{width:37px;height:37px;flex-basis:37px}.m3p-demo-pill{font-size:9px;padding:6px 7px}.m3p-main__inner{padding-inline:12px}.m3p-topbar__inner{padding-inline:12px}.m3p-welcome{padding:24px 17px}.m3p-feature{padding:13px}.m3p-portal .m3p-nav__label{font-size:9px}}
/* v0.2.0 · Vista de acceso (mobile-first) */
.m3p-portal--guest { padding-bottom: max(34px, env(safe-area-inset-bottom)); }
.m3p-portal .m3p-demo-pill .m3p-icon { width: 13px; height: 13px; }
.m3p-auth { width: 100%; max-width: 530px; margin: 0 auto; }
.m3p-auth-hero { margin-bottom: 18px; min-height: 245px; }
.m3p-auth-card { display: flex; flex-direction: column; gap: 11px; width: 100%; padding: 25px 20px; border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); box-shadow: var(--m3p-shadow-card); background: var(--m3p-color-surface); }
.m3p-auth-card__symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: #E8DFD4; color: var(--m3p-color-brand); }
.m3p-auth-card__symbol .m3p-icon { width: 26px; height: 26px; }
.m3p-auth-card h1, .m3p-auth-card h2 { font-size: clamp(24px, 6.3vw, 31px); letter-spacing: -.04em; line-height: 1.16; }
.m3p-auth-card > p { color: var(--m3p-color-muted); font-size: 14px; line-height: 1.62; }
.m3p-auth-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 8px; }
.m3p-auth-card .m3p-form { margin-top: 15px; }
.m3p-auth-card .m3p-form > .m3p-btn { margin-top: 3px; }
.m3p-form__between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; }
.m3p-form__between > a, .m3p-auth-card__foot a, .m3p-data-note a { font-size: 12px; color: var(--m3p-color-brand); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.m3p-auth-card .m3p-auth-card__foot { border-top: 1px solid var(--m3p-color-border); margin-top: 7px; padding-top: 16px; text-align: center; font-size: 13px; }
.m3p-auth-card__foot a { font-size: 13px; }
.m3p-data-note { display: flex; align-items: flex-start; gap: 10px; background: #F0ECE7; border-radius: 12px; padding: 12px; color: #423B35; font-size: 12px; line-height: 1.6; }
.m3p-data-note > .m3p-icon { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; }
.m3p-check--ack { margin: 3px 0 4px; }
.m3p-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.m3p-auth-features { margin-top: 16px; }
.m3p-auth-features .m3p-feature { min-height: 157px; }
/* Área de perfil autenticado */
.m3p-account-card { padding: 20px; margin-bottom: 16px; }
.m3p-account-card .m3p-card-heading { margin-bottom: 17px; }
.m3p-account-card .m3p-form { margin-top: 13px; }
.m3p-account-head { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; min-width: 0; }
.m3p-account-head .m3p-profile-preview__avatar { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 20px; }
.m3p-account-head .m3p-profile-preview__avatar .m3p-icon { width: 29px; height: 29px; }
.m3p-account-head > div { min-width: 0; }
.m3p-account-head h2 { font-size: 18px; overflow-wrap: anywhere; }
.m3p-account-head p { font-size: 12px; color: var(--m3p-color-muted); overflow-wrap: anywhere; }
.m3p-account-card--logout { display: grid; gap: 16px; }
.m3p-account-card--logout h2 { font-size: 16px; margin-bottom: 4px; }
.m3p-account-card--logout p { font-size: 13px; color: var(--m3p-color-muted); }
@media(min-width:680px) {
  .m3p-auth-card { padding: 32px; }
  .m3p-account-card { padding: 25px; }
}
@media(max-width:360px) {
  .m3p-auth-card { padding: 20px 15px; }
  .m3p-auth-features .m3p-feature { padding: 12px; }
}

/* Mi Mentor v0.3.0 · Radiografía de vida · estilo mobile-first. */
.m3p-assessment { display: grid; gap: 18px; min-width: 0; }
.m3p-assessment-hero { display: flex; align-items: flex-start; gap: 16px; padding: 23px 20px; border-radius: var(--m3p-radius-xl); border: 1px solid #DED7CF; background: linear-gradient(135deg,#F0ECE7 0%,#F8F5F1 68%,#FFF8EF 100%); }
.m3p-assessment-hero__mark { display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--m3p-color-brand); flex: 0 0 56px; width: 56px; height: 56px; box-shadow: 0 8px 18px #1f795b11; }
.m3p-assessment-hero__mark .m3p-icon { width: 28px; height: 28px; }
.m3p-assessment-hero h2 { font-size: clamp(22px, 4.5vw, 29px); letter-spacing: -.045em; margin: 3px 0 7px; line-height: 1.18; }
.m3p-assessment-hero p { font-size: 13px; line-height: 1.6; color: var(--m3p-color-text); max-width: 520px; }
.m3p-assessment-progress { padding: 16px 19px 15px; border: 1px solid var(--m3p-color-border); background: #fff; border-radius: var(--m3p-radius-lg); }
.m3p-assessment-progress__heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--m3p-color-ink); }
.m3p-assessment-progress__heading strong { font-weight: 750; }
.m3p-assessment-progress__heading span { font-weight: 850; font-size: 15px; color: var(--m3p-color-brand); }
.m3p-assessment-progress progress { appearance: none; display: block; border: 0; width: 100%; height: 9px; border-radius: 100px; background: #E8DFD4; overflow: hidden; margin: 12px 0 9px; }
.m3p-assessment-progress progress::-webkit-progress-bar { background: #E8DFD4; border-radius: 100px; }
.m3p-assessment-progress progress::-webkit-progress-value { background: var(--m3p-color-brand); border-radius: 100px; }
.m3p-assessment-progress progress::-moz-progress-bar { background: var(--m3p-color-brand); border-radius: 100px; }
.m3p-assessment-progress p { color: var(--m3p-color-muted); font-size: 11px; line-height: 1.5; }
.m3p-assessment-steps { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; align-items: start; }
.m3p-assessment-step { display: grid; justify-items: center; gap: 7px; min-width: 0; color: var(--m3p-color-muted); text-decoration: none; }
.m3p-assessment-step__circle { display: grid; place-items: center; width: 35px; height: 35px; font-size: 12px; font-weight: 800; border: 1.5px solid #DED7CF; border-radius: 12px; background: #fff; color: var(--m3p-color-muted); }
.m3p-assessment-step__circle .m3p-icon { width: 16px; height: 16px; }
.m3p-assessment-step__name { font-size: 10px; font-weight: 700; max-width: 100%; overflow-wrap: anywhere; text-align: center; line-height: 1.25; }
.m3p-assessment-step.is-current .m3p-assessment-step__circle { background: var(--m3p-color-ink); border-color: var(--m3p-color-ink); color: #fff; }
.m3p-assessment-step.is-done .m3p-assessment-step__circle { background: #E8DFD4; border-color: #CFC4B8; color: var(--m3p-color-brand); }
.m3p-assessment-step.is-done.is-current .m3p-assessment-step__circle { background: var(--m3p-color-brand); border-color: var(--m3p-color-brand); color: #fff; }
.m3p-assessment-step.is-current .m3p-assessment-step__name { color: var(--m3p-color-ink); }
.m3p-assessment-card { overflow: hidden; padding: 22px; }
.m3p-assessment-card__top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.m3p-assessment-kicker { font-size: 11px; font-weight: 850; letter-spacing: .08em; color: var(--m3p-color-brand); }
.m3p-assessment-heading { display: flex; align-items: flex-start; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--m3p-color-border); }
.m3p-assessment-heading__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: 0 0 44px; background: var(--m3p-color-surface-soft); color: var(--m3p-color-brand); }
.m3p-assessment-heading h3 { color: var(--m3p-color-ink); font-size: 20px; letter-spacing: -.025em; margin-bottom: 5px; }
.m3p-assessment-heading p { color: var(--m3p-color-text); font-size: 13px; line-height: 1.5; }
.m3p-assessment-form { gap: 23px !important; padding-top: 20px; }
.m3p-assessment-form > .m3p-question + .m3p-question { padding-top: 22px; border-top: 1px solid #F0ECE7; }
.m3p-assessment-consent { padding: 16px; background: #F0ECE7; border: 1px solid #DED7CF; border-radius: var(--m3p-radius-md); }
.m3p-assessment-consent .m3p-check { font-size: 13px; font-weight: 650; }
.m3p-assessment-consent p { font-size: 12px; line-height: 1.5; color: var(--m3p-color-muted); margin-top: 10px; }
.m3p-assessment-actions { display: flex; align-items: stretch; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.m3p-assessment-actions .m3p-btn--block { flex: 1 1 210px; }
.m3p-assessment-actions .m3p-btn--outline { flex: 0 1 auto; }
.m3p-assessment-complete { display: flex; gap: 13px; align-items: flex-start; padding: 15px 16px; border-radius: var(--m3p-radius-lg); background: #F0ECE7; border: 1px solid #DED7CF; }
.m3p-assessment-complete__icon { display: grid; place-items: center; color: var(--m3p-color-brand); }
.m3p-assessment-complete h3 { font-size: 14px; line-height: 1.3; }
.m3p-assessment-complete p { font-size: 12px; line-height: 1.55; color: var(--m3p-color-text); margin-top: 5px; }
.m3p-assessment-summary { padding: 20px; }
.m3p-assessment-summary > .m3p-card-heading { margin-bottom: 7px; }
.m3p-assessment-summary__intro { font-size: 13px; color: var(--m3p-color-muted); line-height: 1.6; margin-bottom: 12px !important; }
.m3p-assessment-details { border-top: 1px solid var(--m3p-color-border); }
.m3p-assessment-details summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 15px 0; list-style: none; font-weight: 750; font-size: 14px; }
.m3p-assessment-details summary::-webkit-details-marker { display: none; }
.m3p-assessment-details summary span { flex: 1; }
.m3p-assessment-details summary .m3p-icon:first-child { color: var(--m3p-color-brand); }
.m3p-assessment-details[open] summary .m3p-icon:last-child { transform: rotate(90deg); }
.m3p-assessment-details__body { padding: 0 0 18px 32px; display: grid; gap: 13px; }
.m3p-assessment-answer strong { display: block; font-size: 12px; line-height: 1.35; color: var(--m3p-color-muted); }
.m3p-assessment-answer p { font-size: 14px; margin-top: 4px; line-height: 1.5; color: var(--m3p-color-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.m3p-assessment-details__body > .m3p-btn { justify-self: start; }
.m3p-assessment-privacy { border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); background: #F0ECE7; padding: 17px; }
.m3p-assessment-privacy__head { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.m3p-assessment-privacy__head .m3p-icon { color: var(--m3p-color-brand); }
.m3p-assessment-privacy p { font-size: 12px; line-height: 1.6; color: var(--m3p-color-text); }
.m3p-assessment-delete { border-top: 1px solid var(--m3p-color-border); margin-top: 13px; padding-top: 12px; }
.m3p-assessment-delete > summary { cursor: pointer; color: #923443; font-size: 13px; font-weight: 750; }
.m3p-assessment-delete .m3p-form { margin-top: 14px; gap: 12px; }
.m3p-assessment-home-count { font-size: 12px !important; font-weight: 800; color: var(--m3p-color-brand) !important; margin-top: 7px !important; }
@media(min-width:650px) {
  .m3p-assessment-hero { padding: 26px; }
  .m3p-assessment-card { padding: 29px 31px; }
  .m3p-assessment-steps { gap: 12px; }
  .m3p-assessment-step__name { font-size: 11px; }
}
@media(max-width:430px) {
  .m3p-assessment-hero { flex-direction: column; gap: 10px; }
  .m3p-assessment-step__circle { width: 31px; height: 31px; border-radius: 10px; }
  .m3p-assessment-step__name { font-size: 9px; }
  .m3p-assessment-card { padding: 17px 15px; }
  .m3p-assessment-heading h3 { font-size: 18px; }
  .m3p-assessment-heading__icon { width: 39px; height: 39px; flex-basis: 39px; }
  .m3p-assessment-actions { flex-direction: column-reverse; }
  .m3p-assessment-actions .m3p-btn { width: 100%; flex: 0 0 auto; }
}

/* Mi Mentor v0.4.0 · Mi mapa: responsive mobile-first con sistema visual compartido */
.m3p-life-map { display: grid; gap: 21px; }
.m3p-life-map__intro { background: linear-gradient(145deg,#E8DFD4 0%,#F0ECE7 56%,#FFF8F0 100%); border: 1px solid #DED7CF; border-radius: var(--m3p-radius-xl); padding: 24px 20px; overflow: hidden; }
.m3p-life-map__intro-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.m3p-life-map__symbol { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 18px; background: #fff; color: var(--m3p-color-brand); box-shadow: 0 8px 22px rgba(41,39,35,.09); }
.m3p-life-map__symbol .m3p-icon { width: 27px; height: 27px; }
.m3p-life-map__intro h2 { font-size: clamp(25px,5vw,34px); letter-spacing: -.047em; line-height: 1.15; margin-bottom: 8px; }
.m3p-life-map__intro p { color: var(--m3p-color-text); line-height: 1.62; font-size: 13px; }
.m3p-life-map__hero-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 21px; }
.m3p-life-map__hero-stats > div { display: grid; gap: 2px; background: rgba(255,255,255,.86); padding: 15px; border-radius: var(--m3p-radius-md); }
.m3p-life-map__hero-stats strong { color: var(--m3p-color-brand); font-size: 28px; letter-spacing: -.04em; line-height: 1.2; }
.m3p-life-map__hero-stats strong span { font-size: 15px; color: var(--m3p-color-muted); }
.m3p-life-map__hero-stats small { font-size: 11px; line-height: 1.35; color: var(--m3p-color-muted); }
.m3p-life-map__empty { padding: 19px; display: grid; gap: 11px; }
.m3p-life-map__empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #E8DFD4; color: var(--m3p-color-brand); }
.m3p-life-map__empty h3 { font-size: 17px; margin-bottom: 6px; }
.m3p-life-map__empty p { font-size: 13px; color: var(--m3p-color-muted); line-height: 1.6; }
.m3p-life-map__section { min-width: 0; }
.m3p-life-map__section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 9px; }
.m3p-life-map__section-heading h2 { font-size: 22px; letter-spacing: -.03em; line-height: 1.25; margin-top: 3px; }
.m3p-life-map__help { font-size: 12px; line-height: 1.65; color: var(--m3p-color-muted); margin-bottom: 15px !important; }
.m3p-life-map__areas { display: grid; grid-template-columns: minmax(0,1fr); gap: 13px; }
.m3p-life-area { min-width: 0; display: grid; gap: 15px; border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); background: #fff; padding: 18px 17px; box-shadow: var(--m3p-shadow-card); }
.m3p-life-area.is-main { border-color: #A99D92; box-shadow: 0 0 0 1px #CFC4B8 inset, var(--m3p-shadow-card); }
.m3p-life-area__head { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.m3p-life-area__icon { width: 43px; height: 43px; display: grid; place-items: center; background: #E8DFD4; color: var(--m3p-color-brand); border-radius: 14px; flex: 0 0 43px; }
.m3p-life-area__icon .m3p-icon { width: 22px; height: 22px; }
.m3p-life-area__name { min-width: 0; }
.m3p-life-area__name h3 { font-size: 15px; line-height: 1.25; letter-spacing: -.02em; margin: 1px 0 4px; }
.m3p-life-area__name span { font-size: 11px; color: var(--m3p-color-muted); line-height: 1.48; display: block; }
.m3p-life-area__focus-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: #E8DFD4; border-radius: 99px; color: #423B35; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.m3p-life-area__focus-tag .m3p-icon { width: 14px; height: 14px; }
.m3p-life-area__progress { display: grid; gap: 8px; }
.m3p-life-area__progress-heading { display: flex; gap: 9px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--m3p-color-text); }
.m3p-life-area__progress-heading strong { font-size: 13px; color: var(--m3p-color-brand); white-space: nowrap; }
.m3p-life-area__reflection { background: #F8F5F1; border-radius: 13px; padding: 11px 12px; min-height: 55px; display: grid; gap: 6px; }
.m3p-life-area__reflection-label { display: flex; align-items: center; gap: 6px; color: #423B35; font-size: 11px; font-weight: 800; }
.m3p-life-area__reflection-label .m3p-icon { width: 15px; height: 15px; }
.m3p-life-area__reflection p { font-size: 12px; line-height: 1.55; color: var(--m3p-color-text); overflow-wrap: anywhere; }
.m3p-life-area > .m3p-btn { justify-self: stretch; }
.m3p-life-focus { padding: 20px 17px; }
.m3p-life-focus__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.m3p-life-focus__heading h2 { font-size: 21px; letter-spacing: -.03em; }
.m3p-life-focus__current { display: grid; gap: 6px; background: #E8DFD4; border: 1px solid #DED7CF; border-radius: var(--m3p-radius-md); padding: 14px; margin-bottom: 16px; }
.m3p-life-focus__current > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #423B35; font-weight: 750; }
.m3p-life-focus__current > span .m3p-icon { width: 16px; height: 16px; }
.m3p-life-focus__current strong { font-size: 17px; line-height: 1.3; }
.m3p-life-focus__current p { color: #423B35; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
.m3p-life-focus__hint { font-size: 13px; color: var(--m3p-color-muted); line-height: 1.6; margin-bottom: 12px !important; }
.m3p-life-focus__suggestion { display: flex; align-items: flex-start; gap: 9px; background: #F0ECE7; padding: 12px; border-radius: 12px; font-size: 12px; line-height: 1.55; color: var(--m3p-color-text); margin-bottom: 15px !important; }
.m3p-life-focus__suggestion .m3p-icon { width: 17px; height: 17px; flex-basis: 17px; margin-top: 1px; }
.m3p-life-focus__form { gap: 19px !important; }
.m3p-life-focus__form > .m3p-question + .m3p-question { padding-top: 17px; border-top: 1px solid #F0ECE7; }
.m3p-life-focus__form > .m3p-btn { margin-top: 2px; }
.m3p-life-map__assessment { background: #fff; border: 1px solid var(--m3p-color-border); border-radius: var(--m3p-radius-lg); overflow: hidden; }
.m3p-life-map__assessment > summary { display: flex; align-items: center; gap: 11px; padding: 16px; cursor: pointer; list-style: none; }
.m3p-life-map__assessment > summary::-webkit-details-marker { display: none; }
.m3p-life-map__assessment > summary > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 3px; }
.m3p-life-map__assessment > summary strong { font-size: 14px; }
.m3p-life-map__assessment > summary small { font-size: 11px; color: var(--m3p-color-muted); line-height: 1.4; }
.m3p-life-map__assessment-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: #E8DFD4; border-radius: 12px; color: var(--m3p-color-brand); }
.m3p-life-map__assessment > summary > .m3p-icon { width: 18px; height: 18px; color: var(--m3p-color-muted); }
.m3p-life-map__assessment[open] > summary > .m3p-icon { transform: rotate(90deg); }
.m3p-life-map__assessment-body { padding: 0 13px 17px; }
.m3p-home-focus { display: grid; gap: 10px; margin-top: 18px; padding: 18px; }
.m3p-home-focus > strong { font-size: 17px; }
.m3p-home-focus > p { color: var(--m3p-color-muted); font-size: 12px; }
.m3p-home-focus > .m3p-btn { justify-self: start; }
@media(min-width:680px) {
  .m3p-life-map__intro { padding: 32px; }
  .m3p-life-map__areas { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .m3p-life-area { padding: 21px; }
  .m3p-life-focus { padding: 28px; }
  .m3p-life-map__assessment-body { padding: 0 23px 23px; }
}
@media(max-width:360px) {
  .m3p-life-map__intro { padding: 19px 16px; }
  .m3p-life-map__hero-stats > div { padding: 12px; }
  .m3p-life-area { padding: 16px 14px; }
  .m3p-life-focus { padding: 18px 14px; }
}

.m3p-life-map__assessment { scroll-margin-top: 92px; }

/* v0.5.0 · Problemas y objetivos. Solo layout: controles heredados del design-system. */
.m3p-goals { display:grid; gap:17px; min-width:0; }
.m3p-goals-hero { padding:23px 20px 19px; border-radius:var(--m3p-radius-xl); background:linear-gradient(145deg,#E8DFD4 0%,#F8F5F1 72%); border:1px solid #DED7CF; }
.m3p-goals-hero__top { display:flex; align-items:center; justify-content:space-between; gap:9px; flex-wrap:wrap; }
.m3p-goals-hero__icon { width:43px; height:43px; display:grid; place-items:center; background:#DED7CF; color:var(--m3p-color-brand); border-radius:14px; }
.m3p-goals-hero h2 { font-size:clamp(23px,6vw,29px); line-height:1.15; letter-spacing:-.035em; margin:16px 0 9px; color:var(--m3p-color-ink); }
.m3p-goals-hero p { font-size:13px; line-height:1.6; color:var(--m3p-color-text); }
.m3p-goals-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:20px; }
.m3p-goals-stats > div { min-width:0; padding:12px 8px; border:1px solid #DED7CF; background:#fff; border-radius:13px; text-align:center; }
.m3p-goals-stats strong { display:block; font-size:23px; line-height:1.2; color:var(--m3p-color-brand); font-weight:800; }
.m3p-goals-stats span { display:block; font-size:10px; line-height:1.3; color:var(--m3p-color-muted); margin-top:5px; }
.m3p-goals-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.m3p-goals-actions .m3p-btn { width:100%; min-width:0; padding-inline:8px; font-size:12px; }
.m3p-goals-section { display:grid; gap:13px; }
.m3p-goals-heading { display:flex; gap:11px; align-items:center; margin:12px 0 2px; }
.m3p-goals-heading__icon { width:45px; height:45px; flex:0 0 45px; display:grid; place-items:center; border-radius:15px; background:#E8DFD4; color:var(--m3p-color-brand); }
.m3p-goals-heading .m3p-eyebrow { font-size:10px; }
.m3p-goals-heading h2 { font-size:19px; line-height:1.2; letter-spacing:-.025em; margin-top:4px; }
.m3p-goals-empty { text-align:center; padding:22px 18px; display:grid; gap:8px; justify-items:center; }
.m3p-goals-empty__icon { display:grid; place-items:center; width:50px; height:50px; background:#E8DFD4; color:var(--m3p-color-brand); border-radius:17px; }
.m3p-goals-empty h3 { font-size:16px; letter-spacing:-.025em; }
.m3p-goals-empty p { color:var(--m3p-color-muted); font-size:13px; line-height:1.6; }
.m3p-goals-list { display:grid; gap:11px; }
.m3p-goals-item { padding:17px; display:grid; gap:11px; min-width:0; }
.m3p-goals-item.is-complete { border-color:#CFC4B8; }
.m3p-goals-item__overline { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.m3p-goals-item__overline > span:first-child { display:inline-flex; align-items:center; gap:5px; color:var(--m3p-color-muted); font-size:10px; font-weight:750; min-width:0; }
.m3p-goals-item__overline .m3p-icon { width:14px; height:14px; flex:0 0 14px; }
.m3p-goals-item h3 { font-size:19px; line-height:1.3; font-weight:800; letter-spacing:-.02em; overflow-wrap:anywhere; }
.m3p-goals-item > p { font-size:12px; color:var(--m3p-color-muted); line-height:1.55; overflow-wrap:anywhere; }
.m3p-goals-desired { background:#F0ECE7; border:1px solid #E8DFD4; border-radius:12px; padding:11px 13px; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.m3p-goals-desired strong { display:block; margin-bottom:2px; color:#423B35; }
.m3p-goals-item__meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:9px; font-size:11px; color:var(--m3p-color-muted); border-top:1px solid #F0ECE7; padding-top:11px; }
.m3p-goals-item__meta span { display:inline-flex; align-items:center; gap:5px; }
.m3p-goals-item__meta .m3p-icon { width:15px; height:15px; flex:0 0 15px; }
.m3p-goals-item__buttons { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.m3p-goals-delete-form { display:flex; flex-wrap:wrap; gap:9px; align-items:center; justify-content:flex-end; }
.m3p-goals-delete-form .m3p-check { max-width:110px; font-size:10px; line-height:1.2; }
.m3p-goals-link-hint { font-size:11px; color:var(--m3p-color-muted); line-height:1.4; max-width:195px; }
.m3p-status-pill { padding:5px 9px; border-radius:100px; font-size:10px; line-height:1.2; font-weight:800; white-space:nowrap; }
.m3p-status-pill--alta { background:#FFF0E8; color:#9A4B22; }
.m3p-status-pill--media { background:#FFF7D8; color:#785C08; }
.m3p-status-pill--baja { background:#F0ECE7; color:#423B35; }
.m3p-goals-editor { padding:0; overflow:hidden; scroll-margin-top:92px; }
.m3p-goals-editor > summary, .m3p-goals-reset > summary { cursor:pointer; display:flex; align-items:center; gap:11px; padding:17px; list-style:none; }
.m3p-goals-editor > summary::-webkit-details-marker,.m3p-goals-reset > summary::-webkit-details-marker { display:none; }
.m3p-goals-editor > summary > span:nth-child(2) { min-width:0; flex:1; }
.m3p-goals-editor > summary strong { font-size:15px; display:block; color:var(--m3p-color-ink); }
.m3p-goals-editor > summary small { display:block; font-size:11px; margin-top:3px; color:var(--m3p-color-muted); line-height:1.35; }
.m3p-goals-editor__icon { display:grid; place-items:center; width:39px; height:39px; flex:0 0 39px; border-radius:13px; color:var(--m3p-color-brand); background:#E8DFD4; }
.m3p-goals-editor > summary > .m3p-icon:last-child,.m3p-goals-reset > summary > .m3p-icon:last-child { margin-left:auto; transition:transform .15s ease; }
.m3p-goals-editor[open] > summary > .m3p-icon:last-child,.m3p-goals-reset[open] > summary > .m3p-icon:last-child { transform:rotate(90deg); }
.m3p-goals-form { border-top:1px solid #E8DFD4; padding:18px 17px 20px; display:grid; gap:16px; }
.m3p-goals-form .m3p-field { min-width:0; }
.m3p-goals-form .m3p-field__input { width:100%; box-sizing:border-box; }
.m3p-goals-form .m3p-question--text > label { font-weight:750; font-size:13px; margin-bottom:8px; }
.m3p-goals-form .m3p-field > label { font-size:13px; }
.m3p-goals-form .m3p-field__textarea { min-height:90px; }
.m3p-goals-form > .m3p-check { font-size:12px; }
.m3p-goals-form > .m3p-btn { margin-top:3px; }
.m3p-goals-footnote { margin-top:0; }
.m3p-goals-reset { padding:0; }
.m3p-goals-reset > summary span { display:flex; align-items:center; gap:9px; font-weight:750; font-size:13px; }
.m3p-goals-reset > p, .m3p-goals-reset > form { margin:0 17px 17px; }
.m3p-goals-reset > p { color:var(--m3p-color-muted); font-size:12px; line-height:1.6; }
.m3p-goals-reset > form { display:grid; gap:12px; }
.m3p-home-goals { margin-top:17px; padding:19px; }
.m3p-home-goals .m3p-card-heading { margin-bottom:12px; }
.m3p-home-goals p { font-size:13px; line-height:1.55; color:var(--m3p-color-muted); margin-bottom:13px; }
@media (min-width:700px){.m3p-goals-hero{padding:28px}.m3p-goals-stats{gap:12px}.m3p-goals-item{padding:22px}.m3p-goals-form{padding:25px}.m3p-goals-actions .m3p-btn{font-size:14px}}
@media (max-width:360px){.m3p-goals-item__buttons{align-items:flex-start}.m3p-goals-delete-form{width:100%;justify-content:space-between}.m3p-goals-heading h2{font-size:17px}}

/* v0.6.0 — Plan de acciones: componentes visuales; botones SIEMPRE desde M3P_UI. */
.m3p-goals-hero__progress { margin-top:18px; border-top:1px solid #CFC4B8; padding-top:17px; display:grid; gap:9px; }
.m3p-goals-hero__progress > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.m3p-goals-hero__progress span { font-size:12px; font-weight:700; color:var(--m3p-color-text); }
.m3p-goals-hero__progress strong { color:var(--m3p-color-brand-hover); font-size:20px; font-variant-numeric:tabular-nums; }
.m3p-goals-hero__progress small { font-size:11px; color:var(--m3p-color-muted); }
.m3p-home-steps { display:grid; gap:8px; margin:10px 0 17px; }
.m3p-home-steps strong { font-size:13px; color:var(--m3p-color-ink); }
.m3p-home-steps small { color:var(--m3p-color-muted); font-size:11px; }
.m3p-plan-progress { background:#F8F5F1; border:1px solid #E8DFD4; border-radius:15px; padding:13px 14px; display:grid; gap:9px; min-width:0; }
.m3p-plan-progress__row { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.m3p-plan-progress__row span { display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:800; color:var(--m3p-color-ink); }
.m3p-plan-progress__row .m3p-icon { width:17px; height:17px; color:var(--m3p-color-brand); }
.m3p-plan-progress__row strong { color:var(--m3p-color-brand-hover); font-size:17px; font-variant-numeric:tabular-nums; }
.m3p-plan-progress p { font-size:11px; line-height:1.45; color:var(--m3p-color-muted); margin:0; }
.m3p-plan { border-radius:15px; overflow:hidden; border:1px solid #DED7CF; background:#fff; min-width:0; }
.m3p-plan__trigger { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 14px; min-height:49px; font-size:13px; font-weight:800; color:var(--m3p-color-brand-hover); background:#F8F5F1; }
.m3p-plan__trigger::-webkit-details-marker { display:none; }
.m3p-plan__trigger > span { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.m3p-plan__trigger > .m3p-icon { flex:0 0 18px; width:18px; height:18px; transition:transform .17s ease; }
.m3p-plan[open] > .m3p-plan__trigger > .m3p-icon { transform:rotate(90deg); }
.m3p-plan__trigger:focus-visible, .m3p-plan-item__delete > summary:focus-visible { outline:3px solid var(--m3p-color-focus); outline-offset:-3px; }
.m3p-plan__content { padding:14px; border-top:1px solid #E8DFD4; display:grid; gap:15px; }
.m3p-plan-list { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.m3p-plan-item { background:#fff; border:1px solid #E8DFD4; border-radius:13px; padding:13px; display:grid; gap:11px; min-width:0; }
.m3p-plan-item.is-done { background:#F8F5F1; border-color:#DED7CF; }
.m3p-plan-item__top { display:flex; align-items:flex-start; gap:10px; min-width:0; }
.m3p-plan-item__mark { display:grid; place-items:center; width:26px; height:26px; flex:0 0 26px; border-radius:9px; background:#E8DFD4; color:#4F4740; }
.m3p-plan-item.is-done .m3p-plan-item__mark { color:#fff; background:var(--m3p-color-brand); }
.m3p-plan-item__mark .m3p-icon { width:17px; height:17px; }
.m3p-plan-item__body { display:grid; gap:5px; min-width:0; flex:1; }
.m3p-plan-item__body strong { font-size:13px; font-weight:800; color:var(--m3p-color-ink); line-height:1.45; overflow-wrap:anywhere; }
.m3p-plan-item.is-done .m3p-plan-item__body strong { color:#423B35; }
.m3p-plan-item__status { width:max-content; max-width:100%; font-size:10px; font-weight:750; color:#4F4740; border-radius:20px; background:#E8DFD4; padding:3px 8px; }
.m3p-plan-item__body p { margin:3px 0; font-size:11px; line-height:1.55; color:var(--m3p-color-muted); overflow-wrap:anywhere; }
.m3p-plan-item__meta { display:flex; flex-wrap:wrap; gap:11px; font-size:10px; color:var(--m3p-color-muted); }
.m3p-plan-item__meta > span { display:inline-flex; align-items:center; gap:4px; }
.m3p-plan-item__meta .m3p-icon { width:13px; height:13px; }
.m3p-plan-item__buttons { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.m3p-plan-item__buttons form { margin:0; }
.m3p-plan-item__buttons .m3p-btn { font-size:12px; }
.m3p-plan-item__delete { border-top:1px solid #E8DFD4; padding-top:8px; }
.m3p-plan-item__delete > summary { cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:6px; color:#9B4050; font-size:11px; font-weight:750; min-height:32px; }
.m3p-plan-item__delete > summary::-webkit-details-marker { display:none; }
.m3p-plan-item__delete > summary .m3p-icon { width:14px; height:14px; }
.m3p-plan-item__delete-form { padding:10px 0 2px; display:grid; gap:13px; }
.m3p-plan-item__delete-form > .m3p-btn { justify-self:start; }
.m3p-plan-empty { display:flex; align-items:flex-start; gap:9px; background:#F0ECE7; padding:13px; border-radius:13px; }
.m3p-plan-empty > .m3p-icon { flex:0 0 20px; color:var(--m3p-color-brand); }
.m3p-plan-empty p { font-size:12px; color:var(--m3p-color-text); line-height:1.6; margin:0; }
.m3p-plan-editor { border-top:1px solid #E8DFD4; padding-top:17px; display:grid; gap:12px; }
.m3p-plan-editor h4 { margin:0; font-size:15px; letter-spacing:-.015em; color:var(--m3p-color-ink); }
.m3p-plan-editor .m3p-goals-form { padding:0; border:0; gap:14px; }
.m3p-plan-limit { margin:0; color:var(--m3p-color-muted); font-size:12px; line-height:1.6; }
@media (max-width:360px){
  .m3p-plan__content { padding:10px; }
  .m3p-plan-item { padding:10px; }
  .m3p-plan-item__buttons .m3p-btn { padding-inline:10px; }
  .m3p-plan-progress { padding:11px; }
}

/* v0.7.0 · Mi día. Solo reglas de composición; botones, campos e iconos usan el sistema común. */
.m3p-day { display:grid; gap:15px; min-width:0; }
.m3p-day-page-title { margin-bottom:19px; }
.m3p-day-page-title h1 { overflow-wrap:anywhere; }
.m3p-day-hero {
  border-radius:var(--m3p-radius-xl); padding:24px 20px; color:#292723;
  background:linear-gradient(135deg,#E8DFD4 0%,#F8F5F1 61%,#F0ECE7 100%);
  border:1px solid #DED7CF; display:grid; gap:12px; overflow:hidden;
}
.m3p-day-hero__top { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.m3p-day-hero__top .m3p-eyebrow { display:inline-flex; align-items:center; gap:5px; }
.m3p-day-hero__top .m3p-icon { width:17px; height:17px; }
.m3p-day-date { display:inline-flex; background:rgba(255,255,255,.75); border:1px solid rgba(66,59,53,.12); border-radius:100px; padding:6px 11px; color:#423B35; font-size:12px; font-weight:750; }
.m3p-day-hero h2 { font-size:clamp(25px,5vw,35px); line-height:1.14; font-weight:850; letter-spacing:-.04em; }
.m3p-day-hero p { font-size:13px; line-height:1.65; color:#423B35; max-width:510px; }
.m3p-day-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:5px; }
.m3p-day-stats > div { background:#fff; border:1px solid #E8DFD4; border-radius:16px; padding:13px 12px; display:grid; gap:3px; min-width:0; }
.m3p-day-stats strong { font-size:27px; line-height:1.1; font-variant-numeric:tabular-nums; color:#423B35; }
.m3p-day-stats strong span { font-size:14px; color:#726A80; font-weight:750; }
.m3p-day-stats small { color:#4F4740; font-size:10px; font-weight:650; line-height:1.3; }
.m3p-day-hero .m3p-meter { width:100%; }
.m3p-day-card { padding:18px; display:grid; gap:13px; min-width:0; }
.m3p-day-card h2 { margin:0; font-size:16px; }
.m3p-day-muted { font-size:12px; color:var(--m3p-color-muted); line-height:1.6; overflow-wrap:anywhere; }
.m3p-day-priority-name { font-size:17px; color:var(--m3p-color-ink); font-weight:850; line-height:1.4; overflow-wrap:anywhere; }
.m3p-day-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.m3p-day-heading .m3p-tag { white-space:nowrap; }
.m3p-day-empty { border-radius:16px; border:1px dashed #CFC4B8; padding:21px 15px; display:grid; gap:10px; justify-items:start; background:#F8F5F1; }
.m3p-day-empty__icon { display:grid; place-items:center; width:48px; height:48px; border-radius:15px; background:#E8DFD4; color:var(--m3p-color-brand); }
.m3p-day-empty > strong { font-size:15px; }
.m3p-day-empty > p { color:var(--m3p-color-muted); font-size:12px; line-height:1.55; }
.m3p-day-list { display:grid; gap:10px; }
.m3p-day-task { display:grid; gap:12px; min-width:0; border:1px solid #DED7CF; border-radius:15px; padding:13px; background:#fff; }
.m3p-day-task.is-priority { background:#F8F5F1; border-color:#A99D92; }
.m3p-day-task.is-done { background:#F8F5F1; border-color:#DED7CF; }
.m3p-day-task__head { display:flex; align-items:flex-start; gap:10px; min-width:0; }
.m3p-day-task__head > div { display:grid; gap:4px; min-width:0; }
.m3p-day-task__head strong { font-size:13px; line-height:1.4; font-weight:800; overflow-wrap:anywhere; }
.m3p-day-task.is-done .m3p-day-task__head strong { color:#4F4740; }
.m3p-day-task__head small { font-size:11px; line-height:1.35; color:var(--m3p-color-muted); overflow-wrap:anywhere; }
.m3p-day-task__status { width:26px; height:26px; flex:0 0 26px; border-radius:9px; color:#423B35; background:#E8DFD4; display:grid; place-items:center; }
.m3p-day-task__status .m3p-icon { width:17px; height:17px; }
.m3p-day-task__actions { display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
.m3p-day-task__actions form,.m3p-day-inline { margin:0; }
.m3p-day-focus > form { display:grid; gap:14px; }
.m3p-day-timer { border-radius:18px; padding:18px; border:1px solid #DED7CF; background:linear-gradient(135deg,#F0ECE7,#F8F5F1); display:grid; gap:3px; justify-items:center; }
.m3p-day-timer > span { font-size:clamp(42px,10vw,60px); font-variant-numeric:tabular-nums; letter-spacing:-.05em; font-weight:850; line-height:1.15; color:#423B35; }
.m3p-day-timer > small { color:var(--m3p-color-muted); text-align:center; font-size:12px; }
.m3p-day-timer__actions { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; }
.m3p-day-timer__actions > span { display:inline-flex; }
.m3p-day-finish { background:#E8DFD4; border:1px solid #CFC4B8; border-radius:15px; padding:13px; display:grid; gap:10px; }
.m3p-day-finish p { font-size:12px; line-height:1.55; color:#423B35; }
.m3p-day-footnote { display:flex; align-items:flex-start; gap:8px; color:var(--m3p-color-muted); font-size:11px; line-height:1.5; }
.m3p-day-footnote .m3p-icon { width:17px; height:17px; flex:0 0 17px; }
.m3p-day-sublist { border-top:1px solid #E8DFD4; padding-top:14px; display:grid; gap:10px; }
.m3p-day-sublist h3 { color:#423B35; font-size:13px; font-weight:800; }
.m3p-day-mini { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; padding-bottom:10px; border-bottom:1px solid #F0ECE7; }
.m3p-day-mini > div { display:grid; gap:4px; flex:1; min-width:0; }
.m3p-day-mini strong { font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.m3p-day-mini small { font-size:10px; color:var(--m3p-color-muted); overflow-wrap:anywhere; }
.m3p-day-mini form { margin:0; flex-shrink:0; }
.m3p-day-actions-link { padding:2px 0 8px; }
.m3p-day-map-callout { margin-top:20px; }
/* [hidden] siempre gana frente a display flex/grid en módulos, botones y paneles. */
.m3p-root [hidden] { display:none !important; }
@media(min-width:700px) {
  .m3p-day { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .m3p-day-hero,.m3p-day-card:nth-child(3),.m3p-day-actions-link { grid-column:1/-1; }
  .m3p-day-hero { padding:28px; }
  .m3p-day-card { padding:23px; }
}
@media(max-width:370px) {
  .m3p-day-card { padding:14px; }
  .m3p-day-task { padding:10px; }
  .m3p-day-task__actions .m3p-btn { padding-inline:10px; }
  .m3p-day-mini { align-items:flex-start; }
  .m3p-day-mini .m3p-btn { padding-inline:9px; }
}
.m3p-day-privacy { padding-top:12px; border-top:1px solid #E8DFD4; }
.m3p-day-privacy summary { list-style:none; display:flex; align-items:center; gap:8px; cursor:pointer; min-height:38px; font-weight:750; color:#423B35; font-size:12px; }
.m3p-day-privacy summary::-webkit-details-marker { display:none; }
.m3p-day-privacy summary .m3p-icon { width:17px; height:17px; }
.m3p-day-privacy form { display:grid; gap:12px; padding-top:12px; }

/* ========================================================
   Mi Mentor v0.8.0 — Motor guiado, diseño MOBILE-FIRST
   Componentes interactivos: M3P_UI. No redefinir .m3p-btn.
   ======================================================== */
.m3p-mentor { display: grid; gap: 16px; min-width: 0; }
.m3p-mentor-welcome { position: relative; overflow: hidden; background: linear-gradient(138deg,#E8DFD4 0%,#F0ECE7 63%,#FFFFFF 100%); border: 1px solid #DED7CF; border-radius: var(--m3p-radius-xl); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.m3p-mentor-welcome::after { content: ''; position: absolute; width: 145px; height: 145px; border: 1px solid rgba(66,59,53,.15); border-radius: 50%; right: -66px; top: -64px; pointer-events: none; }
.m3p-mentor-welcome__badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: #fff; border: 1px solid #DED7CF; padding: 7px 11px; border-radius: 100px; color: var(--m3p-color-brand); font-size: 11px; font-weight: 800; }
.m3p-mentor-welcome__badge .m3p-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.m3p-mentor-welcome h2 { max-width: 500px; font-size: clamp(23px,6.2vw,32px); line-height: 1.18; letter-spacing: -.04em; font-weight: 800; color: var(--m3p-color-ink); }
.m3p-mentor-welcome p { max-width: 510px; color: var(--m3p-color-text); font-size: 14px; line-height: 1.65; }
.m3p-mentor-welcome__foot { display: flex; align-items: flex-start; gap: 8px; color: #423B35; font-size: 11px; line-height: 1.6; max-width: 510px; }
.m3p-mentor-welcome__foot .m3p-icon { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; }
.m3p-mentor .m3p-card { padding: 18px; min-width: 0; }
.m3p-mentor-section-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; min-width: 0; }
.m3p-mentor-section-head > div { flex: 1; min-width: 0; }
.m3p-mentor-section-head .m3p-eyebrow { display: block; margin-bottom: 4px; }
.m3p-mentor-section-head h2 { font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.m3p-mentor-symbol { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 15px; background: #E8DFD4; color: var(--m3p-color-brand); }
.m3p-mentor-symbol .m3p-icon { width: 21px; height: 21px; }
.m3p-mentor-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.m3p-mentor-meta > span { display: inline-flex; justify-content: center; align-items: center; gap: 5px; border-radius: 100px; background: #F0ECE7; padding: 6px 10px; font-size: 11px; color: #423B35; font-weight: 650; }
.m3p-mentor-meta .m3p-icon { width: 14px; height: 14px; }
.m3p-mentor-speech { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; }
.m3p-mentor-speech__avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; background: #423B35; color: #fff; border-radius: 13px; }
.m3p-mentor-speech__avatar .m3p-icon { width: 17px; height: 17px; }
.m3p-mentor-speech p { flex: 1; background: #F0ECE7; border: 1px solid #DED7CF; color: var(--m3p-color-ink); border-radius: 5px 18px 18px 18px; padding: 14px; line-height: 1.65; font-size: 13px; }
.m3p-mentor-note { background: #F0ECE7; border-left: 3px solid #CFC4B8; border-radius: 8px; padding: 10px 13px; margin: 10px 0; line-height: 1.6; font-size: 12px; color: #423B35; overflow-wrap: anywhere; }
.m3p-mentor-subtitle { font-size: 15px; letter-spacing: -.02em; margin: 0 0 11px !important; }
.m3p-mentor-steps { display: grid; gap: 9px; padding: 0; list-style: none; margin: 0 0 18px !important; }
.m3p-mentor-steps li { display: flex; align-items: flex-start; gap: 11px; padding: 13px 11px; background: #F8F5F1; border: 1px solid var(--m3p-color-border); border-radius: 14px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.m3p-mentor-steps__number { flex: 0 0 28px; height: 28px; border-radius: 10px; background: #E8DFD4; color: #423B35; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.m3p-mentor-checkin { border-top: 1px solid var(--m3p-color-border); padding-top: 15px; }
.m3p-mentor-checkin .m3p-card-heading { margin-bottom: 8px; }
.m3p-mentor-checkin h3 { font-size: 15px; }
.m3p-mentor-checkin > p { font-size: 12px; line-height: 1.6; color: var(--m3p-color-muted); margin-bottom: 13px; }
.m3p-mentor-checkin .m3p-form { display: grid; gap: 12px; }
.m3p-mentor-feedback { display: flex; align-items: flex-start; gap: 10px; background: #F0ECE7; padding: 14px; border-radius: var(--m3p-radius-md); border: 1px solid #DED7CF; }
.m3p-mentor-feedback .m3p-mentor-symbol { flex-basis: 32px; width: 32px; height: 32px; border-radius: 11px; background: #DED7CF; }
.m3p-mentor-feedback .m3p-icon { width: 17px; height: 17px; }
.m3p-mentor-feedback h3 { font-size: 14px; margin-bottom: 5px; }
.m3p-mentor-feedback p { color: #423B35; font-size: 12px; line-height: 1.6; }
.m3p-mentor-actions { margin-top: 12px; }
.m3p-mentor-new { padding: 0 !important; overflow: hidden; }
.m3p-mentor-new__summary { display: flex; align-items: center; gap: 12px; padding: 17px; cursor: pointer; font-size: 15px; font-weight: 800; list-style: none; color: var(--m3p-color-ink); }
.m3p-mentor-new__summary::-webkit-details-marker { display: none; }
.m3p-mentor-new__summary > span:nth-child(2) { flex: 1; }
.m3p-mentor-new__summary > .m3p-icon { flex: 0 0 18px; width: 18px; height: 18px; transition: transform .2s ease; }
.m3p-mentor-new[open] > .m3p-mentor-new__summary > .m3p-icon { transform: rotate(90deg); }
.m3p-mentor-new__content { padding: 0 17px 19px; }
.m3p-mentor-muted { font-size: 12px; line-height: 1.65; color: var(--m3p-color-muted); margin-bottom: 13px; }
.m3p-mentor-form { display: grid; gap: 14px; }
.m3p-mentor-form__step { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.m3p-mentor-form__step h3 { font-size: 16px; line-height: 1.35; }
.m3p-mentor-form__counter { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 12px; background: var(--m3p-color-surface-soft); color: var(--m3p-color-brand); font-weight: 800; font-size: 12px; }
.m3p-mentor-form .m3p-question { margin: 0; }
.m3p-mentor-form .m3p-choice-list { display: grid; gap: 8px; }
.m3p-mentor-form .m3p-choice { min-height: 55px; }
.m3p-mentor-consent { margin-top: 5px; }
.m3p-mentor-form__footer { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--m3p-color-muted); line-height: 1.6; }
.m3p-mentor-form__footer .m3p-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.m3p-mentor-history > .m3p-card-heading { margin-bottom: 10px; }
.m3p-mentor-history__list { display: grid; gap: 8px; }
.m3p-mentor-history__item { border: 1px solid var(--m3p-color-border); border-radius: 14px; background: #F8F5F1; min-width: 0; }
.m3p-mentor-history__item > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px; cursor: pointer; min-width: 0; }
.m3p-mentor-history__item > summary::-webkit-details-marker { display: none; }
.m3p-mentor-history__icon { flex: 0 0 30px; width: 30px; height: 30px; background: #F0ECE7; color: var(--m3p-color-brand); display: grid; place-items: center; border-radius: 10px; }
.m3p-mentor-history__icon .m3p-icon { width: 17px; height: 17px; }
.m3p-mentor-history__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.m3p-mentor-history__text strong { font-size: 12px; overflow-wrap: anywhere; }
.m3p-mentor-history__text small { font-size: 10px; color: var(--m3p-color-muted); }
.m3p-mentor-history__item > summary > .m3p-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.m3p-mentor-history__item[open] > summary > .m3p-icon { transform: rotate(90deg); }
.m3p-mentor-history__body { border-top: 1px solid var(--m3p-color-border); padding: 13px; display: grid; gap: 8px; }
.m3p-mentor-history__body p { color: var(--m3p-color-text); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.m3p-mentor-history__delete { display: grid; gap: 10px; padding-top: 4px; }
.m3p-mentor-clear { border-top: 1px solid var(--m3p-color-border); margin-top: 17px; padding-top: 16px; }
.m3p-mentor-clear > summary { list-style: none; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 750; color: var(--m3p-color-ink); cursor: pointer; }
.m3p-mentor-clear > summary::-webkit-details-marker { display: none; }
.m3p-mentor-clear > summary .m3p-icon { width: 17px; height: 17px; }
.m3p-mentor-clear > p { margin: 12px 0; font-size: 12px; line-height: 1.6; color: var(--m3p-color-muted); }
.m3p-mentor-clear form { display: grid; gap: 12px; }
.m3p-mentor-safety { margin-top: 0; }
.m3p-mentor-safety p { font-size: 12px; line-height: 1.6; }
@media(min-width:680px) {
  .m3p-mentor-welcome { padding: 33px; }
  .m3p-mentor .m3p-card { padding: 23px; }
  .m3p-mentor .m3p-mentor-new { padding: 0; }
  .m3p-mentor-new__summary { padding: 22px; }
  .m3p-mentor-new__content { padding: 0 23px 23px; }
}

/* v0.9.0 · Recordatorios. Todas las acciones usan la biblioteca M3P_UI::button(). */
.m3p-portal .m3p-notify-card,
.m3p-portal .m3p-notify-settings { margin-top: 17px; padding: 20px; min-width: 0; }
.m3p-portal .m3p-notify-card .m3p-card-heading,
.m3p-portal .m3p-notify-settings .m3p-card-heading { margin-bottom: 12px; }
.m3p-portal .m3p-notify-caption { color: var(--m3p-color-muted); font-size: 12px; line-height: 1.65; margin: 0 0 14px; }
.m3p-portal .m3p-notify-empty { display: grid; justify-items: start; gap: 8px; border-radius: 16px; background: #F0ECE7; padding: 17px; }
.m3p-portal .m3p-notify-empty strong { font-size: 14px; color: var(--m3p-color-ink); }
.m3p-portal .m3p-notify-empty p { color: var(--m3p-color-muted); font-size: 12px; line-height: 1.6; }
.m3p-portal .m3p-notify-icon { width: 37px; height: 37px; display: grid; place-items: center; color: var(--m3p-color-brand); background: #E8DFD4; border-radius: 12px; }
.m3p-portal .m3p-notify-icon .m3p-icon { width: 20px; height: 20px; }
.m3p-portal .m3p-notify-summary { display: inline-flex; align-items: center; gap: 8px; color: var(--m3p-color-brand); background: #E8DFD4; border-radius: 100px; padding: 7px 11px; font-size: 12px; font-weight: 750; margin-bottom: 12px; }
.m3p-portal .m3p-notify-summary .m3p-icon { width: 16px; height: 16px; }
.m3p-portal .m3p-notify-list { display: grid; gap: 9px; }
.m3p-portal .m3p-notify-item { display: grid; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--m3p-color-border); border-radius: 16px; background: #fff; }
.m3p-portal .m3p-notify-item.is-unread { border-color: #A99D92; background: #F8F5F1; }
.m3p-portal .m3p-notify-item__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.m3p-portal .m3p-notify-item__head > div { display: grid; gap: 4px; flex: 1; min-width: 0; }
.m3p-portal .m3p-notify-item__head strong { font-size: 13px; line-height: 1.4; color: var(--m3p-color-ink); }
.m3p-portal .m3p-notify-item__head small { font-size: 11px; color: var(--m3p-color-muted); }
.m3p-portal .m3p-notify-item__icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: #E8DFD4; color: var(--m3p-color-brand); display: grid; place-items: center; }
.m3p-portal .m3p-notify-item__icon .m3p-icon { width: 19px; height: 19px; }
.m3p-portal .m3p-notify-new { font-size: 10px; border-radius: 100px; background: #DED7CF; color: #423B35; padding: 5px 9px; font-weight: 800; }
.m3p-portal .m3p-notify-item p { font-size: 12px; color: var(--m3p-color-text); line-height: 1.65; overflow-wrap: anywhere; }
.m3p-portal .m3p-notify-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.m3p-portal .m3p-notify-item__actions form { margin: 0; }
.m3p-portal .m3p-notify-form { display: grid; gap: 13px; margin-top: 14px; }
.m3p-portal .m3p-notify-channel { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: #F8F5F1; border: 1px solid var(--m3p-color-border); }
.m3p-portal .m3p-notify-channel .m3p-field { margin: 0; }
.m3p-portal .m3p-notify-channel .m3p-field__input { min-height: 48px; }
.m3p-portal .m3p-notify-channel--email { background: #F0ECE7; }
.m3p-portal .m3p-notify-weekdays { padding: 0; margin: 0; border: 0; min-width: 0; }
.m3p-portal .m3p-notify-weekdays legend { color: var(--m3p-color-ink); font-size: 13px; font-weight: 750; margin-bottom: 11px; }
.m3p-portal .m3p-notify-days { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.m3p-portal .m3p-notify-days .m3p-choice { padding: 11px 10px; min-height: 44px; }
.m3p-portal .m3p-notify-days .m3p-choice__text { font-size: 12px; }
.m3p-portal .m3p-notify-clear { border-top: 1px solid var(--m3p-color-border); margin-top: 18px; padding-top: 17px; }
.m3p-portal .m3p-notify-clear summary { display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--m3p-color-ink); font-size: 13px; font-weight: 750; }
.m3p-portal .m3p-notify-clear summary .m3p-icon { width: 17px; height: 17px; }
.m3p-portal .m3p-notify-clear p { font-size: 12px; line-height: 1.6; margin: 11px 0; color: var(--m3p-color-muted); }
.m3p-portal .m3p-notify-clear form { display: grid; gap: 12px; }
@media (min-width: 540px) { .m3p-portal .m3p-notify-days { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 360px) {
  .m3p-portal .m3p-notify-card, .m3p-portal .m3p-notify-settings { padding: 15px; }
  .m3p-portal .m3p-notify-item__actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .m3p-portal .m3p-notify-item__actions form, .m3p-portal .m3p-notify-item__actions .m3p-btn { width: 100%; }
}

/* v0.10.0 — Método 3P. La biblioteca de botones, iconos y campos sigue centralizada. */
.m3p-portal .m3p-method-invite { border-color:#CFC4B8; background:linear-gradient(130deg,#F0ECE7 0%,#fff 80%); }
.m3p-portal .m3p-method { margin-top:26px; margin-bottom:32px; scroll-margin-top:90px; }
.m3p-portal .m3p-method-hero {
  padding:26px 21px 23px; border:1px solid #DED7CF; border-radius:var(--m3p-radius-xl);
  background:radial-gradient(circle at 102% -7%,#DED7CF 0,#E8DFD4 31%,transparent 55%), linear-gradient(130deg,#F0ECE7 0%,#fff 100%);
  box-shadow:var(--m3p-shadow-card); color:var(--m3p-color-ink); overflow:hidden;
}
.m3p-portal .m3p-method-hero__top { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.m3p-portal .m3p-method-symbol, .m3p-portal .m3p-method-summary__icon { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; flex:0 0 48px; border-radius:15px; background:#DED7CF; color:var(--m3p-color-brand); }
.m3p-portal .m3p-method-symbol .m3p-icon { width:26px; height:26px; }
.m3p-portal .m3p-method-hero h2 { margin:18px 0 11px; font-size:clamp(25px,6.5vw,35px); line-height:1.14; letter-spacing:-.035em; }
.m3p-portal .m3p-method-hero h2 span { color:var(--m3p-color-brand); }
.m3p-portal .m3p-method-hero>p { font-size:14px; line-height:1.7; color:var(--m3p-color-muted); max-width:590px; }
.m3p-portal .m3p-method-hero__progress { margin-top:22px; }
.m3p-portal .m3p-method-hero__progress>div { display:flex; gap:8px; align-items:center; justify-content:space-between; margin-bottom:8px; font-size:12px; }
.m3p-portal .m3p-method-hero__progress strong { font-size:16px; color:var(--m3p-color-brand); }
.m3p-portal .m3p-method-hero__progress .m3p-meter { display:block; width:100%; }
.m3p-portal .m3p-method-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:16px 0; }
.m3p-portal .m3p-method-stage { min-width:0; min-height:105px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:5px; padding:13px 4px; background:#fff; border:1px solid var(--m3p-color-border); border-radius:var(--m3p-radius-lg); color:var(--m3p-color-ink); text-decoration:none; box-shadow:var(--m3p-shadow-card); }
.m3p-portal .m3p-method-stage:hover, .m3p-portal .m3p-method-stage:focus-visible, .m3p-portal .m3p-method-stage.is-active { border-color:var(--m3p-color-brand); background:#F0ECE7; color:var(--m3p-color-ink); }
.m3p-portal .m3p-method-stage:focus-visible { outline:3px solid var(--m3p-color-focus); outline-offset:2px; }
.m3p-portal .m3p-method-stage__icon { display:flex; align-items:center; justify-content:center; width:32px; height:32px; color:var(--m3p-color-brand); }
.m3p-portal .m3p-method-stage__icon .m3p-icon { width:23px; height:23px; }
.m3p-portal .m3p-method-stage__name { font-size:12px; font-weight:800; letter-spacing:-.01em; overflow-wrap:anywhere; }
.m3p-portal .m3p-method-stage small { color:var(--m3p-color-muted); font-size:10px; }
.m3p-portal .m3p-method-workspace, .m3p-portal .m3p-method-summary, .m3p-portal .m3p-method-convert, .m3p-portal .m3p-method-delete { margin-top:15px; padding:22px 20px; }
.m3p-portal .m3p-method-workspace__head h3 { font-size:24px; margin:7px 0; letter-spacing:-.03em; color:var(--m3p-color-ink); }
.m3p-portal .m3p-method-workspace__head>p { color:var(--m3p-color-muted); font-size:13px; line-height:1.65; }
.m3p-portal .m3p-method-practice { display:flex; align-items:flex-start; gap:12px; margin:19px 0; padding:15px; background:#F0ECE7; border-radius:var(--m3p-radius-md); border:1px solid #DED7CF; }
.m3p-portal .m3p-method-practice__icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:11px; background:#DED7CF; color:var(--m3p-color-brand); }
.m3p-portal .m3p-method-practice strong { display:block; font-size:13px; }
.m3p-portal .m3p-method-practice p { font-size:12px; line-height:1.65; color:var(--m3p-color-muted); margin-top:4px; }
.m3p-portal .m3p-method-form { display:grid; gap:15px; }
.m3p-portal .m3p-method-form .m3p-question { margin:0; }
.m3p-portal .m3p-method-form .m3p-field__textarea { min-height:90px; }
.m3p-portal .m3p-method-next { margin-top:18px; padding-top:17px; border-top:1px solid var(--m3p-color-border); display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.m3p-portal .m3p-method-next>span { color:var(--m3p-color-muted); font-size:12px; }
.m3p-portal .m3p-method-summary__heading { display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.m3p-portal .m3p-method-summary__icon { width:43px; height:43px; flex-basis:43px; background:#E8DFD4; }
.m3p-portal .m3p-method-summary__heading h3 { font-size:19px; margin-top:3px; }
.m3p-portal .m3p-method-summary__group { border-top:1px solid var(--m3p-color-border); padding:14px 0 5px; }
.m3p-portal .m3p-method-summary__group h4 { display:flex; align-items:center; gap:8px; font-size:14px; margin:0 0 9px; }
.m3p-portal .m3p-method-summary__group h4 .m3p-icon { color:var(--m3p-color-brand); width:18px; height:18px; }
.m3p-portal .m3p-method-summary__answer { margin:0 0 12px; }
.m3p-portal .m3p-method-summary__answer span { font-size:11px; color:var(--m3p-color-muted); font-weight:700; }
.m3p-portal .m3p-method-summary__answer p { font-size:13px; line-height:1.65; margin:3px 0 0; overflow-wrap:anywhere; }
.m3p-portal .m3p-method-convert>p, .m3p-portal .m3p-method-delete>p { color:var(--m3p-color-muted); font-size:13px; line-height:1.65; margin:0 0 16px; }
.m3p-portal .m3p-method-convert__preview { background:#F0ECE7; border-radius:var(--m3p-radius-md); border:1px solid #DED7CF; padding:16px; margin:13px 0; }
.m3p-portal .m3p-method-convert__preview strong { display:block; color:var(--m3p-color-muted); font-size:11px; }
.m3p-portal .m3p-method-convert__preview p { font-size:13px; line-height:1.55; margin:4px 0 14px; overflow-wrap:anywhere; }
.m3p-portal .m3p-method-convert__preview p:last-child { margin-bottom:0; }
.m3p-portal .m3p-method-convert form { display:grid; gap:12px; }
.m3p-portal .m3p-method-delete summary { display:flex; align-items:center; gap:8px; font-size:13px; cursor:pointer; font-weight:700; list-style:none; }
.m3p-portal .m3p-method-delete summary .m3p-icon:last-child { margin-left:auto; }
.m3p-portal .m3p-method-delete[open] summary { margin-bottom:17px; }
.m3p-portal .m3p-method-delete form { display:grid; gap:13px; }
.m3p-portal .m3p-method-note { margin-top:16px; }
@media(max-width:360px){
  .m3p-portal .m3p-method-hero { padding:21px 16px; }
  .m3p-portal .m3p-method-workspace, .m3p-portal .m3p-method-summary, .m3p-portal .m3p-method-convert, .m3p-portal .m3p-method-delete { padding:19px 16px; }
  .m3p-portal .m3p-method-stage__name { font-size:11px; }
  .m3p-portal .m3p-method-stage { min-height:100px; }
}

/* v0.11.0 · Disposición PWA. Colores y tamaños de todos los botones siguen en design-system.css. */
.m3p-topbar__controls { display:flex; align-items:center; justify-content:flex-end; flex:0 0 auto; gap:8px; min-width:0; }
.m3p-topbar__controls .m3p-btn { flex:0 0 auto; }
.m3p-pwa-is-installed .m3p-pwa-install-entry { display:none !important; }
.m3p-root .m3p-pwa-dialog { position:fixed; inset:0; width:min(92vw,440px); max-height:min(85dvh,720px); margin:auto; padding:0; border:1px solid var(--m3p-color-border); border-radius:var(--m3p-radius-xl); background:var(--m3p-color-surface); color:var(--m3p-color-ink); box-shadow:0 22px 80px rgba(41,39,35,.22); overflow-y:auto; }
.m3p-root .m3p-pwa-dialog:not([open]) { display:none; }
.m3p-root .m3p-pwa-dialog::backdrop { background:rgba(41,39,35,.48); backdrop-filter:blur(3px); }
.m3p-pwa-dialog__content { padding:27px 22px 24px; display:grid; gap:14px; }
.m3p-pwa-dialog__icon { height:56px; width:56px; display:grid; place-items:center; border-radius:17px; background:var(--m3p-color-surface-soft); color:var(--m3p-color-brand); }
.m3p-pwa-dialog__icon .m3p-icon { width:29px; height:29px; }
.m3p-root .m3p-pwa-dialog h2 { font-size:clamp(21px,5.5vw,26px); line-height:1.22; letter-spacing:-.035em; }
.m3p-root .m3p-pwa-dialog p { font-size:14px; line-height:1.6; color:var(--m3p-color-text); }
.m3p-pwa-dialog__instructions { border:1px solid var(--m3p-color-border); border-radius:var(--m3p-radius-md); background:var(--m3p-color-surface-soft); padding:15px; font-size:14px; line-height:1.6; color:var(--m3p-color-ink); }
.m3p-pwa-dialog__privacy { display:flex; align-items:flex-start; gap:10px; }
.m3p-pwa-dialog__privacy .m3p-icon { flex:0 0 20px; margin-top:1px; color:var(--m3p-color-brand); }
.m3p-pwa-dialog__actions { display:grid; gap:9px; }
.m3p-root .m3p-pwa-dialog__actions .m3p-btn[hidden] { display:none !important; }
.m3p-pwa-network-hint { display:flex; align-items:center; gap:8px; background:#FFF5DD; color:#6C4D20; padding:11px max(15px,calc((100vw - var(--m3p-container)) / 2)); font-size:12px; line-height:1.5; }
.m3p-pwa-network-hint[hidden] { display:none; }
.m3p-pwa-network-hint .m3p-icon { flex:0 0 20px; }
.m3p-root .m3p-pwa-profile-card { display:grid; gap:12px; }
@media(max-width:520px) {
  .m3p-topbar__controls .m3p-demo-pill { display:none; }
  .m3p-topbar__controls .m3p-btn { padding-inline:10px; }
  .m3p-topbar__inner { gap:7px; }
}
@media(max-width:360px) {
  .m3p-topbar__controls .m3p-btn { font-size:12px; min-height:36px; padding-inline:9px; gap:6px; }
  .m3p-topbar__controls .m3p-btn .m3p-icon { width:16px; height:16px; }
  .m3p-pwa-dialog__content { padding:23px 16px 20px; }
}
@media(display-mode:standalone) {
  .m3p-topbar__inner { padding-top:calc(10px + env(safe-area-inset-top)); padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right)); }
}
