/*
 * befcrm.com — Sistem rehberi (SISTEM-REHBERI.md): /kaynaklar/sistem-rehberi. Önek gd-. site.css'ten sonra yüklenir.
 * Ton: sayfanın body.tint-* (bölümün tonu) ya da öğenin [data-tint]'i (--t-50 … --t-700).
 * Yumuşak görünüm (05.11.2026): anlatım önde. Gölge, desen ve dolgulu renk blokları yok; ton yalnız küçük vurgularda,
 * ayrım ince çizgi ve boşlukla. Makale metni (.gd-prose) sakin başlıklarla okunur; ekran görüntüleri hafif çerçeveli.
 */

/* ============================================================ Ana sayfa: başlık ve arama */
.gd-hero { padding-block: clamp(20px, 3vw, 36px) clamp(24px, 3.4vw, 40px); }
.gd-hero__in { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.gd-hero__in .crumbs ol { justify-content: center; }
.gd-hero__t { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); }
.gd-hero__in .lead { max-width: 58ch; color: var(--ink-2); }
.gd-search {
  position: relative; display: flex; align-items: center; gap: 8px; width: min(100%, 680px); margin-top: 6px;
  padding: 6px 6px 6px 48px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 15, 18, .04); transition: border-color .2s, box-shadow .2s;
}
.gd-search:focus-within { border-color: color-mix(in srgb, var(--t-500) 50%, var(--line-2)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t-100) 70%, transparent); }
.gd-search__ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-4); display: grid; }
.gd-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; font-size: 1.0625rem; color: var(--ink); }
.gd-search input::placeholder { color: var(--ink-4); }
.gd-search input::-webkit-search-cancel-button { cursor: pointer; }
.gd-search__k { display: none; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; font: 600 .75rem/1.4 var(--f-sans); color: var(--ink-4); }
@media (min-width: 760px) { .gd-search__k { display: inline-block; } }
.gd-pop { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 18px; max-width: 820px; font-size: var(--fs-sm); color: var(--ink-4); }
.gd-pop a { color: var(--ink-2); font-weight: 500; text-decoration: none; }
.gd-pop a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .22em; }

/* Sonuçlar: çizgiyle ayrılmış sade liste */
.gd-results { max-width: calc(820px + var(--gutter) * 2); padding-bottom: 32px; }
.gd-results__h { margin-bottom: 8px; font-size: .9375rem; font-weight: 600; color: var(--ink-3); }
.gd-results__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.gd-hit { display: flex; flex-direction: column; gap: 3px; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.gd-hit:hover { color: var(--ink); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.gd-hit b { font-weight: 600; font-size: 1.0625rem; transition: color .2s; }
.gd-hit:hover b { color: var(--t-700); }
.gd-hit__b { font-size: .8125rem; font-weight: 500; color: var(--ink-4); }
.gd-hit__s { font-size: var(--fs-sm); color: var(--ink-3); }
.gd-hit mark { background: var(--t-100); color: inherit; border-radius: 3px; padding: 0 2px; }
.gd-results__none { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); color: var(--ink-2); }

/* Buradan başlayın */
.gd-start { margin-bottom: clamp(8px, 2vw, 16px); }
.gd-start__in { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: color-mix(in srgb, var(--t-50) 65%, #fff); }
@media (min-width: 960px) { .gd-start__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 36px; } }
.gd-start__head { display: flex; flex-direction: column; gap: 8px; }
.gd-start__head .body { color: var(--ink-3); }
.gd-start__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .gd-start__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gd-start__list a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--t-200) 40%, var(--line)); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.gd-start__list a:hover { border-color: color-mix(in srgb, var(--t-500) 40%, var(--line)); color: var(--ink); }
.gd-start__list a > .ic { margin-left: auto; color: var(--ink-4); flex: none; transition: transform .25s var(--ease), color .2s; }
.gd-start__list a:hover > .ic { color: var(--t-600); transform: translateX(2px); }
.gd-start__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--t-100); color: var(--t-700); font-size: .875rem; font-weight: 650; flex: none; }
.gd-start__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gd-start__t b { font-weight: 600; line-height: 1.3; }
.gd-start__t small { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Bölüm kartları: beyaz zemin, ince çizgi, ton yalnız ikonda */
.gd-secs { padding-top: clamp(28px, 4vw, 48px); }
.gd-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .gd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.gd-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .25s; }
.gd-card:hover { border-color: color-mix(in srgb, var(--t-500) 28%, var(--line)); }
.gd-card__head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.gd-card__head:hover { color: var(--t-700); }
.gd-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--t-50); color: var(--t-600); flex: none; }
.gd-card__tt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gd-card__tt b { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.gd-card__tt small { font-size: .8125rem; color: var(--ink-4); font-weight: 500; }
.gd-card__s { font-size: .9375rem; color: var(--ink-3); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-card__list { list-style: none; margin: 2px 0 0; padding: 8px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.gd-card__list li { min-width: 0; }
.gd-card__list a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; padding: 5px 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; text-decoration: none; }
.gd-card__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.gd-card__all { margin-top: auto; padding-top: 2px; align-self: flex-start; font-size: var(--fs-sm); }

/* ============================================================ Bölüm ve makale düzeni */
.gd-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding-block: clamp(16px, 2.6vw, 28px) clamp(64px, 8vw, 112px); }
@media (min-width: 1080px) {
  .gd-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 56px; }
  .gd-layout--article { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (min-width: 1280px) { .gd-layout--article { grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 56px; } }
.gd-main { min-width: 0; }
.gd-layout:not(.gd-layout--article) .gd-main { max-width: 820px; }
.gd-main .crumbs { margin-bottom: 16px; }

/* Yan menü: gri ikonlar, renk yalnız açık bölümde */
.gd-side { min-width: 0; }
@media (min-width: 1080px) {
  .gd-side { position: sticky; top: calc(var(--hdr) + var(--ann) + 14px); align-self: start; max-height: calc(100vh - var(--hdr) - var(--ann) - 28px); overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}
.gd-mini { display: flex; align-items: center; gap: 8px; height: 40px; margin-bottom: 14px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; background: var(--bg-2); color: var(--ink-4); transition: border-color .2s, background-color .2s; }
.gd-mini:focus-within { border-color: var(--line-2); background: #fff; }
.gd-mini input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: var(--fs-sm); color: var(--ink); }
.gd-nav__sum { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; color: var(--ink-2); cursor: pointer; list-style: none; }
.gd-nav__sum::-webkit-details-marker { display: none; }
@media (min-width: 1080px) { .gd-nav__sum { display: none; } }
.gd-nav__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 1px; }
@media (min-width: 1080px) { .gd-nav__list { margin-top: 0; } }
.gd-nav__link { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--ink-3); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .15s, background-color .15s; }
.gd-nav__link:hover { color: var(--ink); background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.gd-nav__link small { margin-left: auto; font-size: .75rem; color: var(--ink-4); font-weight: 500; opacity: 0; transition: opacity .15s; }
.gd-nav__link:hover small, .gd-nav__sec.is-on > .gd-nav__link small { opacity: 1; }
.gd-nav__ic { display: grid; place-items: center; width: 18px; height: 18px; color: var(--ink-4); flex: none; transition: color .15s; }
.gd-nav__link:hover .gd-nav__ic, .gd-nav__sec.is-on .gd-nav__ic { color: var(--t-600); }
.gd-nav__sec.is-on > .gd-nav__link { color: var(--ink); font-weight: 600; }
.gd-nav__sub { margin: 2px 0 12px 16px; padding-left: 12px; border-left: 1px solid var(--line); }
.gd-nav__g { margin: 12px 0 2px; font-size: .75rem; font-weight: 600; color: var(--ink-4); }
.gd-nav__sub ul { list-style: none; margin: 0; padding: 0; display: grid; }
.gd-nav__sub a { display: block; margin-left: -13px; padding: 5px 8px 5px 12px; border-left: 2px solid transparent; color: var(--ink-3); font-size: .875rem; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s; }
.gd-nav__sub a:hover { color: var(--ink); border-left-color: var(--line-2); }
.gd-nav__sub a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--t-500); }

/* Bölüm başlığı ve makale listesi */
.gd-shead { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.gd-shead__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--t-50); color: var(--t-600); flex: none; }
.gd-shead .lead { margin-top: 8px; color: var(--ink-2); }
.gd-shead__meta { margin-top: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-4); }
.gd-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.gd-jump a { padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.gd-jump a:hover { background: var(--t-50); color: var(--t-700); }
.gd-jump small { margin-left: 2px; color: var(--ink-4); }
.gd-group { margin-bottom: 36px; scroll-margin-top: calc(var(--hdr) + var(--ann) + 24px); }
.gd-group__t { margin-bottom: 6px; font-size: 1.125rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.gd-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.gd-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.gd-row:hover { color: var(--ink); background: color-mix(in srgb, var(--bg-2) 55%, transparent); }
.gd-row__n { width: 22px; padding-top: 2px; color: var(--ink-4); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; flex: none; }
.gd-row__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.gd-row__b b { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; transition: color .2s; }
.gd-row:hover .gd-row__b b { color: var(--t-700); }
.gd-row__s { font-size: .9375rem; color: var(--ink-3); line-height: 1.55; }
.gd-row__p { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; color: var(--ink-4); }
.gd-row__go { margin-top: 3px; color: var(--ink-4); opacity: .6; transition: transform .3s var(--ease), color .2s, opacity .2s; flex: none; }
.gd-row:hover .gd-row__go { transform: translateX(3px); color: var(--t-600); opacity: 1; }

/* ============================================================ Makale */
.gd-ahead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.gd-ahead__g { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.gd-ahead__g:hover { color: var(--t-700); }
.gd-ahead__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--t-50); color: var(--t-600); }
.gd-ahead .h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem); }
.gd-ahead .lead { max-width: 62ch; color: var(--ink-2); }
.gd-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 2px 0 0; font-size: var(--fs-sm); }
.gd-meta > div { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.gd-meta dt { display: inline-flex; align-items: center; gap: 5px; flex: none; font-weight: 500; color: var(--ink-4); }
.gd-meta dt .ic { color: var(--ink-4); }
.gd-meta dd { margin: 0; color: var(--ink-2); font-weight: 500; }

/* Makale metni: anlatım önde, başlıklar sakin */
.gd-prose { max-width: 70ch; }
.gd-prose h2 { font-family: var(--f-sans); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.5rem); font-weight: 650; line-height: 1.3; letter-spacing: -.012em; margin-top: 2.2em; }
.gd-prose h3 { font-size: 1.125rem; font-weight: 650; margin-top: 1.8em; }
.gd-prose .steps-list li { padding-left: 42px; }
.gd-prose .steps-list li::before { top: .12em; width: 26px; height: 26px; border: 0; background: var(--t-50); color: var(--t-700); font-family: var(--f-sans); font-size: .8125rem; font-weight: 650; }
.gd-prose .steps-list li + li { margin-top: 1em; }
.gd-prose ul.check-list li::before { background-color: color-mix(in srgb, var(--t-500) 70%, #fff); }
.gd-prose .callout { gap: 12px; padding: 16px 18px; border: 0; border-radius: 14px; background: var(--bg-2); color: var(--ink-2); font-size: 1rem; }
.gd-prose .callout--tip { background: color-mix(in srgb, var(--accent-soft) 55%, #fff); }
.gd-prose .callout--warning { background: color-mix(in srgb, var(--warn-soft) 60%, #fff); }
.gd-prose .callout__title { color: var(--ink); font-weight: 650; }
.gd-prose table { border-top-color: var(--line-2); }
.gd-prose code { border-color: transparent; }
/* Ekran görüntüleri (shots.css'ten sonra gelir; seçici bir kademe güçlü) */
.gd-art .gd-prose .shot { margin-block: 2em; }
.gd-art .gd-prose .shot__frame img { border-color: color-mix(in srgb, var(--line) 85%, transparent); background: #f7f7f9; box-shadow: 0 1px 2px rgba(15, 15, 18, .04); }

/* İçindekiler */
.gd-toc { min-width: 0; }
.gd-toc--side { display: none; }
@media (min-width: 1280px) {
  .gd-toc--side { display: block; position: sticky; top: calc(var(--hdr) + var(--ann) + 18px); align-self: start; max-height: calc(100vh - var(--hdr) - var(--ann) - 36px); overflow-y: auto; scrollbar-width: thin; }
  .gd-toc--inline { display: none; }
}
.gd-toc__h { margin-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--ink-4); letter-spacing: .02em; }
.gd-toc__list { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--line); }
.gd-toc__list a { display: block; margin-left: -1px; padding: 4px 10px; border-left: 2px solid transparent; color: var(--ink-4); font-size: .8125rem; line-height: 1.4; text-decoration: none; transition: color .15s, border-color .15s; }
.gd-toc__list .is-sub a { padding-left: 20px; }
.gd-toc__list a:hover { color: var(--ink-2); }
.gd-toc__list a.is-on { border-left-color: var(--t-500); color: var(--ink); font-weight: 600; }
.gd-toc--inline { margin-bottom: 24px; padding: 2px 16px; border-radius: 14px; background: var(--bg-2); }
.gd-toc--inline summary { padding: 10px 0; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.gd-toc--inline summary small { margin-left: 6px; color: var(--ink-4); font-weight: 500; }
.gd-toc--inline nav { padding-bottom: 12px; }
.gd-toc--inline .gd-toc__list a { color: var(--ink-3); font-size: .875rem; }

/* İlgili, önceki / sonraki */
.gd-rel { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.gd-rel__t { margin-bottom: 8px; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.gd-rel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gd-rel__list a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.gd-rel__list a .ic { color: var(--ink-4); }
.gd-rel__list a:hover { color: var(--t-700); text-decoration: underline; text-underline-offset: .2em; }
.gd-rel__list a:hover .ic { color: var(--t-600); }
.gd-rel__feat { margin-top: 10px; }
.gd-pn { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .gd-pn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gd-pn__a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.gd-pn__a:hover { border-color: color-mix(in srgb, var(--t-500) 35%, var(--line)); color: var(--ink); }
.gd-pn__a small { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 500; color: var(--ink-4); }
.gd-pn__a b { font-weight: 600; line-height: 1.35; }
.gd-pn__a--next { text-align: right; align-items: flex-end; }
.gd-help { margin-top: 22px; font-size: var(--fs-sm); color: var(--ink-4); }

/* Bölüm kartı (10.11.2026): açıklama ile rehber bağlantıları birbirinden ayrılsın — açıklama küçük ve soluk düz metin,
 * bağlantılar koyu yazı + grup tonunda ok işareti; üzerine gelince ton rengi ve alt çizgi */
.gd-card__s { font-size: .875rem; line-height: 1.5; color: var(--ink-4); }
.gd-card__list { padding-top: 10px; gap: 2px; }
.gd-card__list a { position: relative; padding: 5px 0 5px 20px; color: var(--ink); font-weight: 550; font-size: .9063rem; }
.gd-card__list a::before {
  content: ""; position: absolute; left: 3px; top: calc(5px + .62em); width: 6px; height: 6px;
  border-top: 1.75px solid var(--t-500); border-right: 1.75px solid var(--t-500); transform: translateY(-50%) rotate(45deg);
}
.gd-card__list a:hover { color: var(--t-700); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
