/* ============================================================================
   OFİS 5.1 — KILAVUZ + TUR stilleri
   ========================================================================== */

/* ————————————————— KILAVUZ ————————————————— */
.kv-hero h1 { letter-spacing: -0.02em; }
.kv-search { margin-top: 14px; max-width: 560px; }
.kv-search input {
  width: 100%; padding: 12px 16px; font-size: 15px;
  border: 1px solid var(--line, #e3e6ec); border-radius: 12px;
  background: var(--panel, #fff); color: var(--ink, #17202b);
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.kv-search input:focus { border-color: var(--accent, #2563eb); box-shadow: 0 0 0 3px rgb(37 99 235 / 12%); }

.kv-band { margin-top: 28px; }
.kv-band > h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3, #6b7484); margin: 0 0 14px;
}

.kv-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.kv-quick-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec);
  border-radius: 14px; padding: 14px 16px;
}
.kv-quick-ico { font-size: 20px; line-height: 1.2; }
.kv-quick-item strong { font-size: 14px; color: var(--ink, #17202b); }
.kv-quick-item p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3, #6b7484); line-height: 1.5; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kv-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec);
  border-radius: 16px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kv-card:hover { transform: translateY(-3px); border-color: var(--accent, #2563eb); box-shadow: 0 14px 34px rgb(15 23 42 / 10%); }
.kv-thumb { aspect-ratio: 16/8; overflow: hidden; background: #f1f3f7; border-bottom: 1px solid var(--line, #e3e6ec); }
.kv-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.kv-card-body { padding: 14px 16px 16px; }
.kv-card-body h3 { margin: 0; font-size: 16px; color: var(--ink, #17202b); }
.kv-card-body p { margin: 4px 0 8px; font-size: 13px; color: var(--ink-3, #6b7484); }
.kv-meta { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink-4, #98a1b0); }
.kv-beta {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; vertical-align: 2px;
  background: rgb(217 119 6 / 12%); color: #b45309; padding: 2px 7px; border-radius: 999px;
}
.kv-empty { color: var(--ink-3, #6b7484); font-size: 14px; }

.kv-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.kv-key {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--ink-2, #3d4655);
}
.kv-key kbd {
  font-family: inherit; font-size: 12px; font-weight: 700; white-space: nowrap;
  background: var(--bg-2, #f1f3f7); border: 1px solid var(--line, #e3e6ec);
  border-bottom-width: 2px; border-radius: 8px; padding: 3px 9px; color: var(--ink, #17202b);
}

/* detay */
.kv-back {
  display: inline-block; font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--accent, #2563eb); margin-bottom: 10px;
}
.kv-back:hover { text-decoration: underline; }
.kv-shot {
  margin: 22px 0 0; border: 1px solid var(--line, #e3e6ec); border-radius: 18px;
  overflow: hidden; background: var(--panel, #fff); box-shadow: 0 18px 44px rgb(15 23 42 / 8%);
}
.kv-shot img { width: 100%; display: block; }
.kv-shot figcaption {
  padding: 10px 16px; font-size: 12px; color: var(--ink-4, #98a1b0);
  border-top: 1px solid var(--line, #e3e6ec);
}
.kv-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.kv-feat {
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec);
  border-radius: 14px; padding: 14px 16px;
}
.kv-feat strong { font-size: 14px; color: var(--ink, #17202b); }
.kv-feat p { margin: 5px 0 0; font-size: 13px; color: var(--ink-3, #6b7484); line-height: 1.55; }

.kv-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec); border-radius: 14px; overflow: hidden;
}
.kv-table th, .kv-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line, #e3e6ec); }
.kv-table tr:last-child th, .kv-table tr:last-child td { border-bottom: 0; }
.kv-table th { width: 240px; font-weight: 650; color: var(--ink, #17202b); background: var(--bg-2, #f7f8fb); }
.kv-table td { color: var(--ink-3, #6b7484); }

.kv-tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.kv-tips li {
  position: relative; padding: 11px 16px 11px 38px; font-size: 13.5px; line-height: 1.55;
  background: var(--panel, #fff); border: 1px solid var(--line, #e3e6ec); border-radius: 12px;
  color: var(--ink-2, #3d4655);
}
.kv-tips li::before { content: "💡"; position: absolute; left: 13px; top: 10px; font-size: 14px; }

.kv-related { display: flex; flex-wrap: wrap; gap: 10px; }
.kv-rel {
  text-decoration: none; font-size: 13px; font-weight: 600;
  color: var(--accent, #2563eb); background: rgb(37 99 235 / 8%);
  border: 1px solid rgb(37 99 235 / 20%); padding: 8px 14px; border-radius: 999px;
  transition: background .15s ease;
}
.kv-rel:hover { background: rgb(37 99 235 / 14%); }

/* ————————————————— TUR ————————————————— */
.tour-root { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }
.tour-veil { position: fixed; inset: 0; background: transparent; pointer-events: auto; }
.tour-spot {
  position: fixed; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgb(8 12 22 / 58%);
  outline: 2px solid rgb(255 255 255 / 85%); outline-offset: 0;
  transition: top .28s ease, left .28s ease, width .28s ease, height .28s ease;
}
.tour-tip {
  position: fixed; pointer-events: auto;
  background: #fff; color: #17202b;
  border-radius: 16px; padding: 16px 18px 14px;
  box-shadow: 0 24px 60px rgb(8 12 22 / 35%), 0 2px 8px rgb(8 12 22 / 18%);
  animation: tour-pop .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes tour-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.tour-tip h3 { margin: 2px 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.tour-count {
  margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #6b7484;
}
.tour-body { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: #3d4655; }
.tour-x {
  position: absolute; top: 8px; right: 10px; width: 26px; height: 26px;
  border: 0; background: transparent; font-size: 19px; line-height: 1; color: #98a1b0;
  cursor: pointer; border-radius: 8px;
}
.tour-x:hover { background: #f1f3f7; color: #17202b; }
.tour-actions { display: flex; align-items: center; gap: 8px; }
.tour-spacer { flex: 1; }
.tour-skip {
  border: 0; background: transparent; font-size: 12.5px; color: #98a1b0; cursor: pointer;
  padding: 6px 4px;
}
.tour-skip:hover { color: #17202b; text-decoration: underline; }
.tour-btn {
  border: 0; border-radius: 10px; padding: 8px 16px; font-size: 13px; font-weight: 650;
  background: #2563eb; color: #fff; cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.tour-btn:hover { background: #1d4ed8; }
.tour-btn:active { transform: scale(.97); }
.tour-btn.ghost { background: #eef2ff; color: #1d4ed8; }
.tour-btn.ghost:hover { background: #e0e7ff; }

/* sağ alt yardım düğmesi */
#ofs-help-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 8990;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line, #e3e6ec);
  background: var(--panel, #fff); color: var(--ink-2, #3d4655);
  font-size: 18px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 26px rgb(15 23 42 / 14%);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
#ofs-help-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgb(15 23 42 / 20%); }
#ofs-help-menu {
  position: fixed; right: 22px; bottom: 74px; z-index: 8991;
  width: 250px; max-height: 60vh; overflow: auto;
  background: var(--panel, #fff); color: var(--ink, #17202b);
  border: 1px solid var(--line, #e3e6ec); border-radius: 14px; padding: 8px;
  box-shadow: 0 18px 44px rgb(15 23 42 / 18%);
}
#ofs-help-menu .help-menu-title {
  margin: 4px 8px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-4, #98a1b0);
}
#ofs-help-menu button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  font-size: 13px; color: inherit; padding: 8px 10px; border-radius: 9px; cursor: pointer;
}
#ofs-help-menu button:hover { background: var(--bg-2, #f1f3f7); }
#ofs-help-menu button i { font-style: normal; font-size: 10px; color: var(--ink-4, #98a1b0); }
#ofs-help-menu .help-reset { margin-top: 6px; border-top: 1px solid var(--line, #e3e6ec); color: var(--ink-4, #98a1b0); }

@media (max-width: 640px) {
  .tour-tip { left: 12px !important; right: 12px; width: auto !important; }
  .kv-table th { width: 130px; }
  #ofs-help-fab { right: 14px; bottom: 14px; }
  #ofs-help-menu { right: 14px; }
}
