/* MMNF Member Portal — builds on Bootstrap 5.3. Mobile-first app shell. */
:root {
  --mm-brand: #9b358a;
  --mm-brand-600: #7f2a71;
  --mm-brand-700: #66205a;
  --mm-brand-50: #f8eef6;
  --mm-brand-100: #f0dcec;
  --mm-ink: #1c2539;
  --mm-muted: #5d666f;
  --mm-line: #e8eaef;
  --mm-bg: #f4f5f9;
  --mm-ok: #157347;
  --mm-ok-50: #e8f5ee;
  --mm-warn: #9a6700;
  --mm-warn-50: #fff6e0;
  --mm-bad: #b42318;
  --mm-bad-50: #fdecea;
  --mm-info: #1d5fbf;
  --mm-info-50: #e9f1fd;
  --mm-radius: 16px;
  --mm-shadow: 0 1px 2px rgba(28, 37, 57, .04), 0 4px 16px rgba(28, 37, 57, .06);
  --mm-sidebar-w: 264px;
  --mm-tabbar-h: 64px;
  --bs-primary: var(--mm-brand);
  --bs-primary-rgb: 155, 53, 138;
  --bs-link-color: var(--mm-brand);
  --bs-link-color-rgb: 155, 53, 138;
  --bs-link-hover-color: var(--mm-brand-600);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--mm-ink);
  --bs-body-bg: var(--mm-bg);
  --bs-border-color: var(--mm-line);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: 14px;
  --bs-focus-ring-color: rgba(155, 53, 138, .25);
}
body { font-size: .9375rem; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Poppins", var(--bs-body-font-family); font-weight: 600; color: var(--mm-ink); letter-spacing: -.01em; }
a { text-decoration: none; }
.icon { flex-shrink: 0; vertical-align: -.2em; }
:focus-visible { outline: 2px solid var(--mm-brand); outline-offset: 2px; }
.text-muted { color: var(--mm-muted) !important; }
.small-caps { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--mm-muted); }

/* Buttons & forms */
.btn { --bs-btn-font-weight: 500; --bs-btn-padding-y: .6rem; --bs-btn-padding-x: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; justify-content: center; border-radius: 10px; }
.btn-sm { --bs-btn-padding-y: .35rem; --bs-btn-padding-x: .75rem; }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.4rem; font-size: 1rem; }
.btn-primary { --bs-btn-bg: var(--mm-brand); --bs-btn-border-color: var(--mm-brand); --bs-btn-hover-bg: var(--mm-brand-600); --bs-btn-hover-border-color: var(--mm-brand-600); --bs-btn-active-bg: var(--mm-brand-700); --bs-btn-active-border-color: var(--mm-brand-700); --bs-btn-disabled-bg: var(--mm-brand); --bs-btn-disabled-border-color: var(--mm-brand); }
.btn-outline-primary { --bs-btn-color: var(--mm-brand); --bs-btn-border-color: var(--mm-brand); --bs-btn-hover-bg: var(--mm-brand); --bs-btn-hover-border-color: var(--mm-brand); --bs-btn-active-bg: var(--mm-brand-600); }
.btn-soft { --bs-btn-color: var(--mm-brand-600); --bs-btn-bg: var(--mm-brand-50); --bs-btn-border-color: transparent; --bs-btn-hover-bg: var(--mm-brand-100); --bs-btn-hover-color: var(--mm-brand-700); --bs-btn-active-bg: var(--mm-brand-100); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--mm-line); --bs-btn-hover-bg: #f1f2f5; --bs-btn-hover-border-color: var(--mm-line); }
.btn-white { --bs-btn-bg: #fff; --bs-btn-color: var(--mm-brand-700); --bs-btn-border-color: #fff; --bs-btn-hover-bg: #f6e9f3; --bs-btn-hover-color: var(--mm-brand-700); }
.form-control, .form-select { padding: .65rem .85rem; border-radius: 10px; }
.form-control-lg { padding: .8rem 1rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #c98ebf; box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--mm-brand); border-color: var(--mm-brand); }
.form-label { font-weight: 500; font-size: .875rem; margin-bottom: .35rem; }
.form-text { font-size: .8rem; color: var(--mm-muted); }
.input-group-text { background: #fff; color: var(--mm-muted); border-radius: 10px; }
.req::after { content: " *"; color: var(--mm-bad); }

/* Shell */
.mp-shell { min-height: 100vh; }
.mp-sidebar { background: #fff; border-right: 1px solid var(--mm-line); }
.mp-sidebar .offcanvas-body { display: flex; flex-direction: column; padding: 1.1rem .9rem; gap: .25rem; }
.mp-brand { display: flex; align-items: center; gap: .65rem; padding: .25rem .5rem 1rem; color: var(--mm-ink); }
.mp-brand span { font-family: Poppins, sans-serif; font-weight: 600; line-height: 1.15; }
.mp-brand small { display: block; font-family: Inter, sans-serif; font-weight: 500; font-size: .72rem; color: var(--mm-muted); }
.mp-nav { display: flex; flex-direction: column; gap: 2px; }
.mp-nav-group { padding: .9rem .75rem .35rem; }
.mp-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 10px; color: #3d4657; font-weight: 500; font-size: .9rem; }
.mp-nav a:hover { background: var(--mm-bg); color: var(--mm-ink); }
.mp-nav a.active { background: var(--mm-brand-50); color: var(--mm-brand-700); }
.mp-nav a.active .icon { color: var(--mm-brand); }
.mp-nav .lock { margin-left: auto; color: #a8afbb; }
.mp-sidebar-foot { margin-top: auto; padding-top: 1rem; }
.mp-upgrade { background: linear-gradient(135deg, var(--mm-brand) 0%, #5d1f86 100%); color: #fff; border-radius: 14px; padding: 1rem; }
.mp-upgrade p { color: rgba(255, 255, 255, .85); font-size: .82rem; margin: .25rem 0 .75rem; }

.mp-main { min-width: 0; padding-bottom: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom) + 1rem); }
.mp-topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .5rem; height: 60px; padding: 0 1rem;
  background: rgba(244, 245, 249, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.mp-topbar.scrolled { border-bottom-color: var(--mm-line); }
.mp-topbar-title { font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.05rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--mm-ink); }
.mp-icon-btn:hover { background: #e9ebf1; }
.mp-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--mm-brand-100); color: var(--mm-brand-700);
  font-weight: 600; overflow: hidden; flex-shrink: 0; }
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-avatar.lg { width: 64px; height: 64px; font-size: 1.4rem; }
.mp-content { padding: 1rem; max-width: 1180px; margin: 0 auto; }

/* Bottom tab bar (phones) */
.mp-tabbar { position: fixed; z-index: 1030; left: 0; right: 0; bottom: 0; display: flex; height: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--mm-line); box-shadow: 0 -4px 16px rgba(28, 37, 57, .05); }
.mp-tabbar a, .mp-tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
  color: #6b7383; font-size: .7rem; font-weight: 500; }
.mp-tabbar .active { color: var(--mm-brand); }
.mp-tabbar .active .icon { stroke-width: 2.4; }

@media (min-width: 992px) {
  .mp-shell { display: grid; grid-template-columns: var(--mm-sidebar-w) minmax(0, 1fr); }
  .mp-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .mp-main { padding-bottom: 2rem; }
  .mp-topbar { height: 68px; padding: 0 2rem; }
  .mp-content { padding: 1.5rem 2rem; }
  .mp-tabbar { display: none; }
}

/* Cards & surfaces */
.mp-card { background: #fff; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); box-shadow: var(--mm-shadow); }
.mp-card-body { padding: 1.15rem; }
@media (min-width: 576px) { .mp-card-body { padding: 1.4rem; } }
.mp-card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--mm-line); }
.mp-card-head h2, .mp-card-head h3 { font-size: 1rem; margin: 0; }
.mp-card-head a { font-size: .85rem; font-weight: 500; white-space: nowrap; }
.mp-section-title { font-size: 1.05rem; margin: 1.75rem 0 .85rem; display: flex; align-items: center; justify-content: space-between; }
.mp-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.mp-page-head h1 { font-size: 1.45rem; margin: 0; }
.mp-page-head p { margin: .25rem 0 0; color: var(--mm-muted); }
@media (min-width: 992px) { .mp-page-head h1 { font-size: 1.7rem; } }

/* Hero (dashboard / membership) */
.mp-hero { position: relative; overflow: hidden; border-radius: 20px; color: #fff; padding: 1.35rem;
  background: radial-gradient(120% 140% at 100% 0%, #c45bb1 0%, rgba(196, 91, 177, 0) 55%), linear-gradient(135deg, #9b358a 0%, #5d1f86 100%); }
.mp-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07); }
.mp-hero h1, .mp-hero h2 { color: #fff; }
.mp-hero .muted { color: rgba(255, 255, 255, .8); }
.mp-hero .chip { background: rgba(255, 255, 255, .16); color: #fff; }
@media (min-width: 768px) { .mp-hero { padding: 1.9rem 2rem; } }
.mp-member-card { border-radius: 18px; padding: 1.25rem; color: #fff; background: linear-gradient(135deg, #1c2539, #3b2a5a); position: relative; overflow: hidden; }
.mp-member-card .no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }

/* Stats & quick actions */
.mp-stat { display: flex; align-items: center; gap: .85rem; padding: 1rem; }
.mp-stat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--mm-brand-50); color: var(--mm-brand); }
.mp-stat-icon.ok { background: var(--mm-ok-50); color: var(--mm-ok); }
.mp-stat-icon.warn { background: var(--mm-warn-50); color: var(--mm-warn); }
.mp-stat-icon.info { background: var(--mm-info-50); color: var(--mm-info); }
.mp-stat strong { display: block; font-family: Poppins, sans-serif; font-size: 1.35rem; line-height: 1.1; }
.mp-stat span { font-size: .8rem; color: var(--mm-muted); line-height: 1.3; display: block; }
@media (max-width: 575.98px) {
  .mp-stat { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .85rem; }
  .mp-stat-icon { width: 36px; height: 36px; border-radius: 10px; }
}
.mp-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (min-width: 768px) { .mp-actions { grid-template-columns: repeat(8, 1fr); } }
.mp-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .85rem .25rem; border-radius: 14px; color: var(--mm-ink);
  font-size: .76rem; font-weight: 500; text-align: center; line-height: 1.2; background: #fff; border: 1px solid var(--mm-line); transition: transform .15s, box-shadow .15s; }
.mp-action:hover { transform: translateY(-2px); box-shadow: var(--mm-shadow); color: var(--mm-ink); }
.mp-action .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mm-brand-50); color: var(--mm-brand); }
.mp-action .lock { position: absolute; top: 6px; right: 6px; color: #a8afbb; }

/* Progress ring / bar */
.mp-progress { height: 8px; border-radius: 99px; background: var(--mm-line); overflow: hidden; }
.mp-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mm-brand), #c45bb1); }
.mp-hero .mp-progress { background: rgba(255, 255, 255, .22); }
.mp-hero .mp-progress > span { background: #fff; }

/* Chips & status */
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 99px; font-size: .74rem; font-weight: 600; background: var(--mm-bg); color: #3d4657; white-space: nowrap; }
.chip-ok { background: var(--mm-ok-50); color: var(--mm-ok); }
.chip-warn { background: var(--mm-warn-50); color: var(--mm-warn); }
.chip-bad { background: var(--mm-bad-50); color: var(--mm-bad); }
.chip-info { background: var(--mm-info-50); color: var(--mm-info); }
.chip-brand { background: var(--mm-brand-50); color: var(--mm-brand-700); }

/* Lists */
.mp-list { list-style: none; margin: 0; padding: 0; }
.mp-list > li + li { border-top: 1px solid var(--mm-line); }
.mp-list-item { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.15rem; color: var(--mm-ink); }
a.mp-list-item:hover { background: #fafbfc; color: var(--mm-ink); }
.mp-list-item .grow { flex: 1; min-width: 0; }
.mp-list-item .title { font-weight: 600; font-size: .92rem; display: block; overflow: hidden; text-overflow: ellipsis; }
.mp-list-item .meta { font-size: .8rem; color: var(--mm-muted); }
.mp-list-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--mm-bg); color: #4b5466; }

/* Scheme / service cards */
.mp-tile { display: flex; flex-direction: column; height: 100%; padding: 1.15rem; background: #fff; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); color: var(--mm-ink); transition: border-color .15s, box-shadow .15s; }
a.mp-tile:hover { border-color: #dcbfd6; box-shadow: var(--mm-shadow); color: var(--mm-ink); }
.mp-tile h3 { font-size: 1rem; margin: .6rem 0 .35rem; line-height: 1.35; }
.mp-tile p { font-size: .85rem; color: var(--mm-muted); margin: 0; }
.mp-tile .foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .82rem; }
.mp-reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .88rem; }
.mp-reasons li { display: flex; gap: .55rem; align-items: flex-start; }
.mp-reasons .ok { color: var(--mm-ok); } .mp-reasons .bad { color: var(--mm-bad); } .mp-reasons .warn { color: var(--mm-warn); }

/* Segmented tabs / filters */
.mp-segment { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: #e9ebf1; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mp-segment::-webkit-scrollbar { display: none; }
.mp-segment a, .mp-segment button { border: 0; background: none; padding: .45rem .9rem; border-radius: 9px; font-size: .85rem; font-weight: 500; color: #4b5466; white-space: nowrap; }
.mp-segment .active { background: #fff; color: var(--mm-ink); box-shadow: 0 1px 3px rgba(28, 37, 57, .12); }
.mp-segment .count { margin-left: .3rem; font-size: .72rem; color: var(--mm-muted); }

/* Wizard steps */
.mp-steps { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1.25rem; counter-reset: step; }
.mp-steps::-webkit-scrollbar { display: none; }
.mp-steps a { flex: 1 0 auto; display: flex; align-items: center; gap: .55rem; padding: .65rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--mm-line);
  color: var(--mm-muted); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.mp-steps a::before { counter-increment: step; content: counter(step); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mm-bg); font-size: .75rem; font-weight: 600; }
.mp-steps a.active { border-color: var(--mm-brand); color: var(--mm-brand-700); background: var(--mm-brand-50); }
.mp-steps a.active::before { background: var(--mm-brand); color: #fff; }
.mp-form-actions { position: sticky; bottom: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom)); z-index: 5; display: flex; gap: .5rem; justify-content: flex-end; padding: .85rem 1.15rem;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-top: 1px solid var(--mm-line); border-radius: 0 0 var(--mm-radius) var(--mm-radius); }
@media (min-width: 992px) { .mp-form-actions { bottom: 0; } }
.mp-fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.mp-fieldset legend { font-size: .95rem; font-family: Poppins, sans-serif; font-weight: 600; margin-bottom: .85rem; }

/* Check cards (documents owned, plans) */
.mp-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.mp-check { position: relative; display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; border: 1px solid var(--mm-line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .88rem; font-weight: 500; }
.mp-check input { margin: 0; }
.mp-check:has(input:checked) { border-color: var(--mm-brand); background: var(--mm-brand-50); }

/* Plans */
.mp-plan { position: relative; padding: 1.5rem; border-radius: 20px; background: #fff; border: 2px solid var(--mm-line); height: 100%; display: flex; flex-direction: column; }
.mp-plan.featured { border-color: var(--mm-brand); box-shadow: 0 10px 30px rgba(155, 53, 138, .15); }
.mp-plan .price { font-family: Poppins, sans-serif; font-size: 2.4rem; font-weight: 600; line-height: 1; }
.mp-plan .price small { font-size: .9rem; color: var(--mm-muted); font-weight: 500; font-family: Inter, sans-serif; }
.mp-plan ul { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; font-size: .9rem; }
.mp-plan li { display: flex; gap: .55rem; align-items: flex-start; }
.mp-plan li .icon { color: var(--mm-ok); margin-top: 2px; }
.mp-plan .ribbon { position: absolute; top: -12px; left: 1.5rem; }

/* Timeline */
.mp-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.mp-timeline li { position: relative; padding: 0 0 1.25rem 2.1rem; }
.mp-timeline li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--mm-line); }
.mp-timeline li:last-child::before { display: none; }
.mp-timeline .dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mm-line); color: #fff; }
.mp-timeline li.done .dot { background: var(--mm-ok); }
.mp-timeline li.current .dot { background: var(--mm-brand); box-shadow: 0 0 0 4px var(--mm-brand-100); }
.mp-timeline li.bad .dot { background: var(--mm-bad); }
.mp-timeline .t { font-weight: 600; font-size: .9rem; }
.mp-timeline .d { font-size: .8rem; color: var(--mm-muted); }

/* Conversation */
.mp-thread { display: flex; flex-direction: column; gap: .85rem; }
.mp-msg { max-width: 88%; padding: .8rem 1rem; border-radius: 16px; font-size: .9rem; white-space: pre-line; }
.mp-msg .who { display: block; font-size: .74rem; font-weight: 600; margin-bottom: .2rem; opacity: .8; }
.mp-msg.me { align-self: flex-end; background: var(--mm-brand); color: #fff; border-bottom-right-radius: 4px; }
.mp-msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--mm-line); border-bottom-left-radius: 4px; }

/* Empty state */
.mp-empty { text-align: center; padding: 2.5rem 1rem; color: var(--mm-muted); }
.mp-empty .ico { width: 64px; height: 64px; margin: 0 auto .9rem; border-radius: 18px; display: grid; place-items: center; background: var(--mm-brand-50); color: var(--mm-brand); }
.mp-empty h3 { font-size: 1.05rem; margin-bottom: .35rem; }

/* Tables */
.mp-table { margin: 0; font-size: .88rem; }
.mp-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mm-muted); font-weight: 600; background: #fafbfc; white-space: nowrap; }
.mp-table td, .mp-table th { padding: .8rem 1.15rem; vertical-align: middle; }

/* Alerts */
.mp-alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 14px; font-size: .88rem; margin-bottom: 1rem; }
.mp-alert .icon { margin-top: 1px; }
.mp-alert-ok { background: var(--mm-ok-50); color: #0f5132; }
.mp-alert-warn { background: var(--mm-warn-50); color: #6b4a00; }
.mp-alert-bad { background: var(--mm-bad-50); color: #8a1c12; }
.mp-alert-info { background: var(--mm-info-50); color: #183f78; }

/* Auth */
.mp-auth { min-height: 100vh; display: grid; }
@media (min-width: 992px) { .mp-auth { grid-template-columns: 1.05fr 1fr; } }
.mp-auth-aside { display: none; position: relative; overflow: hidden; color: #fff; padding: 3rem;
  background: radial-gradient(90% 80% at 100% 0%, #c45bb1 0%, rgba(196, 91, 177, 0) 60%), linear-gradient(150deg, #9b358a 0%, #4a1a70 100%); }
@media (min-width: 992px) { .mp-auth-aside { display: flex; flex-direction: column; } }
.mp-auth-aside h2 { color: #fff; font-size: 2rem; line-height: 1.2; max-width: 26ch; }
.mp-auth-aside ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 34ch; }
.mp-auth-aside li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(255, 255, 255, .9); }
.mp-auth-aside li .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); flex-shrink: 0; }
.mp-auth-aside::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.mp-auth-main { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 1rem 2rem; background: #fff; }
.mp-auth-box { width: 100%; max-width: 420px; margin: 0 auto; }
.mp-auth-box h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.mp-otp { display: flex; gap: .5rem; justify-content: space-between; }
.mp-otp input { width: 100%; max-width: 52px; height: 56px; text-align: center; font-size: 1.35rem; font-weight: 600; padding: 0; }
.mp-pass { position: relative; }
.mp-pass .form-control { padding-right: 3rem; }
.mp-pass button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

/* Receipt (print) */
.mp-receipt { max-width: 760px; margin: 0 auto; }
.mp-receipt dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .55rem 1rem; margin: 0; font-size: .9rem; }
.mp-receipt dt { color: var(--mm-muted); font-weight: 500; }
.mp-receipt dd { margin: 0; font-weight: 500; }
.mp-paid-stamp { display: inline-block; border: 3px solid var(--mm-ok); color: var(--mm-ok); border-radius: 10px; padding: .25rem .9rem; font-weight: 700; letter-spacing: .15em; transform: rotate(-6deg); }
@media print {
  .mp-sidebar, .mp-topbar, .mp-tabbar, .no-print, .toast-container { display: none !important; }
  .mp-shell { display: block; }
  .mp-main, .mp-content { padding: 0 !important; }
  body { background: #fff; }
  .mp-card { box-shadow: none; border-color: #ccc; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
