/* Çekirdek site formu: yalnız yerleşim. Tüm seçiciler :where() içinde (öncelik 0): sitenin stil.css kuralları her zaman kazanır. Yazı tipi ve renkler sitenin kendisinden gelir (inherit / currentColor).
/* Dosya kutusunun durum kuralları (görünmez girdi, dolu kutuda simgenin gizlenmesi) bilerek :where dışında: sitenin genel input/svg kuralları ezmesin. */
   Her site kendi stil.css dosyasında .fx sınıflarını kendi diline göre ayrıca giydirir. */
:where(.fx) { --fx-cizgi: color-mix(in srgb, currentColor 28%, transparent); --fx-zemin: color-mix(in srgb, currentColor 4%, transparent); font: inherit; color: inherit; }
:where(.fx-izgara) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
:where(.fx-alan) { display: grid; gap: 7px; min-width: 0; }
:where(.fx-genis) { grid-column: 1 / -1; }
:where(.fx-etiket) { font-size: .875em; font-weight: 600; letter-spacing: .01em; }
:where(.fx-etiket b) { color: inherit; opacity: .55; font-weight: 600; }
:where(.fx-etiket small) { font-weight: 400; opacity: .6; font-size: .9em; }
:where(.fx input), :where(.fx select), :where(.fx textarea) {
  font: inherit; color: inherit; width: 100%; box-sizing: border-box; min-height: 48px; padding: 11px 14px;
  background: var(--fx-zemin); border: 1px solid var(--fx-cizgi); border-radius: 6px; appearance: none; -webkit-appearance: none;
}
:where(.fx select) { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
:where(.fx textarea) { min-height: 120px; resize: vertical; line-height: 1.5; }
:where(.fx input:focus-visible), :where(.fx select:focus-visible), :where(.fx textarea:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }
:where(.fx-eksik input), :where(.fx-eksik select), :where(.fx-eksik textarea) { border-color: #C0392B; box-shadow: 0 0 0 1px #C0392B; }
:where(.fx-onay) { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: .875em; line-height: 1.5; cursor: pointer; }
:where(.fx-onay input) { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; border-radius: 4px; appearance: auto; -webkit-appearance: checkbox; accent-color: currentColor; }
:where(.fx-onay a) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
:where(.fx-eksik.fx-onay span) { text-decoration: underline wavy #C0392B; text-underline-offset: 4px; }
:where(.fx-alt) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
:where(.fx-gonder) { cursor: pointer; min-height: 48px; }
:where(.fx-gonder:disabled) { opacity: .6; cursor: progress; }
:where(.fx-durum) { margin: 0; font-size: .9em; flex: 1 1 220px; }
:where(.fx-durum.fx-hata) { color: #B42318; }
:where(.fx-tamam) { padding: 22px 24px; border: 1px solid var(--fx-cizgi, currentColor); border-radius: 8px; line-height: 1.55; font-weight: 600; }
:where(.fx-tamam:focus) { outline: none; }
:where(.fx-tuzak) { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { :where(.fx-izgara) { grid-template-columns: 1fr; } }
:where(.fx-ipucu) { font-size: .8em; opacity: .7; line-height: 1.4; }
:where(.fx-dosya) { position: relative; display: block; }
.fx .fx-dosya-girdi { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; opacity: 0; cursor: pointer; border: 0; z-index: 1; }
:where(.fx-dosya-kutu) { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 120px; padding: 18px; border: 1.5px dashed var(--fx-cizgi); border-radius: 10px; background: var(--fx-zemin); text-align: center; transition: border-color .2s, background-color .2s; }
:where(.fx-dosya-kutu svg) { opacity: .7; }
:where(.fx-dosya-dugme) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 8px; font-weight: 600; }
:where(.fx-dosya-surukle) { font-size: .85em; opacity: .65; }
:where(.fx-dosya:hover .fx-dosya-kutu), :where(.fx-surukle .fx-dosya-kutu) { border-style: solid; border-color: currentColor; }
:where(.fx-dosya-girdi:focus-visible + .fx-dosya-kutu) { outline: 2px solid currentColor; outline-offset: 2px; }
:where(.fx-dosya-liste) { display: grid; gap: 8px; }
:where(.fx-dosya-liste:empty) { display: none; }
:where(.fx-dosya-oge) { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 6px 6px 6px; border: 1px solid var(--fx-cizgi); border-radius: 10px; background: var(--fx-zemin); }
:where(.fx-dosya-oge img), :where(.fx-dosya-oge i) { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; display: grid; place-items: center; font: 600 11px/1 system-ui, sans-serif; font-style: normal; letter-spacing: .04em; background: var(--fx-cizgi); }
:where(.fx-dosya-ad) { display: grid; min-width: 0; font-size: .9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(.fx-dosya-ad small) { opacity: .65; font-size: .9em; }
:where(.fx .fx-dosya-sil) { width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
:where(.fx .fx-dosya-sil:hover) { background: var(--fx-cizgi); }
:where(.fx-dosya-sayi) { font-size: .8em; opacity: .65; }
:where(.fx-dosya-dolu .fx-dosya-kutu) { min-height: 0; grid-auto-flow: column; padding: 10px; }
.fx-dosya-dolu .fx-dosya-kutu svg, .fx-dosya-dolu .fx-dosya-surukle { display: none; }
