.mf-sgp-app {
  --mf-bg: #f6f8fb;
  --mf-panel: #ffffff;
  --mf-panel-2: #eef4fb;
  --mf-text: #142033;
  --mf-muted: #5c6a7d;
  --mf-border: #dbe4ef;
  --mf-line: #edf2f7;
  --mf-primary: #0e7c86;
  --mf-primary-2: #115e67;
  --mf-accent: #f4b43f;
  --mf-danger: #b42318;
  --mf-ok: #087443;
  color: var(--mf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.mf-sgp-app * {
  box-sizing: border-box;
}

.wp-block-navigation li:has(a[href*="/dashboard-admin/"]),
.wp-block-navigation a[href*="/dashboard-admin/"] {
  display: none !important;
}

.mf-shell-loading,
.mf-wrap {
  width: min(1160px, calc(100vw - 32px));
  margin: 28px auto;
}

.mf-shell-loading {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--mf-border);
  background: var(--mf-panel);
  border-radius: 8px;
}

.mf-shell-loading span {
  color: var(--mf-muted);
}

.mf-hero {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.mf-hero-main,
.mf-side-panel,
.mf-card,
.mf-panel,
.mf-form-panel {
  background: var(--mf-panel);
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(20, 32, 51, .06);
}

.mf-hero-main {
  padding: clamp(22px, 4vw, 44px);
  background:
    linear-gradient(130deg, rgba(14,124,134,.96), rgba(16,48,73,.95)),
    radial-gradient(circle at 78% 16%, rgba(244,180,63,.5), transparent 30%);
  color: #fff;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mf-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255,255,255,.86);
}

.mf-hero h1 {
  margin: 16px 0 10px;
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.mf-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 17px;
}

.mf-side-panel {
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.mf-side-panel strong {
  font-size: 28px;
}

.mf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.mf-col-4 {
  grid-column: span 4;
}

.mf-col-5 {
  grid-column: span 5;
}

.mf-col-6 {
  grid-column: span 6;
}

.mf-col-7 {
  grid-column: span 7;
}

.mf-col-8 {
  grid-column: span 8;
}

.mf-col-12 {
  grid-column: span 12;
}

.mf-card,
.mf-panel,
.mf-form-panel {
  padding: 18px;
}

.mf-card h3,
.mf-panel h2,
.mf-form-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.mf-muted {
  color: var(--mf-muted);
}

.mf-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.mf-kpi {
  padding: 14px;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: var(--mf-panel-2);
}

.mf-kpi span {
  display: block;
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mf-kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

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

.mf-fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.mf-field {
  grid-column: span 6;
  display: grid;
  gap: 6px;
}

.mf-field.full {
  grid-column: span 12;
}

.mf-field.third {
  grid-column: span 4;
}

.mf-field.quarter {
  grid-column: span 3;
}

.mf-field label {
  color: var(--mf-muted);
  font-size: 13px;
  font-weight: 700;
}

.mf-field input,
.mf-field select,
.mf-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--mf-border);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--mf-text);
  font: inherit;
}

.mf-field textarea {
  min-height: 92px;
  resize: vertical;
}

.mf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mf-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--mf-primary);
  color: #fff;
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mf-btn:hover,
.mf-btn:focus {
  background: var(--mf-primary-2);
  color: #fff;
}

.mf-btn.secondary {
  background: #fff;
  border-color: var(--mf-border);
  color: var(--mf-text);
}

.mf-btn.secondary:hover {
  background: var(--mf-panel-2);
  color: var(--mf-text);
}

.mf-btn.warn {
  background: var(--mf-accent);
  color: #1d2939;
}

.mf-btn.danger {
  background: var(--mf-danger);
}

.mf-btn:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.mf-notice {
  border: 1px solid var(--mf-border);
  border-left: 4px solid var(--mf-primary);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: var(--mf-text);
}

.mf-notice.ok {
  border-left-color: var(--mf-ok);
}

.mf-notice.err {
  border-left-color: var(--mf-danger);
}

.mf-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mf-plan {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  padding: 16px;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: #fff;
}

.mf-plan-badge {
  min-height: 22px;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(244,180,63,.18);
  color: #7a4e00;
  font-size: 12px;
  font-weight: 800;
}

.mf-plan h3 {
  margin: 0;
  font-size: 19px;
}

.mf-price {
  font-size: 28px;
  font-weight: 900;
}

.mf-price small {
  font-size: 13px;
  color: var(--mf-muted);
}

.mf-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--mf-muted);
  font-size: 14px;
}

.mf-feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mf-primary);
  vertical-align: 1px;
}

.mf-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: #fff;
}

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

.mf-table th,
.mf-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--mf-line);
  text-align: left;
  vertical-align: top;
}

.mf-table th {
  color: var(--mf-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mf-table tr:last-child td {
  border-bottom: 0;
}

.mf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mf-panel-2);
  color: var(--mf-muted);
  font-size: 12px;
  font-weight: 800;
}

.mf-chip.ok {
  background: rgba(8,116,67,.1);
  color: var(--mf-ok);
}

.mf-chip.warn {
  background: #fff4d8;
  color: #8a4b00;
}

.mf-chip.err {
  background: rgba(180,35,24,.1);
  color: var(--mf-danger);
}

.mf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.mf-tab {
  border: 1px solid var(--mf-border);
  background: #fff;
  color: var(--mf-text);
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.mf-tab.active {
  background: var(--mf-primary);
  color: #fff;
  border-color: var(--mf-primary);
}

.mf-admin-row {
  display: grid;
  grid-template-columns: 1.1fr .8fr .7fr .6fr .6fr .55fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}

.mf-admin-row.coverage {
  grid-template-columns: 1fr .72fr .72fr .55fr .55fr .72fr .35fr .45fr;
}

.mf-admin-row input,
.mf-admin-row textarea,
.mf-admin-row select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--mf-border);
  border-radius: 6px;
  padding: 8px 9px;
  font: inherit;
}

.mf-admin-row textarea {
  min-height: 70px;
}

.mf-admin-login {
  max-width: 760px;
  margin-inline: auto;
}

body.mf-admin-standalone {
  margin: 0;
  min-height: 100vh;
  background: #eef4fb;
}

body.mf-admin-standalone .mf-wrap {
  width: min(1240px, calc(100vw - 28px));
  margin: 18px auto 34px;
}

.mf-admin-topbar,
.mf-section-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mf-admin-topbar {
  margin: -4px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: #fff;
}

.mf-admin-topbar span {
  margin-right: auto;
  color: var(--mf-muted);
  font-size: 13px;
  font-weight: 800;
}

.mf-admin-card-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mf-admin-card {
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.mf-admin-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.mf-admin-card summary::-webkit-details-marker {
  display: none;
}

.mf-admin-card summary strong,
.mf-admin-card summary span,
.mf-admin-card summary em {
  min-width: 0;
}

.mf-admin-card summary span {
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-admin-card summary em {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mf-panel-2);
  color: var(--mf-primary-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mf-admin-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 0 14px 14px;
}

.mf-admin-card .mf-field.third {
  grid-column: span 4;
}

.mf-admin-card .mf-field.full {
  grid-column: span 12;
}

.mf-admin-log-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mf-admin-log {
  border: 1px solid var(--mf-border);
  border-left: 4px solid var(--mf-primary);
  border-radius: 8px;
  background: #fff;
}

.mf-admin-log.error {
  border-left-color: var(--mf-danger);
}

.mf-admin-log.warning {
  border-left-color: var(--mf-accent);
}

.mf-admin-log summary {
  display: grid;
  grid-template-columns: .55fr minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
}

.mf-admin-log summary span {
  min-width: 0;
  color: var(--mf-text);
}

.mf-admin-log summary em {
  color: var(--mf-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mf-admin-log .mf-code {
  margin: 0 12px 12px;
}

.mf-api-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid var(--mf-border);
  border-left: 5px solid var(--mf-accent);
  border-radius: 8px;
  background: #fff;
}

.mf-api-state.ok {
  border-left-color: var(--mf-ok);
}

.mf-api-state span {
  color: var(--mf-muted);
  font-size: 13px;
}

.mf-code {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 10px;
  border: 1px dashed var(--mf-border);
  border-radius: 8px;
  background: #fbfcfe;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #1d2939;
}

.mf-pix-qr {
  display: block;
  width: min(220px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 12px 0;
  border: 1px solid var(--mf-border);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 980px) {
  .mf-hero {
    grid-template-columns: 1fr;
  }

  .mf-col-4,
  .mf-col-5,
  .mf-col-6,
  .mf-col-7,
  .mf-col-8 {
    grid-column: span 12;
  }

  .mf-plans,
  .mf-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .mf-admin-row,
  .mf-admin-row.coverage {
    grid-template-columns: 1fr 1fr;
  }

  .mf-admin-card summary {
    grid-template-columns: 1fr;
  }

  .mf-admin-card summary em {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .mf-shell-loading,
  .mf-wrap {
    width: min(100% - 18px, 1160px);
    margin: 14px auto;
  }

  .mf-hero-main {
    min-height: 230px;
  }

  .mf-field,
  .mf-field.third,
  .mf-field.quarter {
    grid-column: span 12;
  }

  .mf-plans,
  .mf-kpis {
    grid-template-columns: 1fr;
  }

  .mf-admin-row,
  .mf-admin-row.coverage {
    grid-template-columns: 1fr;
  }

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

  .mf-admin-card .mf-field.third,
  .mf-admin-card .mf-field.full {
    grid-column: 1;
  }

  .mf-actions {
    align-items: stretch;
  }

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

body:has(.mfr) .mf-sgp-app {
  display: none;
}

.mfr .mfr-portal .mfr-section-head,
.mfr .mfr-login-wrap {
  display: none;
}

.mfr .mfr-portal.mf-portal-ready .mfr-section-head,
.mfr .mfr-login-wrap.mf-portal-ready {
  display: block;
}

.mfr .mf-portal-cta {
  max-width: 760px;
  padding: 18px;
  border: 1px solid var(--mfr-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(7, 36, 82, .10);
}

.mfr .mf-portal-cta h3 {
  margin: 8px 0;
  color: var(--mfr-navy);
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.15;
}

.mfr .mf-portal-cta p {
  max-width: 620px;
  margin-bottom: 18px;
  color: #31445b;
  font-size: 15px;
}

.mfr .mf-portal-cta .mfr-button,
.mf-client-modal .mfr-button,
.mf-client-modal .mf-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, #0057ff, #00a6c8);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.mf-modal-open {
  overflow: hidden;
}

.mf-client-modal[hidden] {
  display: none;
}

.mf-client-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.mf-client-modal,
.mf-client-modal * {
  box-sizing: border-box;
}

.mf-client-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 47, .60);
  backdrop-filter: blur(6px);
}

.mf-client-modal-card {
  position: relative;
  width: min(960px, calc(100vw - 24px));
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  overflow-x: hidden;
  border-radius: 10px;
  background: #f7fbff;
  box-shadow: 0 30px 90px rgba(3, 20, 47, .34);
}

.mf-client-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #fff;
  background: #123f73;
}

.mf-client-modal-head strong,
.mf-client-modal-head span {
  display: block;
}

.mf-client-modal-head strong {
  font-size: 18px;
  line-height: 1.1;
}

.mf-client-modal-head span {
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 700;
}

.mf-client-modal-head button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.10);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.mf-client-modal .mf-inline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px 0;
}

.mf-client-modal .mf-inline-tab {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  color: #102033;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.mf-client-modal .mf-inline-tab.is-active {
  border-color: transparent;
  color: #fff;
  background: #0057ff;
}

.mf-client-modal .mf-inline-body {
  padding: 16px;
  min-width: 0;
}

.mf-client-modal h3,
.mf-client-modal h4 {
  margin: 0 0 8px;
  color: #102033;
  letter-spacing: 0;
  line-height: 1.2;
}

.mf-client-modal h3 {
  font-size: 20px;
}

.mf-client-modal h4 {
  font-size: 15px;
}

.mf-client-modal p {
  color: #31445b;
  font-size: 14px;
  line-height: 1.45;
}

.mf-client-modal .mf-inline-grid,
.mf-client-modal .mf-fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: start;
}

.mf-client-modal .mf-inline-field,
.mf-client-modal .mf-field {
  grid-column: span 6;
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  align-content: start;
}

.mf-client-modal .mf-inline-field.full,
.mf-client-modal .mf-field.full {
  grid-column: span 12;
}

.mf-client-modal .mf-inline-field.third,
.mf-client-modal .mf-field.third {
  grid-column: span 4;
}

.mf-client-modal label {
  color: #31445b;
  font-size: 13px;
  font-weight: 900;
}

.mf-client-modal input,
.mf-client-modal select,
.mf-client-modal textarea {
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  padding: 8px 12px;
  color: #102033;
  background: #fff;
  font: 600 14px/1.25 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mf-client-modal .mf-inline-form,
.mf-client-modal .mf-form {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.mf-client-modal textarea {
  height: auto;
  min-height: 86px;
  resize: vertical;
}

.mf-client-modal .mf-inline-actions,
.mf-client-modal .mf-inline-buttons,
.mf-client-modal .mf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.mf-demo-fill {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #0057ff;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mf-client-modal .mf-inline-result,
.mf-client-modal .js-lead-result {
  margin-top: 14px;
}

.mf-client-modal .mf-inline-notice,
.mf-client-modal .mf-notice {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbdcf0;
  border-left: 4px solid #0057ff;
  background: #fff;
  color: #102033;
}

.mf-client-modal .mf-inline-notice.ok,
.mf-client-modal .mf-notice.ok {
  border-left-color: #0b9f62;
}

.mf-client-modal .mf-inline-notice.err,
.mf-client-modal .mf-notice.err {
  border-left-color: #d92f4b;
}

.mf-client-modal .mf-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mf-client-modal .mf-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 3px solid #dbeafe;
  border-top-color: #0057ff;
  border-radius: 50%;
  animation: mfSpin .8s linear infinite;
}

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

.mf-client-modal .mf-invoice-list,
.mf-client-modal .mf-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mf-client-modal .mf-client-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mf-client-modal .mf-invoice-card,
.mf-client-modal .mf-client-card {
  padding: 14px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  background: #fff;
}

.mf-client-modal .mf-client-card span {
  display: block;
  margin-bottom: 6px;
  color: #486176;
  font-size: 12px;
  font-weight: 800;
}

.mf-client-modal .mf-invoice-card strong,
.mf-client-modal .mf-client-card strong {
  display: block;
  color: #102033;
  font-size: 1rem;
}

.mf-client-modal .mf-invoice-card span,
.mf-client-modal .mf-client-card span {
  display: block;
  margin-top: 4px;
  color: #486176;
}

.mf-client-modal .mf-client-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mf-client-modal .mf-client-summary div,
.mf-client-modal .mf-mini-row {
  padding: 10px 12px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  background: #fff;
}

.mf-client-modal .mf-client-summary .full {
  grid-column: 1 / -1;
}

.mf-client-modal .mf-client-summary span {
  display: block;
  color: #486176;
  font-size: 12px;
  font-weight: 800;
}

.mf-client-modal .mf-client-summary strong {
  display: block;
  margin-top: 4px;
  color: #102033;
  font-size: 14px;
}

.mf-client-modal .mf-mini-list {
  display: grid;
  gap: 8px;
}

.mf-client-modal .mf-mini-row {
  display: grid;
  grid-template-columns: .8fr 1.4fr .8fr;
  gap: 8px;
  align-items: center;
  color: #102033;
  font-size: 13px;
}

.mf-client-modal .mf-mini-row em {
  color: #486176;
  font-style: normal;
  text-align: right;
}

.mf-client-modal .mf-code-box {
  display: block;
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed #cbdcf0;
  background: #fff;
  color: #102033;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.mf-client-modal .mf-admin-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mf-client-modal .mf-admin-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr .7fr;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  background: #fff;
  color: #102033;
  font-size: 13px;
}

.mfr .mf-inline-panel {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--mfr-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 68px rgba(7, 36, 82, .12);
}

.mfr .mfr-speed-ring small {
  color: #ffffff !important;
  opacity: .92;
  max-width: 190px;
  min-height: 36px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
  text-shadow: 0 0 14px rgba(0, 216, 255, .72);
}

.mfr .mfr-speed-card {
  max-width: min(440px, 100%);
  overflow: hidden;
}

.mfr .mfr-speed-ring > div {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
}

.mfr .mfr-speed-ring strong {
  display: flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: clamp(44px, 6vw, 68px) !important;
}

.mfr .mfr-speed-ring strong span {
  font-size: .46em;
  line-height: 1;
}

.mfr .mfr-speed-card [class*="needle"] {
  transition: transform 1.05s cubic-bezier(.2, .9, .2, 1);
  transform-origin: 50% 92%;
}

.mfr .mfr-speed-card strong span,
.mfr .mfr-speed-ring strong span {
  font-size: .52em;
  font-weight: 700;
}

.mfr .mfr-button:empty,
.mfr .mfr-pill:empty {
  display: none !important;
}

.mfr .mfr-plan h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: .98;
  font-size: clamp(30px, 3.8vw, 54px);
}

.mfr .mfr-plan .mfr-price {
  white-space: nowrap;
}

.mfr .mfr-plan {
  overflow: hidden;
}

.mfr .mfr-plan.is-special {
  border-color: rgba(0, 199, 217, .52);
  background: linear-gradient(180deg, rgba(224, 249, 255, .92), #fff 52%);
}

.mfr .mfr-plan.is-special .mfr-tag {
  color: #052044;
  background: #c8f7ff;
}

.mfr .mfr-hero-grid,
.mfr .mfr-home-hero,
.mfr .mfr-hero {
  overflow: hidden;
}

.mfr .mfr-hero-grid {
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.mfr .mfr-hero h1,
.mfr .mfr-home-hero h1,
.mfr .mfr-hero-grid h1 {
  max-width: 860px;
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.mfr .mfr-hero p,
.mfr .mfr-home-hero p,
.mfr .mfr-hero-grid p {
  max-width: 720px;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.45;
}

.mfr .mfr-speed-card {
  width: min(420px, 100%);
  max-width: 100%;
  justify-self: end;
}

.mfr .mfr-speed-card strong,
.mfr .mfr-speed-ring strong {
  line-height: 1;
}

.mfr .mfr-benefit {
  min-height: 92px;
  overflow: hidden;
}

.mfr .mfr-benefit b,
.mfr .mfr-benefit strong,
.mfr .mfr-benefit h3 {
  line-height: 1.12;
  font-size: clamp(18px, 2vw, 25px);
}

.mfr .mfr-benefit p,
.mfr .mfr-benefit span {
  line-height: 1.35;
  font-size: 14px;
}

.mfr .mfr-plan.is-tv {
  border-color: rgba(0, 140, 114, .28);
}

.mfr .mfr-plan.is-tv .mfr-tag {
  color: #053d35;
  background: #dff8f2;
}

.mfr .mf-infinite-art {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(56px, 8vw, 110px) auto clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(0, 199, 217, .28);
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 216, 255, .28), transparent 30%),
    linear-gradient(135deg, #03142d 0%, #073a70 56%, #00788a 100%);
  box-shadow: 0 28px 80px rgba(4, 23, 46, .25);
  overflow: hidden;
}

.mfr .mf-infinite-art-copy {
  display: grid;
  gap: 12px;
}

.mfr .mf-infinite-art h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.mfr .mf-infinite-art p {
  max-width: 600px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.55;
}

.mfr .mf-infinite-art-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mfr .mfr-button.secondary,
.mf-client-modal .mfr-button.secondary {
  color: #06234a !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .78) !important;
  box-shadow: inset 0 0 0 1px rgba(7, 36, 82, .20), 0 14px 34px rgba(0, 0, 0, .16) !important;
  text-shadow: none !important;
}

.mfr .mfr-button.secondary::after,
.mf-client-modal .mfr-button.secondary::after {
  display: none !important;
}

.mfr .mfr-button.secondary {
  isolation: isolate;
}

.mfr .mf-infinite-art-figure {
  width: 100%;
  min-height: 250px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mfr .mf-infinite-art-avatar {
  width: min(300px, 42vw);
  aspect-ratio: 1;
  display: block;
  border-radius: 50%;
  background: url("infinite-avatar-256.png") center / cover no-repeat;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.82),
    0 0 0 9px rgba(0,216,255,.26),
    0 26px 70px rgba(0,0,0,.30);
}

.mfr .mf-inline-panel h3,
.mfr .mf-inline-panel h4 {
  margin: 0 0 8px;
  color: var(--mfr-navy);
  letter-spacing: 0;
}

.mfr .mf-inline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mfr .mf-inline-tab {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--mfr-line);
  border-radius: 8px;
  background: #fff;
  color: var(--mfr-navy);
  font-weight: 900;
  cursor: pointer;
}

.mfr .mf-inline-tab.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--mfr-blue), var(--mfr-cyan));
}

.mfr .mf-inline-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-items: start;
}

.mf-client-modal .mf-fields,
.mf-client-modal .mf-inline-grid {
  gap: 10px;
}

.mfr .mf-inline-field {
  grid-column: span 6;
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start;
}

.mfr .mf-inline-field.full {
  grid-column: span 12;
}

.mfr .mf-inline-field.third {
  grid-column: span 4;
}

.mfr .mf-inline-field label {
  color: var(--mfr-muted);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
}

.mfr .mf-inline-field input,
.mfr .mf-inline-field select,
.mfr .mf-inline-field textarea {
  width: 100%;
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--mfr-line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: var(--mfr-ink);
  font: 600 14px/1.25 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mf-client-modal input,
.mf-client-modal select,
.mf-client-modal textarea {
  min-height: 40px;
}

.mf-client-modal textarea {
  min-height: 74px;
}

.mfr .mf-inline-field textarea {
  height: auto;
  min-height: 88px;
  resize: vertical;
}

.mfr .mf-inline-actions,
.mfr .mf-inline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.mfr .mf-inline-result {
  margin-top: 14px;
}

.mfr .mf-inline-notice {
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--mfr-line);
  border-left: 4px solid var(--mfr-blue);
  background: #fff;
  color: var(--mfr-ink);
}

.mfr .mf-inline-notice.ok {
  border-left-color: var(--mfr-green);
}

.mfr .mf-inline-notice.err {
  border-left-color: #d92f4b;
}

.mfr .mf-invoice-list,
.mfr .mf-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mfr .mf-invoice-card,
.mfr .mf-client-card {
  padding: 16px;
  border: 1px solid var(--mfr-line);
  border-radius: 8px;
  background: var(--mfr-soft);
}

.mfr .mf-invoice-card strong,
.mfr .mf-client-card strong {
  display: block;
  color: var(--mfr-navy);
  font-size: 1.08rem;
}

.mfr .mf-invoice-card span,
.mfr .mf-client-card span {
  display: block;
  margin-top: 4px;
  color: var(--mfr-muted);
}

.mfr .mf-code-box {
  display: block;
  width: 100%;
  min-height: 70px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed var(--mfr-line);
  background: #fff;
  color: var(--mfr-ink);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.mf-infinity-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  min-width: 138px;
  height: 56px;
  display: inline-grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #09224b 0%, #0a65d8 70%, #c75227 100%);
  box-shadow: 0 14px 34px rgba(3, 20, 47, .26), 0 0 0 5px rgba(0, 123, 216, .10);
  cursor: pointer;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mf-infinity-launcher:hover,
.mf-infinity-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(3, 20, 47, .32), 0 0 0 6px rgba(0, 123, 216, .13);
}

.mf-infinity-launcher-text {
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  font-size: 13px;
  letter-spacing: 0;
  text-align: left;
  line-height: 1;
}

.mf-infinity-launcher-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 20px rgba(0,0,0,.18);
}

.mf-infinity-window {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 99999;
  width: min(390px, calc(100vw - 28px));
  max-width: 390px;
  max-height: min(640px, calc(100vh - 112px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(0, 199, 217, .34);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 20, 47, .32);
}

.mf-infinity-window.is-open {
  display: grid;
}

.mf-whatsapp-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99998;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c4a);
  box-shadow: 0 14px 34px rgba(18, 140, 74, .28), 0 0 0 0 rgba(37, 211, 102, .36);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: mfWhatsappPulse 2.6s ease-out infinite;
}

.mf-whatsapp-launcher:hover,
.mf-whatsapp-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(18, 140, 74, .34), 0 0 0 7px rgba(37, 211, 102, .14);
}

.mf-whatsapp-launcher span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.mf-whatsapp-launcher svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@keyframes mfWhatsappPulse {
  0% {
    box-shadow: 0 14px 34px rgba(18, 140, 74, .28), 0 0 0 0 rgba(37, 211, 102, .36);
  }
  70% {
    box-shadow: 0 14px 34px rgba(18, 140, 74, .28), 0 0 0 13px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 14px 34px rgba(18, 140, 74, .28), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.mf-infinity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  background: #123f73;
}

.mf-infinity-agent {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mf-infinity-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}

.mf-infinity-face {
  position: relative;
  width: 38px;
  height: 38px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: url("infinite-avatar-256.png") center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255,255,255,.88), 0 0 0 4px rgba(0,199,217,.45);
}

.mf-infinity-face::before {
  display: none;
}

.mf-infinity-face::after {
  display: none;
}

.mf-infinity-face i {
  display: none;
}

.mf-infinity-face span {
  display: none;
}

.mf-infinity-launcher .mf-infinity-face {
  width: 40px;
  height: 40px;
}

.mf-infinity-agent strong,
.mf-infinity-agent span {
  display: block;
}

.mf-infinity-agent strong {
  font-size: 15px;
  line-height: 1.05;
}

.mf-infinity-agent span {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.mf-infinity-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
}

.mf-infinity-messages {
  min-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  background: #f3f6fa;
  font-size: 13px;
  line-height: 1.45;
}

.mf-msg {
  max-width: 88%;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  color: #102033;
  box-shadow: 0 5px 14px rgba(7, 36, 82, .06);
  overflow-wrap: anywhere;
}

.mf-msg.user {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, #0057ff, #0099c8);
}

.mf-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 58px;
  width: fit-content;
  padding: 11px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(7, 36, 82, .08);
}

.mf-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a6c8;
  animation: mfTyping 1s infinite ease-in-out;
}

.mf-typing span:nth-child(2) { animation-delay: .12s; }
.mf-typing span:nth-child(3) { animation-delay: .24s; }

@keyframes mfTyping {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.mf-infinity-quick {
  display: flex;
  gap: 6px;
  padding: 0 10px 8px;
  background: #f3f6fa;
}

.mf-infinity-quick button,
.mf-infinity-send {
  border: 0;
  border-radius: 999px;
  min-height: 30px;
  padding: 6px 10px;
  color: #fff;
  background: #0a6bdc;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mf-infinity-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 7px;
  padding: 10px;
  border-top: 1px solid #d6e7f7;
  background: #fff;
}

.mf-infinity-input {
  min-height: 38px;
  border: 1px solid #c7d8ea;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
}

.mf-infinity-send {
  min-height: 38px;
  border-radius: 8px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.mf-infinity-cards {
  display: grid;
  gap: 9px;
  margin: 4px 0 10px;
}

.mf-chat-invoice {
  width: min(100%, 320px);
  padding: 10px;
  border: 1px solid #d2e4f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 36, 82, .08);
}

.mf-chat-invoice strong,
.mf-chat-invoice span,
.mf-chat-invoice em {
  display: block;
}

.mf-chat-invoice strong {
  color: #102033;
}

.mf-chat-invoice span {
  margin-top: 3px;
  color: #486176;
  font-size: 12px;
}

.mf-chat-invoice em {
  width: max-content;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #8a240f;
  background: #ffe6dd;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.mf-chat-invoice div,
.mf-infinity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.mf-chat-invoice button,
.mf-infinity-actions button,
.mf-chat-copy,
.mf-chat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: #0057ff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.mf-chat-invoice button[data-chat-pix],
.mf-chat-copy {
  background: #008c72;
}

.mf-chat-link {
  background: #021936;
}

@media (max-width: 760px) {
  .mfr .mfr-nav {
    gap: 10px;
    padding: 10px 14px;
  }

  .mfr .mfr-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mfr .mfr-brand img {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .mfr .mfr-brand span {
    max-width: 150px;
    line-height: 1.05;
    white-space: normal;
  }

  .mfr .mfr-nav-actions {
    order: 2;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mfr .mfr-nav-actions .mfr-pill {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
  }

  .mfr .mfr-actions,
  .mfr .mf-inline-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mfr .mfr-actions .mfr-button,
  .mfr .mf-inline-tabs .mf-inline-tab {
    width: 100%;
  }

  .mfr .mfr-hero-grid,
  .mfr .mfr-section-inner {
    width: min(100% - 24px, 1180px);
  }

  .mfr .mfr-band {
    margin-left: 12px;
    margin-right: 12px;
  }

  .mfr .mfr-speed-card {
    max-width: 100%;
  }

  .mfr .mfr-speed-ring {
    width: min(62vw, 260px);
    height: min(62vw, 260px);
  }

  .mfr .mf-infinite-art {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 1fr;
    padding: 22px;
    text-align: left;
  }

  .mfr .mf-infinite-art-figure {
    min-height: 180px;
    order: -1;
  }

  .mfr .mf-infinite-art-avatar {
    width: min(220px, 62vw);
  }

  .mfr .mf-inline-grid,
  .mfr .mf-invoice-list,
  .mfr .mf-client-grid,
  .mf-client-modal .mf-inline-grid,
  .mf-client-modal .mf-fields,
  .mf-client-modal .mf-invoice-list,
  .mf-client-modal .mf-client-grid,
  .mf-client-modal .mf-client-kpis,
  .mf-client-modal .mf-client-summary,
  .mf-client-modal .mf-mini-row {
    grid-template-columns: 1fr;
  }

  .mf-client-modal .mf-mini-row em {
    text-align: left;
  }

  .mfr .mf-inline-field,
  .mfr .mf-inline-field.third,
  .mf-client-modal .mf-inline-field,
  .mf-client-modal .mf-inline-field.third,
  .mf-client-modal .mf-field,
  .mf-client-modal .mf-field.third {
    grid-column: span 12;
  }

  .mfr .mf-inline-actions .mfr-button,
  .mfr .mf-inline-buttons .mfr-button,
  .mf-client-modal .mfr-button,
  .mf-client-modal .mf-btn {
    width: 100%;
  }

  .mf-client-modal {
    padding: 10px;
  }

  .mf-client-modal-card {
    max-height: calc(100vh - 20px);
  }

  .mf-client-modal .mf-inline-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mf-infinity-window {
    inset: auto 10px 78px 10px;
    width: auto;
    max-height: calc(100vh - 96px);
    border-radius: 12px;
  }

  .mf-infinity-launcher {
    right: 14px;
    bottom: 14px;
    min-width: 132px;
    height: 54px;
    grid-template-columns: 1fr 42px;
  }

  .mf-infinity-launcher:hover,
  .mf-infinity-launcher:focus-visible {
    min-width: 132px;
    grid-template-columns: 1fr 42px;
  }

  .mf-infinity-launcher-text {
    display: block;
  }

  .mf-infinity-launcher-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 430px) {
  .mf-infinity-window {
    inset: auto 8px 76px;
    max-height: calc(100vh - 92px);
  }

  .mf-infinity-head {
    padding: 12px;
  }

  .mf-infinity-messages {
    min-height: 220px;
    padding: 10px;
  }

  .mf-msg {
    max-width: 92%;
  }

  .mf-infinity-form {
    grid-template-columns: 1fr 42px;
  }

  .mf-infinity-send {
    width: auto;
  }
}

/* 0.3.20 public front-end polish */
.mfr :where(.mfr-actions,.mfr-nav-actions,.mf-infinite-art-actions,.mf-inline-actions,.mf-inline-buttons,.mf-action-result) > :where(a,button):empty,
.mf-client-modal :where(.mf-inline-actions,.mf-inline-buttons,.mf-action-result) > :where(a,button):empty {
  display: none !important;
}

.mfr .mfr-hero h1,
.mfr .mfr-home-hero h1,
.mfr .mfr-hero-grid h1 {
  max-width: 780px !important;
  font-size: clamp(38px, 5.2vw, 72px) !important;
  line-height: 1 !important;
}

.mfr .mfr-hero p,
.mfr .mfr-home-hero p,
.mfr .mfr-hero-grid p {
  max-width: 680px !important;
}

.mfr .mfr-speed-card {
  width: min(360px, 100%) !important;
  justify-self: center !important;
}

.mfr .mfr-speed-ring {
  width: min(330px, 42vw) !important;
  height: min(330px, 42vw) !important;
}

.mfr .mfr-benefits,
.mfr .mfr-benefit-grid {
  align-items: stretch !important;
}

.mfr .mfr-benefit {
  min-height: 0 !important;
  padding: clamp(14px, 1.8vw, 18px) !important;
  display: grid !important;
  gap: 6px !important;
  align-content: start !important;
}

.mfr .mfr-benefit b,
.mfr .mfr-benefit strong,
.mfr .mfr-benefit h3 {
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.12 !important;
}

.mfr .mfr-benefit p,
.mfr .mfr-benefit span {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.mfr .mfr-plan {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.mfr .mfr-plan:hover,
.mfr .mfr-plan:focus-within {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 62px rgba(3, 20, 47, .16) !important;
  border-color: rgba(0, 199, 217, .55) !important;
}

.mfr .mfr-plan h3 {
  font-size: clamp(30px, 3.1vw, 48px) !important;
  line-height: 1 !important;
  overflow-wrap: normal !important;
}

.mfr .mf-infinite-art {
  margin-top: clamp(72px, 10vw, 140px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px) !important;
  background: linear-gradient(135deg, #061a38 0%, #0d4c7c 58%, #0097a9 100%) !important;
}

.mfr .mf-infinite-art h2 {
  color: #fff !important;
  font-size: clamp(28px, 3.3vw, 44px) !important;
  line-height: 1.08 !important;
}

.mfr .mf-infinite-art p {
  color: rgba(255,255,255,.9) !important;
}

.mfr .mf-infinite-art-actions .mfr-button.secondary {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24) !important;
}

.mf-client-modal {
  padding: clamp(10px, 2vw, 22px) !important;
  overflow: auto !important;
}

.mf-client-modal-card {
  width: min(780px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  overflow: auto !important;
}

.mfr .mfr-plans {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.mfr .mfr-plan {
  position: relative !important;
  min-width: 0 !important;
  min-height: 360px !important;
  padding: 16px !important;
  font-family: inherit !important;
  overflow: hidden !important;
}

.mfr .mfr-plan h3 {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin: 16px 0 0 !important;
  color: #061f45 !important;
  font-size: 34px !important;
  font-weight: 880 !important;
  line-height: .96 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

.mfr .mfr-plan h3 small {
  display: inline !important;
  margin: 0 !important;
  color: #52657d !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.mfr .mfr-plan .mfr-price,
.mfr .mfr-price {
  margin-top: 8px !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.mfr .mfr-price small {
  margin-left: 2px !important;
  font-size: 11px !important;
}

.mfr .mfr-plan ul {
  margin: 16px 0 20px !important;
  gap: 8px !important;
  color: #31445b !important;
  font-size: 14px !important;
  line-height: 1.34 !important;
}

.mfr .mfr-plan li {
  gap: 8px !important;
}

.mfr .mfr-plan li::before {
  flex-basis: 8px !important;
  width: 8px !important;
  height: 8px !important;
  margin-top: .52em !important;
}

.mfr .mfr-plan .mfr-tag {
  min-height: 26px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.mfr .mfr-plan .mfr-button {
  min-height: 42px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

.mfr .mfr-plan-actions {
  display: grid !important;
  gap: 8px !important;
  margin-top: auto !important;
}

.mfr .mfr-plan-actions .mfr-button {
  width: 100% !important;
  margin-top: 0 !important;
}

.mfr .mfr-whatsapp-plan {
  color: #fff !important;
  background: linear-gradient(135deg, #1fc466, #11a64f) !important;
  box-shadow: 0 14px 32px rgba(17, 166, 79, .22) !important;
}

.mfr .mfr-plan.mf-plan-center {
  border: 2px solid #ff8a1c !important;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 190, 78, .36), transparent 34%),
    linear-gradient(180deg, #fff7e9 0%, #ffffff 62%) !important;
  box-shadow: 0 26px 70px rgba(255, 138, 28, .22), 0 20px 56px rgba(3, 20, 47, .12) !important;
  transform: translateY(-10px) !important;
}

.mfr .mfr-plan.mf-plan-center .mfr-tag {
  color: #713500 !important;
  background: #ffe7bd !important;
  padding-right: 42px !important;
}

.mfr .mfr-plan-crown {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff9f1c, #ff6b00) !important;
  box-shadow: 0 10px 24px rgba(255, 111, 0, .32) !important;
}

.mfr .mfr-plan-crown svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}

.mfr .mfr-plan-ribbon {
  display: none !important;
}

.mfr .mf-plan-carousel {
  position: relative;
}

.mfr .mfr-plan-carousel-controls {
  display: none;
}

@media (max-width: 1180px) {
  .mfr .mfr-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .mfr .mf-plan-carousel {
    margin-top: 18px !important;
    padding-bottom: 52px !important;
  }

  .mfr .mfr-plans {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    align-items: stretch !important;
    margin: 0 -12px !important;
    padding: 10px max(18px, calc((100vw - 342px) / 2)) 20px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: max(18px, calc((100vw - 342px) / 2)) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .mfr .mfr-plans::-webkit-scrollbar {
    display: none !important;
  }

  .mfr .mfr-plan {
    flex: 0 0 min(342px, calc(100vw - 48px)) !important;
    width: min(342px, calc(100vw - 48px)) !important;
    min-height: 470px !important;
    display: flex !important;
    flex-direction: column !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    padding: 22px 22px !important;
    border-radius: 8px !important;
  }

  .mfr .mfr-plan h3 {
    margin-top: 20px !important;
    font-size: clamp(44px, 13vw, 58px) !important;
    gap: 8px !important;
  }

  .mfr .mfr-plan h3 small {
    font-size: 16px !important;
  }

  .mfr .mfr-plan .mfr-price,
  .mfr .mfr-price {
    margin-top: 10px !important;
    font-size: 32px !important;
  }

  .mfr .mfr-price small {
    font-size: 12px !important;
  }

  .mfr .mfr-plan ul {
    margin: 24px 0 22px !important;
    gap: 12px !important;
    font-size: 16px !important;
    line-height: 1.38 !important;
  }

  .mfr .mfr-plan li::before {
    margin-top: .48em !important;
  }

  .mfr .mfr-plan.mf-plan-center {
    order: -1 !important;
    transform: none !important;
    box-shadow: 0 22px 58px rgba(255, 138, 28, .22), 0 14px 38px rgba(3, 20, 47, .12) !important;
  }

  .mfr .mfr-plan .mfr-button {
    min-height: 52px !important;
    font-size: 15px !important;
  }

  .mfr .mfr-plan-carousel-controls {
    pointer-events: none !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    display: block !important;
  }

  .mfr .mfr-plan-arrow {
    pointer-events: auto !important;
    position: absolute !important;
    top: 48% !important;
    z-index: 7 !important;
    width: 44px !important;
    height: 50px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #096cff, #00c7d9) !important;
    box-shadow: 0 16px 36px rgba(0, 69, 160, .28) !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .mfr .mfr-plan-arrow.is-prev {
    left: 0 !important;
  }

  .mfr .mfr-plan-arrow.is-next {
    right: 0 !important;
  }

  .mfr .mfr-plan-arrow:disabled {
    opacity: .42 !important;
    cursor: default !important;
  }

  .mfr .mfr-plan-dots {
    pointer-events: auto !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transform: translateX(-50%) !important;
  }

  .mfr .mfr-plan-dots button {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(11, 32, 68, .28) !important;
    cursor: pointer !important;
  }

  .mfr .mfr-plan-dots button[aria-current="true"] {
    width: 24px !important;
    background: linear-gradient(135deg, #096cff, #00c7d9) !important;
  }

  .mfr .mf-infinity-launcher {
    right: 12px !important;
    bottom: 10px !important;
    transform: scale(.88) !important;
    transform-origin: right bottom !important;
  }
}

.mf-client-modal .mf-inline-body {
  overflow-x: hidden !important;
}

.mf-client-modal .mf-inline-grid,
.mf-client-modal .mf-fields {
  gap: 12px !important;
}

.mf-client-modal .mf-inline-field,
.mf-client-modal .mf-field {
  min-width: 0 !important;
}

.mf-client-modal .mf-inline-field label,
.mf-client-modal .mf-field label {
  min-height: 18px !important;
}

.mf-client-modal .mf-payment-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cbdcf0;
  border-radius: 10px;
  background: #fff;
}

.mf-client-modal .mf-payment-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.mf-client-modal .mf-payment-head span {
  display: inline-flex;
  margin-bottom: 4px;
  color: #006ff0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mf-client-modal .mf-payment-head h4 {
  margin: 0;
  color: #102033;
  font-size: clamp(18px, 2vw, 22px);
}

.mf-client-modal .mf-payment-head p {
  margin: 4px 0 0;
  color: #486176;
}

.mf-client-modal .mf-payment-head strong {
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0057ff, #00bfe8);
  font-size: 22px;
}

.mf-client-modal .mf-invoice-list {
  grid-template-columns: 1fr !important;
}

.mf-client-modal .mf-invoice-card {
  padding: 0 !important;
  overflow: hidden;
  background: #f8fbff !important;
}

.mf-client-modal .mf-invoice-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
}

.mf-client-modal .mf-invoice-top .mf-inline-buttons {
  margin-top: 0 !important;
  flex-wrap: nowrap !important;
}

.mf-client-modal .mf-service-actions {
  margin-top: 12px !important;
}

.mf-client-modal .mf-action-result {
  margin-top: 12px;
}

.mf-client-modal .mf-pix-result,
.mf-infinity-window .mf-pix-result {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}

.mf-client-modal .mf-pix-qr,
.mf-infinity-window .mf-pix-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid #d8e6f6;
  border-radius: 10px;
  background: #fff;
}

.mf-client-modal .mf-pix-result label {
  display: block;
  margin-bottom: 6px;
  color: #486176;
  font-size: 12px;
  font-weight: 900;
}

.mf-client-modal .mf-code-box,
.mf-infinity-window .mf-code-box {
  max-height: 150px;
  overflow: auto;
}

.mf-infinity-quick {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.mf-infinity-quick button {
  flex: 1 1 calc(50% - 7px);
  min-width: 0;
}

@media (max-width: 860px) {
  .mfr .mf-infinite-art {
    grid-template-columns: 1fr !important;
  }

  .mfr .mfr-speed-card {
    justify-self: start !important;
  }
}

@media (max-width: 640px) {
  .mf-client-modal .mf-invoice-top,
  .mf-client-modal .mf-pix-result,
  .mf-infinity-window .mf-pix-result {
    grid-template-columns: 1fr !important;
  }

  .mf-client-modal .mf-invoice-top .mf-inline-buttons {
    flex-wrap: wrap !important;
  }

  .mf-client-modal .mf-pix-qr,
  .mf-infinity-window .mf-pix-qr {
    width: min(220px, 100%) !important;
    height: auto !important;
  }
}

/* 0.3.35 mobile navigation and speed card polish */
.mfr .mfr-menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .mfr .mfr-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .mfr .mfr-brand {
    grid-column: 1 !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .mfr .mfr-brand img {
    width: 38px !important;
    height: 38px !important;
  }

  .mfr .mfr-brand span {
    max-width: 132px !important;
    font-size: 16px !important;
    line-height: 1.02 !important;
  }

  .mfr .mfr-menu-toggle {
    grid-column: 2 !important;
    position: relative !important;
    width: 44px !important;
    height: 42px !important;
    display: block !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
  }

  .mfr .mfr-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    background: #fff;
    transition: transform .18s ease, opacity .18s ease;
    transform: translate(-50%, -50%);
  }

  .mfr .mfr-menu-toggle span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 7px));
  }

  .mfr .mfr-menu-toggle span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 7px));
  }

  .mfr .mfr-nav.is-menu-open .mfr-menu-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mfr .mfr-nav.is-menu-open .mfr-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mfr .mfr-nav.is-menu-open .mfr-menu-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mfr .mfr-nav-actions {
    grid-column: 1 / -1 !important;
    order: initial !important;
    width: 100% !important;
    margin-left: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .mfr .mfr-nav-actions .mfr-pill {
    width: 100% !important;
    min-height: 42px !important;
  }

  .mfr .mfr-nav nav {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .mfr .mfr-nav.is-menu-open nav {
    display: grid !important;
  }

  .mfr .mfr-nav nav a {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .06) !important;
  }

  .mfr .mfr-hero,
  .mfr .mfr-home-hero,
  .mfr .mfr-hero-grid {
    padding-top: 42px !important;
  }

  .mfr .mfr-hero h1,
  .mfr .mfr-home-hero h1,
  .mfr .mfr-hero-grid h1 {
    font-size: clamp(34px, 10.4vw, 44px) !important;
    line-height: 1.05 !important;
  }

  .mfr .mfr-hero p,
  .mfr .mfr-home-hero p,
  .mfr .mfr-hero-grid p {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .mfr .mfr-speed-card {
    width: 100% !important;
    padding: 20px 18px !important;
    border-radius: 8px !important;
  }

  .mfr .mfr-speed-ring {
    width: min(238px, 68vw) !important;
    height: min(238px, 68vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mfr .mfr-speed-ring strong {
    gap: 5px !important;
    font-size: clamp(42px, 13vw, 58px) !important;
  }

  .mfr .mfr-speed-ring small {
    max-width: 160px !important;
    min-height: 34px !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  .mfr .mfr-speed-card ul {
    gap: 0 !important;
  }

  .mfr .mfr-speed-card li {
    display: grid !important;
    grid-template-columns: minmax(104px, .8fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 14px 0 !important;
  }

  .mfr .mfr-speed-card li span,
  .mfr .mfr-speed-card li strong {
    min-width: 0 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .mfr .mfr-speed-card li strong {
    justify-self: end !important;
    text-align: right !important;
    font-weight: 700 !important;
  }

  .mf-infinity-launcher {
    right: 12px !important;
    bottom: 12px !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    grid-template-columns: 1fr !important;
    padding: 5px !important;
    transform: none !important;
  }

  .mf-infinity-launcher:hover,
  .mf-infinity-launcher:focus-visible {
    width: 58px !important;
    min-width: 58px !important;
    grid-template-columns: 1fr !important;
  }

  .mf-infinity-launcher-text {
    display: none !important;
  }

  .mf-infinity-launcher-icon {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 390px) {
  .mfr .mfr-brand span {
    max-width: 112px !important;
    font-size: 15px !important;
  }

  .mfr .mfr-speed-ring {
    width: min(220px, 66vw) !important;
    height: min(220px, 66vw) !important;
  }
}

/* 0.3.39 WhatsApp entry points */
.mf-infinity-launcher {
  bottom: 92px !important;
  z-index: 99999 !important;
}

.mf-infinity-window {
  bottom: 158px !important;
  max-height: min(640px, calc(100vh - 178px)) !important;
}

.mf-whatsapp-launcher {
  bottom: 22px !important;
}

@media (max-width: 760px) {
  .mf-whatsapp-launcher {
    right: 12px !important;
    bottom: 12px !important;
    width: 58px !important;
    height: 58px !important;
  }

  .mf-infinity-launcher {
    right: 12px !important;
    bottom: 82px !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    transform: none !important;
  }

  .mf-infinity-window {
    right: 10px !important;
    bottom: 148px !important;
    max-height: calc(100vh - 162px) !important;
  }
}
