/* Öğretmen Dosyam — bağımsız stil dosyası (Tailwind derlemesi gerektirmez). */
.tf-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 16px 64px; }
.tf-wrap--narrow { max-width: 860px; }
.tf-card { position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 18px; box-shadow: 0 4px 18px rgba(15,23,42,.05); }
.tf-card + .tf-card { margin-top: 16px; }
.tf-card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: #0f172a; }
.tf-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #0f172a; }
.tf-card p { margin: 0 0 8px; color: #334155; line-height: 1.6; font-size: 15px; }
.tf-muted { color: #64748b; font-size: 13px; line-height: 1.55; }
.tf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tf-two { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
@media (min-width: 1024px) { .tf-two { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); } }
.tf-section { margin-top: 32px; }
.tf-section > h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0 0 10px; }
.tf-section > p { color: #334155; line-height: 1.65; margin: 0 0 12px; }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; line-height: 1.2; border: 1px solid transparent; text-decoration: none; cursor: pointer; background: #fff; }
.tf-btn:focus-visible, .tf-step:focus-visible, .tf-item button:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.tf-btn--primary { background: #3a86ff; color: #fff; }
.tf-btn--primary:hover { background: #2563eb; }
.tf-btn--ghost { color: #1e3a8a; border-color: #cfdcf3; }
.tf-btn--ghost:hover { border-color: #3a86ff; color: #1d4ed8; }
.tf-btn--small { min-height: 36px; padding: 6px 11px; font-size: 13px; border-radius: 10px; }
.tf-btn--danger { color: #b91c1c; border-color: #fecaca; }
.tf-btn[disabled], .tf-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.tf-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tf-chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; }
.tf-chip--ready { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.tf-chip--create { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tf-chip--school { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.tf-chip--preparing { background: #f5f3ff; border-color: #ddd6fe; color: #5b21b6; }
.tf-chip--link { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
.tf-chip--off { background: #f1f5f9; border-color: #e2e8f0; color: #64748b; }
.tf-alert { border-radius: 14px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; line-height: 1.55; }
.tf-alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.tf-alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.tf-alert--info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.tf-alert ul { margin: 6px 0 0 18px; padding: 0; }

/* Sihirbaz adımları */
.tf-steps { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; padding: 2px; list-style: none; }
.tf-step { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 12px; border-radius: 12px; border: 1px solid #dbe4f0; background: #fff; color: #334155; font-weight: 800; font-size: 14px; text-decoration: none; }
.tf-step span { display: inline-flex; width: 24px; height: 24px; border-radius: 999px; align-items: center; justify-content: center; background: #eef2f7; font-size: 12px; }
.tf-step[aria-current="step"] { border-color: #3a86ff; color: #1d4ed8; background: #eff6ff; }
.tf-step[aria-current="step"] span { background: #3a86ff; color: #fff; }

/* Formlar */
.tf-form { display: grid; gap: 14px; }
.tf-form-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
@media (min-width: 720px) { .tf-form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.tf-field label, .tf-label { display: block; font-weight: 800; font-size: 14px; color: #0f172a; margin-bottom: 5px; }
.tf-field input[type=text], .tf-field input[type=search], .tf-field select, .tf-field textarea { width: 100%; min-height: 44px; border: 1px solid #d7dee8; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 15px; background: #fff; box-sizing: border-box; }
.tf-field textarea { min-height: 80px; }
.tf-field .tf-hint { margin-top: 4px; }
.tf-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.tf-check { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; }
.tf-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.tf-check strong { display: block; color: #0f172a; font-size: 14px; }
.tf-check:has(input:checked) { border-color: #3a86ff; background: #f5f9ff; }

/* Belgeler */
.tf-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.tf-toolbar input[type=search] { flex: 1 1 220px; min-height: 42px; border: 1px solid #d7dee8; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 14px; }
.tf-filter[aria-pressed="true"] { background: #eff6ff; border-color: #3a86ff; color: #1d4ed8; }
.tf-group { border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.tf-group > header { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
.tf-group > header h3 { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; display: flex; gap: 8px; align-items: center; }
.tf-group > header .tf-actions { gap: 4px; }
.tf-items { list-style: none; margin: 0; padding: 0; }
.tf-item { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; padding: 10px 14px; border-top: 1px solid #f1f5f9; align-items: start; }
.tf-item:first-child { border-top: 0; }
.tf-item[draggable=true] { cursor: grab; }
.tf-item.is-dragging { opacity: .5; background: #f5f9ff; }
.tf-item.is-off .tf-item-title { color: #64748b; }
.tf-item input[type=checkbox] { width: 19px; height: 19px; margin-top: 2px; }
.tf-item-title { font-weight: 800; color: #0f172a; font-size: 14.5px; }
.tf-item-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.tf-item-note { font-size: 12.5px; color: #64748b; margin-top: 3px; line-height: 1.5; }
.tf-item-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.tf-item-tools form { display: inline; }
.tf-item details { margin-top: 6px; }
.tf-item details summary { cursor: pointer; font-size: 13px; font-weight: 800; color: #1e3a8a; }
.tf-mini { border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px 9px; font: inherit; font-size: 13px; min-height: 36px; }
.tf-grid-table { border-collapse: collapse; font-size: 13px; margin-top: 8px; min-width: 560px; }
.tf-grid-table th, .tf-grid-table td { border: 1px solid #e2e8f0; padding: 3px; }
.tf-grid-table input { width: 100%; border: 0; padding: 5px; font: inherit; font-size: 13px; box-sizing: border-box; }
.tf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tf-move { border: 1px solid #e2e8f0; background: #fff; border-radius: 8px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #334155; }
.tf-sticky { position: sticky; bottom: 0; z-index: 5; background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb; padding: 10px 0; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }

/* Özet ve çıktı */
.tf-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.tf-stat { border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px; background: #fff; text-align: center; }
.tf-stat b { display: block; font-size: 22px; color: #0f172a; }
.tf-stat span { font-size: 12px; color: #64748b; font-weight: 700; }
.tf-outputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tf-output { border: 1px solid #e5e7eb; border-radius: 16px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.tf-output h3 { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; display: flex; gap: 8px; align-items: center; }
.tf-output p { margin: 0; font-size: 14px; color: #334155; line-height: 1.55; }
.tf-output form { margin-top: auto; }
.tf-preview { width: 100%; aspect-ratio: 210 / 297; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.tf-preview--land { aspect-ratio: 297 / 210; }
.tf-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tf-thumb { border: 2px solid #e2e8f0; border-radius: 14px; padding: 8px; background: #fff; cursor: pointer; display: block; }
.tf-thumb img { width: 100%; height: auto; display: block; border-radius: 8px; background: #f8fafc; }
.tf-thumb strong { display: block; font-size: 13px; margin-top: 6px; color: #0f172a; }
.tf-thumb:has(input:checked) { border-color: #3a86ff; background: #f5f9ff; }
.tf-thumb input { position: absolute; opacity: 0; pointer-events: none; }
.tf-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }

/* Panel listesi */
.tf-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tf-file h3 a { color: #0f172a; text-decoration: none; }
.tf-file h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.tf-file .tf-actions { position: relative; z-index: 1; }

/* Tanıtım sayfası */
.tf-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tf-role { border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px; background: #fff; }
.tf-role i { color: #3a86ff; margin-right: 6px; }
.tf-role strong { color: #0f172a; }
.tf-role p { margin: 6px 0 0; font-size: 13.5px; color: #475569; line-height: 1.5; }
.tf-supported { columns: 1; column-gap: 24px; }
@media (min-width: 760px) { .tf-supported { columns: 2; } }
.tf-supported section { break-inside: avoid; margin-bottom: 18px; }
.tf-supported h3 { font-size: 15px; font-weight: 800; color: #0f172a; margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
.tf-supported ul { list-style: none; margin: 0; padding: 0; }
.tf-supported li { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; padding: 5px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; color: #1e293b; }
.tf-supported li a { color: #1d4ed8; text-decoration: none; font-weight: 700; }
.tf-supported li small { color: #64748b; font-size: 12px; white-space: nowrap; }
.tf-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tf-shots figure { margin: 0; }
.tf-shots img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #e5e7eb; box-shadow: 0 6px 18px rgba(15,23,42,.08); background: #fff; }
.tf-shots figcaption { font-size: 13px; color: #475569; margin-top: 6px; text-align: center; font-weight: 700; }
.tf-faq details { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; padding: 12px 16px; margin-bottom: 10px; }
.tf-faq summary { cursor: pointer; font-weight: 800; color: #0f172a; }
.tf-faq p { margin: 8px 0 0; color: #334155; line-height: 1.65; }
.tf-note { border-left: 4px solid #f59e0b; background: #fffbeb; border-radius: 10px; padding: 10px 14px; color: #78350f; font-size: 14px; line-height: 1.6; }
.tf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Arama / durum süzgeci: display:grid, hidden özniteliğini ezmesin. */
.tf-item[hidden], .tf-group[hidden] { display: none !important; }
