/* Kasa formu: açık gri açılış + fiş biçimli form; form kurucu; mürekkep geçmiş şeridi; lime "kim yaptı" kartı */
.kf-hero { padding: 150px 56px 104px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.kf-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: end; }
.kf-top .t1 { display: grid; gap: 22px; justify-items: start; }
.kf-top .t2 { display: grid; gap: 26px; justify-items: start; padding-bottom: 6px; }

.kf-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.kf-ghost { position: absolute; top: 40px; left: 50%; width: 380px; height: 74%; margin-left: -190px; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 22px 24px; display: grid; align-content: start; gap: 10px; color: var(--muted); font-size: 13px; }
.kf-ghost.g1 { transform: translateX(-176px) rotate(-6deg); }
.kf-ghost.g2 { transform: translateX(176px) rotate(5deg); justify-items: end; text-align: right; }
.kf-ghost b { color: var(--ink); font: 600 16px var(--font-display); font-variant-numeric: tabular-nums; }
.kf-ghost i { display: block; height: 8px; width: 112px; border-radius: 4px; background: var(--soft-2); }
.kf-ghost i.s { width: 72px; }

.kf-rc { position: relative; z-index: 2; width: 440px; max-width: 100%; filter: drop-shadow(0 26px 34px rgba(14, 15, 16, 0.13)) drop-shadow(0 0 1px rgba(14, 15, 16, 0.18)); }
.kf-rc::after { content: ""; display: block; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 0h20L10 10z' fill='%23fff'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 10px; }
.kf-paper { background: var(--paper); border-radius: 16px 16px 0 0; padding: 24px 26px 26px; display: grid; gap: 16px; }
.kf-rh { display: flex; align-items: center; gap: 12px; }
.kf-rh b { display: block; font: 600 20px/1.2 var(--font-display); }
.kf-rh .demo { margin-left: auto; }
.kf-meta { display: grid; grid-template-columns: 0.95fr 1.05fr 1.2fr; gap: 6px; margin: 0; }
.kf-meta div { background: var(--soft); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.kf-meta dt { font-size: 11px; color: var(--muted); }
.kf-meta dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kf-meta .av { width: 20px; height: 20px; font-size: 10px; }
.kf-g { display: grid; gap: 4px; padding-top: 14px; border-top: 1.5px dashed var(--faint); }
.kf-gt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 600 15px var(--font-display); margin-bottom: 4px; }
.kf-gt small { font: 500 12px var(--font-sans); color: var(--muted); }
.kf-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.kf-in { min-width: 118px; text-align: right; padding: 6px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--soft-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-in small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.kf-addrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lime-text); padding-top: 4px; }
.kf-addrow .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.kf-save { width: 100%; margin-top: 6px; }
.kf-save.ok { background: var(--ink); color: var(--lime); }

/* formu siz kurun */
.kf-build { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.kf-bt { display: grid; gap: 22px; align-content: start; }
.kf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.kf-chip { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 9px; border-radius: var(--pill); border: 0; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--soft-2); font: 600 15px var(--font-sans); color: var(--ink); cursor: pointer; transition: background .2s, box-shadow .2s; }
.kf-chip i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); }
.kf-chip i .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.kf-chip:hover { background: var(--lime-tint); box-shadow: inset 0 0 0 1.5px var(--lime); }
.kf-canvas { background-color: var(--soft); background-image: radial-gradient(rgba(14, 15, 16, 0.09) 1px, transparent 1.2px); background-size: 20px 20px; border-radius: var(--r-xl); padding: 52px 48px; display: grid; justify-items: center; }
.kf-mini { width: 100%; max-width: 430px; background: var(--paper); border-radius: 16px; box-shadow: 0 16px 36px rgba(14, 15, 16, 0.1), 0 0 0 1px var(--line); overflow: hidden; }
.kf-mini .mh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.kf-mini .mh b { font: 600 16px var(--font-display); }
.kf-mini .mh small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.kf-list { list-style: none; margin: 0; padding: 0; }
.kf-it { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.kf-it:last-child { border-bottom: 0; }
.kf-it .k { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); }
.kf-it .k .ico { width: 16px; height: 16px; }
.kf-it .tg { font-size: 12px; color: var(--muted); white-space: nowrap; }
.kf-it.new { background: var(--lime-tint); animation: rise .45s cubic-bezier(.2, .8, .2, 1); }
.kf-it.new .k { background: var(--lime); }
.kf-it.new .tg { color: var(--lime-text); font-weight: 600; }

/* geçmiş */
.kf-hist { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); padding: 60px 56px 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.kf-hh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.kf-where { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 600; white-space: nowrap; }
.kf-where .ico { width: 18px; height: 18px; color: var(--lime); }
.kf-days { display: grid; grid-template-columns: repeat(7, minmax(82px, 1fr)); gap: 8px; overflow-x: auto; scrollbar-width: none; }
.kf-days::-webkit-scrollbar { display: none; }
.kf-day { display: grid; justify-items: center; gap: 1px; padding: 12px 6px; border-radius: 14px; border: 0; background: var(--ink-2); color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px var(--line-ink); font: 500 12px var(--font-sans); cursor: pointer; transition: background .2s; }
.kf-day b { font: 700 26px/1.15 var(--font-display); color: var(--on-ink); font-variant-numeric: tabular-nums; }
.kf-day:hover { background: var(--ink-3); }
.kf-day[aria-pressed="true"] { background: var(--lime); color: var(--ink); box-shadow: none; }
.kf-day[aria-pressed="true"] b { color: var(--ink); }
.kf-tw { background: var(--ink-2); border-radius: 18px; padding: 6px 20px 8px; box-shadow: inset 0 0 0 1px var(--line-ink); }
.kf-tw .tbl th { color: var(--on-ink-muted); border-bottom-color: var(--line-ink); padding-top: 14px; }
.kf-tw .tbl td { border-bottom-color: var(--line-ink); padding-block: 15px; }
.kf-tw .tbl .r { text-align: right; }
.kf-tw .nm { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; white-space: nowrap; }
.kf-tw .av.sm { box-shadow: 0 0 0 1px var(--line-ink); }
.kf-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.kf-foot span:first-child { color: var(--on-ink-muted); font-size: 15px; }

/* kasayı kim yaptı */
.kf-who { background: var(--lime); border-radius: var(--r-xl); padding: 64px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.kf-who .txt { display: grid; gap: 20px; }
.kf-who .txt p { color: var(--ink); font-size: 18px; max-width: 440px; }
.kf-card { background: var(--paper); border-radius: 22px; box-shadow: 0 30px 60px rgba(14, 15, 16, 0.16); overflow: hidden; min-width: 0; }
.kf-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.kf-path .ico { width: 14px; height: 14px; transform: rotate(-90deg); }
.kf-path b { color: var(--ink); font-weight: 600; }
.kf-sig { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 28px 26px 26px; }
.kf-sig .av { width: 72px; height: 72px; font-size: 28px; }
.kf-sig small { display: block; color: var(--muted); font-size: 14px; }
.kf-sig strong { display: block; font: 700 clamp(30px, 3.4vw, 42px)/1.05 var(--font-display); letter-spacing: -0.03em; }
.kf-sig span.ln { display: block; height: 3px; width: 140px; margin-top: 10px; border-radius: 2px; background: var(--lime); }
.kf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.kf-facts div { padding: 16px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.kf-facts div:nth-child(3n) { border-right: 0; }
.kf-facts small { display: block; color: var(--muted); font-size: 12px; }
.kf-facts b { font: 600 19px var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kf-facts b small { display: inline; font: 500 12px var(--font-sans); margin-left: 3px; }
.kf-card .demo { display: block; padding: 12px 22px 14px; }

@media (max-width: 960px) {
  .kf-hero { padding: 128px 22px 72px; gap: 48px; }
  .kf-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .kf-ghost { display: none; }
  .kf-build { grid-template-columns: 1fr; gap: 36px; }
  .kf-hist { padding: 44px 32px 36px; }
  .kf-who { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
}
@media (max-width: 720px) {
  .kf-hero { padding: 120px 16px 56px; }
  .kf-paper { padding: 20px 16px 22px; }
  .kf-rh b { font-size: 17px; }
  .kf-rh .demo { white-space: nowrap; }
  .kf-tw .tbl th:first-child, .kf-tw .tbl td:first-child { display: none; }
  .kf-tw .tbl table { min-width: 360px; }
  .kf-meta { grid-template-columns: 1fr 1fr; }
  .kf-meta div:last-child { grid-column: 1 / -1; }
  .kf-in { min-width: 100px; padding: 6px 10px; }
  .kf-canvas { padding: 28px 14px; }
  .kf-it { padding: 10px 14px; gap: 10px; }
  .kf-chip { height: 46px; font-size: 14px; padding-right: 16px; }
  .kf-hist { padding: 34px 18px 28px; gap: 26px; }
  .kf-hh { grid-template-columns: 1fr; gap: 18px; }
  .kf-hh .kf-where { justify-self: start; }
  .kf-tw { padding: 4px 12px 6px; }
  .kf-who { padding: 34px 18px; }
  .kf-sig { padding: 22px 18px; gap: 14px; }
  .kf-sig .av { width: 56px; height: 56px; font-size: 22px; }
  .kf-facts { grid-template-columns: 1fr 1fr; }
  .kf-facts div { padding: 14px 18px; }
  .kf-facts div:nth-child(3n) { border-right: 1px solid var(--line); }
  .kf-facts div:nth-child(2n) { border-right: 0; }
  .kf-path, .kf-card .demo { padding-inline: 18px; }
}
