/* ==========================================================================
   KuduDoc v6 — sign-pdf-free (after pages/_feature.css).
   Only this page's own parts: the signer in Sign (page thumbnails, the stage stepper, the signature pad, the
   placing view, the download state), the signature maker, the section-reference rows, the ink-check states and
   the saved-and-sealed Library card. Everything else is the kit.
   ========================================================================== */

.fk .spf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ink: one drawn signature, reused (symbols #spf-sig / #spf-ini) */
.fk .spf-ink { display: block; fill: none; stroke: #17243c; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fk .spf-ink-blue .spf-ink { stroke: #1d46a8; }

/* ---------------------------------------------------------------- the side: pages of the open PDF */
.fk .spf-pages { gap: 0; }
.fk .spf-pages .fk-side-h { margin-bottom: 4px; }
.fk .spf-pages-file { margin: 0 8px 18px; font: 400 12px/1.35 var(--font-sans); color: var(--fk-mute); overflow-wrap: anywhere; }
.fk .spf-thumb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 10px; border-radius: 10px; }
.fk .spf-thumb.is-on { background: #e7f1fb; }
.fk .spf-thumb small { font: 600 11px/1 var(--font-sans); color: var(--fk-mute); }
.fk .spf-thumb.is-on small { color: var(--fk-blue-deep); }
.fk .spf-thumb-page {
  position: relative; display: flex; flex-direction: column; gap: 5px; width: 92px; height: 124px; padding: 14px 12px;
  border-radius: 3px; background: #fffdf9; box-shadow: 0 0 0 1px rgba(16, 45, 73, .1), 0 2px 5px -2px rgba(16, 45, 73, .18);
}
.fk .spf-thumb.is-on .spf-thumb-page { box-shadow: 0 0 0 2px var(--fk-blue), 0 2px 5px -2px rgba(16, 45, 73, .18); }
.fk .spf-thumb-page i { display: block; height: 3px; border-radius: 2px; background: #e6e0d4; }
.fk .spf-thumb-page i:nth-child(3n+2) { width: 84%; }
.fk .spf-thumb-page i:nth-child(3n) { width: 62%; }
.fk .spf-thumb-page i:first-child { width: 58%; height: 5px; background: #cfd9e4; }
.fk .spf-thumb-sig { width: 46px; height: auto; margin-top: 10px; stroke-width: 3.4; }
.fk .spf-thumb-ini { position: absolute; right: 8px; bottom: 7px; width: 14px; height: auto; stroke-width: 4; }

/* while the PDF is still opening or the signature is being made, the pages carry no marks yet */
.fk .spf-app:has([data-tab-trigger="open"].is-active, [data-tab-trigger="make"].is-active) .spf-thumb .spf-ink { visibility: hidden; }

/* ---------------------------------------------------------------- the stage: four stages as a numbered stepper */
.fk .spf-stages .fk-tabs { counter-reset: spf-stage; }
.fk .spf-stages .fk-tab { display: inline-flex; align-items: center; gap: 7px; }
.fk .spf-stages .fk-tab::before {
  counter-increment: spf-stage; content: counter(spf-stage); display: inline-grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: #dde5ee; color: var(--fk-mute); font: 650 10.5px/1 var(--font-sans);
}
.fk .spf-stages .fk-tab.is-active::before { background: var(--fk-blue); color: #fff; }

/* open: the file opening, then the read-through */
.fk .spf-job { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }
.fk .spf-job-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; }
.fk .spf-job-line { font: 500 13px/1.45 var(--font-sans); color: var(--fk-ink-2); }
.fk .spf-progress-full i { width: 100%; }
.fk .spf-job-busy { display: flex; align-items: center; gap: 10px; color: var(--fk-blue-deep); }
.fk .spf-job-busy::before {
  content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cfe0f1; border-top-color: var(--fk-blue);
  animation: spf-spin .8s linear infinite;
}
@keyframes spf-spin { to { transform: rotate(360deg); } }

/* who signs: two choices */
.fk .spf-modes { display: flex; flex-direction: column; gap: 10px; }
.fk .spf-modes .fk-card-h { margin-bottom: 2px; }
.fk .spf-mode { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--fk-line); }
.fk .spf-mode.is-on { background: #f3f8fe; box-shadow: inset 0 0 0 1.5px var(--fk-blue); }
.fk .spf-radio { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b3c2d1; background: #fff; }
.fk .spf-mode.is-on .spf-radio { box-shadow: inset 0 0 0 1.5px var(--fk-blue), inset 0 0 0 4.5px #fff; background: var(--fk-blue); }
.fk .spf-mode-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fk .spf-mode-txt b { font: 600 13px/1.3 var(--font-sans); color: var(--fk-ink); }
.fk .spf-mode-txt small { font: 400 12px/1.45 var(--font-sans); color: var(--fk-mute); }

/* sign: the pad */
.fk .spf-pad-card, .fk .spf-ini-card { display: flex; flex-direction: column; gap: 14px; }
.fk .spf-ini-card { gap: 10px; }
.fk .spf-seg { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 9px; background: #eff3f7; }
.fk .spf-seg span { padding: 5px 12px; border-radius: 7px; font: 600 12px/1.2 var(--font-sans); color: var(--fk-mute); }
.fk .spf-seg span.is-on { background: #fff; color: var(--fk-ink); box-shadow: 0 1px 2px rgba(16, 45, 73, .1), 0 0 0 1px rgba(16, 45, 73, .05); }
.fk .spf-pad {
  position: relative; display: grid; place-items: end center; height: 172px; padding: 0 24px 30px; border-radius: 10px;
  background: #fbfcfd; box-shadow: inset 0 0 0 1px var(--fk-line);
}
.fk .spf-pad-line { position: absolute; left: 24px; right: 24px; bottom: 34px; height: 1px; background: #cfd8e2; }
.fk .spf-pad-sig { position: relative; z-index: 1; width: min(78%, 320px); height: auto; margin-bottom: -10px; stroke-width: 2.1; }
.fk .spf-pad--small { height: 96px; padding-bottom: 22px; }
.fk .spf-pad--small .spf-pad-line { bottom: 24px; }
.fk .spf-pad-ini { position: relative; z-index: 1; width: 84px; height: auto; stroke-width: 2.2; }
.fk .spf-pad-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fk .spf-inks { display: inline-flex; gap: 6px; }
.fk .spf-swatch {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 999px;
  font: 600 12px/1.2 var(--font-sans); color: var(--fk-ink-2); box-shadow: inset 0 0 0 1px var(--fk-line);
}
.fk .spf-swatch::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #17243c; }
.fk .spf-swatch[data-ink="blue"]::before { background: #1d46a8; }
.fk .spf-swatch.is-on { background: #f3f8fe; box-shadow: inset 0 0 0 1.5px var(--fk-blue); color: var(--fk-ink); }
.fk .spf-check { display: flex; align-items: center; gap: 9px; font: 500 12.5px/1.4 var(--font-sans); color: var(--fk-ink-2); }
.fk .spf-box { flex: none; width: 16px; height: 16px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1.5px #b3c2d1; }
.fk .spf-hint { font: 400 12.5px/1.5 var(--font-sans); color: var(--fk-mute); }
.fk .spf-wide { width: 100%; height: 38px; }

/* place: the toolbar and the page view */
.fk .spf-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-bottom: 16px; padding: 4px; border-radius: 10px; background: #f2f5f8; box-shadow: inset 0 0 0 1px var(--fk-line-2); }
.fk .spf-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 7px; font: 600 12.5px/1.2 var(--font-sans); color: var(--fk-ink-2); white-space: nowrap; }
.fk .spf-tool .icon { width: 15px; height: 15px; color: var(--fk-mute); }
.fk .spf-tool.is-on { background: #fff; color: var(--fk-blue-deep); box-shadow: 0 1px 2px rgba(16, 45, 73, .1), 0 0 0 1px rgba(16, 45, 73, .05); }
.fk .spf-tool.is-on .icon { color: var(--fk-blue); }
.fk .spf-tool--end { margin-left: auto; }
.fk .spf-tool--end, .fk .spf-tool--end + .spf-tool { color: var(--fk-mute); font-weight: 500; }
.fk .spf-place-cols { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.fk .spf-canvas { padding: 22px 26px 24px; border-radius: 12px; background: #e9eef3; }
.fk .spf-page { max-width: 470px; margin: 0 auto; padding-bottom: 44px; }
.fk .spf-page .fk-doc-lines { margin: 16px 0; }
.fk .spf-signblock { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.2fr) minmax(0, .85fr); gap: 16px; align-items: end; margin-top: 30px; }
.fk .spf-slot { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; }
.fk .spf-placed { position: relative; display: block; }
.fk .spf-placed .spf-ink { width: 100%; max-width: 170px; height: auto; stroke-width: 2.4; }
.fk .spf-placed.is-selected { outline: 1.5px dashed var(--fk-blue); outline-offset: 4px; border-radius: 2px; background: rgba(0, 107, 203, .045); }
.fk .spf-handle { position: absolute; right: -9px; bottom: -9px; width: 10px; height: 10px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--fk-blue); }
.fk .spf-bin {
  position: absolute; top: -18px; right: -14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #4d6076; box-shadow: 0 0 0 1px var(--fk-line), 0 2px 6px -2px rgba(16, 45, 73, .3);
}
.fk .spf-bin .icon { width: 13px; height: 13px; }
.fk .spf-placed--type { font: 500 12.5px/1.3 var(--font-sans); color: #17243c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk .spf-sigline { padding-top: 6px; border-top: 1px solid #d8d1c4; font: 500 10.5px/1.25 var(--font-sans); color: var(--fk-mute); }
.fk .spf-page-ini { position: absolute; right: 24px; bottom: 14px; width: 30px; }
.fk .spf-page-ini .spf-ink { width: 100%; height: auto; stroke-width: 2.6; }
.fk .spf-page-no { position: absolute; left: 26px; bottom: 16px; font: 500 10px/1 var(--font-sans); color: var(--fk-faint); }
.fk .spf-place-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fk .spf-hint-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fk .spf-hint-card .fk-card-h { margin: 0; }
.fk .spf-items > li.fk-row { grid-template-columns: 46px minmax(0, 1fr); padding: 10px 0; }
.fk .spf-item-sig { width: 46px; height: auto; stroke-width: 3; }
.fk .spf-item-ini { width: 22px; height: auto; margin-left: 6px; stroke-width: 3.4; }
.fk .spf-item-glyph { display: inline-grid; place-items: center; width: 30px; height: 24px; border-radius: 6px; background: #f1f4f7; font: 650 11px/1 var(--font-sans); color: var(--fk-ink-2); }

/* download */
.fk .spf-done { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; }
.fk .spf-done-line { padding: 12px 14px; border-radius: 10px; background: #f5f8fb; box-shadow: inset 0 0 0 1px var(--fk-line-2); font: 400 13px/1.55 var(--font-sans); color: var(--fk-ink-2); }
.fk .spf-done-next { display: flex; flex-wrap: wrap; gap: 8px; }
.fk .spf-done-more { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fk .spf-mini { display: flex; flex-direction: column; gap: 0; }
.fk .spf-mini-page {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 30px; border-radius: 4px; background: #fffdf9;
  box-shadow: 0 0 0 1px rgba(16, 45, 73, .08), 0 6px 16px -10px rgba(6, 22, 42, .35);
}
.fk .spf-mini-page i { display: block; height: 4px; border-radius: 2px; background: #ebe5da; }
.fk .spf-mini-page i:nth-child(2) { width: 86%; } .fk .spf-mini-page i:nth-child(4) { width: 58%; }
.fk .spf-mini-sig { width: 118px; height: auto; margin-top: 14px; stroke-width: 2.6; }
.fk .spf-mini-row { display: flex; gap: 18px; padding-top: 5px; border-top: 1px solid #e0d9cc; }
.fk .spf-mini-row b { font: 500 10.5px/1.3 var(--font-sans); color: #17243c; }
.fk .spf-mini-ini { position: absolute; right: 14px; bottom: 9px; width: 22px; height: auto; stroke-width: 3; }

/* ---------------------------------------------------------------- how: the kit's steps, as one column */
.fk .fk-steps.spf-howto { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.fk .fk-steps.spf-howto::before { display: none; }
.fk .fk-steps.spf-howto > li { padding: 0 0 0 64px; min-height: 52px; }
.fk .fk-steps.spf-howto > li::before { height: 44px; }
.fk .fk-steps.spf-howto > li::after { top: 27px; }
.fk .fk-steps.spf-howto p { margin-top: 6px; max-width: 60ch; }

/* ---------------------------------------------------------------- signature maker */
.fk .spf-maker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 64px; align-items: center; }
.fk .spf-maker-copy .fk-head { margin-bottom: 22px; }
.fk .spf-prose { display: flex; flex-direction: column; gap: 14px; max-width: 58ch; }
.fk .spf-prose p { font: 400 16.5px/1.65 var(--font-sans); color: var(--fk-body); }
.fk .spf-prose p:last-child { padding-left: 16px; border-left: 3px solid #d3dfeb; font-size: 15.5px; }
.fk .spf-maker-btn { margin-top: 28px; }
.fk .spf-maker-app { --fk-app-min: 0; }
.fk .spf-maker-content { grid-template-rows: auto 1fr auto; }
.fk .spf-maker-content > .spf-maker-foot { grid-row: 3; grid-column: 1; }
.fk .spf-maker-content .fk-tabpanel { display: flex; flex-direction: column; gap: 12px; }
.fk .spf-pad--maker { height: 196px; }
.fk .spf-maker-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fk .spf-maker-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--fk-line-2); }
.fk .spf-maker-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* type: four handwriting styles */
.fk .spf-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.fk .spf-styles li { display: grid; place-items: center; height: 76px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--fk-line); }
.fk .spf-styles li.is-on { background: #f3f8fe; box-shadow: inset 0 0 0 1.5px var(--fk-blue); }
.fk .spf-style-ink { display: flex; align-items: center; justify-content: center; width: 100%; color: #17243c; }
.fk .spf-style-ink svg { display: block; width: auto; max-width: 100%; height: 28px; fill: currentColor; }
.fk .spf-style-hand { font: 600 30px/1 var(--font-hand, 'Caveat', cursive); white-space: nowrap; }
/* upload: the photo, then the clean signature on transparency */
.fk .spf-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fk .spf-up-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.fk .spf-photo { display: grid; place-items: center; align-self: stretch; height: 156px; border-radius: 10px; background: #bdb4a6; overflow: hidden; }
.fk .spf-photo-paper {
  display: grid; place-items: center; width: 118%; height: 88%; transform: rotate(-4deg);
  background: linear-gradient(160deg, #f1ede5 0%, #e4ded2 100%); box-shadow: 0 6px 14px -6px rgba(40, 30, 20, .45);
}
.fk .spf-photo-paper .spf-ink { width: 62%; height: auto; stroke: #3d4556; stroke-width: 2.6; opacity: .82; }
.fk .spf-clean {
  display: grid; place-items: center; align-self: stretch; height: 156px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--fk-line);
  background: repeating-conic-gradient(#eef1f4 0% 25%, #fff 0% 50%) 0 0 / 16px 16px;
}
.fk .spf-clean .spf-ink { width: 78%; height: auto; stroke-width: 2.4; }
.fk .spf-slider { display: flex; align-items: center; gap: 10px; align-self: stretch; font: 500 11.5px/1 var(--font-sans); color: var(--fk-mute); }
.fk .spf-track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #e3e9ef; }
.fk .spf-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 58%; border-radius: inherit; background: var(--fk-blue); }
.fk .spf-track i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--fk-blue), 0 1px 3px rgba(16, 45, 73, .25); }

/* ---------------------------------------------------------------- the law: section references */
.fk .spf-law { border-radius: 22px; background: #fff; box-shadow: var(--fk-card-sh); padding: 6px 28px; }
.fk .spf-law > li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: baseline; gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--fk-line-2); }
.fk .spf-law > li:first-child { border-top: 0; }
.fk .spf-sec { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--fk-ice); font: 600 13px/1.2 var(--fk-mono); color: var(--fk-blue-deep); white-space: nowrap; }
.fk .spf-law p { max-width: 72ch; font: 400 16.5px/1.6 var(--font-sans); color: var(--fk-ink-2); }

/* ---------------------------------------------------------------- a heading beside a product card (ink states, the Library) */
.fk .spf-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: start; margin-bottom: 40px; }
.fk .spf-top > .fk-head { margin-bottom: 0; }
.fk .spf-states { display: flex; flex-direction: column; gap: 14px; }
.fk .spf-state { display: flex; flex-direction: column; gap: 11px; padding: 18px 20px; }
.fk .spf-state-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; }
.fk .spf-state-line { font: 400 13.5px/1.58 var(--font-sans); color: var(--fk-ink-2); }
.fk .spf-state-note { font: 400 12.5px/1.5 var(--font-sans); color: var(--fk-mute); }
.fk .spf-state-note a { color: var(--fk-blue); font-weight: 600; text-decoration: none; }
.fk .spf-state-note a:hover { text-decoration: underline; }
.fk .spf-state-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
@media (min-width: 761px) {
  .fk .spf-ink-table tbody th { width: 25%; }
  .fk .spf-ink-table tbody td:last-child { width: 30%; }
}
.fk .spf-ink-table tbody td:last-child { color: var(--fk-ink-2); }
.fk .spf-saved { padding: 18px 20px 10px; }
.fk .spf-saved .fk-card-h { margin-bottom: 6px; }
.fk .spf-saved-crumb { font-weight: 400; color: var(--fk-mute); }
.fk .spf-saved .fk-row-txt small { overflow-wrap: anywhere; }

/* privacy: one sentence per row, its lead in bold */
.fk .fk-list--rule.spf-plain > li { font-size: 17px; line-height: 1.6; color: var(--fk-body); }
.fk .fk-list--rule.spf-plain b { display: inline; margin: 0; font: 600 17px/1.6 var(--font-sans); letter-spacing: 0; color: var(--fk-ink); }

/* compare: three ways */
@media (min-width: 761px) {
  .fk .spf-compare tbody th { width: 21%; }
  .fk .spf-compare tbody td { width: 26.33%; }
}
.fk .spf-compare thead th.is-send::before { background: #93b2d3; }

/* keep it and seal it */
.fk .spf-fence { margin-top: 40px; padding-left: 16px; border-left: 3px solid var(--orange); color: var(--fk-ink-2); }
.fk .spf-save-more { margin-top: 26px; }

/* the closing band: "Seal it when it matters." on one line */
html body .fk .fk-closing h2 { max-width: 24ch; }

/* the closing band's inline link */
html body .fk .fk-closing h2 + p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
html body .fk .fk-closing h2 + p a:hover { text-decoration-color: #fff; }

/* ================================================================ responsive */
@media (max-width: 1000px) {
  .fk .spf-maker, .fk .spf-top { grid-template-columns: minmax(0, 1fr); }
  .fk .spf-maker-shot { max-width: 640px; }
  .fk .spf-place-cols { grid-template-columns: minmax(0, 1fr); }
  .fk .spf-place-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .fk .spf-place-side > .spf-wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .fk .spf-toolbar { gap: 2px 0; }
  .fk .spf-tool { padding: 6px 8px; font-size: 12px; }
  .fk .spf-tool--end { margin-left: 0; }
  .fk .spf-canvas { padding: 14px 12px 16px; }
  .fk .spf-page { padding: 20px 18px 40px; }
  .fk .spf-signblock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .fk .spf-slot--sig { grid-column: 1 / -1; max-width: 190px; }
  .fk .spf-place-side { display: flex; align-items: stretch; }
  .fk .spf-pad { height: 150px; }
  .fk .spf-pad--small { height: 92px; }
  .fk .spf-maker-actions { width: 100%; }
  .fk .spf-maker-actions .fk-btn { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .fk .spf-stages .fk-tab::before { display: none; }
  .fk .spf-place-side > .fk-card:not(.spf-hint-card) { display: none; }
  .fk .spf-placed--type { white-space: normal; }
  .fk .spf-up { gap: 12px; }
  .fk .spf-photo, .fk .spf-clean { height: 112px; }
  .fk .spf-slider { gap: 6px; font-size: 10.5px; }
  .fk .spf-styles li { height: 64px; padding: 0 10px; }
  .fk .spf-style-ink svg { height: 22px; }
  .fk .spf-style-hand { font-size: 24px; }
  .fk .spf-done-next .fk-btn { width: 100%; }
}
@media (max-width: 640px) {
  .fk .spf-law { padding: 4px 20px; }
  .fk .spf-law > li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  .fk .spf-law p { font-size: 16px; }
  .fk .spf-prose p { font-size: 16px; }
}
@media (max-width: 360px) {
  .fk .spf-up { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .fk .spf-job-busy::before { animation: none; }
}

/* ---------------------------------------------------------------- review pass: the letterhead wraps on phones; give it room */
.fk .fk-doc-kicker { line-height: 1.35; }
