/* JSON dogrulayici: satir numarali duz metin editoru. Satir yuksekligi (20px) ve ust bosluk (12px)
   arac.js icindeki SATIR_Y / UST_BOSLUK ile ayni olmali. */
.jd { display: grid; gap: 12px; }
.jd-arac-cubugu { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }
.jd-grup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jd-grup .arac-dugme { width: auto; }
.arac-panel .jd-grup select {
  width: auto; min-height: 32px; height: 32px; padding: 0 30px 0 10px; font-size: 12.5px; border-radius: 7px;
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
}
.jd-onay { align-items: center; font-size: 13px; margin-left: 4px; }
.jd-onay input { margin-top: 0; }
.jd-gizli {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.jd-durum { overflow-wrap: anywhere; }
.jd-durum[data-durum=bekle]::before { animation: none; }
.jd-git {
  margin-left: 4px; padding: 2px 9px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface2); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer;
}
.jd-git:hover { border-color: var(--accent); color: var(--accent); }

.jd-editor {
  display: flex; height: 460px; min-height: 200px; resize: vertical; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.jd-satirlar {
  flex: none; min-width: 46px; margin: 0; padding: 12px 10px 12px 8px; overflow: hidden;
  text-align: right; color: var(--muted); background: var(--surface2); border-right: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 20px;
  user-select: none; opacity: .85;
}
.jd-satirlar b { color: #ef4444; font-weight: 700; }
.jd-alan { position: relative; flex: 1; min-width: 0; }
.jd-vurgu {
  position: absolute; left: 0; right: 0; height: 20px; pointer-events: none;
  background: color-mix(in srgb, #ef4444 16%, transparent); box-shadow: inset 3px 0 0 #ef4444;
}
.arac-panel .jd-alan textarea {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0;
  padding: 12px 14px; border: 0; border-radius: 0; background: transparent; resize: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 20px;
  white-space: pre; overflow: auto; tab-size: 4; box-shadow: none;
}
.arac-panel .jd-alan textarea:focus { box-shadow: none; }
.jd-editor:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
@media (max-width: 720px) {
  .jd-editor { height: 380px; }
  .jd-arac-cubugu { justify-content: flex-start; }
}
