/* Modular client portal: one stylesheet for every page (1 Nov 2026).
   Navy / gold / paper, Outfit 400 + 700. Phone first; desktop adds a QR card beside the form. */

@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #101D2E;
  --navy-2: #1B2A3F;
  --navy-3: #2A3A52;
  --gold: #C8902F;
  --gold-ink: #8A6216;
  --gold-wash: #F7EEDC;
  --paper: #F2EFE8;
  --paper-2: #F8F6F1;
  --white: #FFFFFF;
  --ink: #101D2E;
  --ink-2: #4E5868;
  --ink-3: #6B7380;
  --line: #DCD6CA;
  --line-2: #CBC4B5;
  --bad: #A3342A;
  --bad-wash: #FBEDEA;
  --ok: #2E6A4C;
  --ok-wash: #E8F2EC;
  --warn-wash: #FCF4E3;
  --focus: #101D2E;
  --r-sheet: 18px;
  --r-field: 10px;
  --col: 720px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 10px 16px; background: var(--gold); color: var(--navy); font-weight: 700; border-radius: 8px; text-decoration: none; }
.sr-only:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Frame ---------- */
.pf-head { background: var(--navy); color: var(--paper); --focus: var(--gold); }
.pf-head-in { max-width: var(--frame, calc(var(--col) + 32px)); margin: 0 auto; padding: 0 16px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pf-logo { display: block; height: 28px; width: auto; }
.pf-logo-rr { height: 30px; }
.pf-brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.pf-by { font-size: 13px; color: #B9BFC8; white-space: nowrap; }
.pf-page { font-size: 15px; color: #D7DADF; text-align: right; line-height: 1.25; }

.pf-wrap { flex: 1 0 auto; width: 100%; max-width: calc(var(--col) + 32px); margin: 0 auto; padding: 0 16px; }
.pf-layout { display: block; }
.pf-main { min-width: 0; }

.pf-intro { padding: 36px 0 28px; }
.pf-intro h1 { font-size: clamp(30px, 7.4vw, 40px); letter-spacing: -0.015em; line-height: 1.08; max-width: 16ch; }
.pf-lede { margin-top: 14px; font-size: 17.5px; color: var(--ink-2); max-width: 46ch; }
.pf-lede strong { color: var(--ink); }
.pf-needs { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.pf-needs li { position: relative; padding-left: 20px; }
.pf-needs li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.pf-foot { margin-top: 56px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }
.pf-foot-in { max-width: var(--frame, calc(var(--col) + 32px)); margin: 0 auto; padding: 20px 16px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.pf-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pf-foot a { color: var(--ink-2); text-decoration-thickness: 1px; }

/* QR card (desktop only; portal.js adds pqr-on / pqr-off) */
.qr-card { display: none; }
.qr-card.pqr-on { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 12px; width: 196px; }
.qr-card.pqr-off { display: none; }
.qr-card h2 { font-size: 15px; line-height: 1.3; }
.qr-card p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.qr-card .pqr-code { display: block; width: 160px; height: 160px; margin: 10px auto 0; }

@media (min-width: 1100px) {
  body.with-aside { --frame: calc(var(--col) + 32px + 236px); }
  .pf-wrap.has-aside { max-width: var(--frame); }
  .has-aside .pf-layout { display: grid; grid-template-columns: minmax(0, var(--col)) 196px; gap: 40px; align-items: start; }
  .has-aside .pf-aside { position: sticky; top: 24px; padding-top: 40px; }
}
@media (max-width: 1099px) {
  .pf-aside .qr-card.pqr-on { width: auto; display: flex; align-items: center; gap: 20px; margin: 0 0 24px; }
  .pf-aside .qr-card.pqr-on .pqr-code { width: 120px; height: 120px; margin: 0; order: -1; }
}

/* Message that replaces the page (no link, expired link, old browser) */
#portal-message { max-width: calc(var(--col) + 32px); margin: 0 auto; padding: 48px 16px 0; width: 100%; flex: 1 0 auto; }
.pmsg { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 28px 22px; max-width: 560px; }
.pmsg h1 { font-size: 26px; letter-spacing: -0.01em; }
.pmsg p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }

/* ---------- Steps ---------- */
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sheet); margin: 0 0 20px; scroll-margin-top: 16px; }
.step-head { display: grid; grid-template-columns: 36px 1fr auto; gap: 4px 14px; align-items: start; padding: 22px 20px 0; }
.step-mark { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 16px; line-height: 1; color: var(--navy); background: var(--white); transition: background-color .2s, border-color .2s; }
.step-mark .tick { display: none; width: 14px; height: 8px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: translateY(-2px) rotate(-45deg); }
.step.is-done .step-mark { background: var(--gold); border-color: var(--gold); }
.step.is-done .step-mark .n { display: none; }
.step.is-done .step-mark .tick { display: block; }
.step-title h2 { font-size: 21px; letter-spacing: -0.005em; padding-top: 5px; }
.step-sub { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }
.step-state { font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; padding-top: 9px; }
.step.is-done .step-state { color: var(--ok); }
.step-body { padding: 20px 20px 24px; }
.step-body > * + * { margin-top: 18px; }
.step-body .sub-h { font-size: 17px; margin-top: 28px; }
.step-body .sub-h + * { margin-top: 10px; }
.step-note { color: var(--ink-2); font-size: 15px; }

@media (max-width: 480px) {
  .step-head { grid-template-columns: 32px 1fr; padding: 20px 16px 0; column-gap: 12px; }
  .step-mark { width: 32px; height: 32px; font-size: 15px; }
  .step-state { grid-column: 2; padding-top: 0; order: 3; }
  .step-title h2 { font-size: 20px; padding-top: 3px; }
  .step-body { padding: 18px 16px 22px; }
}

/* ---------- Fields ---------- */
.fld { display: block; }
.fld-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fld-label { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.fld-tag { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; flex: none; }
.fld-tag.is-req { color: var(--gold-ink); }
.fld-hint { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.fld-ctl { margin-top: 8px; }
.inp, .sel, .txa {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--r-field);
  font-size: 16px; line-height: 1.35; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.txa { min-height: 88px; resize: vertical; }
.sel { padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.inp:hover, .sel:hover, .txa:hover { border-color: #A79F8F; }
.inp:focus, .sel:focus, .txa:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 0 0 5px rgba(200, 144, 47, .5); }
.inp::placeholder, .txa::placeholder { color: #8C93A0; }
.inp[readonly] { background: var(--paper-2); }
.fld-err { display: none; margin-top: 7px; font-size: 14.5px; font-weight: 700; color: var(--bad); line-height: 1.4; }
.fld.is-bad .inp, .fld.is-bad .sel, .fld.is-bad .txa { border-color: var(--bad); }
.fld.is-bad .fld-err { display: block; }
.fld-soft { margin-top: 7px; font-size: 14px; color: var(--gold-ink); font-weight: 700; }
.fld-warn { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--warn-wash); border-left: 3px solid var(--gold); font-size: 14.5px; color: var(--ink); }

.grid-2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2 .span-2 { grid-column: 1 / -1; } }

/* Date of birth: day / month / year */
.dob { display: flex; gap: 10px; }
.dob label { display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-2); }
.dob .inp { margin-top: 4px; text-align: center; padding-left: 6px; padding-right: 6px; }
.dob .d .inp, .dob .m .inp { width: 64px; }
.dob .y .inp { width: 88px; }

/* Choices: radios and tick boxes */
.choices { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 620px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-field); background: var(--white); cursor: pointer; line-height: 1.35; }
.choice:hover { border-color: #A79F8F; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box { flex: none; width: 22px; height: 22px; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-top: -1px; }
.choice .box::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .12s; }
.choice input:checked + .box::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--navy); background: var(--paper-2); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(200, 144, 47, .45); }

.tick { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.45; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick .box { flex: none; width: 24px; height: 24px; border: 2px solid var(--navy); border-radius: 6px; background: var(--white); display: grid; place-items: center; margin-top: 0; }
.tick .box::after { content: ""; width: 11px; height: 6px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .12s; }
.tick input:checked + .box { background: var(--gold); border-color: var(--gold); }
.tick input:checked + .box::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.tick input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.tick-text { font-size: 16px; }
.fld.is-bad .tick .box { border-color: var(--bad); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--white); color: var(--navy); font-weight: 700; font-size: 15.5px; line-height: 1.2; cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: var(--paper-2); }
.btn-solid { background: var(--navy); color: var(--paper); }
.btn-solid:hover { background: var(--navy-2); }
.btn-add { border-style: dashed; border-color: #8F98A6; color: var(--navy); background: transparent; min-height: 46px; padding: 10px 18px; }
.btn-add::before { content: "+"; font-size: 20px; line-height: 0; font-weight: 400; margin-top: -2px; }
.btn-add:hover { border-color: var(--navy); background: var(--white); }
.btn-wide { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration-color: var(--ink); }
.rm-btn { background: none; border: 0; padding: 8px 0; color: var(--ink-2); font-size: 14.5px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.rm-btn:hover { color: var(--bad); }

/* ---------- Chips (providers on the free audit page) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--paper-2); border: 1.5px solid var(--line-2); font-weight: 700; font-size: 15px; }
.chip button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); font-size: 20px; line-height: 1; }
.chip button:hover { background: var(--white); color: var(--bad); }
.chip-more { margin-top: 12px; }
.type-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.type-field legend { width: 100%; padding: 0; }
.chip-add { display: flex; gap: 8px; margin-top: 10px; }
.chip-add .inp { flex: 1; min-width: 0; }
.chip-add .btn { flex: none; }

/* ---------- Statements (free audit) ---------- */
.prov { padding-top: 22px; border-top: 1px solid var(--line); }
.prov + .prov { margin-top: 26px; }
#prov-blocks:empty { display: none; }
.prov h3 { font-size: 19px; }
.prov-what { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }
.prov-guide { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 700; }
.prov .slot-host { margin-top: 14px; }
.extra-slot { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 26px; }

/* ---------- Upload slots (markup made by portal.js) ---------- */
.pslot { border: 1.5px dashed #B5AD9D; border-radius: 14px; background: var(--paper-2); padding: 16px; }
.pslot.is-ready { border-style: solid; border-color: #9CC2AD; background: var(--ok-wash); }
.pslot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pslot-label { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.pslot-tag { flex: none; font-size: 12.5px; color: var(--ink-3); }
.pslot.is-required .pslot-tag { color: var(--gold-ink); }
.pslot.is-ready .pslot-tag { color: var(--ok); }
.pslot-hint { margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.pslot-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pslot-list:empty { display: none; }
.pslot-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px;
  grid-template-areas: "name rm" "meta rm" "bar bar" "date date" "err err" "retry retry";
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.pslot-name { grid-area: name; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pslot-meta { grid-area: meta; font-size: 13.5px; color: var(--ink-2); }
.pslot-item.is-done .pslot-meta { color: var(--ok); font-weight: 700; }
.pslot-item.is-error .pslot-meta { color: var(--bad); font-weight: 700; }
.pslot-bar { grid-area: bar; display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: #ECE7DC; overflow: hidden; }
.pslot-bar-fill { display: block; height: 100%; background: var(--gold); transition: width .2s; }
.pslot-item.is-done .pslot-bar { display: none; }
.pslot-item.is-error .pslot-bar-fill { background: var(--bad); }
.pslot-date { grid-area: date; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 14.5px; font-weight: 700; }
.pslot-date input { min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--white); font-size: 16px; color: var(--ink); min-width: 160px; }
.pslot-date input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(200, 144, 47, .35); }
.pslot-date input:invalid { border-color: var(--gold); }
.pslot-err { grid-area: err; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--bad); }
.pslot-remove { grid-area: rm; align-self: start; background: none; border: 0; padding: 4px 0 4px 8px; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.pslot-remove:hover { color: var(--bad); }
.pslot-retry { grid-area: retry; justify-self: start; margin-top: 8px; background: var(--navy); color: var(--paper); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.pslot-add { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; min-height: 50px; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: var(--paper); font-weight: 700; font-size: 15.5px; cursor: pointer; text-align: center; }
.pslot-add::before { content: "+"; font-size: 22px; line-height: 0; font-weight: 400; margin-top: -2px; }
.pslot-add:hover { background: var(--navy-2); }
.pslot-add:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.pslot.is-ready .pslot-add, .pslot:not(.is-required) .pslot-add { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }
.pslot:not(.is-required) .pslot-add:hover { background: var(--paper); }
.pslot-note { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--bad); }
@media (min-width: 620px) { .pslot-add { display: inline-flex; } }

/* Document progress (switch provider) */
.docs-progress { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); font-weight: 700; }
.docs-progress .meter { flex: 1; height: 6px; border-radius: 6px; background: #E6E0D3; overflow: hidden; }
.docs-progress .meter span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .25s; }
.docs-progress.is-done .meter span { background: var(--ok); }
.slots { display: grid; gap: 14px; }

/* ---------- Boxed notes (NDA summary etc.) ---------- */
.note-box { background: var(--gold-wash); border-radius: 14px; padding: 18px 18px 16px; }
.note-box h3 { font-size: 17px; }
.note-box ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.note-box li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; }
.note-box li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-ink); }
.note-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-weight: 700; font-size: 15px; }

/* ---------- Repeatable groups (companies, providers, people) ---------- */
.group { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--paper-2); }
.group + .group { margin-top: 14px; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.group-head h3, .group-head h4 { font-size: 17px; }
.group > * + * { margin-top: 16px; }
.group > .group-head + * { margin-top: 0; }
.group.lvl-2 { background: var(--white); border-left: 3px solid var(--gold); }
.co { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 16px; background: var(--white); }
.co + .co { margin-top: 18px; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-head h3 { font-size: 19px; }
.co > * + * { margin-top: 18px; }
.co .sub-h { font-size: 16.5px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.co .sub-h + * { margin-top: 8px; }
.site { display: grid; gap: 12px; padding: 14px 0 0; border-top: 1px dashed var(--line-2); }
.site:first-child { border-top: 0; padding-top: 0; }
.site-head { display: flex; justify-content: space-between; align-items: center; }
.site-head h5 { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 619px) {
  .co { border: 0; border-radius: 0; padding: 0; background: transparent; }
  .co + .co { margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--line-2); }
  .group.lvl-2 { padding: 14px 12px 16px; }
}
.sites { display: grid; gap: 14px; }
.type-panel > * + * { margin-top: 16px; }
.people:empty { display: none; }
.people { display: grid; gap: 14px; }
.prov-tip { padding: 10px 12px; border-radius: 8px; background: var(--paper-2); font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.prov-tip strong { color: var(--ink); }
.list-rows { display: grid; gap: 10px; }
.row-inline { display: flex; gap: 10px; align-items: flex-start; }
.row-inline .fld { flex: 1; min-width: 0; }
.row-inline .rm-btn { margin-top: 36px; }
.you-row { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px; border-radius: var(--r-field); background: var(--paper-2); border: 1.5px dashed var(--line-2); font-weight: 700; }
.you-row span { color: var(--ink-2); font-weight: 400; }

/* ---------- Send panel ---------- */
.send { background: var(--navy); color: var(--paper); border-radius: var(--r-sheet); padding: 24px 20px 22px; margin-top: 28px; --focus: var(--gold); }
.send h2 { font-size: 21px; }
.send-count { margin-top: 4px; color: #C3C8D0; font-size: 15px; }
.send-missing { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.send-missing li { display: flex; gap: 10px; align-items: baseline; }
.send-missing li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold); transform: translateY(-1px); }
.send-missing button { background: none; border: 0; padding: 5px 0; color: var(--paper); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(200, 144, 47, .8); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-size: 15.5px; line-height: 1.35; }
.send-missing button:hover { text-decoration-color: var(--paper); }
.send-more { color: #C3C8D0; font-size: 15px; padding: 4px 0 0 18px; }
.send-ok { margin-top: 10px; display: flex; gap: 10px; align-items: center; font-size: 16px; }
.ok-mark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.ok-mark::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-1px) rotate(-45deg); }
.send .tick { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--navy-2); }
.send .tick .box { border-color: var(--paper); background: transparent; }
.send .tick input:checked + .box { background: var(--gold); border-color: var(--gold); }
.send .fld.is-bad .tick .box { border-color: #F0A99F; }
.btn-send { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 56px; margin-top: 18px; padding: 14px 22px; border: 0; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 17px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-send:hover { background: #D59D3B; }
.btn-send:disabled { background: var(--navy-3); color: #9AA3B0; cursor: not-allowed; }
.send-err { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #3A2027; color: #FFD9D3; font-weight: 700; font-size: 15px; }
.send-privacy { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--navy-3); color: #C3C8D0; font-size: 14px; line-height: 1.5; display: grid; gap: 4px; }
.send-privacy a { color: var(--paper); }
.send a { color: var(--paper); }
@media (min-width: 620px) { .send { padding: 28px 28px 24px; } .btn-send { display: inline-flex; width: auto; min-width: 280px; } }

/* ---------- Dialog (merchant ID guide) ---------- */
.guide-dlg { width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-sheet); background: var(--paper); color: var(--ink); }
.guide-dlg::backdrop { background: rgba(16, 29, 46, .6); }
.guide-in { padding: 22px 20px 26px; }
.guide-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.guide-top h2 { font-size: 20px; }
.guide-in > p { color: var(--ink-2); }
.guide-item { padding: 14px 0; border-top: 1px solid var(--line); }
.guide-item:first-of-type { border-top: 0; }
.guide-item h3 { font-size: 16px; }
.guide-item p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* ---------- Plain content pages (thank you, NDA, privacy, start) ---------- */
.sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 24px 20px; }
.sheet + .sheet { margin-top: 18px; }
.sheet h2 { font-size: 20px; }
.sheet h2 + * { margin-top: 10px; }
.sheet p + p { margin-top: 10px; }
.sheet p { color: var(--ink-2); }
.received { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.received li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.received li::before { content: ""; flex: none; width: 10px; height: 6px; margin: 6px 4px 0 2px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 19px; margin-top: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose p { margin-top: 8px; }
.prose ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.meta-line { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.back-link { display: inline-block; margin-top: 22px; font-weight: 700; }

@media (min-width: 620px) {
  .sheet { padding: 30px 30px; }
  .pf-intro { padding: 48px 0 32px; }
  .step-head { padding: 26px 26px 0; }
  .step-body { padding: 22px 26px 28px; }
  .co { padding: 22px 22px; }
  .group { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .pf-head, .pf-foot, .qr-card, .send { display: none !important; }
  body { background: #fff; }
}

/* thank-you page: the signed NDA download (1 Nov 2026) */
#ty-nda { margin-top: 14px; }
.ty-nda-msg { margin: 10px 0 0; font-size: 15px; }
.ty-nda-msg:empty { display: none; }
.btn:disabled { opacity: .7; cursor: progress; }

/* Rate Reset: account manager details under each provider (1 Nov 2026) */
.am { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: grid; gap: 10px; }
.am-h { margin: 0; font-size: 15px; color: var(--ink-2); }
.am .step-note { margin: 0; }

/* Rapyd page, replace mode: why a document is needed again (1 Nov 2026) */
.replace-why { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: #FBF1DF; border: 1px solid #E9CF9E; color: var(--navy); font-size: 15px; line-height: 1.45; }
