/* TeknoDB gelişmiş editör içerik stilleri (v3.7.0): Hub konuları/rehberleri, haber içeriği ve editörün kendi içi aynı görünür. */
.tdb-rich{line-height:1.7;word-wrap:break-word;overflow-wrap:anywhere}
:root{--tr-ink:#16181d;--tr-mut:#5b6472;--tr-line:#e3e6eb;--tr-soft:#f6f7f9;--tr-head:#16181d;--tr-headink:#fff;
  --tb-info:#2563eb;--tb-info-bg:#eff5ff;--tb-warn:#ea580c;--tb-warn-bg:#fff6ed;--tb-danger:#c8102e;--tb-danger-bg:#fff1f2;
  --tb-ok:#16a34a;--tb-ok-bg:#effcf3;--tb-tip:#7c3aed;--tb-tip-bg:#f6f0ff}
.tdb-rich h2,.tdb-rich h3,.tdb-rich h4,.tdb-rich h5,.tdb-rich h6{line-height:1.3;margin:1.4em 0 .5em;scroll-margin-top:90px}
.tdb-rich h2{font-size:1.45em}.tdb-rich h3{font-size:1.22em}.tdb-rich h4{font-size:1.08em}.tdb-rich h5,.tdb-rich h6{font-size:1em}
.tdb-rich p{margin:0 0 1em}
.tdb-rich ul,.tdb-rich ol{margin:0 0 1em;padding-left:1.4em}
.tdb-rich li{margin:.2em 0}
.tdb-rich blockquote{margin:1.2em 0;padding:.6em 1em;border-left:4px solid var(--tr-line);color:var(--tr-mut);background:var(--tr-soft);border-radius:0 8px 8px 0}
.tdb-rich pre{background:#0f172a;color:#e2e8f0;padding:12px 14px;border-radius:8px;overflow:auto;font-size:.9em}
.tdb-rich code{background:var(--tr-soft);padding:.1em .35em;border-radius:4px;font-size:.92em}
.tdb-rich pre code{background:none;padding:0}
.tdb-rich hr{border:0;border-top:1px solid var(--tr-line);margin:1.6em 0}
.tdb-rich a{text-decoration:underline;text-underline-offset:2px}
.tdb-rich img{max-width:100%;height:auto;border-radius:8px}
.tdb-rich figure{margin:1.2em 0}
.tdb-rich figcaption{font-size:.86em;color:var(--tr-mut);text-align:center;padding-top:6px}
.tdb-rich .tdb-img-left,.tdb-rich figure.tdb-img-left{float:left;max-width:45%;margin:.3em 1.2em .8em 0}
.tdb-rich .tdb-img-right,.tdb-rich figure.tdb-img-right{float:right;max-width:45%;margin:.3em 0 .8em 1.2em}
.tdb-rich .tdb-img-wide,.tdb-rich figure.tdb-img-wide{display:block;width:100%}
.tdb-rich .tdb-img-wide img{width:100%}
.tdb-rich::after{content:"";display:table;clear:both}

/* kutular */
.tdb-box{--c:var(--tb-info);--b:var(--tb-info-bg);border:1px solid color-mix(in srgb,var(--c) 30%,transparent);border-left:4px solid var(--c);background:var(--b);border-radius:10px;padding:12px 16px;margin:1.2em 0}
.tdb-box>:last-child{margin-bottom:0}
.tdb-box strong:first-child{color:var(--c)}
.tdb-box--warn{--c:var(--tb-warn);--b:var(--tb-warn-bg)}
.tdb-box--danger{--c:var(--tb-danger);--b:var(--tb-danger-bg)}
.tdb-box--ok{--c:var(--tb-ok);--b:var(--tb-ok-bg)}
.tdb-box--tip{--c:var(--tb-tip);--b:var(--tb-tip-bg)}

.tdb-steps{list-style:none;counter-reset:tdbs;padding-left:0!important}
.tdb-steps>li{counter-increment:tdbs;position:relative;padding:4px 0 12px 46px;margin:0!important}
.tdb-steps>li::before{content:counter(tdbs);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:var(--tr-head);color:var(--tr-headink);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.9em}
.tdb-steps>li:not(:last-child)::after{content:"";position:absolute;left:15px;top:36px;bottom:2px;width:2px;background:var(--tr-line)}

.tdb-proscons,.tdb-fit{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:1.2em 0}
.tdb-pros,.tdb-cons,.tdb-fit-yes,.tdb-fit-no{border-radius:10px;padding:12px 16px;border:1px solid var(--tr-line)}
.tdb-pros,.tdb-fit-yes{background:var(--tb-ok-bg);border-color:color-mix(in srgb,var(--tb-ok) 30%,transparent)}
.tdb-cons,.tdb-fit-no{background:var(--tb-danger-bg);border-color:color-mix(in srgb,var(--tb-danger) 30%,transparent)}
.tdb-pros>p:first-child strong,.tdb-fit-yes>p:first-child strong{color:var(--tb-ok)}
.tdb-cons>p:first-child strong,.tdb-fit-no>p:first-child strong{color:var(--tb-danger)}
.tdb-proscons ul,.tdb-fit ul{margin-bottom:0}
.tdb-proscons>div>:last-child,.tdb-fit>div>:last-child{margin-bottom:0}

.tdb-acc{border:1px solid var(--tr-line);border-radius:10px;margin:1em 0;background:var(--tr-soft)}
.tdb-acc>summary{cursor:pointer;padding:10px 14px;font-weight:700;list-style:none;position:relative;padding-right:36px}
.tdb-acc>summary::-webkit-details-marker{display:none}
.tdb-acc>summary::after{content:"+";position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:1.2em;color:var(--tr-mut)}
.tdb-acc[open]>summary::after{content:"−"}
.tdb-acc>:not(summary){padding:0 14px}
.tdb-acc>:last-child{padding-bottom:12px;margin-bottom:0}

.tdb-specs{border:1px solid var(--tr-line);border-radius:10px;padding:12px 16px;margin:1.2em 0;background:var(--tr-soft)}
.tdb-specs ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 18px}
.tdb-specs>:last-child{margin-bottom:0}

.tdb-check{list-style:none;padding-left:0!important}
.tdb-check>li{position:relative;padding-left:30px}
.tdb-check>li::before{content:"";position:absolute;left:0;top:.25em;width:18px;height:18px;border-radius:5px;background:var(--tb-ok);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6'/%3E%3C/svg%3E");}
.tdb-check>li::after{content:"";position:absolute;left:6px;top:calc(.25em + 3px);width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}

.tdb-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin:1.2em 0}
.tdb-gallery figure{margin:0}
.tdb-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* tablolar */
.tdb-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.2em 0;border-radius:10px}
.tdb-table{width:100%;border-collapse:collapse;font-size:.95em;margin:1.2em 0}
.tdb-tablewrap>.tdb-table{margin:0}
.tdb-table th,.tdb-table td{border:1px solid var(--tr-line);padding:8px 10px;text-align:left;vertical-align:top}
.tdb-table thead th{background:var(--tr-soft);font-weight:700}
.tdb-table--striped tbody tr:nth-child(even){background:var(--tr-soft)}
.tdb-table--head thead th,.tdb-table--compare thead th,.tdb-table--perf thead th{background:var(--tr-head);color:var(--tr-headink);border-color:var(--tr-head)}
.tdb-table--specs th{width:34%;background:var(--tr-soft);font-weight:600}
.tdb-table--compare tbody td:first-child{font-weight:600;background:var(--tr-soft)}
.tdb-table--proscons thead th:first-child{background:var(--tb-ok-bg);color:var(--tb-ok)}
.tdb-table--proscons thead th:last-child{background:var(--tb-danger-bg);color:var(--tb-danger)}
.tdb-table--perf td:nth-child(2){font-weight:700;font-variant-numeric:tabular-nums}
.tdb-table--interactive thead th{cursor:pointer;user-select:none;white-space:nowrap}
.tdb-table--interactive thead th[data-sort]::after{content:" ↕";opacity:.45;font-size:.85em}
.tdb-table--interactive thead th[data-sort="asc"]::after{content:" ↑";opacity:1}
.tdb-table--interactive thead th[data-sort="desc"]::after{content:" ↓";opacity:1}
.tdb-itools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:1.2em 0 6px}
.tdb-itools input{flex:1;min-width:160px;padding:7px 10px;border:1px solid var(--tr-line);border-radius:8px;background:transparent;color:inherit;font:inherit}
.tdb-itools button{padding:7px 12px;border:1px solid var(--tr-line);border-radius:8px;background:var(--tr-soft);color:inherit;font:inherit;cursor:pointer}
.tdb-itools+.tdb-tablewrap{margin-top:0}

@media (max-width:640px){
  .tdb-proscons,.tdb-fit{grid-template-columns:1fr}
  .tdb-rich .tdb-img-left,.tdb-rich .tdb-img-right{float:none;max-width:100%;margin:1em 0}
  .tdb-table{font-size:.88em}
  .tdb-table th,.tdb-table td{padding:6px 8px}
}

/* editörün kendisi (TinyMCE iframe gövdesi) */
body.tdb-rich{margin:14px 18px;font:16px/1.7 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--tr-ink);background:#fff}
body.tdb-rich .tdb-acc{display:block}
body.tdb-rich details.tdb-acc>*:not(summary){display:block}
.tdb-imp-rep p{margin:.3em 0}

/* koyu tema */
html[data-tdb="dark"],body.tdb-dark{--tr-ink:#e6e8eb;--tr-mut:#a3abb6;--tr-line:#2a2f38;--tr-soft:#1d2129;--tr-head:#e6e8eb;--tr-headink:#0e1014;
  --tb-info:#7aa7ff;--tb-info-bg:#14213a;--tb-warn:#fb923c;--tb-warn-bg:#2a1a0e;--tb-danger:#ff8a80;--tb-danger-bg:#2c1417;--tb-ok:#4ade80;--tb-ok-bg:#10261a;--tb-tip:#c4a5ff;--tb-tip-bg:#221838}
body.tdb-rich.tdb-dark{background:#171a20;color:#e6e8eb}

/* v3.8.0 taslak çubuğu ve durum satırı */
.tdb-draftbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;margin:0 0 8px;border:1px solid #f5c26b;background:#fff8e6;border-radius:10px;font-size:14px;color:#5a4300}
.tdb-draftbar span{flex:1;min-width:200px}
.tdb-draftbar button{border:1px solid #d9a441;background:#fff;color:#5a4300;border-radius:8px;padding:6px 10px;font:inherit;cursor:pointer}
.tdb-draftbar button[data-a="load"]{background:#5a4300;color:#fff;border-color:#5a4300}
.tdb-dstat{font-size:12px;color:#64748b;margin-top:4px;min-height:16px}
.tdb-dstat.err{color:#c8102e}
.tdb-revbar{padding:10px 12px;margin:0 0 8px;border:1px solid #93c5fd;background:#eff6ff;border-radius:10px;font-size:14px;color:#1e3a8a}
html[data-tdb="dark"] .tdb-draftbar{background:#2a2110;border-color:#6b5320;color:#f5d48a}
html[data-tdb="dark"] .tdb-draftbar button{background:#171a20;color:#f5d48a;border-color:#6b5320}
html[data-tdb="dark"] .tdb-draftbar button[data-a="load"]{background:#f5d48a;color:#171a20}
html[data-tdb="dark"] .tdb-revbar{background:#14213a;border-color:#2b4a80;color:#bcd3ff}
[data-bs-theme="dark"] .tdb-draftbar{background:#2a2110;border-color:#6b5320;color:#f5d48a}
[data-bs-theme="dark"] .tdb-draftbar button{background:#1e1e2d;color:#f5d48a;border-color:#6b5320}
.hn-revlink{font-weight:400;font-size:13px;margin-left:8px;display:inline-flex;gap:4px;align-items:center}
/* v3.13.0 sürüm farkı */
.tdb-diffbox{margin:10px 0}.tdb-diffbox>summary{cursor:pointer;font-weight:700;margin-bottom:6px}
.tdb-diff p{margin:0 0 8px;padding:4px 8px;border-radius:6px;line-height:1.6}
.tdb-diff .td-same{color:#6b7280}
.tdb-diff .td-del{background:#fef2f2}.tdb-diff .td-ins{background:#f0fdf4}
.tdb-diff del{background:#fecaca;color:#7f1d1d;text-decoration:line-through}
.tdb-diff ins{background:#bbf7d0;color:#14532d;text-decoration:none}
html[data-tdb="dark"] .tdb-diff .td-del,[data-bs-theme="dark"] .tdb-diff .td-del{background:#2c1417}
html[data-tdb="dark"] .tdb-diff .td-ins,[data-bs-theme="dark"] .tdb-diff .td-ins{background:#10261a}
html[data-tdb="dark"] .tdb-diff del,[data-bs-theme="dark"] .tdb-diff del{background:#5b1a1f;color:#fecaca}
html[data-tdb="dark"] .tdb-diff ins,[data-bs-theme="dark"] .tdb-diff ins{background:#14532d;color:#bbf7d0}
