/* Ajansly Studio · vector (yazı, şekil, kalem, yol, çerçeve). Önek: sd-vc- */

/* Tuval üstünde metin düzenleyici: metin saydam, imleç ve seçim görünür (görünüm tuvalden gelir) */
.sd-vc-ui { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.sd-vc-ed {
  position: absolute; z-index: 6; pointer-events: auto; margin: 0; padding: 0; border: 0; outline: none; resize: none;
  background: transparent; color: transparent; overflow: hidden; box-sizing: border-box; min-width: 2px;
  font-kerning: normal; text-rendering: optimizeLegibility; overflow-wrap: anywhere; word-break: normal; tab-size: 4;
  user-select: text; -webkit-user-select: text; cursor: text; text-align-last: auto;
}
.sd-vc-ed[style*="justify"] { text-align-last: left; }
.sd-vc-ed::selection { background: rgba(55, 142, 240, .38); color: transparent; }
.sd-vc-ed:focus, .sd-vc-ed:focus-visible { outline: none; box-shadow: none; }

/* Seçenek çubuğu */
.sd-vc-ogrp { display: inline-flex; align-items: center; gap: 6px; }
.sd-vc-ospace { flex: 1; min-width: 8px; }
.sd-vc-commit, .sd-vc-cancel { width: 28px; }
.sd-vc-commit { color: var(--ok); }
.sd-vc-cancel { color: var(--bad); }
.sd-vc-olbl { color: var(--tx2); white-space: nowrap; }
.sd-vc-osel { max-width: 120px; }
.sd-vc-opt-mini .sd-in { width: 46px; }

/* Kilit */
.sd-vc-lock { display: inline-grid; place-items: center; color: var(--warn); flex: none; }
.sd-vc-locknote { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--warn); font-size: 11.5px; }
.sd-vc-off { opacity: .55; }
.sd-vc-off .sd-scrub { cursor: default; pointer-events: none; }

/* Karakter / Paragraf */
.sd-vc-char .sd-prow > .sd-sel, .sd-vc-char .sd-prow > .sd-in { flex: 1; min-width: 0; }
.sd-vc-char .sd-grid2 { margin-bottom: 6px; }
.sd-vc-char .sd-vc-lead .sd-in { width: 80px; }
.sd-vc-char .sd-grid2 { grid-template-columns: auto 1fr; }
.sd-vc-toggles { display: flex; gap: 2px; margin-top: 4px; }
.sd-vc-tg { width: 28px; font: 600 13px "Times New Roman", Georgia, serif; color: var(--tx2); }
.sd-vc-tg.b { font-weight: 900; }
.sd-vc-tg.i { font-style: italic; }
.sd-vc-tg.c { font-size: 11.5px; letter-spacing: -.5px; }
.sd-vc-tg.u { text-decoration: underline; }
.sd-vc-tg.s { text-decoration: line-through; }
.sd-vc-tg.on { color: var(--tx); }
.sd-vc-tpl .sd-prow > .sd-lbl { width: 108px; }
.sd-vc-tpl .sd-prow > .sd-sel { flex: 1; min-width: 0; }
.sd-vc-n { width: 64px; }
.sd-vc-warn { gap: 6px; flex-wrap: wrap; }
.sd-vc-warn .sd-badge .sd-i { margin-right: 3px; }

/* Taşan metinler */
.sd-vc-oflist { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 3px; background: var(--in); }
.sd-vc-ofrow { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.sd-vc-ofname { flex: none; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-vc-oftext { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Boya kutusu (dolgu / kontur) */
.sd-vc-paint { position: relative; width: 26px; height: 20px; padding: 0; border: 1px solid var(--line2); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.35); cursor: pointer; flex: none; background-clip: padding-box; }
.sd-vc-paint:disabled { opacity: .45; cursor: default; }
.sd-vc-paint.stroke::after { content: ""; position: absolute; inset: 5px 7px; background: var(--bar); border: 1px solid rgba(0,0,0,.35); border-radius: 1px; }
.sd-vc-paint.none { background: #fff !important; }
.sd-vc-paint.none::before { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 2px; margin-top: -1px; background: #e34850; transform: rotate(-36deg); z-index: 1; }
.sd-vc-paint.none.stroke::after { display: none; }

/* Özel şekil seçici */
.sd-vc-cshape { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 4px; border: 1px solid var(--line); border-radius: 3px; background: var(--in); color: var(--tx); cursor: pointer; }
.sd-vc-cshape:hover { border-color: var(--line2); }

/* Yollar paneli */
.sd-vc-paths { display: flex; flex-direction: column; min-height: 100%; }
.sd-vc-plist { flex: 1; min-height: 40px; }
.sd-vc-prow { min-height: 40px; gap: 8px; }
.sd-vc-prow canvas { flex: none; width: 46px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 1px; }
.sd-vc-pname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-vc-pname.work { font-style: italic; }
.sd-vc-pempty { padding: 14px 12px; color: var(--tx3); }

/* Özellikler */
.sd-vc-props .sd-prow > .sd-sel { flex: 1; min-width: 0; }
.sd-vc-radii { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px 8px; align-items: center; }
.sd-vc-radii .sd-in { width: 44px; }
.sd-vc-thumb { width: 100%; height: 92px; border: 1px solid var(--line); border-radius: 2px; background: repeating-conic-gradient(#d0d0d0 0 25%, #f4f4f4 0 50%) 0 0 / 12px 12px; display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.sd-vc-thumb canvas, .sd-vc-thumb img { max-width: 100%; max-height: 100%; display: block; }
.sd-vc-scale { flex: 1; min-width: 0; accent-color: var(--acc); }
.sd-vc-btnrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
