/* vetor.css — só para a ferramenta Imagem → SVG. A caixa de envio, os botões e as cores vêm do tk.css (família img). */
.vt { --vt-acc: var(--fam-fg); }
.vt-opts { margin: 16px 0 0; display: grid; gap: 14px; }
.vt-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.vt-presets legend { font-weight: 650; margin-bottom: 6px; padding: 0; }
.vt-presets label { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: var(--bg); font-weight: 600; }
.vt-presets label small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.vt-presets input { accent-color: var(--vt-acc); margin: 0 6px 0 0; }
.vt-presets label:has(input:checked) { border-color: var(--vt-acc); background: color-mix(in srgb, var(--fam-bg) 40%, var(--surface)); }
.vt-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 15px; }
.vt-row label { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vt-row small { font-size: 13px; color: var(--muted); }
.vt-row input { accent-color: var(--vt-acc); }
.vt-row input[type=range] { max-width: 160px; }
.vt-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); vertical-align: middle; }
.vt-hint { font-size: 14px; color: var(--muted); margin: 0; }
.vt-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.vt-pane { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; min-width: 0; }
.vt-pane h3 { margin: 0; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface); }
.vt-view { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: auto; }
.vt-view canvas, .vt-view img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.vt-view canvas { cursor: crosshair; }
.vt-zoomed .vt-view { align-items: flex-start; justify-content: flex-start; }
.vt-zoomed .vt-view canvas, .vt-zoomed .vt-view img { max-width: none; max-height: none; width: 300%; height: auto; }
.vt-check .vt-view { background: repeating-conic-gradient(#e7e7e7 0 25%, #fff 0 50%) 0 0 / 20px 20px; }
.vt-busy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--surface) 80%, transparent); font-weight: 600; }
.vt-actions { align-items: center; }
@media (max-width: 640px) { .vt-result { grid-template-columns: 1fr; } }
