/* ============================================================
   PGK Hiszpania · zamówienie online (zamow) · checkout.css
   Brand source of truth: ~/repos/polskagrupahub-hub-v3 (styles.css)
   Scoped public visual contract: src/contratacion/DESIGN.md
   ============================================================ */

/* ── Tokens (verified against hub styles.css 2026-10-24) ── */
:root {
  --bg: #ffffff;
  --bg-deep: #f7f8f7;
  --panel: #ffffff;
  --veil: #edf5f0;
  --line: #d8dfdb;
  --line-2: #829087;
  --ink: #17271f;
  --ink-2: #34483d;
  --muted: #5d6d63;
  --gold: #185a42;
  --gold-2: #477760;
  --btn-hover: #104832;
  --btn-ink: #ffffff;
  --danger: #b43726;
  --danger-text: #9c2c1d;
  --success: #286b43;
  --serif: var(--sans);
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 10px;
  --out: cubic-bezier(.22,1,.36,1);
}

/* ── Base ── */
[hidden] { display: none !important; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
h1 { font-size: clamp(30px, 6.4vw, 44px); }
h2 { font-size: clamp(23px, 4.6vw, 27px); }
h3 { font-size: clamp(19px, 3vw, 22px); }
[id] { scroll-margin-top: 16px; }
.wrap { width: calc(100% - 40px); max-width: 460px; margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--btn-ink);
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0; font-weight: 500;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: #6E5F49; color: #fff; }

/* ── Header ── */
.site-header { background: #121F1B; color: #f3eee6; }
.site-header .wrap { max-width: 1040px; }
.site-header .help-link, .site-header .lang-btn { color: #f3eee6; }
.site-header .help-link:hover, .site-header .help-link:focus-visible,
.site-header .lang-btn:hover, .site-header .lang-btn:focus-visible { color: #ffffff; }
.site-header .help-link:focus-visible, .site-header .lang-btn:focus-visible { outline-color: #f3eee6; }
.site-header .lang-btn[aria-pressed="true"] { color: #ffffff; background: #355044; box-shadow: none; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 176px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.help-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font: 400 14px/1.2 var(--sans); color: var(--ink-2); text-decoration: none;
  transition: border-color .25s, color .25s;
}
.help-link:hover, .help-link:focus-visible { border-color: var(--gold); color: var(--ink); }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-btn {
  min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px;
  background: none; cursor: pointer;
  font: 400 13px/1 var(--sans); letter-spacing: .12em; color: var(--muted);
  transition: color .2s, background .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] { background: var(--veil); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-sep { color: var(--muted); font-size: 13px; }

/* ── Demo banner ── */
.demo-banner { background: #f7f8f7; border-bottom: 1px solid var(--line); }
.demo-banner p { padding: 8px 0; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.demo-banner strong { color: var(--gold); font-weight: 500; }

/* Progress describes the existing provider handoff, not more questions. */
.visually-hidden, .stepper-current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stepper-wrap { padding: 26px 0 20px; }
.stepper { display: flex; gap: 22px; list-style: none; font-size: 13px; color: var(--muted); }
.stepper li { padding-bottom: 6px; border-bottom: 2px solid transparent; }
.stepper li.st-cur { border-color: var(--gold); color: var(--gold); font-weight: 600; }

/* ── Alerts and errors ── */
.alert-global, .error-summary {
  margin: 18px 0; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--danger); border-radius: var(--radius);
  color: var(--ink-2); font-size: 15px; line-height: 1.55;
}
.alert-global p, .error-summary p { overflow-wrap: anywhere; }
.error-summary strong { display: block; margin-bottom: 6px; color: var(--danger-text); font-weight: 500; }
.error-summary ul { list-style: none; }
.error-summary li { padding: 3px 0; }
.error-summary button.err-link {
  border: 0; background: none; padding: 2px 0; cursor: pointer;
  color: var(--danger-text); font: 300 15px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 3px;
}
.error-summary button.err-link:hover, .error-summary button.err-link:focus-visible { color: var(--ink); }

/* ── Layout ── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 56px; }
.step { padding: 4px 0 8px; }
.step > h2 { margin-bottom: 18px; }
.step-lead { margin-bottom: 16px; max-width: 58ch; }
.step-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-bottom: 10px; }
.step-actions .btn-primary { flex: 1 1 220px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.btn-primary { background: var(--gold); color: var(--btn-ink); border: 1px solid var(--gold); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--btn-hover); }
.btn-secondary { background: none; color: var(--ink); border: 1px solid var(--line-2); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--gold); }
.btn-back { min-height: 44px; padding: 0; font-weight: 400; background: none; color: var(--muted); border: 1px solid transparent; }
.btn-back:hover, .btn-back:focus-visible { color: var(--ink); border-color: var(--line-2); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .spinner {
  display: none; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: pgk-spin .8s linear infinite;
}
.btn.is-pending .spinner { display: inline-block; }
.btn.is-pending { pointer-events: none; }
@keyframes pgk-spin { to { transform: rotate(360deg); } }

/* ── Conditions (step 1) ── */
.conditions { background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 8px; margin-bottom: 26px; }
.conditions h3 { margin-bottom: 10px; }
.conditions-list { list-style: none; }
.conditions-list li { position: relative; padding: 4px 0 10px 18px; font-size: 15px; line-height: 1.6; max-width: 62ch; }
.conditions-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 1px; background: var(--gold-2); }

/* ── Fields ── */
.field { margin: 18px 0; min-width: 0; }
.field label, .field-group legend { display: block; font: 400 15px/1.5 var(--sans); color: var(--ink-2); margin-bottom: 7px; }
.hint { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #ffffff; color: var(--ink);
  font: 400 16px/1.5 var(--sans);
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--bg); color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--danger-text); }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) {
  .field-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-row.three { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-group > legend { padding: 0; }

/* ── Service list ── */
.svc-list { display: grid; gap: 12px; margin-top: 12px; }
.svc {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  min-height: 52px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #ffffff;
  transition: border-color .2s, background .2s;
}
.svc:hover { border-color: var(--gold-2); }
.svc input[type="radio"] { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--gold); flex: none; font-size: 16px; }
.svc.selected { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--veil); }
.svc-title { display: block; font: 500 16px/1.35 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.svc-desc { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 8px; }
.svc-price { font: 400 15px/1.4 var(--sans); color: var(--ink); }
.svc-price small { color: var(--muted); font-size: 13px; }
.svc-badge {
  display: inline-block; padding: 3px 10px; border: 1px solid var(--gold-2); border-radius: 999px;
  font: 400 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2);
}
.svc-note { margin-top: 12px; font-size: 14.5px; color: var(--danger-text); }

/* ── Persons / properties ── */
.person-card, .property-card {
  position: relative; border: 0; border-bottom: 1px solid var(--line);
  padding: 0 0 18px; margin: 28px 0; background: #ffffff;
}
.person-card > h3, .property-card > h3 {
  font-size: 18px; margin-bottom: 8px; padding-right: 64px; overflow-wrap: anywhere;
}
.card-remove {
  position: absolute; top: 12px; right: 12px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: none; cursor: pointer; font: 400 13px/1 var(--sans); color: var(--muted);
  transition: border-color .2s, color .2s;
}
.card-remove:hover, .card-remove:focus-visible { border-color: var(--danger); color: var(--danger-text); }
.btn-add { margin: 4px 0 20px; min-height: 48px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; padding: 12px 0; }
.checkbox-row input[type="checkbox"] { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--gold); cursor: pointer; font-size: 16px; }
.checkbox-row label { font-size: 15px; line-height: 1.6; color: var(--ink-2); cursor: pointer; overflow-wrap: anywhere; }
.checkbox-row.invalid label { color: var(--danger-text); }

/* ── Notices / review ── */
.notice {
  margin: 18px 0; padding: 16px 18px;
  background: var(--bg-deep); border: 1px solid var(--line-2); border-left: 2px solid var(--gold-2);
  border-radius: var(--radius); font-size: 15px; line-height: 1.6;
}
.notice p { overflow-wrap: anywhere; }
.review-panel { border-color: var(--gold-2); border-left-width: 2px; }
.review-panel h3 { margin-bottom: 8px; }
.review-panel #review-ref { font-size: 15px; margin-bottom: 8px; }
.review-panel #review-ref strong { color: var(--gold); font-weight: 500; }
.review-panel ul { list-style: none; margin-bottom: 10px; }
.review-panel li { padding: 3px 0 3px 16px; position: relative; font-size: 14.5px; }
.review-panel li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 1px; background: var(--gold-2); }

/* ── Summary (step 3) ── */
.summary-dl { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-dl > div { display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px 16px; background: #ffffff; border-top: 1px solid var(--line); }
.summary-dl > div:first-child { border-top: 0; }
@media (min-width: 560px) { .summary-dl > div { grid-template-columns: 180px minmax(0, 1fr); gap: 12px; } }
.summary-dl dt { font: 400 13px/1.6 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.summary-dl dd { font-size: 15px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.summary-dl dd small { display: block; color: var(--muted); font-size: 13.5px; }

/* ── Contract / downloads ── */
.contract-panel { margin: 18px 0; padding: 18px; background: var(--bg-deep); border: 1px solid var(--gold-2); border-radius: var(--radius); }
.contract-panel h3 { margin-bottom: 6px; }
.download-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.download-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none;
  color: var(--ink); font: 400 15px/1.3 var(--sans); transition: border-color .2s;
}
.download-link:hover, .download-link:focus-visible { border-color: var(--gold); }
.external-link { color: var(--gold); text-underline-offset: 3px; }

/* ── Signers / sign ── */
.signers { list-style: none; margin: 0 0 16px; display: grid; gap: 8px; }
.signers li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px;
}
.signers .sig-name { color: var(--ink); overflow-wrap: anywhere; }
.status-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.status-chip.ok { border-color: var(--success); color: var(--success); }
.status-chip.warn { border-color: var(--gold-2); color: var(--gold); }

/* ── Receipt (step 6) ── */
.receipt-panel { margin: 6px 0 18px; padding: 24px 22px; border: 1px solid var(--success); border-radius: var(--radius); background: var(--bg-deep); }
.receipt-panel.pending { border-color: var(--gold-2); }
.receipt-panel h3 { font-size: clamp(22px, 4vw, 28px); margin-bottom: 10px; }
.receipt-panel p { font-size: 15px; line-height: 1.65; max-width: 58ch; overflow-wrap: anywhere; }
.receipt-panel p + p { margin-top: 10px; }
.receipt-ref { color: var(--gold); font-weight: 500; }

/* ── Paid receipt ── */
.receipt-hero { text-align: center; padding: 8px 0 20px; }
.receipt-check { width: 56px; height: 56px; margin: 0 auto 14px; display: block; border-radius: 50%; background: var(--veil); padding: 13px; fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.receipt-amount { font-size: 17px; color: var(--ink); }
.receipt-ref-line { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.receipt-ref-label::after { content: ":"; }
.receipt-ref-line .receipt-ref { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.receipt-download { display: flex; width: 100%; justify-content: center; align-items: center; text-decoration: none; margin: 4px 0 26px; }
.receipt-next-title { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.receipt-steps { list-style: none; display: grid; gap: 0; margin: 0 0 22px; }
.receipt-step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.receipt-step:not(:last-child)::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.receipt-step-dot { flex: 0 0 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); position: relative; z-index: 1; }
.receipt-step.done .receipt-step-dot { border-color: var(--success); background: var(--success); }
.receipt-step.next .receipt-step-dot { border-color: var(--gold); }
.receipt-step.done .receipt-step-text { color: var(--ink); }
.receipt-step-text { overflow-wrap: anywhere; }
.receipt-breakdown { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 8px; }
.receipt-breakdown summary { cursor: pointer; color: var(--gold); font-size: 15px; }
.receipt-breakdown .summary-dl { margin-top: 12px; }
#receipt #refresh-final { margin-top: 10px; min-height: 40px; border: 0; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none; }

/* ── Demo controls ── */
.demo-controls { margin: 18px 0 0; padding: 14px 16px; border: 1px dashed var(--gold-2); border-radius: var(--radius); }
.demo-controls p { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.demo-controls .btn { min-height: 44px; font-size: 14.5px; }

/* ── Footer ── */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 28px 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.site-footer .wrap { max-width: 720px; }
.foot-brand { overflow-wrap: anywhere; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--ink-2); text-underline-offset: 3px; }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--ink); }
.foot-note { margin-top: 10px; font-size: 13px; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn .spinner { animation: none; border-top-color: currentColor; opacity: .7; }
}

/* ── Small screens ── */
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 150px; }
  .help-link { padding: 0 10px; }
  .step-actions .btn-primary { flex-basis: 100%; }
}

/* Compact form, based only on the approved Care form pattern. */
.compact-card h2 { margin-bottom: 24px; }
.compact-card .svc-list { gap: 10px; }
.compact-card .svc { padding: 15px; min-height: 56px; align-items: center; border-radius: 14px; }
.compact-card .svc .svc-meta { display: none; }
.compact-card .svc:not(.selected) .svc-desc { display: none; }
.compact-card .svc-desc { font-size: 13px; line-height: 1.5; }
.scope-row { margin-top: 18px; }
.scope-row .hint { font-size: 12px; }
.inline-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-choices label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-size: 14px; }
.inline-choices label:has(input:checked) { color: #ffffff; background: var(--gold); border-color: var(--gold); }
.inline-choices input { width: 18px; height: 18px; accent-color: var(--gold); }
.eligibility { margin-top: 18px; }
.eligibility legend { margin-bottom: 12px; }
.inline-price { margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.inline-price:empty { display: none; }
.inline-price .summary-dl { border: 0; border-radius: 0; }
.inline-price .summary-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 3px 0; border: 0; background: none; }
.inline-price .summary-dl dt { font-size: 13px; text-transform: none; letter-spacing: 0; }
.inline-price .summary-dl dd { font-size: 15px; white-space: nowrap; }
.inline-price .summary-dl > div:last-child { padding-top: 8px; }
.inline-price .summary-dl > div:last-child dt, .inline-price .summary-dl > div:last-child dd { font-size: 17px; color: var(--ink); font-weight: 600; }
.svc-supplement { margin-top: 8px; font-size: 12px; color: var(--muted); }
.optional-details { margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.optional-details > summary { cursor: pointer; min-height: 50px; display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 14px; }
.optional-details > summary::after { content: '+'; margin-left: auto; }
.optional-details[open] > summary::after { content: '−'; }
.field-error:empty { display: none; }
.native-handoff-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.year-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.year-choice { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.year-choice:has(input:checked) { border-color: var(--gold); background: var(--veil); }
.principal-label { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.person-card .person-document-row, .person-card .person-tax-row { grid-template-columns: minmax(0,1fr); }
.person-card .person-document-row .field:first-child input { max-width: 260px; }
.text-action { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font: 400 14px/1.4 var(--sans); cursor: pointer; text-align: left; }
.scope-recheck { margin: 16px 0; padding: 12px 14px; background: var(--veil); border-left: 3px solid var(--gold); font-size: 14px; }
.service-timing, .svc-sla { display: block; margin-top: 8px; font-size: 14px; }
@media (min-width: 360px) {
  .scope-row, .person-card .field-row.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .person-card .field-row.person-document-row, .person-card .field-row.person-tax-row { grid-template-columns: minmax(0,1fr); }
  .property-card .field-row.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .property-card .field-row.three .field:last-child { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .header-bar { gap: 8px; min-height: 64px; }
  .brand img { width: 120px; }
  .help-link { padding: 0 8px; border: 0; }
  .header-actions { gap: 2px; }
  .lang-btn { padding: 0 8px; min-width: 44px; }
  .step-actions { gap: 12px; }
  .step-actions .btn-primary { flex-basis: 100%; order: -1; }
}

/* Reusable people and property assignments stay within the same Care form. */
.registry-title { margin: 20px 0 6px; font-size: 17px; }
.property-holder-group { min-width: 0; margin: 20px 0; padding: 0; border: 0; }
.property-holder-group legend { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.holder-choices { display: flex; flex-wrap: wrap; gap: 8px; max-height: 240px; overflow-y: auto; padding: 3px; margin: 8px -3px 0; }
.holder-choice { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; line-height: 1.4; cursor: pointer; overflow-wrap: anywhere; }
.holder-choice input { flex: none; width: 18px; height: 18px; accent-color: var(--gold); }
.holder-choice:has(input:checked) { background: var(--veil); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.holder-choice:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.registry-unassigned { padding: 8px 10px; border-left: 2px solid var(--gold); background: var(--veil); }
.price-label { margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.authoritative-line { margin: 20px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.authoritative-line h3 { font-size: 17px; margin-bottom: 6px; }

/* Conditions are part of the same contact block, never a second reader. */
.consultation-conditions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.consultation-conditions h3 { font-size: 18px; margin-bottom: 8px; }
.consultation-conditions .doc-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; }
#consultation-document-version { overflow-wrap: anywhere; font-size: 12px; }
#demo-new-session { margin-bottom: 6px; }
/* Acompañamiento en la compra: dos compradores, cada uno con su firma. */
.purchase-section select, .purchase-section input[type="date"] { font-size: 16px; }
.signer-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.signer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
.signer-name { flex: 1 1 160px; color: var(--ink); overflow-wrap: anywhere; }
.signer-status { font-size: 13px; color: var(--muted); }
.signer-status.is-signed { color: var(--success); }
.signer-row .signer-action { flex: 1 1 100%; }
@media (min-width: 640px) { .signer-row .signer-action { flex: 0 0 auto; } }
