/* ==========================================================================
   KuduDoc v6 — commissioner-of-oaths (after pages/_feature.css).
   Only this page's own parts: the Affidavits tool (form, the A4 print preview with the blank signature line and the
   reg 4 certificate, the scan-to-sealed-PDF card), the five-step row, the explainer blocks with the oath and the
   affirmation, the paired H3 cards and the sources list. Everything else is the kit.
   ========================================================================== */

/* ---------------------------------------------------------------- opening */
html body .fk .fk-hero .coo-sub2 { margin-top: 14px; }
.fk .coo-checked { margin-top: 16px; font: 500 12.5px/1.4 var(--font-sans); letter-spacing: .02em; color: rgba(214, 238, 255, .72); }
@media (min-width: 641px) { html body .fk .hero-cu + .proof-cu.coo-stage { --fk-edge: 330px; } }

/* ---------------------------------------------------------------- the Affidavits tool · Fill in */
.fk .coo-fill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 22px; align-items: start; }
.fk .coo-form { gap: 16px; }
.fk .coo-form .fk-field-l { margin-bottom: 1px; }
.fk .coo-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fk .coo-opt {
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px #d9e2eb; background: #fff; font: 500 12px/1 var(--font-sans); color: var(--fk-ink-2);
}
.fk .coo-opt.is-on { background: var(--fk-blue); box-shadow: none; color: #fff; font-weight: 600; }
.fk .coo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fk .coo-fields .coo-wide { grid-column: 1 / -1; }
.fk .coo-statement {
  display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 8px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--fk-blue), 0 0 0 3px rgba(0, 107, 203, .12);
  font: 400 13px/1.5 var(--font-sans); color: var(--fk-ink);
}
.fk .coo-statement b { margin-right: 4px; font-weight: 650; color: var(--fk-blue); }
.fk .coo-caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 2px; vertical-align: -3px; background: var(--fk-blue); animation: coo-blink 1.1s steps(1) infinite; }
@keyframes coo-blink { 50% { opacity: 0; } }
.fk .coo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }

/* the print preview: the affidavit's last page on A4 */
.fk .coo-preview { gap: 10px; padding: 14px 16px 18px; border-radius: 12px; background: #eef2f6; box-shadow: inset 0 0 0 1px #e3e9f0; }
.fk .coo-page {
  display: flex; flex-direction: column; aspect-ratio: 210 / 297; padding: 22px 26px 24px; border-radius: 3px; background: #fffdf9; color: var(--fk-ink);
  box-shadow: 0 0 0 1px rgba(16, 45, 73, .06), 0 1px 2px rgba(6, 22, 42, .08), 0 14px 30px -18px rgba(6, 22, 42, .35);
}
.fk .coo-page-top {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #ebe5da;
  font: 600 9px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fk-faint);
}
.fk .coo-paras { counter-reset: coo-para 2; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.fk .coo-paras li { counter-increment: coo-para; position: relative; padding-left: 22px; font: 400 11.5px/1.6 var(--font-sans); color: var(--fk-ink-2); }
.fk .coo-paras li::before { content: counter(coo-para) "."; position: absolute; left: 0; font-weight: 650; color: var(--fk-ink); }
.fk .coo-sign { display: flex; flex-direction: column; gap: 6px; width: 58%; margin-top: auto; padding-top: 30px; }
.fk .coo-line { display: block; height: 30px; border-bottom: 1.25px solid #102d49; }
.fk .coo-line-l { font: 600 10px/1.2 var(--font-sans); letter-spacing: .04em; color: var(--fk-ink); }
.fk .coo-cert { margin-top: 22px; padding: 14px 16px 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px #d8d1c4; }
.fk .coo-cert-h { display: flex; align-items: center; gap: 8px; font: 700 9.5px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fk-blue); }
.fk .coo-cert-h::before { content: ""; width: 3px; height: 11px; border-radius: 2px; background: var(--fk-blue); transform: skewX(-14deg); }
.fk .coo-cert-t { margin-top: 9px; font: 400 10.5px/1.55 var(--font-sans); color: var(--fk-ink-2); }
.fk .coo-blanks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; margin-top: 6px; }
.fk .coo-blank { display: flex; flex-direction: column; gap: 4px; font: 500 9.5px/1.2 var(--font-sans); color: var(--fk-mute); }
.fk .coo-blank i { display: block; height: 20px; border-bottom: 1px solid #c9c1b3; }
.fk .coo-blank--2 { grid-column: span 2; }
.fk .coo-blank--3 { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- the Affidavits tool · Before you go, Signed and kept */
.fk .coo-ic { display: grid; place-items: center; flex: none; width: 28px; height: 32px; border-radius: 8px; background: var(--fk-ice); color: var(--fk-blue); box-shadow: inset 0 0 0 1px #d4e4f3; }
.fk .fk-app .coo-ic .icon { width: 16px; height: 16px; }
.fk .coo-scan { display: flex; flex-direction: column; gap: 14px; }
.fk .coo-shots { display: flex; align-items: flex-end; gap: 12px; }
.fk .coo-shot { display: flex; flex-direction: column; gap: 6px; font: 500 10.5px/1.2 var(--font-sans); color: var(--fk-mute); }
.fk .coo-shot-p {
  display: flex; flex-direction: column; gap: 4px; width: 58px; height: 76px; padding: 9px 8px; border-radius: 3px;
  background: #f6f1e8; box-shadow: inset 0 0 0 1px #e6dfd2; transform: rotate(-2deg);
}
.fk .coo-shot + .coo-shot .coo-shot-p { transform: rotate(1.5deg); }
.fk .coo-shot-p i { display: block; height: 3px; border-radius: 2px; background: #ddd5c6; }
.fk .coo-shot-p i:nth-child(2n) { width: 78%; }
.fk .coo-shot-p b { display: block; height: 16px; margin: 2px 0; border-radius: 2px; box-shadow: inset 0 0 0 1px #cfc6b6; }
.fk .coo-arrow { display: grid; place-items: center; align-self: center; margin-left: 2px; color: var(--fk-faint); }
.fk .fk-app .coo-arrow .icon { width: 18px; height: 18px; }
.fk .coo-scan-out { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--fk-line-2); }
.fk [data-tab-panel="kept"] .fk-kv > div { grid-template-columns: 140px minmax(0, 1fr); }

/* ---------------------------------------------------------------- five steps, and the certified-copy steps (no step headings) */
.fk .coo-steps > li > p { margin-top: 0; font: 400 16px/1.6 var(--font-sans); color: var(--fk-ink-2); }
.fk .coo-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 26px; }

/* ---------------------------------------------------------------- what a commissioner of oaths does */
.fk .coo-h3 { margin-bottom: 10px; font: 650 20px/1.3 var(--font-display); letter-spacing: -.018em; color: var(--fk-ink); text-wrap: balance; }
.fk .coo-h3--table { margin: 0 0 16px; }
.fk .coo-explain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--fk-line); }
.fk .coo-block { grid-column: 1 / -1; padding: 28px 0; border-bottom: 1px solid var(--fk-line); }
.fk .coo-block--half { grid-column: span 1; }
.fk .coo-explain p { font: 400 16.5px/1.65 var(--font-sans); color: var(--fk-body); }
.fk .coo-explain a, .fk .coo-pair a, .fk .coo-not a, .fk .coo-sources a { color: var(--fk-blue); }
.fk .coo-words { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 18px; }
.fk .coo-word { display: flex; flex-direction: column; margin: 0; padding: 18px 20px 20px; border-radius: 18px; background: #fff; box-shadow: var(--fk-card-sh); }
.fk .coo-word figcaption { font: 500 13.5px/1.45 var(--font-sans); color: var(--fk-mute); }
.fk .coo-word blockquote { margin: 10px 0 0; padding-left: 16px; border-left: 3px solid var(--fk-blue); }
.fk .coo-explain .coo-word blockquote p { font: 600 18px/1.45 var(--font-display); letter-spacing: -.012em; color: var(--fk-ink); }
.fk .coo-explain .coo-word-ref { margin-top: 8px; font-size: 13.5px; color: var(--fk-mute); }
.fk .coo-explain .coo-perjury { font-size: 15.5px; color: var(--fk-ink-2); }
.fk .coo-take { grid-column: 1 / -1; margin-top: 32px; padding: 26px 28px; border-radius: 22px; background: #fff; box-shadow: var(--fk-card-sh); }
.fk .coo-take .coo-h3 { margin-bottom: 16px; }

/* ---------------------------------------------------------------- the forms: two H3 cards */
.fk .coo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.fk .coo-pair-item { padding: 26px 28px 28px; border-radius: 22px; background: #fff; box-shadow: var(--fk-card-sh); }
.fk .coo-pair-item p, .fk .coo-not p { font: 400 16px/1.65 var(--font-sans); color: var(--fk-body); }
.fk .coo-pair + .fk-after { margin-top: 20px; }

/* ---------------------------------------------------------------- after the appointment */
.fk .coo-gets .fk-get-spec { align-items: flex-start; }
.fk .coo-spec-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; align-self: stretch; padding-top: 12px; border-top: 1px solid #e3eaf1; }
.fk .coo-spec-note { font: 500 12.5px/1.4 var(--font-sans); color: var(--fk-mute); }
.fk .coo-gets .fk-get p + p { margin-top: 10px; }
.fk .coo-gets .fk-get h3 { text-wrap: balance; }
.fk .coo-gets .fk-get a { color: var(--fk-blue); }
.fk .coo-bbbee { margin-top: 28px; }
.fk .coo-bbbee a { color: var(--fk-blue); }
.fk .coo-fence { display: flex; gap: 12px; margin-top: 14px; color: var(--fk-ink-2); }
.fk .coo-fence::before { content: ""; flex: none; width: 3px; height: 15px; margin-top: 5px; border-radius: 2px; background: var(--fk-blue); transform: skewX(-14deg); }

/* ---------------------------------------------------------------- certified copies */
.fk .coo-copies-after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 48px; align-items: start; margin-top: 52px; }
.fk .coo-copies-after > .fk-after { margin-top: 4px; }
.fk .coo-not { padding: 26px 28px 28px; border-radius: 22px; background: #fff; box-shadow: var(--fk-card-sh); }

/* ---------------------------------------------------------------- sources */
.fk .coo-sources a { display: block; font: 600 16.5px/1.4 var(--font-sans); text-decoration: none; }
.fk .coo-sources a:hover { text-decoration: underline; }
.fk .coo-sources span { display: block; margin-top: 4px; font: 400 14.5px/1.55 var(--font-sans); color: var(--fk-mute); }
.fk .coo-sources.fk-list--rule > li { padding-top: 18px; padding-bottom: 18px; }
.fk .coo-sources.fk-list--rule > li::before { top: 23px; }

/* ---------------------------------------------------------------- closing: the price line links on blue */
html body .fk .fk-closing h2 { max-width: 20ch; text-wrap: balance; }
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: 1180px) {
  .fk .coo-steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
  .fk .coo-steps--5::before { display: none; }
}
@media (max-width: 1000px) {
  .fk .coo-fill { grid-template-columns: 1fr; }
  .fk .coo-preview { max-width: 460px; }
  .fk .coo-steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fk .coo-copies-after { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fk .coo-explain { grid-template-columns: 1fr; }
  .fk .coo-block--half { grid-column: 1 / -1; }
  .fk .coo-words { grid-template-columns: 1fr; }
  .fk .coo-pair { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .fk .coo-sm-hide { display: none; }   /* the print preview below carries the statement on a phone */
  .fk .coo-fields { grid-template-columns: 1fr; }
  .fk .coo-preview { padding: 12px 10px 14px; }
  .fk .coo-page { padding: 18px 18px 20px; }
  .fk [data-tab-panel="kept"] .fk-kv > div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fk .coo-steps--5 { grid-template-columns: 1fr; gap: 30px; }
  .fk .coo-block { padding: 24px 0; }
  .fk .coo-explain p { font-size: 16px; }
  .fk .coo-take, .fk .coo-pair-item, .fk .coo-not { padding: 22px 20px; }
  .fk .coo-copies-after { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fk .coo-caret { animation: none; }
}

/* the Affidavits tool · Before you go: what happens at the commissioner */
.fk .coo-at { counter-reset: coo-at; display: flex; flex-direction: column; margin-top: 6px; }
.fk .coo-at li {
  counter-increment: coo-at; position: relative; padding: 9px 0 9px 34px; border-top: 1px solid var(--fk-line-2);
  font: 400 12.5px/1.45 var(--font-sans); color: var(--fk-mute);
}
.fk .coo-at li:first-child { border-top: 0; }
.fk .coo-at li::before {
  content: counter(coo-at); position: absolute; left: 0; top: 7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  background: var(--fk-ice); box-shadow: inset 0 0 0 1px #d4e4f3; font: 650 11.5px/1 var(--font-sans); color: var(--fk-blue-deep);
}
.fk .coo-at b { font-weight: 600; color: var(--fk-ink); }

/* Phone and tablet: a tab shows only its own panel, so a shorter tab leaves no empty frame below it. */
@media (max-width: 1000px) { .fk .fk-app-content[data-tabs] > .fk-tabpanel:not(.is-active) { display: none; } }
