/* PRD#chat-remote-terminal §5q — form & baris daftar snippet perintah. SATU gaya untuk Pengaturan
   (js/remote-servers.js) dan panel Snippet terminal (pages/terminal.html); markup dari
   js/remote-snippet-ui.js. Nilai = docs/guide/ui-design-system.md §7.4 (form consumer). */
.sn-form { display: grid; gap: 12px; }
.sn-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.sn-form.sn-compact .sn-grid { grid-template-columns: 1fr; }
.sn-label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.sn-input {
  display: block; width: 100%; box-sizing: border-box; padding: 8px 12px; margin: 0;
  border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #111827;
  font-family: inherit; font-size: 14px; line-height: 20px;
}
.sn-input::placeholder { color: #9ca3af; opacity: 1; }
.sn-input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 2px rgba(79, 70, 229, .1); }
/* Monospace HANYA untuk teks perintah yang diketik; placeholder tetap font biasa (§5q S2).
   line-height tetap 20px → tinggi input tidak berubah saat mulai mengetik. */
.sn-input.sn-cmd:not(:placeholder-shown) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
/* Dropdown bergaya input: tanpa latar/panah bawaan browser, chevron SVG inline di kanan. */
.sn-select-wrap { position: relative; }
.sn-select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; text-overflow: ellipsis; }
.sn-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #6b7280; pointer-events: none; display: inline-flex; }
.sn-err { font-size: 12px; color: #dc2626; }
.sn-err.hidden { display: none; }

/* Baris daftar: nama 13px/600 + perintah mono 12px satu baris (tooltip = perintah lengkap). */
.sn-text { min-width: 0; flex: 1 1 auto; display: block; }
.sn-name { display: block; font-size: 13px; font-weight: 600; line-height: 18px; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-cmdline { display: block; margin-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 16px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-meta { display: block; margin-top: 2px; font-size: 11px; line-height: 14px; color: #9ca3af; }
.sn-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.sn-actions { display: flex; gap: 4px; flex-shrink: 0; }
/* PRD#terminal-orchestration D-TO7 — keadaan kosong (sbSnippetUi.emptyHtml): teks di tengah vertikal + horizontal,
   tinggi = min-height .snip-list panel terminal (88px) supaya tak ada ruang kosong menumpuk di bawah. */
.sn-empty { display: flex; align-items: center; justify-content: center; min-height: 88px; box-sizing: border-box; padding: 12px; text-align: center; font-size: 12px; line-height: 16px; color: #6b7280; }

@media (max-width: 768px) {
  .sn-grid { grid-template-columns: 1fr; }
  .sn-input { min-height: 44px; }
}

/* Varian ringkas untuk baris "Standby" di kartu server (tampilan Server halaman Terminal). */
.sn-input.sn-sm { font-size: 13px; line-height: 18px; padding: 4px 28px 4px 10px; }
.sn-select-wrap .sn-sm + .sn-chevron { right: 8px; }

