/* ============================================================
   MaidForYou Calculators — Stylesheet
   Scoped to .mfy-calc-wrap
   ============================================================ */

/* ── Reset ── */
.mfy-calc-wrap,
.mfy-calc-wrap *,
.mfy-calc-wrap *::before,
.mfy-calc-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base — NO background, NO max-width, NO fixed padding
   The theme/editor controls width and layout ── */
.mfy-calc-wrap {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
  width: 100%;
}
.mfy-calc-wrap ul { list-style: none; }
.mfy-calc-wrap a  { -webkit-tap-highlight-color: transparent; text-decoration: none; }

/* Layout wrapper — no fixed width, responsive */
.mfy-calc-inner {
  width: 100%;
}

/* ── Button base ──
   CRITICAL: use very high specificity so theme can't undo this ── */
.mfy-calc-wrap button,
.mfy-calc-wrap button:not([class]) {
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  line-height: 1;
  text-decoration: none;
}

/* ── SVG — force visible regardless of theme ── */
.mfy-calc-wrap svg {
  display: inline-block !important;
  overflow: visible !important;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
}
.mfy-calc-wrap svg *  {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ── Trust bar ── */
.mfy-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 20px;
}
.mfy-trust-bar strong { color: #1e293b; font-weight: 600; }
.mfy-trust-bar svg { width: 13px; height: 13px; display: inline-block !important; vertical-align: middle; }
.mfy-trust-sep { width: 1px; height: 12px; background: #e2e8f0; display: inline-block; }

/* ── Headline ── */
.mfy-calc-headline { text-align: center; margin-bottom: 24px; }
.mfy-calc-headline h2 {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1e293b;
  margin: 0 0 8px;
}
.mfy-calc-headline h2 span { color: #f97316; }
.mfy-calc-headline p { font-size: 14px; color: #64748b; margin: 0; }

/* ── Presets ── */
.mfy-presets { margin-bottom: 16px; }
.mfy-presets-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: #94a3b8; margin-bottom: 8px;
}
.mfy-presets-row {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 2px; scrollbar-width: none;
}
.mfy-presets-row::-webkit-scrollbar { display: none; }
.mfy-preset-btn {
  flex-shrink: 0;
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 600;
  color: #475569 !important;
  transition: all 0.15s;
  white-space: nowrap;
}
.mfy-preset-btn:hover { border-color: #f97316 !important; color: #f97316 !important; }
.mfy-preset-btn.active { border-color: #f97316 !important; background: #f97316 !important; color: #fff !important; }

/* ── Card ── */
.mfy-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 20px rgba(15,23,42,0.06);
}

/* ── Section label ── */
.mfy-section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; color: #94a3b8;
  margin-bottom: 10px; margin-top: 20px;
}

/* ── Divider ── */
.mfy-divider { height: 1px; background: #f1f5f9; margin: 20px 0; }

/* ── Config row ── */
.mfy-config-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f5f9;
}
.mfy-config-row:last-of-type { border-bottom: none; }
.mfy-config-row-left {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0;
}
.mfy-config-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff7ed; color: #f97316;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mfy-config-icon svg { width: 20px !important; height: 20px !important; display: block !important; }
.mfy-config-title { font-size: 14px; font-weight: 600; color: #1e293b; line-height: 1.3; }
.mfy-config-sub { font-size: 11px; color: #94a3b8; margin-top: 2px; line-height: 1.3; }

/* ══════════════════════════════════════════════════════
   STEPPER — the most theme-fought component
   Uses very high specificity + !important on visual props
   Text content is − and + (Unicode, not SVG)
   ══════════════════════════════════════════════════════ */
.mfy-stepper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0;
}
.mfy-calc-wrap .mfy-stepper-btn,
.mfy-calc-wrap .mfy-stepper-btn:not([class]) {
  /* Size */
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  /* Shape */
  border-radius: 10px !important;
  border: none !important;
  outline: none !important;
  /* ─── COLORS — the critical fix ─── */
  background-color: #f97316 !important;
  color: #fff !important;
  /* Layout */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  /* Typography — using Unicode − and + */
  font-size: 22px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  text-align: center !important;
  padding: 0 !important;
  /* Visibility — override any theme hiding */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  /* Reset theme tricks */
  text-indent: 0 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-shadow: none !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background-color 0.12s, transform 0.1s;
  user-select: none;
  -webkit-user-select: none;
}
.mfy-calc-wrap .mfy-stepper-btn:hover {
  background-color: #ea6c0a !important;
  color: #fff !important;
  opacity: 1 !important;
}
.mfy-calc-wrap .mfy-stepper-btn:active {
  transform: scale(0.88);
}
.mfy-calc-wrap .mfy-stepper-btn:disabled,
.mfy-calc-wrap .mfy-stepper-btn[disabled] {
  background-color: #fde8d0 !important;
  color: #f4a768 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
}
.mfy-stepper-val {
  min-width: 32px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  display: block;
}

/* ══════════════════════════════════════════════════════
   TOGGLE SWITCH
   High contrast: off = #94a3b8 (visible grey), on = #f97316
   Knob has strong shadow so it's visible on any background
   ══════════════════════════════════════════════════════ */
.mfy-calc-wrap .mfy-toggle {
  position: relative !important;
  display: inline-block !important;
  width: 52px !important;
  height: 30px !important;
  min-width: 52px !important;
  border-radius: 100px !important;
  /* Off state — visible mid-grey, NOT the light #cbd5e1 */
  background-color: #94a3b8 !important;
  transition: background-color 0.2s;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  vertical-align: middle;
  /* No font content */
  font-size: 0 !important;
  overflow: visible !important;
}
.mfy-calc-wrap .mfy-toggle.on {
  background-color: #f97316 !important;
}
.mfy-calc-wrap .mfy-toggle-knob {
  position: absolute !important;
  display: block !important;
  top: 4px !important;
  left: 4px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  /* Strong shadow so knob is always visible */
  box-shadow: 0 2px 6px rgba(0,0,0,0.35) !important;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1) !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1;
}
.mfy-calc-wrap .mfy-toggle.on .mfy-toggle-knob {
  transform: translateX(22px) !important;
}

/* ── Service tabs ── */
.mfy-tabs {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 6px; background: #f8fafc; border-radius: 14px;
  padding: 6px; margin-bottom: 20px;
}
.mfy-tabs.cols-3 { grid-template-columns: repeat(3,1fr); }
.mfy-tabs.cols-4 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 480px) { .mfy-tabs.cols-4 { grid-template-columns: repeat(4,1fr); } }
.mfy-tab-btn {
  border-radius: 10px; padding: 9px 6px;
  font-size: 12px; font-weight: 600; color: #64748b;
  transition: all 0.15s; text-align: center; line-height: 1.3;
  background: none !important; border: none !important;
}
.mfy-tab-btn.active {
  background: #fff !important; color: #1e293b !important;
  box-shadow: 0 1px 6px rgba(15,23,42,0.08);
}
.mfy-tab-btn:hover:not(.active) { color: #475569 !important; }

/* ── Team bar ── */
.mfy-team-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: #f8fafc; border-radius: 12px;
  padding: 12px 16px; margin-top: 16px; font-size: 12px;
}
.mfy-team-bar-left { display: flex; align-items: center; gap: 8px; color: #475569; }
.mfy-team-bar-left svg { width: 16px !important; height: 16px !important; display: block !important; color: #f97316; }
.mfy-team-bar-left strong { color: #1e293b; font-weight: 600; }
.mfy-team-bar-right { display: flex; align-items: center; gap: 5px; color: #16a34a; font-weight: 500; }
.mfy-team-bar-right svg { width: 14px !important; height: 14px !important; display: block !important; }

/* ── Add-ons ── */
.mfy-addons-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mfy-addons-title { font-size: 14px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 6px; }
.mfy-addons-count { background: #fff7ed; color: #ea580c; font-size: 11px; font-weight: 700; border-radius: 100px; padding: 2px 8px; }
.mfy-addons-hint { font-size: 11px; color: #94a3b8; }
.mfy-addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .mfy-addons-grid { grid-template-columns: 1fr; } }

.mfy-addon-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; background: #f8fafc;
  border: 1.5px solid transparent; border-radius: 14px;
  padding: 10px 12px; transition: border-color 0.15s, background 0.15s;
}
.mfy-addon-row:hover { border-color: #e2e8f0; }
.mfy-addon-row.active { border-color: #f97316; background: #fff7ed; }
.mfy-addon-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.mfy-addon-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: #fff0e0; color: #f97316;
  display: flex !important; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s, transform 0.15s;
}
.mfy-addon-icon svg { width: 16px !important; height: 16px !important; display: block !important; stroke: #f97316 !important; fill: none !important; }
.mfy-addon-row.active .mfy-addon-icon { background: #fed7aa; transform: scale(1.08); }
.mfy-addon-row.active .mfy-addon-icon svg { stroke: #c2410c !important; }
.mfy-addon-name { font-size: 13px; font-weight: 600; color: #1e293b; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfy-addon-sub { font-size: 11px; color: #64748b; font-weight: 500; margin-top: 1px; }
.mfy-addon-row.active .mfy-addon-sub { color: #ea580c; }
.mfy-addon-badge { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: #f97316; color: #fff; border-radius: 4px; padding: 1px 5px; margin-bottom: 2px; }
.mfy-addon-badge.green { background: #16a34a; }

/* ── Show more ── */
.mfy-show-more-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 14px auto 0; font-size: 13px; font-weight: 600; color: #f97316;
  background: none !important; border: none !important;
  transition: color 0.15s; cursor: pointer;
}
.mfy-show-more-btn:hover { color: #ea6c0a !important; }
.mfy-show-more-btn svg { width: 16px !important; height: 16px !important; display: block !important; transition: transform 0.2s; }
.mfy-show-more-btn.open svg { transform: rotate(180deg); }

/* ── Frequency ── */
.mfy-freq-header { margin-bottom: 12px; }
.mfy-freq-title { font-size: 14px; font-weight: 700; color: #1e293b; }
.mfy-freq-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.mfy-freq-sub strong { color: #16a34a; }
.mfy-freq-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
@media (min-width: 480px) { .mfy-freq-grid { grid-template-columns: repeat(5,1fr); } }
.mfy-freq-btn {
  position: relative; background: #fff !important;
  border: 1.5px solid #e2e8f0 !important; border-radius: 12px;
  padding: 10px 6px 8px; font-size: 12px; font-weight: 600;
  color: #475569 !important; text-align: center; line-height: 1.3;
  transition: all 0.15s; cursor: pointer;
}
.mfy-freq-btn:hover { border-color: #f97316 !important; color: #f97316 !important; }
.mfy-freq-btn.active { border-color: #f97316 !important; background: #fff7ed !important; color: #c2410c !important; }
.mfy-best-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: #f97316; color: #fff; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: 100px; padding: 2px 8px; white-space: nowrap;
}
.mfy-freq-disc { font-size: 10px; opacity: 0.8; margin-top: 2px; }

/* ── Savings box ── */
.mfy-savings-box {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px;
  padding: 12px; margin-top: 12px; font-size: 13px; color: #15803d; font-weight: 500;
}
.mfy-savings-box svg { width: 16px !important; height: 16px !important; display: block !important; flex-shrink: 0; margin-top: 1px; }

/* ── Warning box ── */
.mfy-warning-box {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
  padding: 12px; margin-top: 12px; font-size: 13px; color: #92400e;
}
.mfy-warning-box svg { width: 16px !important; height: 16px !important; display: block !important; flex-shrink: 0; margin-top: 1px; }

/* ── Pills ── */
.mfy-pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mfy-pill {
  border: 1.5px solid #e2e8f0 !important; border-radius: 100px;
  padding: 7px 16px; font-size: 12px; font-weight: 600;
  color: #475569 !important; background: #fff !important; transition: all 0.15s; cursor: pointer;
}
.mfy-pill:hover { border-color: #f97316 !important; color: #f97316 !important; }
.mfy-pill.active { border-color: #f97316 !important; background: #fff7ed !important; color: #c2410c !important; }

/* ── Condition pills ── */
.mfy-condition-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.mfy-condition-pill {
  border: 1.5px solid #e2e8f0 !important; border-radius: 12px;
  padding: 10px 14px; text-align: left; background: #fff !important;
  transition: all 0.15s; cursor: pointer;
}
.mfy-condition-pill:hover { border-color: #f97316 !important; }
.mfy-condition-pill.active { border-color: #f97316 !important; background: #fff7ed !important; }
.mfy-condition-pill.active.warn { border-color: #f59e0b !important; background: #fffbeb !important; }
.mfy-condition-name { font-size: 13px; font-weight: 600; color: #1e293b; display: block; }
.mfy-condition-desc { font-size: 11px; color: #94a3b8; margin-top: 1px; display: block; }

/* ── Reason grid ── */
.mfy-reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mfy-reason-btn {
  border: 1.5px solid #e2e8f0 !important; border-radius: 12px;
  padding: 10px 12px; text-align: left; background: #fff !important;
  font-size: 13px; font-weight: 600; color: #475569 !important;
  line-height: 1.3; transition: all 0.15s; cursor: pointer;
}
.mfy-reason-btn:hover { border-color: #f97316 !important; color: #f97316 !important; }
.mfy-reason-btn.active { border-color: #f97316 !important; background: #fff7ed !important; color: #c2410c !important; }
.mfy-reason-sub { font-size: 11px; font-weight: 400; color: #94a3b8; display: block; margin-top: 2px; }
.mfy-reason-btn.active .mfy-reason-sub { color: #ea580c; }

/* ── Pets row ── */
.mfy-pets-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.mfy-pets-label { font-size: 14px; font-weight: 600; color: #1e293b; }
.mfy-pets-sub { font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* ── Eco toggle row ── */
.mfy-eco-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border: 1.5px solid #e2e8f0; border-radius: 12px;
  padding: 12px 14px; margin: 12px 0; transition: border-color 0.15s;
}
.mfy-eco-row.on { border-color: #22c55e; background: #f0fdf4; }
.mfy-eco-label { font-size: 13px; font-weight: 600; color: #1e293b; display: flex; align-items: center; gap: 6px; }
.mfy-eco-label svg { width: 15px !important; height: 15px !important; display: block !important; }
.mfy-eco-sub { font-size: 11px; color: #94a3b8; }

/* ── Same team card ── */
.mfy-same-team-card {
  background: linear-gradient(135deg,#fff7ed,#fef3c7);
  border: 1px solid #fed7aa; border-radius: 14px;
  padding: 14px 16px; margin-top: 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.mfy-same-team-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: #f97316; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mfy-same-team-icon svg { width: 18px !important; height: 18px !important; display: block !important; }
.mfy-same-team-title { font-size: 13px; font-weight: 700; color: #1e293b; }
.mfy-same-team-body { font-size: 12px; color: #475569; margin-top: 3px; line-height: 1.5; }

/* ── Inclusions ── */
.mfy-inclusions-wrap { background: #fff7ed; border-radius: 14px; padding: 14px 16px; margin-top: 20px; }
.mfy-inclusions-wrap.plain { background: #f8fafc; }
.mfy-inclusions-header { display: flex; align-items: center; justify-content: space-between; }
.mfy-inclusions-header h4 { font-size: 13px; font-weight: 700; color: #1e293b; }
.mfy-inclusions-toggle {
  font-size: 12px; font-weight: 600; color: #64748b;
  display: flex; align-items: center; gap: 4px; transition: color 0.15s;
  background: none !important; border: none !important; cursor: pointer;
}
.mfy-inclusions-toggle:hover { color: #1e293b; }
.mfy-inclusions-toggle svg { width: 14px !important; height: 14px !important; display: block !important; transition: transform 0.2s; }
.mfy-inclusions-toggle.open svg { transform: rotate(180deg); }
.mfy-inclusions-list { display: none; margin-top: 10px; }
.mfy-inclusions-list.visible { display: block; }
.mfy-inclusions-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #374151; padding: 4px 0; }
.mfy-inclusions-list li svg { width: 14px !important; height: 14px !important; display: block !important; flex-shrink: 0; margin-top: 2px; stroke: #f97316 !important; fill: none !important; }
.mfy-inclusions-list.mfy-not-included li svg { stroke: #94a3b8 !important; }

/* ── Price summary ── */
.mfy-price-summary { margin-top: 24px; }
.mfy-breakdown-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; font-size: 12px; font-weight: 600; color: #94a3b8;
  margin-bottom: 8px; transition: color 0.15s;
  background: none !important; border: none !important; cursor: pointer;
}
.mfy-breakdown-toggle:hover { color: #475569; }
.mfy-breakdown-toggle svg { width: 14px !important; height: 14px !important; display: block !important; transition: transform 0.2s; }
.mfy-breakdown-toggle.open svg { transform: rotate(180deg); }
.mfy-breakdown-list { background: #f8fafc; border-radius: 12px; padding: 12px; margin-bottom: 12px; display: none; }
.mfy-breakdown-list.visible { display: block; }
.mfy-breakdown-item { display: flex; justify-content: space-between; font-size: 13px; color: #475569; padding: 3px 0; }
.mfy-breakdown-item.discount { color: #16a34a; font-weight: 600; }
.mfy-total-row { display: flex; align-items: baseline; justify-content: space-between; border-top: 1.5px solid #f1f5f9; padding-top: 14px; }
.mfy-total-label { font-size: 16px; font-weight: 700; color: #1e293b; }
.mfy-total-gst { font-size: 11px; color: #94a3b8; margin-left: 6px; }
.mfy-total-amount { font-size: 34px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ── CTA ── */
.mfy-cta-btn {
  display: flex !important; width: 100%; margin-top: 20px;
  background: #f97316 !important; color: #fff !important;
  border-radius: 14px; padding: 16px 24px;
  font-size: 15px; font-weight: 700; text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.25);
  transition: all 0.15s; align-items: center; justify-content: center; gap: 8px;
  border: none !important; cursor: pointer;
}
.mfy-cta-btn:hover { background: #ea6c0a !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.35); }
.mfy-cta-btn:active { transform: scale(0.98); }
.mfy-cta-btn svg { width: 18px !important; height: 18px !important; display: block !important; }

/* ── Reassurance ── */
.mfy-reassurance { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 14px; font-size: 12px; }
.mfy-reassurance-item { display: flex; align-items: center; gap: 5px; color: #475569; }
.mfy-reassurance-item.green { color: #16a34a; font-weight: 600; }
.mfy-reassurance-item svg { width: 13px !important; height: 13px !important; display: block !important; }
.mfy-reassurance-sep { width: 1px; height: 12px; background: #e2e8f0; }
.mfy-disclaimer { margin-top: 12px; font-size: 11px; color: #94a3b8; text-align: center; line-height: 1.6; }

/* ── Actions row (copy quote etc) ── */
.mfy-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 20px; border-top: 1px solid #f1f5f9;
  padding-top: 14px; margin-top: 14px;
  /* min-height so it doesn't collapse when content changes */
  min-height: 40px;
}
.mfy-action-btn {
  display: inline-flex !important; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #64748b !important;
  transition: color 0.15s; cursor: pointer;
  background: none !important; border: none !important;
  /* CRITICAL: fixed width so button doesn't disappear when text changes */
  min-width: 110px; justify-content: center;
}
.mfy-action-btn:hover { color: #1e293b !important; }
.mfy-action-btn svg { width: 14px !important; height: 14px !important; display: block !important; flex-shrink: 0; }
.mfy-action-btn.copied { color: #16a34a !important; }

/* ── NDIS estimate ── */
.mfy-ndis-estimate { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; margin-top: 20px; }
.mfy-ndis-estimate-label { font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mfy-ndis-detail { font-size: 12px; color: #64748b; margin-top: 8px; line-height: 1.7; }
.mfy-ndis-detail strong { color: #1e293b; }
.mfy-ndis-badge { display: inline-block; background: #1e293b; color: #f97316; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 4px; padding: 2px 6px; margin-top: 4px; }

/* ── Office estimate ── */
.mfy-office-estimate { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; margin-top: 20px; }
.mfy-office-estimate-label { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; }
.mfy-office-estimate-amount { font-size: 32px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-top: 4px; }
.mfy-office-sub-row { display: flex; gap: 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #fed7aa; flex-wrap: wrap; }
.mfy-office-sub-item .val { font-size: 18px; font-weight: 700; color: #1e293b; display: block; }
.mfy-office-sub-item .lbl { font-size: 11px; color: #94a3b8; }
.mfy-office-detail { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: #64748b; flex-wrap: wrap; }
.mfy-office-detail span { display: flex; align-items: center; gap: 4px; }
.mfy-office-detail svg { width: 13px !important; height: 13px !important; display: block !important; }

/* ── Inputs ── */
.mfy-input-group { margin: 8px 0 16px; }
.mfy-input-label { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 6px; display: block; }
.mfy-text-input {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 10px 12px; font-family: 'Poppins', sans-serif;
  font-size: 13px; color: #1e293b; background: #fff;
  outline: none; transition: border-color 0.15s; -webkit-appearance: none;
}
.mfy-text-input:focus { border-color: #f97316; }
.mfy-text-input::placeholder { color: #cbd5e1; }

/* ── M2 slider ── */
.mfy-m2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 4px; }
.mfy-m2-label { font-size: 14px; font-weight: 600; color: #1e293b; }
.mfy-m2-val { font-size: 20px; font-weight: 700; color: #f97316; font-variant-numeric: tabular-nums; }
.mfy-range-input { width: 100%; margin: 6px 0 12px; accent-color: #f97316; cursor: pointer; }

/* ── Urgency pills ── */
.mfy-urgency-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.mfy-urgency-btn {
  border: 1.5px solid #e2e8f0 !important; border-radius: 100px;
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  color: #475569 !important; background: #fff !important;
  transition: all 0.15s; cursor: pointer;
}
.mfy-urgency-btn.active { border-color: #f97316 !important; background: #fff7ed !important; color: #c2410c !important; }

/* ── Sticky bar ──
   Hidden by default on ALL screen sizes.
   On mobile (<640px) MFY.bindStickyBar() shows/hides it via IntersectionObserver
   so it only appears while the calculator section is in the viewport.
   On desktop (≥640px) it stays hidden regardless (display:none !important). ── */
.mfy-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255,255,255,0.97); border-top: 1px solid #e2e8f0;
  padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(15,23,42,0.08);
  display: none; align-items: center; gap: 12px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .mfy-sticky-bar { display: none !important; } }
.mfy-sticky-bar-info { flex: 1; min-width: 0; }
.mfy-sticky-bar-label { font-size: 11px; color: #64748b; }
.mfy-sticky-bar-amount { font-size: 22px; font-weight: 800; color: #1e293b; font-variant-numeric: tabular-nums; }
.mfy-sticky-cta {
  flex-shrink: 0; background: #f97316 !important; color: #fff !important;
  border-radius: 12px; padding: 10px 20px; font-size: 13px; font-weight: 700;
  text-decoration: none !important; display: flex; align-items: center;
  gap: 6px; white-space: nowrap;
}
.mfy-sticky-cta svg { width: 14px !important; height: 14px !important; display: block !important; }

/* ── Animations ── */
@keyframes mfyFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.mfy-fade-in { animation: mfyFadeIn 0.3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .mfy-calc-wrap *, .mfy-calc-wrap *::before, .mfy-calc-wrap *::after {
    animation-duration: 0.001ms !important; transition-duration: 0.001ms !important;
  }
}

/* ── End of Lease Calculator — specific overrides ── */
.mfy-eol-badge {
  display: inline-block; background: #ecfdf5; color: #065f46;
  border: 1px solid #a7f3d0; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 10px;
}
.mfy-eol-inspection-callout {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 10px; font-size: 12px; color: #92400e; line-height: 1.5;
}
.mfy-eol-inspection-callout svg { flex-shrink: 0; color: #f97316; margin-top: 1px; }
.mfy-addon-tip {
  display: flex; align-items: flex-start; gap: 5px; margin-top: 4px;
  font-size: 11px; color: #64748b; line-height: 1.45;
}
.mfy-addon-tip svg { flex-shrink: 0; width: 12px !important; height: 12px !important; margin-top: 1px; }

/* ══════════════════════════════════════════════════════════════
   Cleaner Earnings Calculator
   ══════════════════════════════════════════════════════════════ */

/* ── Header ── */
.mfy-earn-header {
  text-align: center;
  margin-bottom: 24px;
}
.mfy-earn-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--mfy-dark, #0f172a);
  margin: 0 0 4px;
}
.mfy-earn-header p {
  font-size: 13.5px;
  color: var(--mfy-muted, #64748b);
  margin: 0 0 10px;
}
.mfy-earn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--mfy-muted, #64748b);
}
.mfy-earn-social svg { color: var(--mfy-orange, #f97316); }

/* ── Section label ── */
.mfy-earn-section-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--mfy-dark, #0f172a);
  margin-bottom: 12px;
}

/* ── Role cards ── */
.mfy-earn-roles {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.mfy-earn-role {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #eef2f6!important;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.mfy-earn-role.active {
  border-color: var(--mfy-orange, #f97316);
  background: #fff1e5;
  color: var(--mfy-orange, #f97316);
}
.mfy-earn-role-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mfy-orange, #f97316);
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mfy-earn-role-check svg { stroke: #fff; }
.mfy-earn-role.active .mfy-earn-role-check { display: flex; }

@media (max-width: 560px) {
  .mfy-earn-roles { flex-direction: column; }
}

/* ── Sliders ── */
.mfy-earn-slider-wrap {
  padding: 18px 0;
  border-bottom: 1px solid #eef2f6;
}
.mfy-earn-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mfy-earn-slider-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--mfy-dark, #0f172a);
}
.mfy-earn-slider-val {
  font-weight: 700;
  font-size: 16px;
  color: var(--mfy-orange, #f97316);
}
.mfy-earn-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--mfy-orange, #f97316) 0%,
    var(--mfy-orange, #f97316) var(--pct, 0%),
    #e2e8f0 var(--pct, 0%),
    #e2e8f0 100%
  );
}
.mfy-earn-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mfy-orange, #f97316);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,.25);
  cursor: pointer;
}
.mfy-earn-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mfy-orange, #f97316);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,.25);
  cursor: pointer;
}
.mfy-earn-range:focus-visible {
  box-shadow: 0 0 0 3px rgba(249,115,22,.35);
}
.mfy-earn-slider-minmax {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--mfy-orange, #f97316);
}

/* ── Earnings cards ── */
.mfy-earn-cards {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin: 24px 0 8px;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 8px;
}
.mfy-earn-card {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 20px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
}
.mfy-earn-card.highlight {
  background: #fff1e5;
  border-color: #fde5d0;
}
.mfy-earn-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mfy-dark, #0f172a);
  margin-bottom: 6px;
}
.mfy-earn-card-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--mfy-orange, #f97316);
  line-height: 1.1;
  white-space: nowrap;
}
.mfy-earn-card-sub {
  font-size: 12px;
  color: var(--mfy-muted, #64748b);
  margin-top: 4px;
}
@media (max-width: 420px) {
  .mfy-earn-card-amount { font-size: 20px; }
}

/* ── Email lead capture ── */
#mfy-earn-lead {
  margin-top: 4px;
}
.mfy-earn-email-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: var(--mfy-muted, #64748b);
  font-size: 13px;
  cursor: pointer;
  padding: 14px 0 0;
  font-family: inherit;
}
.mfy-earn-email-toggle svg { flex-shrink: 0; }
.mfy-earn-email-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mfy-earn-email-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #eef2f6;
  font-family: inherit;
  font-size: 14px;
  color: #0f172a;
  box-sizing: border-box;
  min-width: 0;
  outline: none;
  transition: border-color .15s;
}
.mfy-earn-email-input:focus { border-color: var(--mfy-orange, #f97316); }
.mfy-earn-send-btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: var(--mfy-orange, #f97316)!important;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.mfy-earn-send-btn:disabled { opacity: 0.65; cursor: default; }
.mfy-earn-email-err {
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
}
.mfy-earn-email-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.3);
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 500;
}
.mfy-earn-email-done svg { color: #16a34a; flex-shrink: 0; }

/* ── Mail icon (used inline) ── */
.mfy-earn-email-toggle svg,
.mfy-earn-email-done svg { width: 16px; height: 16px; }

/* ── Disclaimer ── */
.mfy-earn-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--mfy-muted, #64748b);
  margin-top: 16px;
  line-height: 1.6;
}

/* Add mail icon to shared icons if not already there */

/* ── Design-sync additions (JSX parity) ── */

/* Quick-start row */
.mfy-qs-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #f97316; margin-bottom: 10px; text-transform: uppercase; }
.mfy-qs-row   { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mfy-qs-pill  { padding: 7px 14px; border-radius: 999px; border: 1.5px solid #eef2f6; background: #fff; color: #64748b; font-weight: 600; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.mfy-qs-pill.active, .mfy-qs-pill:hover { border-color: #f97316; background: #fff1e5; color: #f97316; }

/* Calculator title block */
.mfy-calc-title-wrap { text-align: center; margin-bottom: 20px; }
.mfy-calc-title      { font-size: 18px; font-weight: 700; color: #0f172a; }
.mfy-calc-subtitle   { font-size: 13px; color: #64748b; margin-top: 2px; }

/* Info bar */
.mfy-info-bar { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border-radius: 12px; padding: 12px 16px; margin-top: 14px; font-size: 13.5px; color: #0f172a; font-weight: 500; }
.mfy-info-bar svg    { vertical-align: middle; margin-right: 6px; }
.mfy-info-bar-right  { display: flex; align-items: center; gap: 6px; color: #16a34a; }

/* Bond-back / shield bar */
.mfy-bond-bar { display: flex; gap: 10px; align-items: flex-start; background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.25); border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 13px; color: #64748b; line-height: 1.5; }
.mfy-bond-bar svg { flex-shrink: 0; margin-top: 1px; color: #f97316; }

/* Add-ons grid (2 col) */
.mfy-addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .mfy-addons-grid { grid-template-columns: 1fr; } }

/* Reassurance row */
.mfy-reassurance { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; flex-wrap: wrap; }
.mfy-reassurance-item { display: flex; align-items: center; gap: 5px; color: #64748b; }
.mfy-reassurance-item.green { color: #16a34a; }
.mfy-reassurance .sep { width: 1px; height: 14px; background: #e2e8f0; }

/* Disclaimer */
.mfy-disclaimer { text-align: center; font-size: 11.5px; color: #94a3b8; margin-top: 10px; }

/* Actions row (copy quote) */
.mfy-actions    { display: flex; justify-content: center; padding-top: 4px; }
.mfy-action-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #64748b; font-size: 13px; cursor: pointer; padding: 10px 0; font-family: inherit; }
.mfy-action-btn.copied { color: #16a34a; }

/* Pill row (office type / frequency) */
.mfy-pill-section { padding: 14px 0; border-bottom: 1px solid #eef2f6; }
.mfy-pill-label   { font-weight: 600; font-size: 15px; color: #0f172a; margin-bottom: 10px; }
.mfy-pill-row     { display: flex; flex-wrap: wrap; gap: 8px; }
.mfy-pill         { padding: 8px 15px; border-radius: 999px; border: 1.5px solid #eef2f6; background: #fff; color: #64748b; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s, color .15s; }
.mfy-pill.active, .mfy-pill:hover { border-color: #f97316; background: #fff1e5; color: #f97316; }

/* Not-included note (office) */
.mfy-not-included-note { background: #fff1e5; border-radius: 12px; padding: 12px 16px; font-size: 12.5px; color: #64748b; line-height: 1.5; margin-top: 12px; }

/* Recurring row (office per week/month) */
.mfy-recur-row { display: flex; justify-content: space-between; font-size: 13.5px; color: #64748b; margin-top: 6px; }
