/*
  DreamsTour-inspired bridge for the new mober front-end.
  It keeps the ASP flow light while borrowing the template rhythm:
  sticky header, image-led hero, compact search cards, list cards,
  booking steps, and member booking tables.
*/

:root {
  --mf-bg: #f7f8fb;
  --mf-bg-strong: #101828;
  --mf-surface-soft: #eef6f4;
  --mf-accent: #00a394;
  --mf-accent-dark: #047a72;
  --mf-warning: #f79009;
  --mf-radius: 14px;
}

.mf-doc-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 8px 0 22px;
}

.mf-doc-type-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.mf-field .mf-doc-type-option input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  accent-color: #009688;
}

.mf-doc-type-option:has(input[type="radio"]:checked) {
  border-color: rgba(0,150,136,.45);
  background: rgba(0,150,136,.08);
  color: #0f766e;
}

/* 20260521 mobile member orders table */
@media (max-width: 640px) {
  body.mf-member-orders-page,
  body.mf-member-orders-page .mf-member-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.mf-member-orders-page .mf-member-shell {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-top: 28px;
  }

  body.mf-member-orders-page .mf-member-grid,
  body.mf-member-orders-page .mf-panel,
  body.mf-member-orders-page .mf-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.mf-member-orders-page .mf-panel {
    overflow: hidden;
  }

  body.mf-member-orders-page .mf-table-wrap {
    overflow: visible;
  }

  body.mf-member-orders-page .mf-booking-table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: separate;
  }

  body.mf-member-orders-page .mf-booking-table thead {
    display: none;
  }

  body.mf-member-orders-page .mf-booking-table tbody,
  body.mf-member-orders-page .mf-booking-table tr,
  body.mf-member-orders-page .mf-booking-table td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.mf-member-orders-page .mf-booking-table tr {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
  }

  body.mf-member-orders-page .mf-booking-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 8px 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.mf-member-orders-page .mf-booking-table td::before {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
  }

  body.mf-member-orders-page .mf-booking-table td:nth-child(1)::before { content: "\8A02\55AE\7DE8\865F"; }
  body.mf-member-orders-page .mf-booking-table td:nth-child(2)::before { content: "\8ECA\6B3E"; }
  body.mf-member-orders-page .mf-booking-table td:nth-child(3)::before { content: "\696D\8005"; }
  body.mf-member-orders-page .mf-booking-table td:nth-child(4)::before { content: "\9810\7D04\65E5\671F"; }
  body.mf-member-orders-page .mf-booking-table td:nth-child(5)::before { content: "\91D1\984D"; }
  body.mf-member-orders-page .mf-booking-table td:nth-child(6)::before { content: "\72C0\614B"; }

  body.mf-member-orders-page .mf-booking-table td[colspan] {
    display: block;
    text-align: center;
  }

  body.mf-member-orders-page .mf-booking-table td[colspan]::before {
    content: none;
  }

  body.mf-member-orders-page .mf-booking-table .mf-badge {
    max-width: 100%;
    white-space: normal;
  }
}

body.mober-front {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 163, 148, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 42%, #eef3f2 100%);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.mf-page {
  overflow-x: clip;
}

.mf-header {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.mf-brand-mark {
  background: linear-gradient(135deg, #00a394 0%, #101828 100%);
}

.mf-nav-links a.is-active {
  color: #fff;
  background: var(--mf-bg-strong);
}

.mf-hero {
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.92), rgba(16, 24, 40, 0.7) 48%, rgba(16, 24, 40, 0.14)),
    url("../../html/assets/img/banner/car-banner.jpg") center / cover no-repeat;
}

body.mober-moto .mf-hero {
  background:
    linear-gradient(90deg, rgba(13, 47, 47, 0.92), rgba(13, 47, 47, 0.7) 48%, rgba(13, 47, 47, 0.14)),
    url("../../images/b02.png") center / cover no-repeat;
}

.mf-hero-inner {
  min-height: 680px;
}

.mf-panel {
  border-radius: 20px;
  border: 0;
}

.mf-field input,
.mf-field select {
  border-radius: 10px;
  border-color: #e4e7ec;
}

.mf-btn {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mf-accent) 0%, var(--mf-accent-dark) 100%);
}

.mf-btn-secondary {
  background: var(--mf-bg-strong);
}

.mf-btn-ghost {
  background: #fff;
}

.mf-result-card {
  grid-template-columns: 260px minmax(0, 1fr);
  border-radius: 16px;
  border-color: #edf0f4;
}

.mf-result-media {
  min-height: 230px;
}

.mf-result-body {
  gap: 12px;
}

.mf-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mf-steps span {
  background: #fff;
  border: 1px solid #e4e7ec;
}

.mf-member-shell {
  padding: 44px 0 72px;
}

.mf-login-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.mf-login-shell {
  min-height: calc(100vh - 139px);
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.94), rgba(16, 24, 40, 0.74) 46%, rgba(16, 24, 40, 0.28)),
    url("../../assets/mober-front/generated/car-hero.png") center / cover no-repeat;
}

.mf-login-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: 54px;
  align-items: center;
  padding: 72px 0;
}

.mf-login-copy {
  color: #fff;
}

.mf-login-logo {
  width: 210px;
  max-width: 56vw;
  display: block;
  margin-bottom: 34px;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.22));
}

.mf-login-copy h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
  font-weight: 900;
}

.mf-login-copy p {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mf-login-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.mf-login-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.mf-login-points i {
  width: 18px;
  height: 18px;
}

.mf-menu-fallback {
  display: none;
  font-size: 20px;
  line-height: 1;
}

.mf-mobile-menu-btn .mf-menu-fallback {
  display: inline-block;
}

.mf-mobile-menu-btn svg + .mf-menu-fallback {
  display: none;
}

.mf-login-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  padding: 34px;
  color: var(--mf-text);
}

.mf-login-page .mf-login-card {
  transform: translateY(30px);
}

.mf-login-card-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.mf-login-card-head > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mf-surface-soft);
  color: var(--mf-accent-dark);
}

.mf-login-card-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.mf-login-card-head p {
  margin: 6px 0 0;
  color: var(--mf-muted);
  line-height: 1.6;
}

.mf-login-form {
  display: grid;
  gap: 17px;
}

.mf-password-field {
  position: relative;
}

.mf-password-field input {
  padding-right: 54px;
}

.mf-password-toggle {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mf-muted);
  cursor: pointer;
}

.mf-password-toggle:hover {
  background: var(--mf-surface-soft);
  color: var(--mf-bg-strong);
}

.mf-login-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: var(--mf-muted);
  font-size: 14px;
  font-weight: 700;
}

.mf-login-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mf-login-row a,
.mf-login-actions a {
  color: var(--mf-accent-dark);
  text-decoration: none;
  font-weight: 900;
}

.mf-login-actions {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--mf-line);
}

.mf-login-actions p {
  margin: 0 0 12px;
  color: var(--mf-muted);
  font-weight: 800;
}

.mf-login-actions > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mf-oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 12px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.mf-oauth-divider::before,
.mf-oauth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e4e7ec;
}

.mf-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  color: #344054;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mf-google-btn:hover {
  border-color: #98a2b3;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
  transform: translateY(-1px);
}

.mf-google-btn span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #eef4ff;
  color: #4285f4;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.mf-breadcrumb {
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.82), rgba(16, 24, 40, 0.62)),
    url("../../html/assets/img/bg/breadcrumb-03.jpg") center / cover no-repeat;
  color: #fff;
  padding: 68px 0;
}

.mf-breadcrumb h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.mf-breadcrumb p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

body.mober-front:not(.mf-home-page):not(.mf-login-page) .mf-breadcrumb {
  padding-top: 96px;
  padding-bottom: 48px;
}

.mf-member-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.mf-member-menu {
  display: grid;
  gap: 10px;
}

.mf-member-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--mf-text);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
}

.mf-member-menu a:hover,
.mf-member-menu a.is-active {
  color: #fff;
  background: var(--mf-bg-strong);
}

.mf-member-side {
  padding: 24px;
}

.mf-member-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eefaf8 100%);
  border: 1px solid #e4edf0;
}

.mf-member-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 999px;
  color: #047a72;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.mf-member-avatar svg {
  width: 23px;
  height: 23px;
}

.mf-member-profile small {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.mf-member-profile strong {
  display: block;
  max-width: 150px;
  color: #101828;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mf-table-wrap {
  overflow-x: auto;
}

.mf-booking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.mf-booking-table th,
.mf-booking-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.mf-booking-table th {
  color: #667085;
  font-size: 13px;
  background: #f9fafb;
}

.mf-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #eef6f4;
  color: #047a72;
}

.mf-badge.is-waiting {
  background: #fff7e6;
  color: #b54708;
}

.mf-badge.is-cancel {
  background: #fff1f3;
  color: #c01048;
}

.mf-home-page {
  --mf-home-dark: #111827;
  --mf-home-soft: #f4f7f6;
}

.mf-home-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.mf-logo-brand {
  min-width: 148px;
}

.mf-logo-brand img {
  display: block;
  width: 142px;
  height: auto;
}

.mf-template-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #101828;
}

.mf-template-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 28, 0.9), rgba(8, 18, 28, 0.62) 42%, rgba(8, 18, 28, 0.16) 100%),
    url("../../html/assets/img/banner/car-banner.jpg") center / cover no-repeat;
}

.mf-template-hero-moto .mf-template-hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 36, 39, 0.92), rgba(5, 36, 39, 0.68) 44%, rgba(5, 36, 39, 0.18) 100%),
    url("../../images/b02.png") center / cover no-repeat;
}

.mf-template-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 56px;
  padding: 120px 0 64px;
}

.mf-template-copy {
  max-width: 700px;
  padding-top: 34px;
}

.mf-template-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: #d9fffa;
  background: rgba(0, 163, 148, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
  font-weight: 900;
}

.mf-template-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 950;
}

.mf-template-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.85;
}

.mf-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mf-btn-lg {
  min-height: 56px;
  padding: 0 24px;
}

.mf-btn-soft {
  min-height: 56px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.mf-btn-soft:hover {
  background: rgba(255, 255, 255, 0.22);
}

.mf-template-search-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--mf-text);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.28);
}

.mf-search-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.mf-search-card-head > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, #00a394, #047a72);
}

.mf-search-card-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.mf-search-card-head p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 14px;
}

.mf-template-search {
  margin-top: 0;
}

.mf-btn-block {
  width: 100%;
}

.mf-template-steps {
  padding: 78px 0 88px;
  background: #fff;
}

.mf-centered-title {
  justify-content: center;
  text-align: center;
}

.mf-centered-title h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

.mf-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.mf-process-grid article {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid #e4e7ec;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, #f8fbfa);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.mf-process-grid article > span {
  position: absolute;
  right: 24px;
  top: 22px;
  color: #e4e7ec;
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
}

.mf-process-grid i {
  width: 42px;
  height: 42px;
  color: #00a394;
}

.mf-process-grid h3 {
  position: relative;
  margin: 22px 0 10px;
  font-size: 22px;
}

.mf-process-grid p {
  position: relative;
  margin: 0;
  color: #667085;
  line-height: 1.75;
}

.mf-showcase-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 78px;
  padding: 28px;
  border-radius: 24px;
  background: #101828;
  color: #fff;
  overflow: hidden;
}

.mf-showcase-copy {
  align-self: center;
  padding: 20px;
}

.mf-showcase-copy span,
.mf-info-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #00a394;
  font-size: 14px;
  font-weight: 950;
}

.mf-showcase-copy h2,
.mf-info-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.18;
}

.mf-showcase-copy p,
.mf-info-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

.mf-vehicle-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mf-vehicle-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mf-vehicle-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mf-vehicle-card div {
  padding: 18px;
}

.mf-vehicle-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.mf-vehicle-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.mf-info-section {
  padding: 86px 0;
  background: #f3f7f6;
}

.mf-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.mf-info-media {
  min-height: 440px;
  border-radius: 28px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
}

.mf-info-media-moto {
  background-image: url("../../images/b02.png");
}

.mf-info-media-car {
  background-image: url("vehicles/car-large-01.jpg");
}

.mf-info-copy h2 {
  color: #101828;
}

.mf-info-copy p {
  color: #667085;
}

.mf-benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mf-benefit-list div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07);
}

.mf-benefit-list i {
  grid-row: span 2;
  color: #00a394;
}

.mf-benefit-list strong {
  color: #101828;
  font-size: 17px;
}

.mf-benefit-list small {
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.mf-faq-section {
  padding: 84px 0 96px;
  background: #fff;
}

.mf-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.mf-faq-grid article {
  padding: 26px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #e4e7ec;
}

.mf-faq-grid h3 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 20px;
  line-height: 1.4;
}

.mf-faq-grid p {
  margin: 0;
  color: #667085;
  line-height: 1.75;
}

@media (max-width: 920px) {
  .mf-result-card,
  .mf-member-grid {
    grid-template-columns: 1fr;
  }

  .mf-hero-inner {
    min-height: auto;
  }

  .mf-home-header {
    position: fixed;
  }

  .mf-template-hero,
  .mf-template-hero-inner {
    min-height: auto;
  }

  .mf-template-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 110px 0 46px;
  }

  .mf-template-search-card {
    padding: 20px;
  }

  .mf-process-grid {
    grid-template-columns: 1fr;
  }

  .mf-showcase-band,
  .mf-info-grid,
  .mf-faq-grid {
    grid-template-columns: 1fr;
  }

  .mf-vehicle-row {
    grid-template-columns: 1fr;
  }

  .mf-info-media {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .mf-logo-brand img {
    width: 118px;
  }

  .mf-template-copy h1 {
    font-size: 38px;
  }

  .mf-template-copy p {
    font-size: 16px;
  }

  .mf-template-actions,
  .mf-grid-2 {
    grid-template-columns: 1fr;
  }

  .mf-template-actions .mf-btn {
    width: 100%;
  }
}

/* Polished homepage overrides. Keep at the end so the older bridge rules do not win. */
body.mf-home-page {
  background: #ffffff;
}

.mf-home-page .mf-container {
  width: min(1180px, calc(100% - 40px));
}

.mf-home-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.mf-home-header .mf-nav {
  min-height: 82px;
}

.mf-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.mf-mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

.mf-mobile-menu-btn::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.mf-mobile-menu-btn::before {
  content: "";
  position: absolute;
  inset: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mf-mobile-menu-btn.is-open svg {
  opacity: 0;
}

.mf-mobile-menu-btn.is-open::before,
.mf-mobile-menu-btn.is-open::after {
  opacity: 1;
}

.mf-home-header .mf-nav-links {
  padding: 7px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8fafc;
}

.mf-home-header .mf-nav-links a {
  padding: 10px 17px;
  border-radius: 999px;
  color: #475467;
}

.mf-home-header .mf-nav-links a.is-active {
  color: #fff;
  background: #111827;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.16);
}

.mf-template-hero {
  min-height: 820px;
  background: #0b1220;
}

.mf-template-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  z-index: 0;
}

.mf-template-hero-bg {
  opacity: 1;
  filter: saturate(1.02) contrast(1.02);
  background:
    linear-gradient(90deg, rgba(7, 13, 24, 0.94), rgba(7, 13, 24, 0.68) 42%, rgba(7, 13, 24, 0.18) 100%),
    url("generated/car-hero.png") center / cover no-repeat;
}

.mf-template-hero-moto .mf-template-hero-bg {
  background:
    linear-gradient(90deg, rgba(4, 37, 42, 0.94), rgba(4, 37, 42, 0.68) 43%, rgba(4, 37, 42, 0.2) 100%),
    url("generated/moto-hero.png") center / cover no-repeat;
}

.mf-template-hero-inner {
  min-height: 820px;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 68px;
  padding: 130px 0 98px;
}

.mf-template-chip {
  height: auto;
  min-height: 36px;
  padding: 8px 15px;
  color: #ecfffb;
  background: rgba(0, 163, 148, 0.2);
  border-color: rgba(217, 255, 250, 0.28);
}

.mf-template-copy h1 {
  max-width: 760px;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.mf-template-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
}

.mf-template-search-card {
  border-radius: 24px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.mf-search-card-head > span {
  border-radius: 18px;
  background: #00a394;
  box-shadow: 0 14px 30px rgba(0, 163, 148, 0.2);
}

.mf-template-search .mf-field label {
  color: #344054;
}

.mf-template-search .mf-field input,
.mf-template-search .mf-field select {
  height: 54px;
  border-radius: 14px;
  background: #f9fafb;
}

.mf-template-steps {
  padding: 72px 0 92px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbfa 100%);
}

.mf-showcase-band {
  grid-template-columns: 0.86fr 1.14fr;
  padding: 42px;
  margin-bottom: 86px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 163, 148, 0.22), transparent 34%),
    linear-gradient(135deg, #101828 0%, #162238 100%);
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.18);
}

.mf-showcase-copy {
  padding: 12px 12px 12px 0;
}

.mf-showcase-copy h2 {
  font-size: clamp(32px, 3.4vw, 50px);
  text-wrap: normal;
}

.mf-vehicle-row {
  gap: 18px;
}

.mf-vehicle-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  color: #101828;
  border: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.mf-vehicle-card img {
  height: 210px;
  padding: 0;
  object-fit: cover;
  background: #f7fbfa;
}

.mf-vehicle-card div {
  flex: 1;
  padding: 22px;
}

.mf-vehicle-card h3 {
  color: #101828;
}

.mf-vehicle-card p {
  color: #667085;
}

.mf-process-grid {
  gap: 24px;
}

.mf-db-carousel-block {
  position: relative;
  margin: 0 0 86px;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.09);
}

.mf-db-carousel-block .mf-section-title {
  margin-bottom: 24px;
}

.mf-db-carousel-block .mf-section-title > div {
  width: 100%;
  max-width: 100%;
}

.mf-db-carousel-block .mf-section-title p {
  max-width: 100%;
}

.mf-carousel-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 275px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.mf-carousel-controls button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #101828;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  pointer-events: auto;
}

.mf-carousel-controls button:hover {
  color: #fff;
  background: #101828;
  border-color: #101828;
}

.mf-db-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mf-db-carousel-track::-webkit-scrollbar {
  display: none;
}

.mf-db-vehicle-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 22px;
  background: #f9fafb;
  border: 1px solid #edf0f4;
}

.mf-db-vehicle-card img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  background: #eef2f6;
}

.mf-db-vehicle-card div {
  padding: 20px;
}

.mf-db-vehicle-card h3 {
  margin: 0;
  color: #101828;
  font-size: 21px;
  line-height: 1.35;
}

.mf-db-vehicle-card p {
  margin: 8px 0 14px;
  color: #667085;
  line-height: 1.5;
}

.mf-db-vehicle-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #047a72;
  background: #e9f8f5;
  font-size: 13px;
  font-weight: 900;
}

.mf-carousel-empty {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 18px;
  color: #667085;
  background: #f9fafb;
  border: 1px dashed #d0d5dd;
}

.mf-process-grid article {
  min-height: 245px;
  border-radius: 22px;
  border-color: #edf0f4;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

.mf-process-grid article > span {
  color: #eef2f6;
}

.mf-info-section {
  padding: 96px 0;
  background: #0f172a;
  color: #fff;
}

.mf-info-grid {
  gap: 64px;
}

.mf-info-media {
  min-height: 500px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.mf-info-media-car {
  background-image: url("generated/car-hero.png");
}

body.mober-moto .mf-info-media-moto {
  background-image: url("generated/moto-hero.png");
}

.mf-info-copy h2 {
  color: #fff;
  text-wrap: balance;
}

.mf-info-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.mf-benefit-list div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.mf-benefit-list svg {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 26px;
  height: 26px;
  color: #8ef2e4;
}

.mf-benefit-list strong {
  grid-column: 2;
  color: #fff;
  min-width: 0;
}

.mf-benefit-list small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.68);
  min-width: 0;
  word-break: keep-all;
}

.mf-app-section {
  padding: 86px 0;
  background: #ffffff;
}

.mf-app-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 163, 148, 0.28), transparent 34%),
    linear-gradient(135deg, #101828 0%, #0f2f35 100%);
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.18);
}

.mf-app-panel span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8ef2e4;
  font-weight: 950;
}

.mf-app-panel h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
}

.mf-app-panel p {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.mf-app-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 14px;
}

.mf-store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  min-width: 250px;
  padding: 15px 22px;
  color: #101828;
  text-decoration: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.mf-store-btn img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mf-store-btn span {
  display: block;
  margin: 0;
  color: inherit;
  min-width: 0;
}

.mf-store-btn small,
.mf-store-btn strong {
  display: block;
  white-space: nowrap;
}

.mf-store-btn small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.mf-store-btn strong {
  margin-top: 2px;
  color: #101828;
  font-size: 18px;
  line-height: 1.2;
}

.mf-site-footer {
  padding: 0;
  color: #fff;
  background: #0b1220;
}

.mf-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mf-footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.mf-footer-phone {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 950;
}

.mf-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mf-footer-social span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.mf-footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 950;
}

.mf-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 1.1fr);
  gap: 34px;
  padding: 46px 0;
}

.mf-footer-grid h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

.mf-footer-grid a {
  display: block;
  width: fit-content;
  margin: 0 0 11px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  line-height: 1.5;
}

.mf-footer-grid a:hover {
  color: #8ef2e4;
}

.mf-footer-app p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.mf-footer-app a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: 205px;
  margin-right: 10px;
  padding: 12px 15px;
  color: #101828;
  border-radius: 14px;
  background: #fff;
}

.mf-footer-app img {
  width: 26px;
  height: 26px;
}

.mf-footer-app small,
.mf-footer-app strong {
  display: block;
  white-space: nowrap;
}

.mf-footer-app small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.mf-footer-app strong {
  color: #101828;
  font-size: 15px;
}

.mf-footer-bottom {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.mf-faq-section {
  background:
    linear-gradient(180deg, #fff 0%, #f6faf9 100%);
}

.mf-faq-grid {
  gap: 22px;
}

.mf-faq-grid article {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.07);
}

@media (max-width: 920px) {
  .mf-template-hero,
  .mf-template-hero-inner {
    min-height: auto;
  }

  .mf-template-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .mf-showcase-band {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .mf-vehicle-row,
  .mf-process-grid,
  .mf-info-grid,
  .mf-faq-grid {
    grid-template-columns: 1fr;
  }

  .mf-db-carousel-block {
    padding: 22px;
  }

  .mf-db-carousel-track {
    grid-auto-columns: 100%;
    width: 100%;
  }

  .mf-app-panel,
  .mf-app-buttons {
    grid-template-columns: 1fr;
  }

  .mf-footer-top,
  .mf-footer-grid {
    grid-template-columns: 1fr;
  }

  .mf-footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  html,
  body.mober-front,
  .mober-front .mf-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .mf-home-header .mf-nav {
    width: min(100% - 24px, 1180px);
    margin: 0 auto;
    min-height: 0;
    padding: 12px 4px 12px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
  }

  .mf-home-header .mf-logo-brand {
    min-width: 0;
    justify-content: flex-start;
  }

  .mf-home-header .mf-logo-brand img {
    width: 126px;
  }

  .mf-mobile-menu-btn {
    display: inline-flex;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10002;
    margin-right: 0;
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.16);
    justify-self: end;
  }

  .mf-home-header .mf-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 320px);
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 88px 18px 24px;
    border: 0;
    border-radius: 26px 0 0 26px;
    background: #fff;
    box-shadow: -22px 0 60px rgba(15, 23, 42, 0.2);
    transform: translateX(105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .mf-home-header .mf-nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-align: center;
  }

  .mf-home-header .mf-nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: -22px 0 60px rgba(15, 23, 42, 0.2), -100vw 0 0 rgba(7, 25, 32, 0.52);
  }

  .mf-template-hero-inner {
    padding-top: 120px;
  }

  .mf-template-copy,
  .mf-register-hero-inner > div,
  .mf-login-copy {
    min-width: 0;
    max-width: 100%;
  }

  .mf-template-copy h1,
  .mf-register-hero h1,
  .mf-login-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .mf-template-copy {
    padding-top: 0;
    width: 100%;
  }

  .mf-template-copy h1 {
    font-size: 38px;
    max-width: 100%;
  }

  .mf-template-copy p {
    font-size: 16px;
    max-width: 100%;
  }

  .mf-template-actions {
    display: grid;
  }

  .mf-showcase-band {
    gap: 22px;
    padding: 24px 18px;
  }

  .mf-showcase-copy {
    width: 100%;
    padding: 0;
  }

  .mf-showcase-copy h2,
  .mf-showcase-copy p {
    width: 100%;
    max-width: none;
    text-wrap: normal;
  }

  .mf-vehicle-card div {
    padding: 20px;
  }

  .mf-db-carousel-block .mf-section-title {
    display: block;
  }

  .mf-db-carousel-block .mf-section-title h2,
  .mf-db-carousel-block .mf-section-title p {
    width: 100%;
    max-width: none;
    text-wrap: normal;
  }

  .mf-carousel-controls {
    left: 0;
    right: 0;
    top: 244px;
  }

  .mf-carousel-controls button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .mf-home-page .mf-container {
    width: min(100% - 28px, 1180px);
  }

  .mf-home-header .mf-logo-brand img {
    width: 116px;
  }

  .mf-mobile-menu-btn {
    margin-right: 10px;
  }

  .mf-template-copy h1 {
    font-size: 34px;
  }

  .mf-template-copy p {
    line-height: 1.75;
  }

  .mf-db-carousel-block {
    padding: 20px 14px;
  }

  .mf-carousel-controls {
    top: 244px;
  }
}

@media (max-width: 520px) {
  .mf-home-header .mf-nav,
  .mf-home-page .mf-container,
  .mf-register-layout,
  .mf-register-hero-inner,
  .mf-template-hero-inner,
  .mf-db-container {
    width: min(calc(100% - 32px), 358px);
  }

  .mf-mobile-menu-btn {
    right: max(16px, calc(100vw - 374px));
  }

  .mf-register-hero h1,
  .mf-template-copy h1,
  .mf-login-copy h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.18;
  }

  .mf-register-hero p,
  .mf-template-copy p,
  .mf-login-copy p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .mf-header:not(.mf-home-header) .mf-nav {
    min-height: 0;
    padding: 10px 0 12px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .mf-header:not(.mf-home-header) .mf-brand {
    width: 100%;
    justify-content: center;
  }

  .mf-header:not(.mf-home-header) .mf-nav-links {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .mf-header:not(.mf-home-header) .mf-nav-links a {
    min-width: 64px;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-align: center;
  }
}

@media (max-width: 920px) {
  body.mober-front:not(.mf-home-page) {
    padding-top: 76px;
    overflow-x: hidden;
  }

  .mf-header:not(.mf-home-header) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  }

  .mf-header:not(.mf-home-header) .mf-nav {
    width: 100%;
    min-height: 0;
    padding: 12px 4px 12px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .mf-header:not(.mf-home-header) .mf-brand {
    min-width: 0;
    justify-content: flex-start;
  }

  .mf-header:not(.mf-home-header) .mf-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    width: min(82vw, 320px);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 88px 18px 24px;
    border: 0;
    border-radius: 26px 0 0 26px;
    background: #fff;
    box-shadow: -22px 0 60px rgba(15, 23, 42, 0.2);
    transform: translateX(105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .mf-header:not(.mf-home-header) .mf-nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-align: center;
  }

  .mf-header:not(.mf-home-header) .mf-nav-links a.is-active {
    color: #fff;
    background: #111827;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.16);
  }

  .mf-header:not(.mf-home-header) .mf-nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: -22px 0 60px rgba(15, 23, 42, 0.2), -100vw 0 0 rgba(7, 25, 32, 0.52);
  }

  .mf-results-layout {
    width: min(100% - 28px, 1120px);
    padding-top: 24px;
    gap: 18px;
  }

  .mf-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mf-results-head h1 {
    font-size: 30px;
  }

  .mf-result-title {
    flex-direction: column;
    gap: 8px;
  }

  .mf-result-media {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  body.mober-front:not(.mf-home-page) {
    padding-top: 72px;
  }

  .mf-header:not(.mf-home-header) .mf-nav {
    padding-right: 0;
  }

  .mf-header:not(.mf-home-header) .mf-brand {
    font-size: 20px;
  }

  .mf-header:not(.mf-home-header) .mf-brand-mark {
    width: 38px;
    height: 38px;
  }

  .mf-results-layout {
    width: min(100% - 24px, 1120px);
  }
}

.mf-register-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 163, 148, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 44%, #f6faf9 100%);
}

.mf-register-hero {
  position: relative;
  padding: 140px 0 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 37, 42, 0.94), rgba(4, 37, 42, 0.72)),
    url("generated/moto-hero.png") center / cover no-repeat;
}

.mf-register-car .mf-register-hero {
  background:
    linear-gradient(90deg, rgba(7, 13, 24, 0.94), rgba(7, 13, 24, 0.72)),
    url("generated/car-hero.png") center / cover no-repeat;
}

.mf-register-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: end;
}

.mf-register-flow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #d9fffa;
  background: rgba(0, 163, 148, 0.2);
  border: 1px solid rgba(217, 255, 250, 0.24);
  font-weight: 950;
}

.mf-register-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.mf-register-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.mf-register-progress {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.mf-register-progress div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.mf-register-progress div.is-current {
  color: #101828;
  background: #fff;
}

.mf-register-progress span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 950;
}

.mf-register-progress .is-current span {
  background: #00a394;
}

.mf-register-section {
  padding: 72px 0 96px;
}

.mf-register-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.mf-register-side,
.mf-register-card {
  border: 1px solid #e4e7ec;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 24, 40, 0.08);
}

.mf-register-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.mf-register-side h2 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 24px;
}

.mf-register-side div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #475467;
  line-height: 1.55;
}

.mf-register-side svg {
  color: #00a394;
}

.mf-register-side .mf-side-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 14px;
  color: #008f84;
  background: #e7fbf7;
  border: 1px solid rgba(0, 163, 148, 0.18);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  box-shadow: 0 10px 24px rgba(0, 143, 132, 0.12);
}

.mf-register-card {
  padding: 34px;
}

.mf-register-head {
  margin-bottom: 28px;
}

.mf-register-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #00a394;
  font-size: 13px;
  font-weight: 950;
}

.mf-register-head h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.mf-mobile-title-tail {
  display: inline;
  font: inherit;
  font-style: normal;
  color: inherit;
  letter-spacing: inherit;
}

.mf-register-head p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #667085;
  line-height: 1.8;
}

.mf-register-form {
  display: grid;
  gap: 18px;
}

.mf-register-form .mf-field input,
.mf-register-form .mf-field select {
  height: 56px;
  border-radius: 14px;
  background: #f9fafb;
}

.mf-register-checks {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
}

.mf-register-checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #475467;
  line-height: 1.6;
}

.mf-register-checks input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #00a394;
}

.mf-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mf-upload-box {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 2px dashed #9edbd3 !important;
  border-radius: 24px;
  background: #f8fbfa;
}

.mf-upload-box.dz-drag-hover {
  border-color: #00a394 !important;
  background: #eefaf8;
}

.mf-upload-inner {
  text-align: center;
  pointer-events: none;
}

.mf-upload-inner svg {
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  color: #00a394;
}

.mf-upload-inner h3 {
  margin: 0;
  color: #101828;
  font-size: 22px;
}

.mf-upload-inner p {
  margin: 10px auto 18px;
  max-width: 260px;
  color: #667085;
  line-height: 1.7;
}

.mf-upload-trigger {
  pointer-events: auto;
}

.mf-upload-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.mf-upload-preview div {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #edf0f4;
}

.mf-upload-preview strong {
  color: #101828;
}

.mf-upload-preview span {
  min-height: 118px;
  display: grid;
  place-items: center;
  color: #667085;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.mf-upload-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.mf-upload-placeholder {
  width: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 163, 148, 0.08), rgba(255, 255, 255, 0.92)),
    #fff;
  color: #667085;
}

.mf-upload-placeholder svg {
  width: 42px;
  height: 42px;
  color: #00a394;
}

.mf-upload-placeholder em {
  display: block;
  font-style: normal;
  font-weight: 800;
  color: #344054;
}

.mf-contract-box {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #e4e7ec;
  background: #f9fafb;
}

.mf-contract-box .policy_font_display_title {
  margin: 0 0 18px;
  color: #101828;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.mf-contract-box h3 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 20px;
}

.mf-contract-box h3:not(:first-child) {
  margin-top: 24px;
}

.mf-contract-box p {
  margin: 0 0 12px;
  color: #475467;
  line-height: 1.85;
}

.mf-contract-box .privacy-statement {
  color: #475467;
  line-height: 1.85;
}

.mf-contract-box .policy_font_display_three {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.55;
}

.mf-contract-box .policy_font_display_two {
  color: #101828;
  font-size: 22px;
  line-height: 1.35;
}

.mf-contract-box ul {
  padding-left: 22px;
  margin: 0 0 18px;
}

.mf-contract-box li {
  margin-bottom: 8px;
}

.mf-contract-box .privacy-divider {
  border: 0;
  border-top: 1px solid #e4e7ec;
  margin: 20px 0 4px;
}

.mf-signature-area {
  margin-top: 22px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e4e7ec;
}

.mf-signature-area canvas {
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(16, 24, 40, 0.06) 39px 40px);
  touch-action: none;
}

.mf-signature-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.mf-signing-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 24, 40, 0.52);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mf-signing-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mf-signing-dialog {
  width: min(440px, 100%);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.28);
  color: #101828;
  text-align: center;
}

.mf-signing-loader {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 5px solid #e4e7ec;
  border-top-color: #00a394;
  animation: mfSigningSpin 0.85s linear infinite;
}

.mf-signing-dialog strong {
  display: block;
  font-size: 24px;
}

.mf-signing-dialog p {
  margin: 10px auto 22px;
  color: #667085;
  line-height: 1.7;
}

.mf-signing-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.mf-signing-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f9fafb;
  color: #667085;
  font-weight: 700;
}

.mf-signing-steps li span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d0d5dd;
  box-shadow: 0 0 0 4px rgba(208, 213, 221, 0.25);
}

.mf-signing-steps li.is-active {
  background: #eefaf8;
  color: #047a72;
}

.mf-signing-steps li.is-active span {
  background: #00a394;
  box-shadow: 0 0 0 5px rgba(0, 163, 148, 0.16);
}

.mf-signing-steps li.is-done {
  background: #ecfdf3;
  color: #067647;
}

.mf-signing-steps li.is-done span {
  background: #12b76a;
}

@keyframes mfSigningSpin {
  to {
    transform: rotate(360deg);
  }
}

.mf-register-finish {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.mf-register-finish svg {
  width: 72px;
  height: 72px;
  color: #00a394;
}

.mf-register-finish h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(30px, 3.4vw, 44px);
}

.mf-register-finish p {
  max-width: 560px;
  margin: 0;
  color: #667085;
  line-height: 1.8;
}

.mf-register-finish-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .mf-register-hero-inner,
  .mf-register-layout,
  .mf-upload-grid,
  .mf-upload-preview {
    grid-template-columns: 1fr;
  }

  .mf-register-side {
    position: static;
  }

  .mf-register-hero {
    padding-top: 110px;
  }

  .mf-register-page .mf-page {
    overflow-x: clip;
  }

  .mf-register-section {
    padding: 44px 0 72px;
  }

  .mf-register-layout {
    width: min(100% - 28px, 1180px);
  }

  .mf-register-card,
  .mf-register-side,
  .mf-contract-box,
  .mf-upload-box {
    max-width: 100%;
    min-width: 0;
  }

  .mf-register-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-register-progress div {
    min-width: 0;
  }

  .mf-register-progress strong,
  .mf-register-head h2,
  .mf-register-head p,
  .mf-register-side span,
  .mf-contract-box {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .mf-register-page .mf-home-header .mf-nav {
    padding-right: 0;
  }

  .mf-register-hero {
    padding: 116px 0 42px;
  }

  .mf-register-hero h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.2;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .mf-register-hero p {
    font-size: 16px;
    line-height: 1.75;
  }

  .mf-register-card,
  .mf-register-side {
    width: 100%;
    max-width: 100%;
    padding: 22px;
    overflow: hidden;
  }

  body.mf-register-page,
  .mf-register-page .mf-page,
  .mf-register-section,
  .mf-register-section .mf-container,
  .mf-register-layout {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mf-register-section .mf-container,
  .mf-register-layout {
    width: calc(100vw - 32px) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .mf-register-progress {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .mf-upload-box {
    min-height: 230px;
    padding: 18px;
  }

  .mf-upload-inner p {
    max-width: 100%;
  }

  .mf-register-head h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.28;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .mf-register-head h2 .mf-mobile-title-tail,
  .mf-mobile-title-tail {
    display: block !important;
    max-width: 100%;
    font: inherit !important;
    font-style: normal !important;
    color: inherit;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .mf-contract-box {
    padding: 18px;
  }

  .mf-register-card:has(.mf-contract-box) {
    padding-left: 3px;
    padding-right: 3px;
  }

  .mf-register-card:has(.mf-contract-box) .mf-register-head,
  .mf-register-card:has(.mf-contract-box) .mf-signature-actions {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mf-register-card:has(.mf-contract-box) .mf-contract-box,
  .mf-register-card:has(.mf-contract-box) .mf-signature-area {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .mf-register-card:has(.mf-contract-box) .mf-contract-box {
    padding: 14px;
  }

  .mf-register-card:has(.mf-contract-box) .mf-signature-area {
    padding: 3px;
    margin-left: -15px;
    width: calc(100% + 30px);
  }

  .mf-signature-actions .mf-btn,
  .mf-register-finish-actions .mf-btn {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .mf-login-shell {
    min-height: auto;
  }

  .mf-login-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 58px;
  }

  .mf-login-copy h1,
  .mf-login-copy p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .mf-login-hero {
    width: min(100% - 24px, 1120px);
    display: block;
    padding: 34px 0 44px;
    overflow: hidden;
  }

  .mf-login-copy {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .mf-login-logo {
    width: 156px;
    margin-bottom: 24px;
  }

  .mf-login-copy h1 {
    font-size: 36px;
  }

  .mf-login-copy p {
    width: min(100%, 330px);
    max-width: 330px;
    font-size: 16px;
    white-space: normal !important;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .mf-login-card {
    margin-top: 30px;
    padding: 22px;
    border-radius: 18px;
    transform: none;
  }

  .mf-login-page .mf-mobile-menu-btn {
    display: inline-flex;
    position: fixed;
    top: 14px;
    right: 14px;
    visibility: visible;
    opacity: 1;
    margin-right: 0;
    border-color: #98a2b3;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
  }

  .mf-login-page .mf-home-header .mf-nav {
    width: min(100% - 24px, 1120px);
    grid-template-columns: minmax(0, 1fr) 48px;
    margin: 0 auto;
    padding-right: 0;
  }

  .mf-login-page .mf-home-header .mf-logo-brand {
    min-width: 0;
  }

  .mf-login-page .mf-home-header .mf-logo-brand img {
    width: 116px;
  }

  .mf-login-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mf-login-points span {
    justify-content: center;
    width: 100%;
  }

  .mf-login-card-head {
    align-items: flex-start;
  }

  .mf-login-card-head h2 {
    font-size: 25px;
  }

  .mf-login-row {
    display: grid;
  }

  .mf-login-actions > div {
    grid-template-columns: 1fr;
  }
}

/* 20260520 front information and member center pages */
.mf-info-page .mf-breadcrumb,
.mf-member-center-page .mf-breadcrumb {
  padding-top: 132px;
  padding-bottom: 38px;
  background: linear-gradient(135deg, rgba(8, 151, 138, 0.08), rgba(16, 24, 40, 0.04));
}
.mf-info-layout,
.mf-member-center-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0 70px;
}
.mf-info-grid,
.mf-member-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mf-info-card,
.mf-member-card {
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}
.mf-info-card h2,
.mf-member-card h2 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 22px;
  line-height: 1.35;
}
.mf-info-card p,
.mf-member-card p,
.mf-faq-list p {
  color: #475467;
  font-size: 15px;
  line-height: 1.8;
}
.mf-info-kicker {
  color: #078d82;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
}
.mf-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.mf-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mf-contact-form .is-wide {
  grid-column: 1 / -1;
}
.mf-contact-form textarea {
  min-height: 132px;
  resize: vertical;
}
.mf-faq-list {
  display: grid;
  gap: 12px;
}
.mf-faq-list details {
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}
.mf-faq-list summary {
  cursor: pointer;
  color: #101828;
  font-weight: 800;
  font-size: 16px;
}
.mf-member-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.mf-member-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d9e4ea;
  background: #fff;
  color: #344054;
  font-weight: 800;
  text-decoration: none;
}
.mf-member-tabs a.is-active {
  background: #101828;
  border-color: #101828;
  color: #fff;
}
.mf-member-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mf-member-form .is-wide { grid-column: 1 / -1; }
.mf-contract-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mf-contract-downloads a,
.mf-contract-downloads span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e6edf2;
  border-radius: 14px;
  background: #f8fafc;
  color: #101828;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 820px) {
  .mf-info-grid,
  .mf-member-summary-grid,
  .mf-contact-form,
  .mf-member-form,
  .mf-contract-downloads {
    grid-template-columns: 1fr;
  }
  .mf-info-page .mf-breadcrumb,
  .mf-member-center-page .mf-breadcrumb {
    padding-top: 112px;
  }
}

@media (max-width: 640px) {
  .mf-info-page .mf-breadcrumb h1,
  .mf-info-page .mf-breadcrumb p,
  .mf-member-center-page .mf-breadcrumb h1,
  .mf-member-center-page .mf-breadcrumb p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .mf-info-page .mf-breadcrumb p,
  .mf-member-center-page .mf-breadcrumb p {
    font-size: 15px;
    line-height: 1.75;
  }
  .mf-info-card,
  .mf-member-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .mober-front {
    overflow-x: hidden;
  }
  .mf-info-page .mf-breadcrumb .mf-container,
  .mf-member-center-page .mf-breadcrumb .mf-container,
  .mf-info-page .mf-container,
  .mf-member-center-page .mf-container {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
  }
  .mf-info-card p,
  .mf-member-card p,
  .mf-info-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  body.mf-info-page .mf-breadcrumb p,
  body.mf-member-center-page .mf-breadcrumb p,
  body.mf-info-page .mf-breadcrumb h1,
  body.mf-member-center-page .mf-breadcrumb h1 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
}

/* 20260521 polish member/contact/faq pages */
body.mf-info-page .mf-breadcrumb,
body.mf-member-center-page .mf-breadcrumb {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 30%, rgba(20, 184, 166, .34), transparent 34%),
    linear-gradient(135deg, #101828 0%, #1f2937 52%, #0f766e 100%) !important;
  color: #fff !important;
}
body.mf-info-page .mf-breadcrumb .mf-container,
body.mf-member-center-page .mf-breadcrumb .mf-container {
  position: relative;
  z-index: 1;
}
body.mf-info-page .mf-breadcrumb h1,
body.mf-info-page .mf-breadcrumb p,
body.mf-member-center-page .mf-breadcrumb h1,
body.mf-member-center-page .mf-breadcrumb p {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .24);
}
body.mf-info-page .mf-breadcrumb p,
body.mf-member-center-page .mf-breadcrumb p {
  max-width: 760px !important;
  opacity: .92;
}
body.mf-info-page .mf-info-kicker,
body.mf-member-center-page .mf-info-kicker {
  color: #5eead4 !important;
}
body.mf-info-page main,
body.mf-member-center-page main {
  background: transparent;
}
.mf-info-card,
.mf-member-card,
.mf-faq-list details,
.mf-empty {
  border-color: #d9e8ee !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10) !important;
}
.mf-info-card,
.mf-member-card {
  overflow: hidden;
}
.mf-info-card > i,
.mf-member-card > i {
  width: 28px;
  height: 28px;
  color: #0f766e;
  margin-bottom: 18px;
}
.mf-info-card p,
.mf-member-card p,
.mf-faq-list p,
.mf-info-card a,
.mf-member-card a {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.mf-contact-form .mf-field input,
.mf-contact-form .mf-field textarea,
.mf-member-form .mf-field input,
.mf-member-form .mf-field select {
  background: #f8fafc;
}
@media (max-width: 640px) {
  body.mf-info-page .mf-breadcrumb,
  body.mf-member-center-page .mf-breadcrumb {
    padding-top: 116px !important;
    padding-bottom: 42px !important;
  }
  body.mf-info-page .mf-breadcrumb h1,
  body.mf-member-center-page .mf-breadcrumb h1 {
    font-size: 34px !important;
    line-height: 1.15 !important;
  }
  body.mf-info-page .mf-breadcrumb p,
  body.mf-member-center-page .mf-breadcrumb p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  .mf-info-layout,
  .mf-member-center-layout {
    padding-top: 28px !important;
  }
  .mf-info-card,
  .mf-member-card,
  .mf-faq-list details,
  .mf-empty {
    border-radius: 16px !important;
  }
  .mf-info-grid {
    gap: 16px !important;
  }
}

/* 20260521 mobile overflow hardening for info/member pages */
@media (max-width: 640px) {
  html,
  body,
  body.mf-info-page,
  body.mf-member-center-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }
  body.mf-info-page *,
  body.mf-member-center-page * {
    box-sizing: border-box;
  }
  body.mf-info-page .mf-breadcrumb,
  body.mf-member-center-page .mf-breadcrumb,
  body.mf-info-page .mf-info-layout,
  body.mf-member-center-page .mf-member-center-layout,
  body.mf-info-page .mf-info-grid,
  body.mf-member-center-page .mf-member-summary-grid {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  body.mf-info-page .mf-breadcrumb .mf-container,
  body.mf-member-center-page .mf-breadcrumb .mf-container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.mf-info-page .mf-breadcrumb p,
  body.mf-member-center-page .mf-breadcrumb p,
  body.mf-info-page .mf-info-card p,
  body.mf-member-center-page .mf-member-card p,
  body.mf-info-page .mf-faq-list p {
    display: block !important;
    width: 100% !important;
    max-width: 330px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
  body.mf-info-page .mf-info-card,
  body.mf-member-center-page .mf-member-card,
  body.mf-info-page .mf-faq-list details,
  body.mf-member-center-page .mf-empty {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* 20260521 restore home page info sections after info-page card styles */
body.mf-home-page .mf-info-section .mf-info-grid {
  display: grid !important;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 560px) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(36px, 5vw, 72px) !important;
  width: min(100% - 48px, 1180px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.mf-home-page .mf-info-section .mf-info-media,
body.mf-home-page .mf-info-section .mf-info-copy {
  min-width: 0;
}

@media (max-width: 920px) {
  body.mf-home-page .mf-info-section .mf-info-grid {
    grid-template-columns: 1fr !important;
    width: min(100% - 28px, 720px) !important;
  }

  .mf-member-profile strong {
    max-width: none;
  }
}

/* 20260521 home mobile overflow guard */
@media (max-width: 520px) {
  html,
  body.mf-home-page,
  body.mf-home-page .mf-page,
  body.mf-home-page .mf-template-hero {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.mf-home-page .mf-home-header .mf-nav,
  body.mf-home-page .mf-container,
  body.mf-home-page .mf-template-hero-inner {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.mf-home-page .mf-template-copy,
  body.mf-home-page .mf-template-search-card,
  body.mf-home-page .mf-template-actions,
  body.mf-home-page .mf-template-actions .mf-btn {
    box-sizing: border-box !important;
  }

  body.mf-home-page .mf-template-copy h1 {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    font-size: 28px !important;
    line-height: 1.24 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    text-wrap: wrap !important;
  }

  body.mf-home-page .mf-template-copy p {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  body.mf-home-page .mf-template-actions {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  body.mf-home-page .mf-template-actions .mf-btn,
  body.mf-home-page .mf-template-search-card,
  body.mf-home-page .mf-template-search,
  body.mf-home-page .mf-template-search .mf-field,
  body.mf-home-page .mf-template-search input,
  body.mf-home-page .mf-template-search select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.mf-home-page .mf-template-search-card {
    padding: 22px !important;
  }

  body.mf-home-page .mf-showcase-band,
  body.mf-home-page .mf-db-carousel-block,
  body.mf-home-page .mf-app-panel,
  body.mf-home-page .mf-process-grid article,
  body.mf-home-page .mf-faq-grid article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.mf-home-page .mf-showcase-copy h2,
  body.mf-home-page .mf-showcase-copy p,
  body.mf-home-page .mf-section-title h2,
  body.mf-home-page .mf-section-title p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
}
