/* ==========================================================================
   Kelola Form (form-kelola.php) & Editor Form (form-edit.php)
   Memakai kelas dasar dari css/form.css (.fm-*, .rk-*); berkas ini hanya gaya khusus halaman.
   ========================================================================== */

/* ---------- Umum ---------- */
.kl-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 10px; background: #0f172a; color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(15,23,42,.5); transition: opacity .2s, transform .2s;
}
.kl-toast.is-tampil { opacity: 1; transform: translate(-50%, 0); }
.kl-toast.is-galat { background: #b91c1c; }

.kl-btn-ikon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; flex: none;
  border: 1px solid #cbd5e1; background: #fff; color: #334155; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.kl-btn-ikon:hover { background: #f1f5f9; border-color: #94a3b8; }
.kl-btn-ikon:disabled { opacity: .4; cursor: not-allowed; }
.kl-btn-ikon:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0055a4; }
.kl-btn-ikon svg { width: 16px; height: 16px; }
.kl-btn-ikon.is-bahaya { color: #dc2626; }
.kl-btn-ikon.is-bahaya:hover { background: #fef2f2; border-color: #fca5a5; }

/* ---------- Modal ---------- */
.kl-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(15,23,42,.55); overflow-y: auto; overscroll-behavior: contain;
}
.kl-dlg {
  width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 22px 20px;
  box-shadow: 0 25px 60px -20px rgba(15,23,42,.6);
}
@media (min-width: 640px) { .kl-dlg { padding: 26px 28px; } }
.kl-dlg-lebar { max-width: 640px; }
.kl-dlg h2 { font-size: 20px; font-weight: 800; color: #0f172a; }
.kl-dlg-p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: #475569; }
.kl-dlg-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.kl-dlg ul.kl-daftar-masalah { margin: 10px 0 0 18px; list-style: disc; font-size: 14px; line-height: 1.5; }
.kl-dlg .fm-input { margin-top: 4px; }
.kl-ket { margin-top: 4px; font-size: 12.5px; color: #64748b; }
.kl-err { margin-top: 6px; font-size: 13px; font-weight: 600; color: #dc2626; }

.kl-templat { display: grid; gap: 8px; grid-template-columns: 1fr; margin-top: 6px; }
@media (min-width: 560px) { .kl-templat { grid-template-columns: 1fr 1fr; } }
.kl-tpl {
  display: block; text-align: left; width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.kl-tpl:hover { border-color: #94a3b8; }
.kl-tpl[aria-checked="true"] { border-color: #003366; background: #eff6ff; box-shadow: 0 0 0 3px rgba(0,51,102,.1); }
.kl-tpl:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0,85,164,.2); }
.kl-tpl b { display: block; font-size: 14.5px; color: #0f172a; }
.kl-tpl span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #64748b; }

/* ---------- Daftar form ---------- */
.kl-kartu { overflow: visible; }
.kl-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; border-radius: 16px 16px 0 0; }
.kl-bar-kanan { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 320px; justify-content: flex-end; }
.kl-bar-kanan .rk-cari { flex: 1 1 220px; max-width: 360px; min-width: 0; }
@media (max-width: 559px) {
  .kl-bar-kanan { justify-content: stretch; }
  .kl-bar-kanan .rk-cari { max-width: none; flex-basis: 100%; }
  .kl-bar-kanan .fm-btn { flex: 1 1 100%; min-height: 44px; }
}
.kl-tab { display: inline-flex; padding: 3px; border-radius: 10px; background: #e8eef5; max-width: 100%; overflow-x: auto; }
.kl-tab button {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #475569; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.kl-tab button:hover { color: #003366; }
.kl-tab button[aria-selected="true"] { background: #fff; color: #003366; box-shadow: 0 1px 3px rgba(15,23,42,.15); }
.kl-tab button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,85,164,.3); }

.kl-tabel-wrap { display: none; }
.kl-kartu-list { display: grid; gap: 0; }
@media (min-width: 820px) {
  .kl-tabel-wrap { display: block; overflow-x: auto; }
  .kl-kartu-list { display: none; }
}
.kl-tabel { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.kl-tabel th {
  position: sticky; top: 0; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #64748b; background: #f8fafc; border-bottom: 1px solid #e2e8f0; white-space: nowrap;
}
.kl-tabel td { padding: 13px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; background: #fff; }
.kl-tabel tbody tr:hover td { background: #f6faff; }
.kl-tabel tbody tr:last-child td { border-bottom: 0; }
.kl-tabel .kl-c-judul { min-width: 260px; max-width: 420px; }
.kl-tabel .kl-c-aksi { text-align: right; white-space: nowrap; }
.kl-tabel .kl-c-aksi > * { vertical-align: middle; }
.kl-tabel .kl-c-aksi .fm-btn { margin-left: 4px; }
.kl-judul { display: block; font-weight: 700; font-size: 15px; color: #0f172a; line-height: 1.35; overflow-wrap: anywhere; }
a.kl-judul:hover { color: #0055a4; }
.kl-link { display: block; margin-top: 2px; font-size: 12.5px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.kl-angka { font-variant-numeric: tabular-nums; font-weight: 700; color: #0f172a; }
.kl-angka small { font-weight: 500; color: #64748b; }
.kl-redup { font-size: 13px; color: #475569; }
.kl-redup small { display: block; color: #94a3b8; font-size: 12px; }

.kl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 9999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.kl-chip::before { content: ""; width: 7px; height: 7px; border-radius: 9999px; background: currentColor; }
.kl-chip.is-buka { background: #dcfce7; color: #15803d; }
.kl-chip.is-tutup { background: #fee2e2; color: #b91c1c; }
.kl-chip.is-jadwal { background: #fef3c7; color: #92400e; }
.kl-chip.is-arsip { background: #e2e8f0; color: #475569; }
.kl-chip-kecil { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9999px; background: #eff6ff; color: #1d4ed8; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.kl-chip-kecil::before { display: none; }

.kl-item { padding: 16px; border-bottom: 1px solid #f1f5f9; }
.kl-item:last-child { border-bottom: 0; }
.kl-item-atas { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.kl-item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; font-size: 13px; color: #475569; }
.kl-item-aksi { display: flex; gap: 8px; margin-top: 12px; }
.kl-item-aksi .fm-btn { flex: 1 1 0; min-height: 44px; }
.kl-item-aksi .kl-btn-ikon { width: 44px; height: 44px; }

.kl-kosong { padding: 44px 20px; text-align: center; }
.kl-kosong-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: #eff6ff; color: #003366; }
.kl-kosong-ico svg { width: 30px; height: 30px; }
.kl-kosong h3 { font-size: 18px; font-weight: 800; color: #0f172a; }
.kl-kosong p { margin: 6px auto 0; max-width: 420px; font-size: 14px; color: #64748b; line-height: 1.55; }
.kl-kosong .fm-btn { margin-top: 18px; }

.kl-menu {
  position: fixed; z-index: 250; min-width: 210px; padding: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(15,23,42,.35);
}
.kl-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  font-size: 14px; font-weight: 600; color: #1e293b; text-align: left; cursor: pointer;
}
.kl-menu button:hover:not(:disabled) { background: #f1f5f9; }
.kl-menu button:disabled { color: #94a3b8; cursor: not-allowed; }
.kl-menu button.is-bahaya { color: #dc2626; }
.kl-menu button.is-bahaya:hover:not(:disabled) { background: #fef2f2; }
.kl-menu button svg { width: 16px; height: 16px; flex: none; }
.kl-menu hr { margin: 4px 6px; border: 0; border-top: 1px solid #e2e8f0; }
@media (max-width: 639px) {
  .kl-menu { left: 12px !important; right: 12px; top: auto !important; bottom: 12px; border-radius: 16px; padding: 8px; }
  .kl-menu button { min-height: 48px; font-size: 15px; }
}

/* ---------- Editor: kerangka ---------- */
.fm-hero-edit { padding-bottom: 72px; }
.ed-kembali { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; margin-right: 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.ed-kembali:hover { color: #fff; }
.ed-kembali svg { width: 16px; height: 16px; }

.ed-bar {
  position: sticky; top: 64px; z-index: 40; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px 14px; margin-bottom: 14px; background: rgba(255,255,255,.96); border: 1px solid #e2e8f0; border-radius: 14px;
  box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); backdrop-filter: blur(6px);
}
.ed-bar-kiri, .ed-bar-kanan { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; min-width: 0; }
.ed-bar-kanan { margin-left: auto; }
@media (max-width: 559px) {
  .ed-bar { top: 56px; }
  .ed-bar-kanan { width: 100%; }
  .ed-bar-kanan .fm-btn { flex: 1 1 0; padding: 0 8px; min-height: 44px; }
  #edMeta { display: none; }
}
.ed-simpan-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 9999px; font-size: 12.5px; font-weight: 700; }
.ed-simpan-status::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: currentColor; }
.ed-simpan-status.is-bersih { background: #dcfce7; color: #15803d; }
.ed-simpan-status.is-kotor { background: #fef3c7; color: #92400e; }
.ed-simpan-status.is-proses { background: #e0f2fe; color: #0369a1; }

.ed-tab { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: #e8eef5; border-radius: 12px; overflow-x: auto; }
.ed-tab button {
  flex: 1 1 0; min-height: 42px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: #475569; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.ed-tab button:hover { color: #003366; }
.ed-tab button.is-aktif { background: #fff; color: #003366; box-shadow: 0 1px 3px rgba(15,23,42,.15); }
.ed-tab button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,85,164,.3); }
.ed-tab-hp { display: block; }
@media (min-width: 1024px) { .ed-tab-hp { display: none !important; } }

.ed-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .ed-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); } }
.ed-kanan { display: none; }
.ed-kanan.is-tampil { display: block; }
@media (min-width: 1024px) {
  .ed-kanan { display: block; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; }
}
.ed-prev-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; font-weight: 800; color: #003366; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px 14px 0 0; border-bottom: 0; }
.ed-prev { padding: 14px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 0 0 14px 14px; }
.ed-prev .fm-card { padding: 18px 16px; box-shadow: none; border-radius: 14px; }
.ed-prev-judul { margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #0a4a8a, #003366); }
.ed-prev-judul .fm-kicker { font-size: 11px; padding: 3px 10px; }
.ed-prev-judul h3 { margin-top: 8px; font-size: 18px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.ed-prev-judul p { margin-top: 4px; font-size: 13px; color: #ffd27f; font-weight: 600; }
.ed-prev-pesan { padding: 20px 8px; text-align: center; font-size: 14px; color: #64748b; }

.ed-pn.hidden { display: none; }
.ed-kartu { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.25); padding: 18px 16px; }
@media (min-width: 640px) { .ed-kartu { padding: 22px 24px; } }
.ed-kartu + .ed-kartu { margin-top: 14px; }
.ed-kartu h2 { font-size: 17px; font-weight: 800; color: #0f172a; }
.ed-kartu > .rk-sub { margin-bottom: 12px; }
.ed-field { margin-top: 14px; }
.ed-field:first-child { margin-top: 0; }
.ed-lbl { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: #334155; }
.ed-lbl small { font-weight: 500; color: #94a3b8; }
.ed-field .fm-input, .ed-soal-form .fm-input { padding: 10px 12px; font-size: 15px; }
textarea.fm-input { resize: vertical; min-height: 78px; line-height: 1.5; }
.ed-err { margin-top: 5px; font-size: 12.5px; font-weight: 600; color: #dc2626; }
.ed-err:empty { display: none; }
.ed-field.is-galat .fm-input, .ed-field.is-galat .ed-opsi-in input { border-color: #dc2626; }
.ed-warn { margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 12.5px; line-height: 1.5; }
.ed-warn:empty { display: none; }
.ed-dua { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ed-dua { grid-template-columns: 1fr 1fr; } .ed-tiga { grid-template-columns: 1fr 1fr 1fr; } }
.ed-tiga { display: grid; gap: 12px; grid-template-columns: 1fr; }
.ed-info { display: grid; gap: 8px 16px; grid-template-columns: 1fr; font-size: 14px; }
@media (min-width: 560px) { .ed-info { grid-template-columns: 150px 1fr; } }
.ed-info dt { font-weight: 700; color: #64748b; }
.ed-info dd { color: #0f172a; overflow-wrap: anywhere; }

/* ---------- Editor: bagian & soal ---------- */
.ed-bagian { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.25); overflow: hidden; }
.ed-bagian + .ed-bagian { margin-top: 14px; }
.ed-bagian-head { padding: 14px 14px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.ed-bagian-baris { display: flex; gap: 10px; align-items: center; }
.ed-bagian-no { flex: none; width: 32px; height: 32px; border-radius: 10px; background: #003366; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ed-bagian-judul { flex: 1; min-width: 0; }
.ed-bagian-judul .fm-input { font-weight: 700; padding: 9px 12px; font-size: 15px; }
.ed-bagian-aksi { display: flex; gap: 6px; flex: none; }
.ed-bagian-desk { margin-top: 10px; }
.ed-bagian-desk .fm-input { padding: 8px 12px; font-size: 14px; min-height: 0; }
.ed-bagian-isi { padding: 8px 10px 12px; }
.ed-kosong-soal { padding: 18px 8px; text-align: center; font-size: 14px; color: #64748b; }
.ed-bagian-foot { padding: 0 10px 12px; }

.ed-soal { margin-top: 8px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; }
.ed-soal.is-buka { border-color: #0055a4; box-shadow: 0 0 0 3px rgba(0,85,164,.1); }
.ed-soal.is-sembunyi > .ed-soal-baris { opacity: .6; }
.ed-soal.is-bermasalah { border-color: #fca5a5; }
.ed-soal-baris { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 10px; }
.ed-tipe-ico {
  flex: none; display: flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 9px; background: #eff6ff; color: #003366; font-size: 12px; font-weight: 800; letter-spacing: -.02em;
}
.ed-soal-ringkas { flex: 1; min-width: 0; text-align: left; background: transparent; border: 0; padding: 4px 0; cursor: pointer; border-radius: 6px; }
.ed-soal-ringkas:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,85,164,.3); }
.ed-soal-label { display: block; font-size: 14.5px; font-weight: 700; color: #0f172a; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ed-soal-label.is-kosong { color: #94a3b8; font-weight: 600; font-style: italic; }
.ed-soal-sub { display: block; margin-top: 2px; font-size: 12.5px; color: #64748b; }
.ed-soal-sub .ed-bdg { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 9999px; font-size: 11px; font-weight: 700; background: #f1f5f9; color: #475569; }
.ed-bdg.is-wajib { background: #fee2e2 !important; color: #b91c1c !important; }
.ed-bdg.is-sembunyi { background: #e2e8f0 !important; }
.ed-bdg.is-galat { background: #dc2626 !important; color: #fff !important; }
.ed-soal-aksi { display: flex; gap: 4px; flex: none; }
.ed-soal-aksi .kl-btn-ikon { width: 34px; height: 34px; }
.ed-soal-aksi .kl-btn-ikon svg { width: 15px; height: 15px; }
@media (max-width: 639px) {
  .ed-soal-baris { flex-wrap: wrap; }
  .ed-soal-ringkas { flex-basis: calc(100% - 50px); }
  .ed-soal-aksi { width: 100%; justify-content: flex-end; gap: 6px; padding-top: 4px; border-top: 1px dashed #e2e8f0; }
  .ed-soal-aksi .kl-btn-ikon { width: 42px; height: 40px; }
}
.ed-soal-form { padding: 4px 14px 16px; border-top: 1px solid #e2e8f0; }
.ed-soal-form .ed-field { margin-top: 12px; }
.ed-soal-form .ed-field:first-child { margin-top: 12px; }
.ed-cek { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; font-weight: 600; color: #1e293b; cursor: pointer; }
.ed-cek input { width: 20px; height: 20px; flex: none; accent-color: #003366; }
.ed-cek small { font-weight: 500; color: #64748b; }
.ed-cek-baris { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; }
.ed-id { margin-top: 12px; font-size: 12px; color: #94a3b8; overflow-wrap: anywhere; }
.ed-id code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; color: #475569; }
.ed-kunci { margin-top: 6px; font-size: 12.5px; color: #92400e; }

.ed-opsi-daftar { display: grid; gap: 6px; }
.ed-opsi { display: flex; gap: 6px; align-items: center; }
.ed-opsi-in { flex: 1; min-width: 0; }
.ed-opsi-in input { width: 100%; border: 1.5px solid #cbd5e1; border-radius: 8px; padding: 9px 12px; font-size: 15px; color: #0f172a; background: #fff; }
.ed-opsi-in input:focus { outline: none; border-color: #0055a4; box-shadow: 0 0 0 4px rgba(0,85,164,.14); }
.ed-opsi .kl-btn-ikon { width: 36px; height: 40px; }
.ed-opsi .kl-btn-ikon svg { width: 14px; height: 14px; }
.ed-opsi-tambah { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }

.ed-chk-grup { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-chk-grup label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ed-chk-grup label:has(input:checked) { border-color: #003366; background: #eff6ff; color: #003366; }
.ed-chk-grup input { accent-color: #003366; }

.ed-tambah { margin-top: 10px; }
.ed-picker { margin-top: 10px; padding: 14px; border: 1.5px dashed #94a3b8; border-radius: 12px; background: #f8fafc; }
.ed-picker-grup + .ed-picker-grup { margin-top: 14px; }
.ed-picker-grup h4 { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #64748b; }
.ed-picker-grid { display: grid; gap: 8px; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ed-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ed-pick {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border: 1.5px solid #e2e8f0; border-radius: 10px; background: #fff; text-align: left; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: #1e293b; transition: border-color .15s, background-color .15s;
}
.ed-pick:hover { border-color: #0055a4; background: #eff6ff; }
.ed-pick:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0,85,164,.2); }
.ed-pick .ed-tipe-ico { min-width: 30px; height: 30px; font-size: 11px; }
.ed-bagian-tambah { margin-top: 14px; }
.ed-tab button.has-galat::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 9999px; background: #dc2626; vertical-align: 2px; }
.kl-kartu-list { grid-template-columns: minmax(0, 1fr); }
.kl-item { min-width: 0; }
.kl-item-atas > div:first-child { flex: 1; min-width: 0; }
.kl-item-atas .kl-chip { flex: none; }
.kl-item-aksi .fm-btn { min-width: 0; padding: 0 8px; }
.kl-item-aksi .kl-btn-ikon { flex: none; }
.ed-bar { top: 120px; }
@media (min-width: 1024px) { .ed-kanan { top: 190px; max-height: calc(100vh - 210px); } }
@media (max-width: 767px) { .ed-bar { top: 70px; } }
