.mnm-auth {
  --mnm-primary: #534AB7;
  --mnm-dark: #26215C;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 380px;
  margin: 2rem auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
}
.mnm-auth-title { margin: 0 0 1.25rem; color: var(--mnm-dark); font-size: 1.4rem; }
.mnm-auth .mnm-field { margin-bottom: 1rem; }
.mnm-auth .mnm-field label { display: block; font-size: .85rem; color: #374151; margin-bottom: .3rem; }
.mnm-auth .mnm-field input { width: 100%; padding: .55rem .65rem; border: 1px solid #d1d5db; border-radius: 8px; box-sizing: border-box; font: inherit; }
.mnm-remember { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: #374151; margin-bottom: 1rem; }
.mnm-auth .mnm-submit { width: 100%; background: var(--mnm-primary); color: #fff; border: 0; border-radius: 8px; padding: .65rem; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; display: block; }
.mnm-auth-alt { text-align: center; font-size: .875rem; margin: 1rem 0 0; color: #6b7280; }
.mnm-auth-alt a { color: var(--mnm-primary); }
.mnm-auth-forgot { text-align: right; font-size: .82rem; margin: -.5rem 0 1rem; }
.mnm-auth-forgot a { color: var(--mnm-primary); }
.mnm-auth-intro { font-size: .9rem; color: #4b5563; margin: 0 0 1rem; }
.mnm-field--check { margin-top: .25rem; }
.mnm-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: #374151; cursor: pointer; text-align: left; }
/* Reset the checkbox out of the full-width text-field styling above (same
   specificity as `.mnm-auth .mnm-field input`, but later, so it wins). */
.mnm-auth .mnm-check input { width: auto; flex: 0 0 auto; margin: .15rem 0 0; padding: 0; border: 0; border-radius: 0; }
.mnm-auth-err { background: #FCEBEB; color: #A32D2D; border-radius: 8px; padding: .6rem .75rem; font-size: .85rem; margin-bottom: 1rem; }
.mnm-auth-ok { background: #E1F5EE; color: #0F6E56; border-radius: 8px; padding: .6rem .75rem; font-size: .85rem; margin-bottom: 1rem; }
.mnm-lic-status { color: #374151; font-size: .9rem; margin: .25rem 0 1rem; }
.mnm-auth :focus-visible { outline: 2px solid var(--mnm-primary); outline-offset: 2px; }
.mnm-account__logout { text-align: center; margin-top: 1rem; }
.mnm-account__logout a { color: #6b7280; font-size: .9rem; text-decoration: underline; }
.mnm-account__sub { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #eee; text-align: left; }
.mnm-account__sub h3 { margin: 0 0 .5rem; font-size: 1rem; color: #26215C; }
.mnm-account__sub p { margin: 0 0 .8rem; font-size: .9rem; color: #374151; }
.mnm-account__cancel { background: #fff; color: #b42318; border: 1px solid #e7b7b1; border-radius: 8px; padding: .55rem 1rem; font-weight: 600; cursor: pointer; }
.mnm-account__cancel:hover { background: #b42318; color: #fff; }
.mnm-account__danger-h { margin: 1.5rem 0 .5rem; font-size: .95rem; color: #b42318; }
.mnm-account__data form { margin: 0 0 1rem; }
.mnm-account__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Analytics dashboard (Pro) */
.mnm-analytics { max-width: 720px; }
.mnm-anl-head { display: flex; align-items: center; gap: .6rem; }
.mnm-anl-range { color: #6b7280; font-size: .9rem; margin: .1rem 0 1.1rem; }
.mnm-anl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 1.25rem; }
.mnm-anl-tile { background: #f6f5f1; border-radius: 10px; padding: .9rem 1rem; }
.mnm-anl-tile__lbl { font-size: .8rem; color: #6b7280; margin-bottom: .35rem; }
.mnm-anl-tile__n { font-size: 1.5rem; font-weight: 700; color: #26215C; line-height: 1.1; }
.mnm-anl-tile__of { font-size: .95rem; font-weight: 600; color: #6b7280; }
.mnm-anl-tile__d { font-size: .78rem; color: #6b7280; margin-top: .35rem; }
.mnm-anl-card { background: #fff; border: 1px solid #eceae3; border-radius: 12px; padding: 1rem 1.25rem; }
.mnm-anl-card__title { font-size: 1rem; color: #26215C; margin: 0; }
.mnm-anl-card__sub { font-size: .85rem; color: #6b7280; margin: .15rem 0 1rem; }
.mnm-anl-svg { width: 100%; height: auto; display: block; }
.mnm-anl-empty { color: #6b7280; font-size: .9rem; }
.mnm-anl-card + .mnm-anl-card { margin-top: 1rem; }
.mnm-anl-ranges { display: inline-flex; gap: .3rem; margin: 0 0 1.1rem; }
.mnm-anl-rangebtn { font-size: .82rem; color: #4b5563; text-decoration: none; border: 1px solid #e7e4f2; border-radius: 999px; padding: .3rem .75rem; }
.mnm-anl-rangebtn.is-on { background: #534AB7; color: #fff; border-color: #534AB7; }
.mnm-anl-bars { display: flex; align-items: flex-end; gap: 8px; margin-top: .5rem; }
.mnm-anl-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mnm-anl-bar__track { width: 100%; height: 110px; display: flex; align-items: flex-end; background: #f3f2f7; border-radius: 6px; overflow: hidden; }
.mnm-anl-bar__fill { width: 100%; background: #cecbf6; display: flex; align-items: flex-start; justify-content: center; min-height: 2px; }
.mnm-anl-bar.is-best .mnm-anl-bar__fill { background: #534AB7; }
.mnm-anl-bar__val { font-size: .72rem; color: #26215C; padding-top: 2px; }
.mnm-anl-bar.is-best .mnm-anl-bar__val { color: #fff; }
.mnm-anl-bar__lbl { font-size: .75rem; color: #6b7280; }
.mnm-anl-nr { list-style: none; margin: .25rem 0 .75rem; padding: 0; }
.mnm-anl-nr li { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; padding: .4rem 0; border-bottom: 1px solid #f1f1f6; font-size: .9rem; }
.mnm-anl-nr__name { font-weight: 600; color: #26215C; }
.mnm-anl-nr__email { color: #6b7280; font-size: .82rem; }
.mnm-anl-nr__poll { margin-left: auto; color: #6b7280; font-size: .82rem; }
.mnm-anl-export { margin: 0; }
.mnm-anl-fill { margin: .6rem 0; }
.mnm-anl-fill__head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; margin-bottom: .25rem; }
.mnm-anl-fill__lbl { font-weight: 600; color: #26215C; }
.mnm-anl-fill__pct { color: #6b7280; font-size: .8rem; }
.mnm-anl-fill__track { height: 10px; border-radius: 999px; background: #f3f2f7; overflow: hidden; }
.mnm-anl-fill__bar { display: block; height: 10px; border-radius: 999px; min-width: 2px; }
.mnm-anl-fill__bar.is-full { background: #1a7f43; }
.mnm-anl-fill__bar.is-mid { background: #d99a00; }
.mnm-anl-fill__bar.is-low { background: #c0392b; }
.mnm-sub-facts { margin: 0 0 1rem; display: grid; gap: .4rem; }
.mnm-sub-facts > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; border-bottom: 1px solid #f1f1f6; padding-bottom: .35rem; }
.mnm-sub-facts dt { color: #6b7280; margin: 0; }
.mnm-sub-facts dd { margin: 0; color: #26215C; font-weight: 600; text-align: right; }
.mnm-sub-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.25rem; }
.mnm-sub-actions form { margin: 0; }
.mnm-sub-billing-h { margin: 0 0 .5rem; font-size: .95rem; color: #26215C; }
.mnm-sub-billing { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mnm-sub-billing th { text-align: left; color: #6b7280; font-weight: 600; border-bottom: 1px solid #e8e7f0; padding: .35rem 0; }
.mnm-sub-billing td { padding: .4rem 0; border-bottom: 1px solid #f1f1f6; color: #374151; }
.mnm-feedback-intro { color: #4b5563; font-size: .9rem; margin: 0 0 1rem; }
.mnm-feedback-opt { color: #6b7280; font-weight: 400; font-size: .8rem; }
.mnm-auth .mnm-field textarea, .mnm-auth .mnm-field select { width: 100%; padding: .55rem .65rem; border: 1px solid #d1d5db; border-radius: 8px; box-sizing: border-box; font: inherit; background: #fff; }
.mnm-getplugin h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; color: #26215C; }
.mnm-getplugin-steps { margin: 0; padding-left: 1.2rem; color: #374151; font-size: .92rem; }
.mnm-getplugin-steps li { margin-bottom: .5rem; }
.mnm-getplugin-note { color: #6b7280; font-size: .85rem; margin-top: 1rem; }
.mnm-getplugin code { background: #f1f1f6; padding: .1rem .3rem; border-radius: 4px; font-size: .85em; }
.mnm-quota { color: #4b5563; font-size: .9rem; margin: 1rem 0 0; text-align: center; }

/* Invite wallet + top-up packs on the account page */
.mnm-account__hint { color: #6b7280; font-size: .85rem; margin: .25rem 0 .75rem; }
.mnm-topup { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.mnm-topup__lbl { font-size: .9rem; color: #374151; margin-right: .25rem; }
.mnm-topup__btn { -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; font-size: .85rem; }

/* Custom-branding fields on the account page */
.mnm-brand__preview { margin: .4rem 0; }
.mnm-brand__preview img { max-height: 48px; max-width: 200px; border: 1px solid #e5e7eb; border-radius: 8px; padding: .3rem; background: #fff; }
.mnm-brand__remove { display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; margin: .2rem 0 .5rem; }
.mnm-brand input[type=color] { width: 3rem; height: 2rem; padding: 0; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; cursor: pointer; vertical-align: middle; }
.mnm-brand__colorlabel { display: block; margin-top: .6rem; }
