/* Service picker (díjkalkulátor), mockup C (approved 2026-11-28): templates/blocks/
   service_picker.html.j2, js/service-picker.js. The heading, a step timeline and one question
   per step on the left, a price panel on the right (the fee and its (i)), its top level with
   the eyebrow. The calculator picks its layout from its own width (container query on
   .sp-wrap, not the viewport): two columns from 880px, one column below with the timeline
   and a bar at the screen bottom with the fee, the back and the next button (the last step:
   the form's submit row stuck there). Two columns: no button row under the question, the
   panel reads the fee, the answers so far, then Következő lépés (the submit on the last step)
   and Előző lépés at its bottom, level with the left column's bottom (owner 2026-11-28). What
   the fee includes: an info card under the step's choices (.sp-incl), in both layouts.

   With JS (html.js-enabled, set in <head> before paint) only the current step shows. Without JS
   the counts, panel, foot and form are hidden and every group shows as a static price list
   (inline critical rules in the template). The site's blue (--color-cobalt, #2563eb), its
   fonts, solid backgrounds only, no blur. */

.service-picker {
  --sp-blue: var(--color-cobalt);
  --sp-blue-deep: var(--color-primary-blue);
  --sp-tint: #eff4fe;        /* a chosen tile */
  --sp-ink: var(--color-ink);
  --sp-text: #1f2937;
  --sp-muted: #475569;       /* secondary text, 7.5:1 on white */
  --sp-line: rgba(15, 23, 42, .14);
  /* Every control outline (owner 2026-11-27: tiles must read as tappable), 3.7:1 on white. */
  --sp-control: #7d8695;
  --sp-err: #b42318;         /* 6.4:1 on white */
  --sp-err-tint: #fef3f2;
  --sp-gutter: 1rem;         /* the site container's side padding */
  text-align: left;
  font-family: var(--font-body);
  color: var(--sp-text);
}
.service-picker [hidden] { display: none !important; }
.service-picker p { margin: 0; color: inherit; }
.service-picker button { font-family: inherit; }
.services.sp-section > .container { max-width: 1200px; }
@media (min-width: 1100px) {
  .services.sp-section { padding-top: 1.5rem; }
  .services.sp-section .section-header { margin-bottom: 0; }
  .services.sp-section .section-header h2 { margin-bottom: .5rem; }
  .sp-section .section-header .services-intro-spoiler > summary { padding-top: .45rem; padding-bottom: .55rem; }
}

/* ---------- the picker's own heading ---------- */
/* In the left column (.sp-main): its top is the panel's top. */
.sp-head { margin: 0 0 2rem; }
/* Before the first next button press: the heading block, no timeline. After it: the timeline in the
   heading's place, the heading gone (the H2 stays in the HTML). JS only, without it the
   heading shows and the timeline is never drawn. */
html.js-enabled .service-picker:not(.is-started) .sp-trail { display: none; }
html.js-enabled .service-picker.is-started .sp-head { display: none; }
.sp-head__eyebrow {
  margin-bottom: .35rem !important;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-blue) !important;
}
.service-picker .sp-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--sp-ink);
  text-wrap: balance;
}

/* ---------- layout ---------- */
.sp-wrap { container: sp / inline-size; margin-top: 1.25rem; }
.sp-cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.sp-main { min-width: 0; }
.sp-panel { display: none; }

/* ---------- a step ---------- */
.sp-steps { display: grid; gap: 2rem; }
html.js-enabled .sp-steps { display: block; }
.service-picker .sp-step { min-width: 0; }
html.js-enabled .service-picker .sp-step { padding-bottom: .5rem; }
.sp-step__count { font-size: .8125rem; font-weight: 600; color: var(--sp-muted) !important; margin-bottom: .4rem !important; }
.service-picker .sp-step__q {
  display: block;
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--sp-ink);
  outline: none;
  text-wrap: balance;
}
.sp-step__q:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 4px; }
.sp-step__help { font-size: .9375rem; line-height: 1.5; color: var(--sp-muted) !important; max-width: 42rem; }
.sp-step__q + .sp-group, .sp-step__help + .sp-group, .sp-step__q + .sp-notice, .sp-step__help + .sp-notice { margin-top: 1.25rem; }
.sp-nojs-title { font-weight: 600; color: var(--sp-ink) !important; margin-bottom: .75rem !important; }

/* ---------- a group of choices, and its error ---------- */
.service-picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.service-picker .sp-group {
  border: 1px solid transparent;
  padding: 1rem;
  margin: 0 -1rem;
  scroll-margin-top: 6rem;
}
.service-picker .sp-group.is-invalid { border-color: var(--sp-err); background: var(--sp-err-tint); }
.sp-group-error {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem !important;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sp-err) !important;
}
.sp-group-error .sp-ico { flex: none; }

/* ---------- tiles ---------- */
.service-picker .chip-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.service-picker .sp-grid { display: grid; gap: .75rem; grid-template-columns: repeat(var(--sp-cols, 2), minmax(0, 1fr)); }
.service-picker .sp-grid--1 { --sp-cols: 1; }
.service-picker .sp-grid--2 { --sp-cols: 2; }
.service-picker .sp-grid--3, .service-picker .sp-grid--many { --sp-cols: 3; }
.service-picker .sp-grid--4 { --sp-cols: 2; }
.service-picker .sp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .12s, background-color .12s, box-shadow .12s;
}
.service-picker .sp-tile:hover { border-color: var(--sp-blue); }
.service-picker .chip-input:focus-visible + .sp-tile { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
.service-picker .chip-input:checked + .sp-tile { border-color: var(--sp-blue); box-shadow: inset 0 0 0 1px var(--sp-blue); background: var(--sp-tint); }
/* Tiles side by side share their row lines (subgrid): titles, descriptions and price lines start
   at the same height across a row even when one title wraps to two lines. */
.service-picker .sp-grid > .sp-tile:not(.sp-tile--compact):has(.sp-tile__desc) { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: .5rem; align-content: start; }
.service-picker .sp-grid > .sp-tile:not(.sp-tile--compact):has(.sp-tile__desc):has(.sp-tile__price) { grid-row: span 3; }
.sp-tile__head { display: flex; align-items: center; gap: .75rem; min-height: 2rem; }
/* The icon: outlined, grey icon and frame, blue when chosen, no fill (owner 2026-11-27). */
.sp-tile__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  color: var(--sp-muted);
}
.service-picker .chip-input:checked + .sp-tile .sp-tile__icon { color: var(--sp-blue); border-color: var(--sp-blue); }
.sp-tile__title { flex: 1; min-width: 0; font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--sp-ink); overflow-wrap: break-word; }
/* The role step's two tiles: a larger title (owner 2026-12-02). */
.service-picker [data-sp-stage="role"] .sp-tile__title { font-size: 1.25rem; line-height: 1.25; }
.sp-tile__desc { font-size: .875rem; line-height: 1.45; color: var(--sp-muted); }
.sp-tile__price { margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--sp-line); font-size: .875rem; font-weight: 600; color: var(--sp-text); }
.sp-tile__price.is-quote { font-weight: 500; color: var(--sp-muted); }
.service-picker .chip-input:checked + .sp-tile .sp-tile__price { color: var(--sp-blue-deep); }
/* A chosen tile's and chip's title in the deep blue (owner 2026-11-29). */
.service-picker .chip-input:checked + .sp-tile .sp-tile__title,
.service-picker .chip-input:checked + .sp-chip { color: var(--sp-blue-deep); }
/* The mark at the right of the title: a circle for one of many, a square for several. */
.sp-tile__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--sp-control);
  border-radius: 50%;
  background: #fff;
}
.sp-tile--check .sp-tile__mark { border-radius: 3px; }
.sp-tile__tick { color: #fff; opacity: 0; }
.service-picker .chip-input:checked + .sp-tile .sp-tile__mark,
.service-picker .chip-input:checked + .sp-chip .sp-tile__mark { border-color: var(--sp-blue); }
.service-picker .chip-input:checked + .sp-tile--radio .sp-tile__mark,
.service-picker .chip-input:checked + .sp-chip .sp-tile__mark { background: var(--sp-blue); box-shadow: inset 0 0 0 4px #fff; }
.service-picker .chip-input:checked + .sp-tile--check .sp-tile__mark { background: var(--sp-blue); }
.service-picker .chip-input:checked + .sp-tile--check .sp-tile__tick { opacity: 1; }
/* Compact tiles without an icon (EKR items): the mark first, the title beside it. */
.sp-tile--compact { padding: .75rem 1rem; gap: .35rem; }
.sp-tile--compact .sp-tile__head { min-height: 1.5rem; align-items: flex-start; }
.sp-tile--compact .sp-tile__mark { order: -1; margin-top: .05rem; }
.sp-tile--compact .sp-tile__title { font-weight: 500; }
.sp-tile--compact .sp-tile__price { margin: 0; padding: 0 0 0 2rem; border: 0; font-weight: 500; color: var(--sp-muted); }
.sp-task { display: flex; min-width: 0; }
.sp-task > .sp-tile { flex: 1; }
.sp-check-group + .sp-check-group { margin-top: 1.25rem; }
.sp-check-group__label { margin-bottom: .6rem !important; font-size: .875rem; font-weight: 600; color: var(--sp-ink) !important; }

/* ---------- the value: band chips and "Még nem tudom" ---------- */
/* Seven bands and "Még nem tudom" (last in the DOM): 4 x 2, 2 x 4 below 720px. Bare figures on
   the chips, the unit in the help line above them, the en/de currency switch at its right
   (under it when there is no room). */
.sp-value-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.sp-value-head .sp-step__help { margin: 0 !important; }
.sp-value-head + .sp-group, .sp-value-head + .sp-notice { margin-top: 1.25rem; }
.sp-chips { display: grid; gap: .5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-picker .sp-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3.25rem;
  margin: 0;
  padding: .6rem .6rem .6rem .8rem;
  background: #fff;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: .875rem;         /* "1.000–1.300 M Ft" on one line in a quarter of the column */
  line-height: 1.25;
  color: var(--sp-ink);
}
.service-picker .sp-chip:hover { border-color: var(--sp-blue); }
.service-picker .chip-input:focus-visible + .sp-chip { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
.service-picker .chip-input:checked + .sp-chip { border-color: var(--sp-blue); box-shadow: inset 0 0 0 1px var(--sp-blue); background: var(--sp-tint); }
.service-picker .sp-chip--unknown { font-weight: 500; color: var(--sp-text); border-style: dashed; }
.service-picker .chip-input:checked + .sp-chip--unknown { border-style: solid; }
.sp-currency { display: inline-flex; border: 1px solid var(--sp-control); border-radius: 2px; }
.sp-currency__btn { min-height: 2.25rem; padding: 0 .75rem; border: 0; background: #fff; font-size: .8125rem; font-weight: 600; color: var(--sp-muted); cursor: pointer; }
.sp-currency__btn + .sp-currency__btn { border-left: 1px solid var(--sp-control); }
.sp-currency__btn.is-active { background: var(--sp-tint); color: var(--sp-blue); }
.sp-notice {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: 0 0 1rem !important;
  padding: .75rem 1rem;
  background: var(--sp-tint);
  border-left: 3px solid var(--sp-blue);
  font-size: .875rem;
  color: var(--sp-ink) !important;
}
.sp-notice__icon { flex: none; color: var(--sp-blue); margin-top: 1px; }
.sp-group + .sp-notice { margin: 1rem 0 0 !important; }
/* What the chosen service's fee includes: a quiet card under the step's choices (the script moves
   it into the current step), quieter than the notices above (grey, no blue bar). */
.sp-incl {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: 1.25rem 0 0 !important;
  padding: .75rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--sp-line);
  border-radius: 2px;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--sp-text) !important;
}
.sp-incl[hidden] { display: none; }
.sp-incl__icon { flex: none; color: var(--sp-blue); margin-top: 1px; }
.sp-form .sp-incl { margin: 0 0 1.25rem !important; }
/* When we reply: one quiet line at the end of the form's fields, before the submit. */
.sp-reply { margin: -.25rem 0 1rem !important; font-size: .8125rem; line-height: 1.45; color: var(--sp-muted) !important; }

/* ---------- counters (the tender's extras) ---------- */
.sp-subgroup { margin-top: 1.75rem; }
.sp-subgroup__head { font-weight: 600; font-size: 1rem; color: var(--sp-ink) !important; }
.sp-subgroup__help { margin-top: .2rem !important; font-size: .875rem; color: var(--sp-muted) !important; }
.sp-counters { margin-top: .75rem; background: #fff; border: 1px solid var(--sp-line); border-radius: 2px; max-width: 40rem; }
.sp-counter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem; }
.sp-counter + .sp-counter { border-top: 1px solid var(--sp-line); }
.sp-counter__text { flex: 1 1 12rem; min-width: 0; }
.sp-counter__label { display: block; font-weight: 600; color: var(--sp-ink); }
.sp-counter__note { display: block; font-size: .875rem; color: var(--sp-muted); }
.sp-stepper { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--sp-control); border-radius: 2px; background: #fff; }
.sp-stepper__btn { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--sp-blue); cursor: pointer; }
.sp-stepper__btn:disabled { color: #c3c8d0; cursor: default; }
.sp-stepper__btn:not(:disabled):hover { background: var(--sp-tint); }
.sp-stepper input {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--sp-line);
  border-right: 1px solid var(--sp-line);
  background: #fff;
  font: inherit;
  font-weight: 600;
  text-align: center;
  color: var(--sp-ink);
  -moz-appearance: textfield;
}
.sp-stepper input::-webkit-outer-spin-button,
.sp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sp-stepper input:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: -2px; }
.sp-counter > .sp-note { flex-basis: 100%; }

/* ---------- no-JS listing ---------- */
.service-picker .sp-note {
  max-width: 72ch;
  margin-top: 1rem;
  padding-left: .9rem;
  border-left: 3px solid var(--sp-blue);
  font-size: .86rem;
  line-height: 1.55;
  color: var(--sp-muted);
}
.sp-flat { font-size: 1rem; color: var(--sp-ink) !important; }
.sp-flat__price { font-weight: 600; font-size: 1.35rem; }
.sp-flat__vat { font-size: .85rem; color: var(--sp-muted); }
.sp-rate-scroll { overflow-x: auto; }
.sp-rate-table { width: 100%; min-width: 21rem; border-collapse: collapse; font-size: .82rem; }
.sp-rate-table th, .sp-rate-table td { padding: .5rem .45rem; border-top: 1px solid var(--color-rule); text-align: right; vertical-align: top; }
.sp-rate-table thead th { border-top: 0; font-size: .72rem; color: var(--sp-muted); }
.sp-rate-table tbody th { text-align: left; font-weight: 600; color: var(--sp-ink); }
.sp-rate-table td { color: var(--sp-ink); font-variant-numeric: tabular-nums; }
.sp-rate-table__min { display: block; font-size: .74rem; color: var(--sp-muted); }
html:not(.js-enabled) .sp-opts { margin-top: 1rem; }

/* ---------- the fee (panel and the one-column statement) ---------- */
.sp-slip { position: relative; background: #fff; border: 1px solid var(--sp-line); border-top: 4px solid var(--sp-blue); padding: 1.25rem 1rem 1rem; }
.sp-slip__label { font-size: .9375rem; font-weight: 600; color: var(--sp-ink) !important; margin-bottom: .5rem !important; }
.sp-slip__idle { font-size: .9375rem; color: var(--sp-muted) !important; }
.sp-slip__figrow { display: flex; align-items: center; gap: .5rem; }
.sp-slip__fig {
  flex: 0 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--sp-ink) !important;
  font-variant-numeric: lining-nums tabular-nums;
}
.sp-slip__fig.is-words { font-size: 1.5rem; line-height: 1.2; }
.sp-seg { white-space: nowrap; }
.sp-vat { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--sp-muted); }
.sp-slip__caption { margin-top: .5rem !important; font-size: .875rem; color: var(--sp-muted) !important; }
/* The free first consultation under the fee (owner 2026-11-29). */
.sp-slip__free { display: flex; align-items: center; gap: .5rem; margin-top: .75rem !important; font-size: .9375rem; font-weight: 600; color: var(--sp-blue) !important; }
.sp-slip__free .sp-ico { flex: none; }
.sp-slip__extras { margin-top: .5rem; }
/* The start panel's two lines under the from-price: a quiet list. */
.sp-slip__points { list-style: none; margin: .75rem 0 0; padding: 0; font-size: .875rem; line-height: 1.45; color: var(--sp-muted); }
.sp-slip__points li { position: relative; padding-left: .9rem; }
.sp-slip__points li + li { margin-top: .3rem; }
.sp-slip__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: .35rem; height: 1px; background: currentColor; }
.sp-slip__extras p { font-size: .875rem; font-weight: 600; color: var(--sp-text); }
.sp-info {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -.5rem -.5rem -.5rem 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--sp-blue);
  cursor: pointer;
}
.sp-info:hover, .sp-info[aria-expanded="true"] { background: var(--sp-tint); }
/* The answers so far (owner 2026-11-28): the panel under its buttons, the fee statement on the
   last step (one column). A definition list, one row per answered step: the step's name small
   and muted with "Módosítás" at its right, the answer below (a tasks or check step: its items,
   each with its fee at the right). The row's button covers the whole row (::after), so a click
   anywhere on it reopens the step. The current step's row has no button. */
.sp-sum__title {
  margin-bottom: .25rem !important;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-muted) !important;
}
.sp-sum__dl { margin: 0; }
.sp-sum__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: .75rem;
  padding: .55rem .5rem .6rem;
  margin: 0 -.5rem;
  border-radius: 2px;
}
.sp-sum__row + .sp-sum__row { border-top: 1px solid var(--sp-line); }
.sp-sum__row:has(.sp-sum__btn):hover { background: #f8fafc; }
.sp-sum__row:has(.sp-sum__btn:focus-visible) { outline: 2px solid var(--sp-blue); outline-offset: -2px; }
.sp-sum__term { grid-column: 1; font-size: .8125rem; font-weight: 500; line-height: 1.35; color: var(--sp-muted); }
.sp-sum__row.is-current .sp-sum__term { color: var(--sp-blue); }
.sp-sum__edit { grid-column: 2; grid-row: 1; display: flex; align-items: flex-start; margin: 0; }
.sp-sum__val { grid-column: 1 / -1; margin: .15rem 0 0; font-size: .9375rem; line-height: 1.4; color: var(--sp-ink); }
/* The edit button: a pencil (named "Módosítás: <step>"), muted, blue on the row's hover and focus. */
.sp-sum__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: -.3rem -.4rem -.3rem 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--sp-muted);
  cursor: pointer;
}
.sp-sum__btn::after { content: ""; position: absolute; inset: 0; }
.sp-sum__btn:focus-visible { outline: none; }
.sp-sum__row:hover .sp-sum__btn, .sp-sum__btn:focus-visible { color: var(--sp-blue); background: var(--sp-tint); }
.sp-sum__line, .sp-sum__item { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.sp-sum__label { min-width: 0; font-weight: 600; overflow-wrap: break-word; }
/* The chosen tile's icon before the answer (owner 2026-12-01): the tile's outlined SVG, blue, no frame. */
.sp-sum__name { display: flex; align-items: flex-start; gap: .5rem; min-width: 0; }
.sp-sum__ico { flex: none; display: inline-flex; margin-top: .1rem; color: var(--sp-blue); }
.sp-sum__ico svg { width: 1.125rem; height: 1.125rem; }
.sp-sum__item .sp-sum__ico svg { width: 1rem; height: 1rem; }
.sp-sum__list { list-style: none; margin: 0; padding: 0; }
.sp-sum__line + .sp-sum__list { margin-top: .2rem; }
.sp-sum__item { padding: .1rem 0; font-size: .875rem; }
.sp-sum__item .sp-sum__label { font-weight: 500; color: var(--sp-text); }
.sp-sum__line + .sp-sum__list .sp-sum__label { color: var(--sp-muted); }
.sp-sum__amt { flex: none; font-weight: 600; color: var(--sp-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sp-sum__amt.is-quote { font-weight: 500; color: var(--sp-muted); }
.sp-slip__sum { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--sp-line); }

/* The panel (two columns, owner 2026-11-28): the fee block and the answers so far flow from the
   top, the buttons sit at the panel's bottom, which is level with the left column's bottom
   while the panel has less to show (see the two-column rules). The main button at full width
   (Következő lépés, the submit on the last step), Előző lépés under it as a full width outline
   button in the accent blue. No answers yet: no heading, no rule. */
.sp-panel__rest:empty { display: none; }
.sp-panel__rest { margin-top: 1.25rem; }
.sp-panel__rest > .sp-sum { padding-top: 1rem; border-top: 1px solid var(--sp-line); }
.sp-panel__actions { display: grid; gap: .5rem; padding-top: 1.25rem; }
.service-picker .sp-panel__actions .sp-next,
.service-picker .sp-panel__actions .sp-submit { width: 100%; min-height: 3.25rem; padding: 0 1rem; font-size: 1.0625rem; }
.service-picker .sp-panel__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid var(--sp-blue);
  border-radius: 2px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--sp-blue);
  cursor: pointer;
}
.service-picker .sp-panel__back:hover { background: var(--sp-tint); border-color: var(--sp-blue-deep); color: var(--sp-blue-deep); }
.service-picker .sp-panel__back:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
/* The start panel only: a quiet text link to the prices under the button. */
.sp-panel__prices { justify-self: center; display: inline-flex; align-items: center; min-height: 2.75rem; margin-bottom: -.5rem; font-size: .875rem; font-weight: 500; color: var(--sp-muted); text-decoration: underline; text-decoration-color: rgba(71, 85, 105, .35); text-underline-offset: 3px; }
.sp-panel__prices:hover, .sp-panel__prices:focus-visible { color: var(--sp-blue); text-decoration-color: currentColor; }

/* The popover of the (i) (appended to body by the script). */
.sp-pop {
  position: absolute;
  z-index: 1100;
  width: min(340px, calc(100vw - 24px));
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--sp-control, #7d8695);
  border-top: 3px solid var(--color-cobalt);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .16);
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-ink);
  text-align: left;
}
.sp-pop p { margin: 0; color: inherit; }
.sp-pop__title { font-weight: 600; margin-bottom: .5rem !important; padding-right: 2rem; }
.sp-pop__close { position: absolute; top: 4px; right: 4px; width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: #475569; cursor: pointer; }

/* ---------- the step timeline above the question ----------
   One bar cut into steps by shaftless chevrons: every step is a segment with an arrow point on
   the right and the previous point's notch on the left, the gap between them is the page
   showing through. The bar opens with a straight edge and ends in a point. Every segment is its
   step's short name (owner 2026-11-28). Past: muted cobalt, white text with a tick, a button
   that reopens the step. Current: light blue, bold ink. Ahead: grey. Every step has the same
   width, a long name wraps (hyphenated where needed).
   Before a service is chosen the bar ends at the current step. */
.sp-trail { --tl-tip: .875rem; --tl-gap: 3px; margin: 0 0 1.5rem; }
.sp-trail__list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: stretch; margin: 0; padding: 0; font-size: .8125rem; line-height: 1.25; }
.sp-trail__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-left: calc(var(--tl-gap) - var(--tl-tip));
  padding: .35rem calc(var(--tl-tip) + .4rem) .35rem calc(var(--tl-tip) + .6rem);
  text-align: center;
  /* Site tokens (owner 2026-11-29): past = cobalt-deep, current = a cobalt tint with
     cobalt-deep text, future = an ink-based neutral. */
  background: rgba(15, 23, 42, .06);
  color: var(--sp-muted);
  clip-path: polygon(0 0, calc(100% - var(--tl-tip)) 0, 100% 50%, calc(100% - var(--tl-tip)) 100%, 0 100%, var(--tl-tip) 50%);
}
.sp-trail__item:first-child { margin-left: 0; padding-left: .75rem; clip-path: polygon(0 0, calc(100% - var(--tl-tip)) 0, 100% 50%, calc(100% - var(--tl-tip)) 100%, 0 100%); }
.sp-trail.is-open .sp-trail__list { grid-auto-columns: minmax(0, 14rem); }
.sp-trail__text { display: block; min-width: 0; max-width: 100%; hyphens: auto; -webkit-hyphens: auto; }
.sp-trail__dot { display: none; }
.sp-trail__item.is-done { background: var(--color-cobalt-deep, #06458c); color: #fff; padding: 0; }
.sp-trail__item.is-done:first-child { padding: 0; }
.sp-trail__item.is-current { background: #dfe8f5; background: color-mix(in srgb, var(--color-cobalt, #0857b0) 13%, #fff); color: var(--color-cobalt-deep, #06458c); font-weight: 700; }
.sp-trail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: .35rem calc(var(--tl-tip) + .4rem) .35rem calc(var(--tl-tip) + .6rem);
  border: 0;
  background: none;
  font: inherit;
  font-weight: 500;
  color: inherit;
  text-align: center;
  cursor: pointer;
}
.sp-trail__item:first-child .sp-trail__btn { padding-left: .75rem; }
.is-done .sp-trail__dot { display: inline-flex; flex: none; }
.is-done .sp-trail__dot .sp-ico { width: 12px; height: 12px; }
.sp-trail__item.is-done:hover { background: var(--color-cobalt, #0857b0); }
.sp-trail__btn:hover .sp-trail__text { text-decoration: underline; text-underline-offset: 3px; }
.sp-trail__btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
/* Two columns on a narrow container (880 to 1100px): the left column is 520 to 700px, six
   segments of ~100px, so no tick (the done colour says it), a smaller size and less side room. */
@container sp (min-width: 880px) and (max-width: 1099.98px) {
  .sp-trail__list { font-size: .75rem; }
  .sp-trail__item, .sp-trail__btn { padding-left: calc(var(--tl-tip) + .35rem); padding-right: calc(var(--tl-tip) + .2rem); }
  .sp-trail__item:first-child, .sp-trail__item:first-child .sp-trail__btn { padding-left: .6rem; }
  .is-done .sp-trail__dot { display: none; }
}
/* Phones: up to six segments share the width (the homepage's procedure path), so a narrower
   point, a smaller size and less side room (the text may run into the point's sides, never past
   its tip): the step names (one short word each) fit on one line at 390px. */
@container sp (max-width: 519.98px) {
  .sp-trail { --tl-tip: .5rem; }
  .sp-trail__list { font-size: .65rem; }
  .sp-trail__item, .sp-trail__btn { padding-left: calc(var(--tl-tip) + .15rem); padding-right: .3rem; }
  .sp-trail__item:first-child, .sp-trail__item:first-child .sp-trail__btn { padding-left: .4rem; }
  .is-done .sp-trail__dot { display: none; }
}

/* ---------- one column (default) ---------- */
/* The foot: a bar stuck to the screen bottom with the back button, the fee and the next button. */
.sp-foot {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 1.25rem calc(-1 * var(--sp-gutter)) 0;
  padding: .75rem var(--sp-gutter) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--sp-line);
}
/* Owner 2026-11-30: the bar is the step's last row, in place under the choices, and floats
   (stuck to the screen bottom, with the shadow) only while the step runs below the screen.
   .is-stuck is set by the script (syncBar), the same for the last step's submit row. */
/* In place it takes the section's own background, a hairline above, so it reads as the step's
   footer. Floating it turns white with the shadow, opaque over the choices under it. */
.sp-foot:not(.is-stuck) { background: transparent; }
.sp-foot.is-stuck, .sp-final__submit.is-stuck { box-shadow: 0 -6px 16px rgba(15, 23, 42, .08); }
.sp-foot__price { flex: 1 1 auto; min-width: 0; }
.sp-foot__label { display: flex; align-items: center; gap: .15rem; font-size: .875rem; font-weight: 600; color: var(--sp-muted) !important; }
.sp-foot__label .sp-info { width: 2.25rem; height: 2.25rem; margin: -.4rem 0; }
.sp-foot__fig { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--sp-ink) !important; font-variant-numeric: lining-nums tabular-nums; }
.sp-foot__fig .sp-vat { font-size: .75rem; }
/* Beside the longer next button ("Következő lépés") a figure may wrap before "+ áfa" (and after
   a range's dash), never inside a figure or its unit (non-breaking spaces). */
.sp-foot__fig .sp-seg, .sp-final__mini-fig .sp-seg { white-space: normal; }
.sp-foot__extra { font-size: .8125rem; font-weight: 500; color: var(--sp-text); }
/* Before a service is chosen (owner 2026-11-30): the short intro and the free first consultation. */
.sp-foot__intro { font-size: .8125rem; line-height: 1.3; font-weight: 500; color: var(--sp-text) !important; }
.sp-foot__free { display: flex; align-items: center; gap: .3rem; margin-top: .2rem !important; font-size: .8125rem; line-height: 1.3; font-weight: 600; color: var(--sp-blue) !important; }
.sp-foot__free .sp-ico { flex: none; width: 1rem; height: 1rem; }
/* The answers sheet (owner 2026-12-01): the bar's figure is a button (a chevron after it) that
   opens the answers so far over the page above the bar, or below it (.is-down) when the bar sits
   in place with more room under it. Absolute, so the page and the bar's stuck state never move.
   Its height is capped by the script (60% of the screen, the room above or below), scrolling
   inside past that. Two columns hide it with the bar. */
.sp-foot__more {
  display: flex;
  align-items: center;
  gap: .3rem;
  width: fit-content;
  max-width: calc(100% + .8rem);
  line-height: inherit;
  margin: -.3rem -.4rem;
  padding: .3rem .4rem;
  border: 0;
  border-radius: 2px;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.sp-foot__more:hover, .sp-foot__more[aria-expanded="true"] { background: var(--sp-tint); }
.sp-foot__more:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 0; }
.sp-foot__more .sp-foot__fig { display: block; min-width: 0; }
.sp-foot__chev { flex: none; display: inline-flex; color: var(--sp-blue); transition: transform .15s ease; }
.sp-foot__more[aria-expanded="true"] .sp-foot__chev { transform: rotate(180deg); }
.sp-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  z-index: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem var(--sp-gutter) .5rem;
  background: #fff;
  border-top: 1px solid var(--sp-line);
  box-shadow: 0 -10px 24px rgba(15, 23, 42, .12);
}
.sp-sheet.is-down { bottom: auto; top: 100%; border-top: 0; border-bottom: 1px solid var(--sp-line); box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }
.sp-sheet[hidden] { display: none; }
/* Open while in place: the bar turns white like a stuck one, one surface with the sheet. */
.sp-foot.is-open { background: #fff; }
@media (prefers-reduced-motion: reduce) { .sp-foot__chev { transition: none; } }
.service-picker .sp-next {
  flex: none;
  min-width: 0;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--sp-blue);
  border-radius: 2px;
  background: var(--sp-blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.service-picker .sp-next:hover { background: var(--sp-blue-deep); border-color: var(--sp-blue-deep); }
.service-picker .sp-next:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
/* Előző lépés: back to the step before (owner 2026-11-28). One column: a square chevron button
   left of the fee (and of the mini fee beside the submit), its label for screen readers only
   (no room beside the fee and the next button). Two columns: the panel's own full width outline
   button (.sp-panel__back). */
.service-picker .sp-back {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 3rem;
  min-height: 3rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  background: #fff;
  color: var(--sp-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.service-picker .sp-back[hidden] { display: none; }
.sp-back__ico { transform: rotate(180deg); }
.sp-back__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.service-picker .sp-back:hover { border-color: var(--sp-blue); color: var(--sp-blue); }
.service-picker .sp-back:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
.sp-final__submit:has(.sp-back:not([hidden])) { grid-template-columns: auto minmax(0, 1fr) auto; }
.sp-foot.is-bare .sp-foot__price { display: none; }
/* The next button always at the right end (owner 2026-11-30), with or without the back button
   and the fee beside it: on phones its max-width kept a bare bar's stretched button on the left. */
.sp-foot .sp-next { margin-left: auto; }

/* The last step: the statement, the form, the submit row stuck to the screen bottom. */
.sp-final { display: grid; margin-top: 1.25rem; }
.sp-final__slip { margin-bottom: 1.25rem; }
.service-picker .sp-form { display: block; margin: 0; }
.sp-form__fields { background: #fff; border: 1px solid var(--sp-line); border-bottom: 0; padding: 1.25rem 1rem .5rem; }
.service-picker .sp-form .form-group { margin: 0 0 1rem; }
.sp-form .form-label { display: block; margin-bottom: .35rem; font-size: .875rem; font-weight: 600; color: var(--sp-ink); }
.service-picker .sp-contact .form-label { margin-bottom: .5rem; padding: 0; }
.sp-form .form-input {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: .6rem .75rem;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--sp-ink);
}
.sp-form .form-input:focus { outline: none; border-color: var(--sp-blue); box-shadow: inset 0 0 0 1px var(--sp-blue); }
.sp-form textarea.form-input { min-height: 6rem; resize: vertical; line-height: 1.45; }
.sp-form .form-input::placeholder { color: #6b7280; }
/* Contact methods: two toggle chips (real checkboxes, visually hidden) with a tick and an icon.
   The last one on is aria-disabled (it cannot go off). */
.sp-contact__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sp-contact__input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.service-picker .sp-contact__chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 1rem;
  background: #fff;
  border: 1px solid var(--sp-control);
  border-radius: 2px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--sp-ink);
  cursor: pointer;
  user-select: none;
}
.sp-contact__icon { flex: none; color: var(--sp-muted); }
.sp-contact__mark { flex: none; width: 1.125rem; height: 1.125rem; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--sp-control); border-radius: 3px; }
.sp-contact__tick { color: #fff; opacity: 0; }
.service-picker .sp-contact__chip:hover { border-color: var(--sp-blue); }
.sp-contact__input:checked + .sp-contact__chip { border-color: var(--sp-blue); box-shadow: inset 0 0 0 1px var(--sp-blue); background: var(--sp-tint); color: var(--sp-blue-deep); }
.sp-contact__input:checked + .sp-contact__chip .sp-contact__icon { color: var(--sp-blue); }
.sp-contact__input:checked + .sp-contact__chip .sp-contact__mark { background: var(--sp-blue); border-color: var(--sp-blue); }
.sp-contact__input:checked + .sp-contact__chip .sp-contact__tick { opacity: 1; }
.sp-contact__input[aria-disabled="true"] + .sp-contact__chip { cursor: default; }
.sp-contact__input:focus-visible + .sp-contact__chip { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
.sp-form .gdpr-text { font-size: .82rem; }
/* GDPR: the checkbox stays focusable (main.css hides it with display:none). */
.sp-form .gdpr-checkbox { position: relative; }
.sp-form .gdpr-checkbox input[type=checkbox] { display: block; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; margin: 0; opacity: 0; }
.sp-form .gdpr-checkbox input[type=checkbox]:focus-visible + .checkmark { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
.sp-form .form-input[aria-invalid="true"] { border-color: var(--sp-err); box-shadow: inset 0 0 0 1px var(--sp-err); }
.sp-form .gdpr-checkbox input[aria-invalid="true"] + .checkmark { border-color: var(--sp-err); box-shadow: 0 0 0 1px var(--sp-err); }
.sp-form .sp-field-error { margin: .35rem 0 0 !important; font-size: .84rem; font-weight: 600; line-height: 1.4; color: var(--sp-err) !important; }
.sp-final__submit {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border: 1px solid var(--sp-line);
}
.sp-final__mini { display: flex; flex-direction: column; min-width: 0; }
.sp-final__mini-label { font-size: .8125rem; font-weight: 600; color: var(--sp-muted); }
.sp-final__mini-fig { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; color: var(--sp-ink); }
.sp-final__mini-fig .sp-vat { font-size: .75rem; }
/* The submit in the site's body font (teardown: it fell back to Arial). */
.service-picker .sp-submit {
  min-height: 3rem;
  margin: 0;
  padding: 0 1.25rem;
  border: 1px solid var(--sp-blue);
  border-radius: 2px;
  background: var(--sp-blue);
  background-image: none;
  box-shadow: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
}
.service-picker .sp-submit:hover,
.service-picker .sp-submit:focus-visible { background: var(--sp-blue-deep); border-color: var(--sp-blue-deep); transform: none; }
.sp-form [data-form-status] { margin-top: .75rem; }

/* The floating phone button steps aside while the bar, the submit row or the panel sits under it. */
html.sp-bar-on .cfab:not(.is-open) { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); }

/* Phones: the bar's buttons carry two words now ("Következő lépés", owner 2026-11-28), so they
   wrap onto two lines rather than squeeze the fee, and the fee's (i) is a little smaller. */
@container sp (max-width: 519.98px) {
  .service-picker .sp-foot .sp-next, .service-picker .sp-final__submit .sp-submit {
    max-width: 7.75rem;
    min-height: 3rem;
    padding: .35rem .75rem;
    font-size: .9375rem;
    line-height: 1.15;
    white-space: normal;
    text-wrap: balance;
  }
  .sp-foot__label { display: block; }
  .sp-foot__label .sp-info { width: 1.75rem; height: 1.75rem; margin: -.3rem 0 -.3rem .1rem; vertical-align: middle; }
}

/* ---------- narrow embeds and phones (one column) ---------- */
@container sp (max-width: 719.98px) {
  .service-picker .sp-grid--2, .service-picker .sp-grid--3, .service-picker .sp-grid--4, .service-picker .sp-grid--many { --sp-cols: 1; }
  .sp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-picker .sp-step__q { font-size: 1.5rem; }
  .service-picker .sp-group { padding: .75rem; margin: 0 -.75rem; }
}
@container sp (min-width: 720px) and (max-width: 879.98px) {
  .service-picker .sp-grid--many { --sp-cols: 2; }
}
@container sp (max-width: 340px) {
  .service-picker .sp-chip { font-size: .875rem; padding-left: .75rem; gap: .5rem; }
  .sp-final__submit { grid-template-columns: 1fr; }
  .sp-final__submit .sp-submit { width: 100%; }
  .service-picker .sp-next { padding: 0 1rem; }
  .sp-slip__fig { font-size: 1.75rem; }
}
/* The subject alone on its step: three across where the column is wide enough, else one. */
@container sp (min-width: 600px) and (max-width: 879.98px) {
  .sp-step[data-sp-kind="axis"]:has([data-sp-axis] .sp-grid--3) .sp-grid--3 { --sp-cols: 3; }
}

/* ---------- two columns: the question left, the panel (fee + steps) right ---------- */
@container sp (min-width: 880px) {
  .sp-cols { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 2.5rem; align-items: start; }
  .sp-final__slip { display: none !important; }
  /* Owner 2026-11-29: the panel's box reaches at least the bottom of the step's choices (the
     info card under them left out, min-height set by the script's fitBox), its content (fee, answers, buttons) sits at the top in its
     own height, so the left column's changes only move the box's bottom, never the buttons.
     The content sticks while it fits the screen (.is-fit, set by the script), else it scrolls
     with the page. Never scrolling inside: every answer stays in view. */
  /* No scroll anchoring on the panel: its min-height change must not shift the page. */
  .sp-panel { display: flex; flex-direction: column; overflow-anchor: none; }
  .sp-panel__inner { display: flex; flex-direction: column; flex: 1 0 auto; }
  /* The buttons sit at the box's bottom (owner 2026-11-29), the box reaching the choices' bottom. */
  .sp-panel__inner > .sp-panel__actions { margin-top: auto; }
  .sp-panel__inner.is-fit { position: sticky; top: calc(var(--nav-h, 80px) + 1rem); }
  /* The step ends at its last content (the info card), the line the panel's bottom meets. */
  html.js-enabled .service-picker .sp-step { padding-bottom: 0; }
  .sp-slip--panel { flex: 1 0 auto; display: flex; flex-direction: column; padding: 1.5rem 1.25rem 1.25rem; }
  .sp-panel__fee, .sp-panel__rest { flex: none; }
  /* One height for the fee block's usual states (default view, from-price, a range), so the
     first choices don't move the buttons (owner 2026-11-29). Longer content still grows it. */
  .sp-panel__fee { min-height: 8.25rem; }
  .sp-panel__actions { flex: none; }
  .sp-slip--panel .sp-slip__fig { font-size: 2rem; }
  .sp-slip--panel .sp-slip__fig.is-words { font-size: 1.5rem; }
  /* No button row under the question: the foot and the submit row give way to the panel's. */
  .service-picker .sp-foot, .service-picker .sp-final__submit { display: none; }
  .sp-form__fields { padding: 1.5rem 1.5rem .5rem; border-bottom: 1px solid var(--sp-line); }
}
@container sp (min-width: 1100px) {
  .sp-cols { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 3rem; }
  .sp-slip--panel { padding: 1.5rem; }
  .sp-slip--panel .sp-slip__fig { font-size: 2.25rem; }
  .sp-step[data-sp-kind="axis"] .sp-grid--3 { gap: 1rem; }
}

/* Internal links under the picker (the hubs the former persona cards linked). Small, not CTAs. */
.sp-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  margin: 2rem auto 0;
  padding: 0;
  font-size: .86rem;
}
.sp-links a { color: #475569; text-decoration: underline; text-decoration-color: rgba(71, 85, 105, .35); text-underline-offset: 3px; }
.sp-links a:hover, .sp-links a:focus-visible { color: var(--color-cobalt); text-decoration-color: currentColor; }
@media (pointer: coarse) { .sp-links a { display: inline-block; padding: .6rem .25rem; } }

/* ---------- homepage advisory copy (company_intro): section headings ---------- */
.company-intro .intro-text > h3 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  color: var(--color-ink);
}



/* The default view's steps (owner 2026-11-29): what the calculator does, before a service. */
/* Its label larger than the fee label (owner 2026-11-30), still a <p>: no heading in the panel. */
.sp-slip__label--intro { font-size: 1.125rem; font-weight: 700; }
.sp-slip__steps { list-style: none; counter-reset: sp-st; margin: .7rem 0 0; padding: 0; display: grid; gap: .45rem; }
.sp-slip__steps li { counter-increment: sp-st; position: relative; padding-left: 2.1rem; font-size: .9375rem; line-height: 1.4; color: var(--sp-text); min-height: 1.5rem; }
.sp-slip__steps li::before { content: counter(sp-st); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--sp-blue); background: #e8eff9; }

/* Why use it (owner 2026-11-29), under the picker's own heading. */
.service-picker .sp-head__lead { margin: .6rem 0 0 !important; max-width: 44rem; font-size: 1.0625rem; line-height: 1.55; color: var(--sp-muted) !important; }
/* Before the start the heading block stands there, so the step counter waits until started. */
html.js-enabled .service-picker:not(.is-started) .sp-step__count { display: none; }

/* ---------- homepage consultation CTA (#inline-cta): three equal buttons, all in one row
   when the row is at least 540px wide, otherwise all stacked (never 2 + 1). Each button's
   basis is hugely positive below the threshold (wraps every item) and negative above it
   (shrinks to the min, all share the row equally). Two-line labels are fine in the row. */
#inline-cta .cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .75rem;
}
#inline-cta .cta-buttons > .btn {
  flex: 1 1 calc((540px - 100%) * 999);
  width: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}
@media (max-width: 1023px) {
  #inline-cta .cta-buttons { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
}
