/* Psychro Calc Pro hızlı başlangıç sayfaları (hizli-baslangic-v1).
   Yalnız .ikl-qs- önekli sınıflar; global seçici yok.
   Metin rengi sayfadan gelir (inherit). Yüzey ve kenarlar currentColor'dan
   türetilir; bu yüzden koyu (site) ve açık zeminde aynı kurallar çalışır.
   Bağlantılar da metin rengini kullanır ve altı çizilidir, böylece kontrast
   her zeminde gövde metniyle aynıdır (AA). Mavi vurgu yalnız süs öğesidir. */

.ikl-qs-page {
  --ikl-qs-accent: #0077cc; /* 4,2:1 koyu (#060a0d), 4,7:1 beyaz zeminde */
  --ikl-qs-line: rgba(127, 140, 150, 0.35);
  --ikl-qs-soft: rgba(127, 140, 150, 0.08);
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 48px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  container-type: inline-size;
}
@supports (color: color-mix(in srgb, red 10%, transparent)) {
  .ikl-qs-page {
    --ikl-qs-line: color-mix(in srgb, currentColor 22%, transparent);
    --ikl-qs-soft: color-mix(in srgb, currentColor 6%, transparent);
  }
}
.ikl-qs-page *,
.ikl-qs-page *::before,
.ikl-qs-page *::after { box-sizing: inherit; }

.ikl-qs-title {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.ikl-qs-lead { font-size: 1.06rem; margin: 0 0 12px; }
.ikl-qs-meta {
  font-size: 0.9rem;
  margin: 0 0 28px;
  padding: 10px 14px;
  border-left: 3px solid var(--ikl-qs-accent);
  background: var(--ikl-qs-soft);
  border-radius: 0 6px 6px 0;
}

.ikl-qs-page a.ikl-qs-link,
.ikl-qs-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ikl-qs-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ikl-qs-link:hover,
.ikl-qs-link:focus-visible { text-decoration-thickness: 3px; }
.ikl-qs-link:focus-visible,
.ikl-qs-store:focus-visible {
  outline: 2px solid var(--ikl-qs-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.ikl-qs-store {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid var(--ikl-qs-accent);
  border-radius: 8px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.ikl-qs-store:hover { background: var(--ikl-qs-soft); }

/* Ana adım listesi: numara rozeti CSS sayacıyla, başlık içinde numara yok. */
.ikl-qs-steps {
  list-style: none;
  counter-reset: ikl-qs-step;
  margin: 0;
  padding: 0;
}
.ikl-qs-step {
  counter-increment: ikl-qs-step;
  position: relative;
  padding: 0 0 28px 52px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--ikl-qs-line);
}
.ikl-qs-step:last-child { border-bottom: 0; }
.ikl-qs-step::before {
  content: counter(ikl-qs-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ikl-qs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.ikl-qs-h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 4px 0 10px;
}
.ikl-qs-h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 18px 0 6px;
}
.ikl-qs-p { margin: 0 0 10px; }

.ikl-qs-body { display: block; }
/* Yerleşim kuralları ekran değil içerik genişliğine göre (container query):
   sayfa şablonu içeriği daraltsa da (index.php: 800 px, 48 px kenar) doğru çalışır. */
@container (min-width: 640px) {
  .ikl-qs-body.ikl-qs-has-fig {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: start;
  }
  .ikl-qs-body.ikl-qs-has-fig-wide { display: block; }
}

.ikl-qs-substeps {
  margin: 4px 0 12px;
  padding-left: 1.4em;
}
.ikl-qs-substeps li { margin: 0 0 6px; }
.ikl-qs-list {
  margin: 4px 0 12px;
  padding-left: 1.3em;
}
.ikl-qs-list li { margin: 0 0 4px; }

/* Uygulamadaki düğme ve mesaj adları (İngilizce, olduğu gibi). */
.ikl-qs-ui {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 600;
  padding: 1px 6px;
  border: 1px solid var(--ikl-qs-line);
  border-radius: 4px;
  background: var(--ikl-qs-soft);
  white-space: nowrap;
}

.ikl-qs-fig { margin: 4px 0 12px; }
.ikl-qs-fig img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ikl-qs-line);
  border-radius: 14px;
}
.ikl-qs-fig-phone { max-width: 240px; margin-left: auto; margin-right: auto; }
.ikl-qs-fig-wide img { border-radius: 8px; }
.ikl-qs-figcap {
  font-size: 0.85rem;
  margin-top: 6px;
  text-align: center;
}

.ikl-qs-table-wrap { overflow-x: auto; margin: 6px 0 12px; }
.ikl-qs-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}
.ikl-qs-table th,
.ikl-qs-table td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--ikl-qs-line);
  vertical-align: top;
}
.ikl-qs-table th { font-weight: 700; }

.ikl-qs-note {
  margin: 8px 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--ikl-qs-line);
  border-radius: 8px;
  background: var(--ikl-qs-soft);
  font-size: 0.95rem;
}

.ikl-qs-faq { margin-top: 12px; }
.ikl-qs-faq-q { font-size: 1.05rem; margin: 18px 0 4px; line-height: 1.4; }
.ikl-qs-faq-a { margin: 0 0 8px; }

.ikl-qs-more {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ikl-qs-line);
}

/* Tablo hücrelerinde sözcük bölünmesin; değer sütunu tek satır. */
.ikl-qs-table th,
.ikl-qs-table td { overflow-wrap: normal; word-break: normal; }
.ikl-qs-table td:last-child,
.ikl-qs-table th:last-child { white-space: nowrap; }

/* Dar içerik: numara rozeti başlığın üstüne; sonuç tablosunun her satırı
   iki satırlık bir karta dönüşür (uygulamadaki ad + değer, altında büyüklük). */
@container (max-width: 480px) {
  .ikl-qs-step { padding-left: 0; }
  .ikl-qs-step::before { position: static; margin: 0 0 6px; }
  .ikl-qs-ui { white-space: normal; }
  .ikl-qs-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .ikl-qs-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--ikl-qs-line);
  }
  .ikl-qs-table td { border: 0; padding: 1px 0; }
  .ikl-qs-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .ikl-qs-table td:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
  .ikl-qs-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 0.9em; }
}
