/* THE MED SPA PLANNER (/blog/med-spa-business-plan, 2026-10-20). Same look as the IV business plan planner: inputs on
   bone, results on ink. On a computer the boxes and the results sit side by side and the two charts and the benchmark
   check sit in a row beneath; on a phone everything stacks and a small bar keeps profit and break-even in view.
   Nothing here moves on its own: no transitions on the charts, so Reduce Motion has nothing to hide. */
.mp { margin-top: 2.4em !important; padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--bone); }
.mp-k { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-ink); }
.ar-body .mp h2 { margin: 12px 0 0; font-family: var(--wide); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.15; letter-spacing: -.035em; color: var(--ink); }
.ar-body .mp h2::before { display: none; }
.mp-intro { margin-top: 10px; max-width: 64ch; font-size: 16.5px; line-height: 1.55; }
.mp-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mp-in fieldset { margin: 0; padding: 18px 18px 20px; border: 0; border-radius: 20px; background: #fff; min-width: 0; }
.mp-in fieldset + fieldset { margin-top: 12px; }
.mp-in legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mp-fields { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* labels in a row share a height, so the boxes line up even when one label takes two lines */
.mp-fields .mp-f > label { min-height: 2.6em; }
/* one box and its explanation side by side, so a lone box does not leave a blank row */
.mp-one-t { grid-column: 2 / -1; align-self: end; margin: 0; padding-bottom: 6px; }
.mp-one-t a { color: var(--aqua-ink); }
.mp-f { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-f > label, .mp-sv-l { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mp-x { position: relative; }
.mp-x::before { content: '$'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font: 600 16px/1 var(--sans); color: var(--mute); pointer-events: none; }
.mp-x.mp-n::before { content: none; }
.mp-x.mp-p::before { content: '%'; left: auto; right: 13px; }
.mp-x input { width: 100%; min-width: 0; height: 48px; padding: 0 12px 0 28px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 600 17px/1 var(--sans); color: var(--ink); -moz-appearance: textfield; }
.mp-x.mp-n input { padding-left: 13px; }
.mp-x.mp-p input { padding: 0 30px 0 13px; }
.mp-x input::-webkit-outer-spin-button, .mp-x input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mp-x input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua-ink); }
.mp-hint { font-size: 13px; line-height: 1.35; color: var(--mute); }

/* the services: a small table on a computer (one row a service), a card a service on a phone */
.mp-sv { clear: both; }
.mp-sv-h, .mp-sv-r { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; }
.mp-sv-h { padding: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.mp-sv-r { padding: 10px 0; border-top: 1px solid var(--line); }
.mp-sv-n { min-width: 0; }
.mp-sv-n b { display: block; font-size: 15px; line-height: 1.25; color: var(--ink); }
.mp-sv-n span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--mute); }
.mp-sv-c { min-width: 0; }
.mp-sv-c .mp-sv-l { display: none; }
.mp-sv-sum { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: #4a4844; }
.mp-sv-sum b { color: var(--ink); }

/* the results */
.mp-out { position: sticky; top: 92px; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: var(--ink); color: var(--bone); }
.mp-out-h { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.mp-out dl { margin: 14px 0 0; }
.mp-out dl > div { padding: 13px 0; border-top: 1px solid var(--line-d); }
.mp-out dl > div:first-child { border-top: 0; padding-top: 4px; }
.mp-out dt { font-size: 14px; font-weight: 600; color: #c9c8cd; }
.mp-out dd { margin: 4px 0 0; font-family: var(--wide); font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.mp-out dd.mp-big { color: var(--aqua); }
.mp-out dd.mp-bad { color: #ff9b8a; }
.mp-out .mp-sub { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: #c9c8cd; }
.mp-out .btn { width: 100%; margin-top: 16px; cursor: pointer; border: 0; }
.mp-status { min-height: 1.4em; margin-top: 10px !important; font-size: 14px; line-height: 1.4; color: var(--aqua); }
.mp-out textarea { width: 100%; height: 190px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 0; font: 13px/1.45 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: #fff; }
.mp-out textarea[hidden] { display: none; }
.mp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the row under the boxes: where each dollar goes, the break-even chart, then the benchmark check */
.mp-row { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: stretch; }
.mp-card { min-width: 0; padding: 20px 20px 22px; border-radius: 20px; background: #fff; }
.mp-card-h { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mp-card-t { margin-top: 8px; font-family: var(--wide); font-weight: 700; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.mp-split { margin-top: 14px; }
.mp-split > div { padding: 7px 0; }
.mp-split > div + div { border-top: 1px solid var(--line); }
.mp-split-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.3; }
.mp-split-t span:first-child { color: #3c3a36; }
.mp-split-t span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mp-bar { margin-top: 6px; height: 8px; border-radius: 4px; background: #efede8; overflow: hidden; }
.mp-bar-f { height: 100%; border-radius: 4px; background: var(--ink); }
.mp-f-mid { background: #57554f; }
.mp-f-light { background: #8d8b84; }
.mp-f-profit { background: var(--aqua-ink); }
.mp-f-loss { background: #c2412d; }
.mp-split .mp-profit .mp-split-t span { font-weight: 700; color: var(--ink); }
.mp-be-svg { display: block; width: 100%; height: auto; margin-top: 12px; }
.mp-be-svg .mp-gl { stroke: #e6e4de; stroke-width: 1; }
.mp-be-svg .mp-base { stroke: #b9b7b0; stroke-width: 1.2; }
.mp-be-svg .mp-tick { font: 500 11.5px var(--sans); fill: #5d5b55; }
.mp-be-svg .mp-axis { font: 600 12px var(--sans); fill: #3c3a36; }
.mp-be-svg .mp-l-rev { stroke: var(--aqua-ink); stroke-width: 3; stroke-linecap: round; }
.mp-be-svg .mp-l-cost { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.mp-be-svg .mp-zone-profit { fill: rgba(34, 224, 207, .28); }
.mp-be-svg .mp-zone-loss { fill: rgba(194, 65, 45, .14); }
.mp-be-svg .mp-plan { stroke: #57554f; stroke-width: 1.5; stroke-dasharray: 4 4; }
.mp-be-svg .mp-dot { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.mp-be-svg .mp-lab { font: 700 12.5px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.mp-be-svg .mp-lab-rev { fill: var(--aqua-ink); }
.mp-be-cap { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #4a4844; }
.mp-key { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #4a4844; }
.mp-key span { display: inline-flex; align-items: center; gap: 6px; }
.mp-key i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; background: var(--ink); }
.mp-key i.k-rev { background: var(--aqua-ink); }
.mp-key i.k-pro { height: 10px; background: rgba(34, 224, 207, .45); }
.mp-key i.k-loss { height: 10px; background: rgba(194, 65, 45, .25); }

/* the benchmark check: six tiles, three across on a computer */
.mp-bench { margin-top: 20px; }
.mp-bench-g { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mp-bk { min-width: 0; padding: 14px 16px 16px; border-radius: 16px; background: #f6f5f1; }
.mp-bk-n { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mp-bk-v { margin-top: 6px; font-family: var(--wide); font-weight: 700; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.mp-bk-b { margin-top: 6px; font-size: 13px; line-height: 1.4; color: #4a4844; }
.mp-chip { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.mp-ok { background: #d6f5f1; color: #075a52; }
.mp-watch { background: #fde3dd; color: #8f2a1a; }
.mp-even { background: #ebe9e3; color: #3c3a36; }

.mp-note { margin-top: 18px; font-size: 14px; line-height: 1.55; color: #4a4844; }
.mp-note p + p { margin-top: .6em; }
.mp-note ul { margin-top: .5em; columns: 2; column-gap: 36px; }
.ar-body .mp-note li { break-inside: avoid; }
.mp-note > p:last-child { max-width: 96ch; }
.ar-body .mp-note li { padding-left: 1.2em; font-size: 14px; }
.ar-body .mp-note li + li { margin-top: .3em; }
.ar-body .mp-note ul > li::before { top: .62em; width: 6px; height: 6px; }
.mp-note ul + p { margin-top: .9em; }

/* the template's fill-in prompts (as on the IV plan) */
.ar-body .mp-fill { padding: 18px 22px; border-radius: 18px; border: 1.5px dashed rgba(11, 125, 115, .45); background: #f7fbfa; font-size: 17px; }
.ar-body .mp-fill-k { display: block; margin-bottom: 6px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }

/* state guides: a compact list of links, several columns on a computer */
.ar-body ul.mp-states { columns: 3; column-gap: 28px; }
.ar-body ul.mp-states > li { break-inside: avoid; margin: 0; padding: 4px 0 4px 1.2em; font-size: 16.5px; line-height: 1.4; }
.ar-body ul.mp-states > li::before { top: .78em; width: 6px; height: 6px; }

/* on a phone the results sit below the boxes */
.mp-mini { display: none; }
@media (max-width: 900px) {
  .mp-grid, .mp-row { grid-template-columns: 1fr; }
  .mp-out { position: static; }
  html { scroll-padding-bottom: 96px; }
  /* the bar rides in a zero-height holder, so it takes no room in the page when it is hidden */
  .mp-mini-w { position: sticky; bottom: 10px; z-index: 5; height: 0; }
  .mp-mini { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: #c9c8cd; font-size: 13.5px; line-height: 1.3; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }
  .mp-mini b { font-family: var(--wide); font-size: 17px; letter-spacing: -.02em; color: var(--aqua); }
  .mp-mini b.mp-bad { color: #ff9b8a; }
  .mp-mini.mp-mini-off { visibility: hidden; }
  .mp-bench-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-note ul { columns: 1; }
}
@media (max-width: 720px) {
  .mp { border-radius: 22px; padding: 20px 16px; }
  .mp-in fieldset { padding: 16px 14px 18px; }
  .mp-sv-h { display: none; }
  .mp-sv-r { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 0; }
  .mp-sv-n { grid-column: 1 / -1; }
  .mp-sv-c .mp-sv-l { display: block; margin-bottom: 5px; font-size: 13px; }
  .mp-sv-c .mp-x input { height: 46px; font-size: 16px; padding-left: 24px; }
  .mp-sv-c .mp-x::before { left: 10px; font-size: 15px; }
  .mp-sv-c .mp-x.mp-n input { padding-left: 10px; }
  .mp-sv-c .mp-x.mp-p input { padding: 0 24px 0 10px; }
  .mp-sv-c .mp-x.mp-p::before { left: auto; right: 10px; }
  .mp-card { padding: 18px 14px 18px; }
  .ar-body .mp-fill { padding: 16px; font-size: 16.5px; }
  .ar-body ul.mp-states { columns: 2; column-gap: 18px; }
  .mp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mp-f-wide { grid-column: 1 / -1; }
  .mp-one-t { grid-column: 2; }
}
@media (max-width: 480px) {
  .mp-bench-g { grid-template-columns: 1fr; }
}
