/* ============================================================
   FORKATO 2 - small standalone pages
   /feedback (FkFeedback), /changelog (FkChangelog), /contact and the
   Kitchen Mode upsell (FkHouseUpsell / FkPremium). One narrow reading
   column, Gloock titles, hairline rows, pill buttons. Form controls
   come from the global rules at the end of app.css.
   ============================================================ */

.fk-pg { max-width: 760px; }
.fk-pg > * + * { margin-top: clamp(32px, 4vw, 48px); }
.fk-pg__head { display: flex; flex-direction: column; gap: var(--s-6); }
.fk-pg__back {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin-left: -6px; align-self: flex-start;
  color: var(--c-text-2); font-size: 0.9375rem; font-weight: 600;
}
body.fk2 a.fk-pg__back:hover { color: var(--c-text); }
.fk-pg__title {
  font-family: var(--f-display); font-weight: 400; font-synthesis-weight: none;
  font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.04; letter-spacing: -0.01em;
}
.fk-pg__deck { color: var(--c-text-2); font-size: 1.0625rem; line-height: 1.55; max-width: 56ch; }
.fk-pg__label { display: block; font-weight: 600; margin-bottom: var(--s-4); }
.fk-pg__fine { font-size: 0.875rem; line-height: 1.55; color: var(--c-text-3); }
.fk-pg__fine a { text-decoration: underline; text-underline-offset: 3px; }
.fk-pg__h2 {
  font-family: var(--f-display); font-weight: 400; font-synthesis-weight: none;
  font-size: 1.75rem; line-height: 1.1;
}
.fk-pg__form { display: flex; flex-direction: column; gap: var(--s-12); }
.fk-pg__form textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.fk-pg__send { width: 100%; }

/* ── Feedback ─────────────────────────────────────────────── */
.fk-fbk__kinds { border: 0; padding: 0; margin: 0; min-width: 0; }
.fk-fbk__kinds legend { font-weight: 600; margin-bottom: var(--s-4); padding: 0; }
.fk-fbk__link { margin-top: var(--s-4); font-size: 0.875rem; color: var(--c-text-3); overflow-wrap: anywhere; }
.fk-fbk__attach {
  display: flex; align-items: center; gap: var(--s-8);
  padding: var(--s-8) var(--s-10);
  border-radius: var(--r-lg); background: var(--c-surface);
  cursor: pointer;
}
.fk-fbk__attach > svg { flex: none; color: var(--c-text-2); }
.fk-fbk__attach > span { flex: 1; min-width: 0; line-height: 1.4; }
.fk-fbk__attach small { display: block; color: var(--c-text-3); font-size: 0.8125rem; }
.fk-fbk__actions { display: flex; flex-direction: column; gap: var(--s-6); }

.fk-fbk__list { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.fk-fbk__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s-8);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--c-border);
}
.fk-fbk__item:last-child { border-bottom: 1px solid var(--c-border); }
.fk-fbk__msg {
  white-space: pre-wrap; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fk-fbk__when {
  grid-column: 1;
  font-family: var(--f-num); font-stretch: 85%; font-variant-numeric: tabular-nums;
  font-size: 0.875rem; color: var(--c-text-3);
}
.fk-fbk__status {
  grid-column: 2; grid-row: 1;
  font-size: 0.9375rem; font-weight: 600; color: var(--c-text-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.fk-fbk__status--on { color: var(--c-sage); }
.fk-fbk__status--muted { color: var(--c-text-3); font-weight: 500; }
.fk-fbk__reply {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  padding: var(--s-6) var(--s-8);
  border-radius: var(--r-md); background: var(--c-surface);
  font-size: 0.9375rem; line-height: 1.5;
}
.fk-fbk__reply b { display: block; font-size: 0.8125rem; color: var(--c-accent); margin-bottom: 2px; }

/* ── Changelog ────────────────────────────────────────────── */
.fk-cl__rel { scroll-margin-top: 96px; }
.fk-cl__relhead {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-8);
  flex-wrap: wrap;
}
.fk-cl__ver {
  display: inline-flex; align-items: baseline; gap: var(--s-6);
  font-family: var(--f-display); font-weight: 400; font-synthesis-weight: none;
  font-size: clamp(1.75rem, 3.4vw, 2.25rem); line-height: 1.05;
}
body.fk2 a.fk-cl__ver:hover { color: var(--c-accent); }
.fk-cl__ver .fk-tag { align-self: center; font-family: var(--f-body); }
.fk-cl__latest { background: var(--c-accent); color: var(--c-accent-fg); }
.fk-cl__date {
  font-family: var(--f-num); font-stretch: 85%; font-variant-numeric: tabular-nums;
  font-size: 0.9375rem; color: var(--c-text-2);
}
.fk-cl__sum { margin-top: var(--s-4); color: var(--c-text-2); line-height: 1.55; max-width: 62ch; }
.fk-cl__items { list-style: none; margin: var(--s-8) 0 0; padding: 0; }
.fk-cl__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-8);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--c-border);
}
.fk-cl__item strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.fk-cl__item p { grid-column: 1; color: var(--c-text-2); line-height: 1.5; }
.fk-cl__type {
  grid-column: 2; grid-row: 1; align-self: start;
  font-size: 0.8125rem; font-weight: 600; color: var(--c-text-3); white-space: nowrap;
  padding-top: 3px;
}
.fk-cl__type--new { color: var(--c-accent); }
.fk-cl__type--fixed { color: var(--c-sage); }
.fk-cl__end { color: var(--c-text-2); }
.fk-cl__end a { color: var(--c-accent); }

/* ── Contact ──────────────────────────────────────────────── */
#fk-contact { padding-top: clamp(32px, 5vw, 64px); }
.fk-ct__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.fk-ct__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fk-ct__foot { display: flex; flex-direction: column; gap: var(--s-6); }
.fk-ct__done {
  display: flex; gap: var(--s-6); align-items: flex-start;
  padding: var(--s-8) var(--s-10);
  border-radius: var(--r-lg); background: var(--c-surface);
  line-height: 1.5;
}
.fk-ct__done svg { flex: none; color: var(--c-sage); margin-top: 2px; }
.fk-ct__done strong { color: var(--c-text); }
.fk-ct__other { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-12); color: var(--c-text-2); }
.fk-ct__other a { color: var(--c-accent); }
@media (max-width: 560px) { .fk-ct__row { grid-template-columns: 1fr; } }

/* ── Kitchen Mode upsell ──────────────────────────────────── */
.fk-ku { max-width: 1120px; }
.fk-ku__offer { min-height: min(640px, calc(100dvh - 160px)); }
.fk-ku__steps { list-style: none; margin: 0; padding: 0; counter-reset: ku; }
.fk-ku__steps li {
  counter-increment: ku;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px var(--s-6);
  padding: 12px 0;
  border-top: 1px solid var(--c-border);
}
.fk-ku__steps li:last-child { border-bottom: 1px solid var(--c-border); }
.fk-ku__steps li::before {
  content: counter(ku); grid-row: 1 / span 2;
  font-family: var(--f-num); font-stretch: 85%; font-variant-numeric: tabular-nums;
  font-size: 1.0625rem; font-weight: 600; color: var(--c-accent); line-height: 1.4;
}
.fk-ku__steps strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.fk-ku__steps span { color: var(--c-text-2); font-size: 0.9375rem; line-height: 1.45; }
.fk-ku__title {
  font-family: var(--f-display); font-weight: 400; font-synthesis-weight: none;
  font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.02;
}
.fk-ku__acts { display: flex; flex-wrap: wrap; gap: var(--s-4); }
@media (max-width: 520px) { .fk-ku__acts .btn { flex: 1; } }

/* Changelog: "From your note" (board FkChangelog). */
.fk-cl__yours { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8125rem; font-weight: 600; color: var(--c-accent); white-space: nowrap; }
.fk-cl__minecount { margin: var(--s-4) 0 0; font-weight: 600; color: var(--c-text); }
.fk-cl__fromyou { margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 0.9375rem; }
