/* Krow product pages (pricing, Jarvis): the homepage's look (story.css + foundation.css) for page content.
   Tokens match the homepage: cream page, deep green ink, Bricolage headings, peach and sage panels. */
:root {
  --kp-bg: #f3eadc; --kp-ink: #233d39; --kp-em: #345a48; --kp-muted: #4f6158; --kp-line: #d9cdb9; --kp-rule: #87968a;
  --kp-card: #fbf6ee; --kp-btn: #315d47; --kp-btn-hover: #203e35; --kp-btn-ink: #ffffff;
  --kp-peach: #edbcaa; --kp-peach-ink: #372b25; --kp-sage: #dde5cc; --kp-sage-ink: #34432d; --kp-sage-em: #698151;
  --kp-chip: #e6dcc9; --kp-ok: #2f6b4a; --kp-radius: 18px;
  --kp-display: "Bricolage", "Arial", sans-serif; --kp-body: "Inter", "Arial", sans-serif;
}
html[data-theme="dark"] {
  --kp-bg: #17241d; --kp-ink: #f3eadc; --kp-em: #b9d6a2; --kp-muted: #b5c0b5; --kp-line: #2f4237; --kp-rule: #4d6156;
  --kp-card: #1e2e25; --kp-btn: #d8ee9b; --kp-btn-hover: #e6f5bd; --kp-btn-ink: #1b2a20;
  --kp-peach: #4a3229; --kp-peach-ink: #f6dfd5; --kp-sage: #2a3a2b; --kp-sage-ink: #e3ecd3; --kp-sage-em: #b9d6a2;
  --kp-chip: #27392f; --kp-ok: #9fd8b0;
}
body.kp-page { background: var(--kp-bg); color: var(--kp-ink); font-family: var(--kp-body); margin: 0; }
.kp-page a { color: inherit; }
.kp-wrap { max-width: 1140px; margin-inline: auto; padding-inline: 22px; }
@media (max-width: 640px) { .kp-wrap { padding-inline: 16px; } }

/* headings */
.kp-h1, .kp-h2, .kp-h3 { font-family: var(--kp-display); color: var(--kp-ink); margin: 0; text-wrap: balance; }
.kp-h1 { font-size: clamp(48px, 8.2vw, 104px); font-weight: 650; letter-spacing: -0.055em; line-height: 1.02; }
.kp-h2 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.04; }
.kp-h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.kp-h1 em, .kp-h2 em { font-style: normal; color: var(--kp-em); }
.kp-lede { font-size: 17px; line-height: 1.6; color: var(--kp-ink); max-width: 56ch; margin: 22px 0 0; }
.kp-small { font-size: 13.5px; line-height: 1.6; color: var(--kp-muted); }
.kp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kp-muted); }

/* sections */
.kp-section { padding-block: clamp(64px, 9vw, 120px); }
.kp-section + .kp-section { padding-top: 0; }
.kp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .kp-split { grid-template-columns: 1fr; } }
.kp-rule { border: 0; border-top: 1px solid var(--kp-rule); margin: 0; }
.kp-panel { border-radius: var(--kp-radius); padding: clamp(28px, 5vw, 70px); }
.kp-panel.peach { background: var(--kp-peach); color: var(--kp-peach-ink); }
.kp-panel.peach .kp-h2, .kp-panel.peach .kp-h3, .kp-panel.peach .kp-lede { color: var(--kp-peach-ink); }
.kp-panel.peach .kp-h2 em { color: #8a4f3d; }
html[data-theme="dark"] .kp-panel.peach .kp-h2 em { color: #f2b8a2; }
.kp-panel.sage { background: var(--kp-sage); color: var(--kp-sage-ink); }
.kp-panel.sage .kp-h2, .kp-panel.sage .kp-h3, .kp-panel.sage .kp-lede { color: var(--kp-sage-ink); }
.kp-panel.sage .kp-h2 em { color: var(--kp-sage-em); }
.kp-outer { max-width: 1240px; margin-inline: auto; padding-inline: 16px; }

/* buttons and links */
.kp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--kp-btn);
  color: var(--kp-btn-ink) !important; text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 22px;
  border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; }
.kp-btn:hover { background: var(--kp-btn-hover); }
.kp-btn.ghost { background: transparent; color: var(--kp-ink) !important; border: 1px solid var(--kp-rule); }
.kp-btn.ghost:hover { background: var(--kp-chip); }
.kp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-decoration: none;
  padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.kp-link svg { width: 16px; height: 16px; transition: transform .2s; }
.kp-link:hover svg { transform: translateX(4px); }
.kp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
:where(.kp-page) :focus-visible { outline: 2px solid var(--kp-em); outline-offset: 3px; }

/* hero */
.kp-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.kp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .kp-hero-grid { grid-template-columns: 1fr; } }

/* plan cards */
.kp-cards { display: grid; gap: 16px; }
.kp-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kp-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kp-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .kp-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kp-cards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .kp-cards.two, .kp-cards.three, .kp-cards.four { grid-template-columns: 1fr; } }
.kp-card { background: var(--kp-card); border: 1px solid var(--kp-line); border-radius: var(--kp-radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.kp-card.feature { background: var(--kp-btn); border-color: var(--kp-btn); color: var(--kp-btn-ink); }
.kp-card.feature .kp-h3, .kp-card.feature .kp-price, .kp-card.feature .kp-list li { color: var(--kp-btn-ink); }
.kp-card.feature .kp-small { color: rgba(255,255,255,.78); }
html[data-theme="dark"] .kp-card.feature .kp-small { color: rgba(27,42,32,.72); }
.kp-card.feature .kp-btn { background: var(--kp-bg); color: var(--kp-ink) !important; }
.kp-card.feature .kp-btn:hover { background: #fff; }
.kp-card.selected { border: 2px solid var(--kp-btn); padding: 25px; }
.kp-card[data-plan] { cursor: pointer; }
.kp-tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--kp-chip); color: var(--kp-ink); padding: 4px 10px; border-radius: 999px; }
.kp-card.feature .kp-tag { background: rgba(255,255,255,.16); color: var(--kp-btn-ink); }
.kp-price { font-family: var(--kp-display); font-size: clamp(40px, 4.4vw, 56px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.kp-price small { font-family: var(--kp-body); font-size: 14px; font-weight: 600; letter-spacing: 0; margin-left: 4px; opacity: .75; }
.kp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.45; }
.kp-list li { position: relative; padding-left: 26px; }
.kp-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--kp-ok); }
.kp-card.feature .kp-list li::before { color: var(--kp-btn-ink); }
.kp-card .kp-btn { margin-top: auto; align-self: flex-start; }
.kp-turns { font-size: 14px; color: var(--kp-muted); }
.kp-turns b { color: var(--kp-ink); font-size: 16px; }
.kp-soon { font-size: 13px; font-weight: 600; color: var(--kp-muted); margin-top: auto; }

/* beta */
.kp-beta-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.55); color: inherit; }
html[data-theme="dark"] .kp-beta-chip { background: rgba(0,0,0,.25); }
.kp-beta-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.kp-beta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .kp-beta-grid { grid-template-columns: 1fr; } }
.kp-beta-card { background: rgba(255,255,255,.5); border-radius: 14px; padding: 26px; display: grid; gap: 12px; align-content: start; }
html[data-theme="dark"] .kp-beta-card { background: rgba(0,0,0,.18); }
.kp-beta-card .kp-list li::before { color: currentColor; }
.kp-modes { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.kp-modes li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.kp-modes li span { font-size: 22px; line-height: 1.2; }
.kp-flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: flow; }
.kp-flow li { counter-increment: flow; font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,.55); }
html[data-theme="dark"] .kp-flow li { background: rgba(0,0,0,.22); }
.kp-flow li::before { content: counter(flow) "  "; opacity: .6; }

/* faq */
.kp-faq { display: grid; gap: 0; }
.kp-faq details { border-top: 1px solid var(--kp-rule); padding: 20px 0; }
.kp-faq details:last-child { border-bottom: 1px solid var(--kp-rule); }
.kp-faq summary { cursor: pointer; font-family: var(--kp-display); font-size: 21px; font-weight: 500; letter-spacing: -0.02em;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.kp-faq summary::-webkit-details-marker { display: none; }
.kp-faq summary::after { content: "+"; font-family: var(--kp-body); font-weight: 400; color: var(--kp-muted); }
.kp-faq details[open] summary::after { content: "–"; }
.kp-faq p { margin: 12px 0 0; max-width: 70ch; line-height: 1.6; color: var(--kp-muted); }

/* steps */
.kp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .kp-steps { grid-template-columns: 1fr; } }
.kp-step { border-top: 1px solid var(--kp-rule); padding-top: 20px; display: grid; gap: 10px; }
.kp-step .n { font-family: var(--kp-display); font-size: 15px; font-weight: 600; color: var(--kp-em); }
.kp-step p { margin: 0; line-height: 1.6; color: var(--kp-muted); font-size: 15px; }

/* chat mock */
.kp-chat-card { background: var(--kp-sage); border-radius: var(--kp-radius); padding: clamp(22px, 3vw, 34px); position: relative;
  display: grid; gap: 12px; min-height: 380px; align-content: end; overflow: hidden; }
.kp-chat-card img { position: absolute; top: 14px; right: 18px; width: 140px; height: 140px; }
.kp-chat-card { padding-top: 160px; }
.kp-bub { max-width: 84%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.kp-bub.you { justify-self: end; background: var(--kp-btn); color: var(--kp-btn-ink); border-bottom-right-radius: 5px; }
.kp-bub.krow { background: var(--kp-card); color: var(--kp-ink); border-bottom-left-radius: 5px; }
.kp-bub ul { margin: 6px 0; padding-left: 18px; }
.kp-bub .ok { color: var(--kp-ok); font-weight: 700; }

/* clips */
.kp-clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
@media (max-width: 1000px) { .kp-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kp-clips { grid-template-columns: 1fr; } }
.kp-clip { background: var(--kp-card); border: 1px solid var(--kp-line); border-radius: 14px; overflow: hidden; display: grid; }
.kp-clip .media { position: relative; aspect-ratio: 9 / 14; background: #0c1512; cursor: pointer; }
.kp-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.kp-clip .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: #203e35; display: grid; place-items: center; cursor: pointer; }
.kp-clip.playing .play { display: none; }
.kp-clip .txt { padding: 14px 16px 18px; display: grid; gap: 4px; }
.kp-clip .txt b { font-family: var(--kp-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.kp-clip .txt span { font-size: 13.5px; color: var(--kp-muted); }

/* trust row */
.kp-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
@media (max-width: 900px) { .kp-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kp-trust { grid-template-columns: 1fr; } }
.kp-trust div { border-top: 1px solid var(--kp-rule); padding: 20px 20px 20px 0; display: grid; gap: 8px; }
.kp-trust b { font-family: var(--kp-display); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.kp-trust p { margin: 0; color: var(--kp-muted); line-height: 1.55; font-size: 14.5px; }

/* checkout (ids and behaviour kept from the original Jarvis page) */
.kp-checkout { max-width: 560px; margin: 40px auto 0; background: var(--kp-card); border: 1px solid var(--kp-line);
  border-radius: var(--kp-radius); padding: clamp(22px, 4vw, 34px); display: grid; gap: 14px; }
.kp-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .kp-pick { grid-template-columns: 1fr 1fr; } }
.kp-pick button { border: 1px solid var(--kp-line); background: transparent; border-radius: 999px; padding: 9px 6px;
  font-weight: 600; font-size: 13.5px; color: var(--kp-ink); cursor: pointer; }
.kp-pick button.on { background: var(--kp-btn); color: var(--kp-btn-ink); border-color: var(--kp-btn); }
.kp-field { display: grid; gap: 6px; }
.kp-field label { font-weight: 600; font-size: 14px; }
.kp-field input { border: 1px solid var(--kp-line); background: var(--kp-bg); color: var(--kp-ink); border-radius: 10px;
  padding: 12px 13px; font-size: 15px; }
.kp-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.kp-agree input { margin-top: 3px; }
.kp-err { color: #b23a2a; font-weight: 600; margin: 0; min-height: 1em; }
html[data-theme="dark"] .kp-err { color: #ff9d8c; }
.kp-checkout .kp-btn { width: 100%; }

/* the homepage footer's links point at the homepage's sections from these pages */
.kp-page .ys-footer { margin-top: 0; }

@media (max-width: 760px) {
  .kp-page .ys-footer-top, .kp-page .ys-footer-bottom { flex-wrap: wrap; row-gap: 14px; }
  .kp-page .ys-footer nav { flex-wrap: wrap; gap: 10px 18px; margin-left: 0; }
}

/* site-unify foundation.css sizes every h1/h2 with !important inside @layer ymWholeWorld.foundation; a layered
   !important beats any unlayered rule, so these pages' heading rules sit in that same layer, more specific
   (the homepage's hero does the same in interactive.css). */
@layer ymWholeWorld.foundation {
  html[data-ym-unified] body.kp-page :is(.kp-h1, .kp-h2, .kp-h3) { font-family: var(--kp-display) !important; color: var(--kp-ink) !important; -webkit-text-fill-color: currentColor !important; }
  html[data-ym-unified] body.kp-page .kp-h1 { font-size: clamp(48px, 8.2vw, 104px) !important; font-weight: 650 !important; letter-spacing: -0.055em !important; line-height: 1.02 !important; }
  html[data-ym-unified] body.kp-page .kp-h2 { font-size: clamp(38px, 5.4vw, 68px) !important; font-weight: 600 !important; letter-spacing: -0.055em !important; line-height: 1.04 !important; }
  html[data-ym-unified] body.kp-page .kp-h3 { font-size: clamp(22px, 2.4vw, 30px) !important; font-weight: 500 !important; letter-spacing: -0.03em !important; line-height: 1.15 !important; }
  html[data-ym-unified] body.kp-page :is(.kp-h1, .kp-h2) em { color: var(--kp-em) !important; -webkit-text-fill-color: currentColor !important; }
  html[data-ym-unified] body.kp-page .kp-panel.peach :is(.kp-h2, .kp-h3) { color: var(--kp-peach-ink) !important; }
  html[data-ym-unified] body.kp-page .kp-panel.peach .kp-h2 em { color: #8a4f3d !important; }
  html[data-ym-unified] body.kp-page .kp-card.feature .kp-h3 { color: var(--kp-btn-ink) !important; }
  html[data-ym-unified] body.kp-page { background-color: var(--kp-bg) !important; color: var(--kp-ink) !important; }
}
.kp-page .ys-brand-mark { display: none; }   /* story.css draws it with YouMatter's wing mask */

/* ── shared bits for interior pages (2026-10-12) ───────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.kp-field textarea { border: 1px solid var(--kp-line); background: var(--kp-bg); color: var(--kp-ink); border-radius: 10px; padding: 12px 13px;
  font: inherit; font-size: 15px; min-height: 120px; resize: vertical; width: 100%; box-sizing: border-box; }
.kp-field input { width: 100%; box-sizing: border-box; }
.form-status.ok { color: var(--kp-ok); font-weight: 600; }
.form-status.bad { color: #b23a2a; font-weight: 600; }

/* legal */
.kl-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .kl-layout { grid-template-columns: 1fr; } }
.kl-toc { position: sticky; top: 96px; display: grid; gap: 8px; font-size: 14px; padding-left: 14px; border-left: 1px solid var(--kp-rule); }
.kl-toc b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kp-muted); margin-bottom: 4px; }
.kl-toc a { color: var(--kp-muted); text-decoration: none; line-height: 1.35; }
.kl-toc a:hover { color: var(--kp-ink); }
@media (max-width: 900px) { .kl-toc { position: static; border-left: 0; padding: 18px; background: var(--kp-card); border: 1px solid var(--kp-line); border-radius: 14px; } }
.kl-doc { max-width: 74ch; font-size: 16px; line-height: 1.72; color: var(--kp-ink); }
.kl-doc section { padding: 26px 0; border-top: 1px solid var(--kp-line); scroll-margin-top: 96px; }
.kl-doc section:first-child { border-top: 0; padding-top: 0; }
.kl-doc h2 { font-family: var(--kp-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
.kl-doc h3 { font-family: var(--kp-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 22px 0 8px; scroll-margin-top: 96px; }
.kl-doc p { margin: 0 0 14px; color: var(--kp-muted); }
.kl-doc ul, .kl-doc ol { margin: 0 0 14px; padding-left: 22px; color: var(--kp-muted); }
.kl-doc li { margin: 6px 0; }
.kl-doc strong { color: var(--kp-ink); }
.kl-doc a { color: var(--kp-em); text-underline-offset: 3px; }
.kl-doc code { font-size: .92em; background: var(--kp-chip); padding: 1px 5px; border-radius: 5px; }
.kl-more { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
html[data-ym-unified] body.kp-page .kl-doc h2 { font-family: var(--kp-display) !important; }

/* support */
.ks-search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 28px; background: var(--kp-card); border: 1px solid var(--kp-line);
  border-radius: 999px; padding: 6px 8px 6px 18px; box-shadow: 0 10px 30px rgba(32,62,53,.08); }
.ks-search svg { width: 20px; height: 20px; color: var(--kp-muted); flex: none; }
.ks-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 6px; color: var(--kp-ink); outline: none; min-width: 0; }
.ks-search:focus-within { border-color: var(--kp-btn); }
.ks-path { text-decoration: none; color: var(--kp-ink); gap: 8px; }
.ks-path b { font-family: var(--kp-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.ks-path span { color: var(--kp-muted); font-size: 14.5px; line-height: 1.5; }
.ks-path svg { width: 18px; height: 18px; margin-top: auto; transition: transform .2s; }
.ks-path:hover { border-color: var(--kp-btn); }
.ks-path:hover svg { transform: translateX(4px); }
.ks-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 36px; }
@media (max-width: 860px) { .ks-groups { grid-template-columns: 1fr; } }
.ks-group .kp-h3 { margin-bottom: 8px; }
.ks-group .kp-faq summary { font-size: 18px; }
.ks-form { gap: 14px; }

/* profile */
.kpf-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .kpf-layout { grid-template-columns: 1fr; } }
.kpf-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.kpf-nav a { padding: 9px 12px; border-radius: 10px; color: var(--kp-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.kpf-nav a:hover { background: var(--kp-chip); }
.kpf-nav-gap { height: 1px; background: var(--kp-line); margin: 10px 12px; }
@media (max-width: 860px) { .kpf-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .kpf-nav-gap { display: none; } .kpf-nav a { background: var(--kp-card); border: 1px solid var(--kp-line); } }
.kpf-main { display: grid; gap: 16px; }
.kpf-main .kp-card { scroll-margin-top: 96px; }
.kpf-id { display: flex; gap: 16px; align-items: center; }
.kpf-id img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--kp-chip); }
.kpf-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kpf-badge, .kpf-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--kp-chip); color: var(--kp-ink); }
.kpf-badge.on, .kpf-chip.on { background: #d6ead9; color: #1f5f3b; }
html[data-theme="dark"] .kpf-badge.on, html[data-theme="dark"] .kpf-chip.on { background: #24452f; color: #a8e2bb; }
.kpf-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--kp-line); font-size: 15px; }
.kpf-row span { color: var(--kp-muted); }
.kpf-row b { text-align: right; overflow-wrap: anywhere; }
.kpf-dc { display: grid; }
.kpf-qr { display: grid; gap: 12px; justify-items: start; padding: 16px; border: 1px dashed var(--kp-line); border-radius: 14px; }
.kpf-qr img { width: 180px; height: 180px; background: #fff; border-radius: 10px; padding: 8px; }
.kpf-activity { list-style: none; margin: 0; padding: 0; display: grid; }
.kpf-activity li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--kp-line); font-size: 14.5px; }
.kpf-activity time { color: var(--kp-muted); font-size: 13px; white-space: nowrap; }
.kpf-notice { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #d6ead9; color: #1f5f3b; font-weight: 600; max-width: 620px; }
.kpf-notice.bad { background: #f3d6d0; color: #8a2e20; }
.ks-search input, .ks-search input:focus { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; }
.kpp-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.5px; }
.kpp-table th, .kpp-table td { text-align: left; padding: 11px 10px; border-top: 1px solid var(--kp-line); vertical-align: top; }
.kpp-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--kp-muted); }
.kp-card[role="button"] { cursor: pointer; }
.kp-card.selected .kp-tag { background: var(--kp-btn); color: var(--kp-btn-ink); }
button[data-unavailable] { opacity: .6; cursor: not-allowed; }
