/* NOBAR-MVP-262 · ADR-0162 (SESI-QGvUoq): Pembungkusan satu layar — kanvas "Rancangan dasbor NOBAR", papan Pembungkusan.
   Semua aturan di bawah .km-m-satu / .kms*, jadi tampilan lama (tab Screenshot, Editor, Metadata, …) tidak tersentuh. */

/* ---- mode satu layar: kepala & tab lama disembunyikan, panel selebar layar */
.km.km-m-satu { grid-template-columns: minmax(0, 1fr); }
.km.km-m-satu > .km-main { grid-column: 1; }
.km.km-m-satu .km-tabs, .km.km-m-satu .km-kepala-baris { display: none; }
.km.km-m-satu #kmAjuPanel { display: none; }
.km.km-m-satu.kms-aju-buka #kmAjuPanel { display: flex; }
.km.km-studio-root .km-tab[data-kmtab="satu"] { font-weight: 650; border-color: var(--accent); color: var(--accent); }

.kms { display: flex; flex-direction: column; gap: 16px; max-width: 1360px; margin: 0 auto; width: 100%; }
.kms h1 { margin: 0; font-size: 22px; font-weight: 650; overflow-wrap: anywhere; }
.kms h2 { margin: 0; font-size: 16px; font-weight: 650; }
.kms button { font-family: inherit; cursor: pointer; }
.kms textarea { font-family: inherit; width: 100%; box-sizing: border-box; font-size: 16px; line-height: 1.45; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; resize: vertical; background: var(--surface); color: var(--text); }
.kms textarea[readonly] { background: var(--surface-2); color: var(--text-2); }
.kms button:focus-visible, .kms textarea:focus-visible, .kms summary:focus-visible, .kms-fab:focus-visible, .kms-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.kms-kepala { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.kms-judul { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kms-kecil { font-size: 13px; color: var(--text-2); }
.kms-simpan { color: var(--text-3); }
.kms-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kms-baris { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* tombol */
.kms-b { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.kms-b:hover { border-color: var(--accent); }
.kms-b:disabled { opacity: .6; cursor: default; border-color: var(--line); }
.kms-b-biru { background: var(--accent); border-color: var(--accent); color: #fff; }
.kms-b-hijau { background: var(--good-text); border-color: var(--good-text); color: #fff; }
:root[data-theme="dark"] .kms-b-hijau { color: #06210a; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])) .kms-b-hijau { color: #06210a; } }
.kms-b-kecil { min-height: 36px; padding: 0 12px; font-size: 13px; }
.kms-ajukan { padding: 0 18px; }
.kms-pil { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 650; }
.kms-pil.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.kms-pil-kotak { border-radius: 8px; font-size: 14px; }
.kms-status { font-size: 13px; font-weight: 650; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.kms-status-tunggu, .kms-status-ubah, .kms-status-revisi { background: color-mix(in srgb, var(--warning) 22%, var(--surface)); color: var(--warning-text); }
.kms-status-final { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }

/* menu lipat: Alat lain / ⋯ */
.kms-alat { position: relative; }
.kms-alat > summary { list-style: none; cursor: pointer; }
.kms-alat > summary::-webkit-details-marker { display: none; }
.kms-alat-isi { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 260px; max-width: calc(100vw - 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .22); padding: 6px; display: flex; flex-direction: column; }
.kms-alat-isi button { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--text); font-size: 14px; text-align: left; border-radius: 8px; }
.kms-alat-isi button:hover { background: var(--surface-2); }

/* baris kabar di atas */
.kms-atas { font-size: 14px; line-height: 1.5; border-radius: 8px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--warning) 18%, var(--surface)); color: var(--warning-text); overflow-wrap: anywhere; }
.kms-atas-ok { background: color-mix(in srgb, var(--good) 14%, var(--surface)); color: var(--good-text); }
.kms-atas-aksi { display: inline-flex; flex-wrap: wrap; gap: 8px; }

/* layar kosong */
.kms-kosong { background: var(--surface); border: 1px dashed var(--text-3); border-radius: 10px; padding: 72px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.kms-plus { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.kms-kosong-j { font-size: 18px; font-weight: 650; }
.kms-kosong-t { font-size: 14px; color: var(--text-2); max-width: 460px; line-height: 1.5; }
.kms-kosong-c { font-size: 13px; color: var(--text-2); max-width: 460px; line-height: 1.5; background: var(--surface-2); border-radius: 8px; padding: 10px 14px; }

/* dua kolom: tempat kerja + sisi */
.kms-dua { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.kms-utama { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.kms-sisi { flex: 1 1 300px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.kms-kartu { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kms-kerja-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.kms-kerja-j { display: flex; gap: 8px; align-items: center; }
.kms-kerja-aksi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kms-opsi-nama { font-size: 16px; font-weight: 650; }
.kms-lencana { font-size: 12px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); white-space: nowrap; }
.kms-lencana-abu { background: var(--surface-2); color: var(--text-2); }
.kms-pesan { font-size: 13px; line-height: 1.5; color: var(--warning-text); background: color-mix(in srgb, var(--warning) 18%, var(--surface)); border-radius: 8px; padding: 8px 12px; overflow-wrap: anywhere; }
.kms-catatan { font-size: 13px; line-height: 1.5; color: var(--text-2); background: var(--surface-2); border-radius: 8px; padding: 8px 12px; }
.kms-kerja-isi { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.kms-kiri { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.kms-kanan { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kms-f { display: flex; flex-direction: column; gap: 6px; }
.kms-f label, .kms-f-l { font-size: 13px; font-weight: 600; color: var(--text-2); }
/* NOBAR-MVP-0581 (Arbani 23 Okt "tombol numpuk2 bagian kanan kosong"): tiga tombol ganti gambar = satu grid rata di kolom kanan */
.kms-ganti { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kms-ganti > .kms-b { padding: 6px 8px; font-size: 13px; line-height: 1.25; text-align: center; white-space: normal; overflow-wrap: anywhere; }
/* NOBAR-MVP-0601 (Arbani 26 Okt): satu kotak besar untuk unggah — tempel, seret, atau klik (dialog berkas); hasil baca gambar di bawahnya */
.kms-taruh { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; width: 100%; min-height: 132px; padding: 16px 14px;
  border: 2px dashed var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); font: inherit; text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.kms-taruh:hover, .kms-taruh:focus-visible, .kms-taruh-atas { border-color: var(--accent); background: var(--accent-soft); }
.kms-taruh-ikon { font-size: 26px; line-height: 1; color: var(--accent); }
.kms-taruh b { font-size: 15px; font-weight: 600; }
.kms-taruh-ket { max-width: 100%; font-size: 12px; line-height: 1.4; color: var(--text-2); }
.kms-taruh-jalan { cursor: progress; border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.kms-taruh-putar { width: 22px; height: 22px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-top-color: var(--accent); animation: kmsPutar .8s linear infinite; }
@keyframes kmsPutar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kms-taruh-putar { animation: none; border-top-color: var(--accent); } }
.kms-taruh-hasil { font-size: 13px; line-height: 1.5; padding: 8px 12px; border-radius: 8px; overflow-wrap: anywhere; }
.kms-taruh-ok { color: var(--good-text); background: color-mix(in srgb, var(--good) 14%, var(--surface)); }
.kms-taruh-info { color: var(--text-2); background: var(--surface-2); }
.kms-ikut { font-size: 12px; line-height: 1.5; color: var(--text-2); background: var(--surface-2); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; }
.kms-ikut-aksi { background: transparent; padding: 0; }
.kms-f-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }   /* MVP-0578: label + 🏆 Benchmark judul */
.kms-hit { font-size: 12px; color: var(--text-2); }
.kms-belum { color: var(--warning-text); font-weight: 600; }
.kms-merah { color: var(--critical-text); font-weight: 600; }

/* thumbnail */
.kms-th { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; background: #232321; overflow: hidden; display: flex; align-items: flex-end; container-type: inline-size; }
.kms-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kms-th-ket { position: absolute; top: 10px; left: 12px; font-size: 12px; color: #c3c2b7; }
.kms-th-teks { position: relative; padding: 4cqw 5cqw; font-size: 7.4cqw; line-height: 1.08; font-weight: 800; color: #fff; text-transform: uppercase; overflow-wrap: anywhere;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .9); }

/* daftar opsi */
.kms-bawah { display: flex; flex-direction: column; gap: 8px; }
.kms-bawah-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.kms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.kms-opsi { white-space: normal; text-align: left; padding: 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); color: var(--text); display: flex; flex-direction: column; gap: 8px; min-height: 132px; min-width: 0; }
.kms-opsi:hover { border-color: var(--text-3); }
.kms-opsi-buka { border-color: var(--accent); }
.kms-opsi-final { border: 3px solid var(--good-text);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--good) 14%, var(--surface)) 0 12px, color-mix(in srgb, var(--good) 24%, var(--surface)) 12px 24px); }
.kms-opsi-tl { opacity: .8; border-style: dashed; }
.kms-opsi-h { display: flex; gap: 6px; align-items: center; justify-content: space-between; font-size: 13px; }
.kms-opsi-j { font-size: 14px; line-height: 1.35; font-weight: 550; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kms-opsi-t { font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kms-opsi-c { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; }
.kms-opsi-c > span { padding: 4px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kms-opsi-c .kms-c-ok b { color: var(--good-text); }
.kms-opsi-c .kms-c-bad b { color: var(--critical-text); }
.kms-opsi-c .kms-c-warn b { color: var(--warning-text); }
.kms-opsi-baru { border: 1px dashed var(--text-3); background: transparent; color: var(--accent); font-size: 14px; font-weight: 600; align-items: center; justify-content: center; gap: 6px; }
.kms-tl { align-self: flex-start; }
.kms-kelbar { display: flex; flex-direction: column; gap: 8px; }                  /* NOBAR-MVP-0602: Kelompokkan + Tampilkan kelompok */
.kms-kel-l { font-size: 13px; font-weight: 650; color: var(--text-2); }
.kms-kel-daftar { display: flex; flex-direction: column; gap: 16px; }
.kms-kel { display: flex; flex-direction: column; gap: 8px; }
.kms-kel-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.kms-kel-huruf { flex: none; min-width: 32px; height: 32px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent); font-size: 16px; }
.kms-kel-nama { flex: 1 1 200px; min-width: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kms-kel-n { font-size: 13px; color: var(--text-2); white-space: nowrap; }

/* hasil cek */
.kms-hasil-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.kms-hasil h2 { font-size: 15px; }
.kms-jalan { font-size: 13px; color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; }
.kms-cek { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.kms-cek-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.kms-nilai { font-size: 20px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.kms-n-ok { color: var(--good-text); }
.kms-n-warn { color: var(--warning-text); }
.kms-n-bad { color: var(--critical-text); }
.kms-cek-ket { font-size: 13px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.kms-temuan { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--critical) 10%, var(--surface)); display: flex; gap: 8px; align-items: flex-start; }
.kms-temuan > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.kms-no { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--critical-text); color: var(--surface); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kms-saran { font-size: 13px; line-height: 1.4; margin-top: 4px; }
.kms-saran ul { margin: 4px 0 0 18px; padding: 0; }
.kms-cek > .kms-b, .kms-cek > .kms-baris { margin-top: 6px; align-self: flex-start; }

/* benchmark */
.kms-bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.kms-bm { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text); text-decoration: none; }
.kms-bm-g { aspect-ratio: 16 / 9; border-radius: 8px; background: var(--line); overflow: hidden; display: block; }
.kms-bm-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kms-bm-kita .kms-th { border: 2px solid var(--accent); }
.kms-bm-n { font-size: 12px; font-weight: 650; color: var(--text-2); }
.kms-bm-j { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.kms-bm-c { font-size: 12px; color: var(--text-2); }
.kms-yt-baris { margin-top: 2px; }

/* langkah 2 */
.kms-open-b { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.kms-open-b .kms-hit { font-size: 13px; font-weight: 600; }
/* NOBAR-MVP-190: ▶ suara peramban · 🎙 suara VO ElevenLabs + pemutar MP3 kecil di bawah kotak pembuka */
.kms-vopl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.kms-vopl audio { height: 32px; flex: 1 1 220px; max-width: 100%; min-width: 0; }
.kms #kmsDesk { font-size: 15px; line-height: 1.55; }
.kms #kmsOpen { font-size: 15px; line-height: 1.5; }
.kms-diajukan h2 { font-size: 15px; }
.kms-diajukan-j { font-size: 14px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.kms-syarat { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.kms-tanda { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; font-weight: 650; }
.kms-tanda-ok { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }
.kms-tanda-belum { background: color-mix(in srgb, var(--critical) 12%, var(--surface)); color: var(--critical-text); }

/* ---- obrolan: SATU tombol di pojok kanan bawah; panel menempel di kanan dengan dua tab — Master control · Pesan tim (NOBAR-MVP-284 · ADR-0176).
   Tombol 💬 Pesan halaman disembunyikan di sini (fungsinya pindah ke tab "Pesan tim"); panel Pesan memakai tempat yang sama. */
:root { --kms-pl: min(400px, calc(100vw - 32px)); --kms-pt: min(600px, calc(100vh - 190px)); --kms-pb: calc(76px + env(safe-area-inset-bottom, 0px)); }
.kms-fab, .kms-chat-kepala, .kms-catmesin, .kms-tab { display: none; }
/* Arbani 19 Okt: 🤖 Operator (operator.css .op-fab, right 76px bottom 16px z 31) tertutup pil Master control · Pesan → naik di atas pil */
body:has(.km.km-m-satu) .op-fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.km.km-m-satu .kms-fab { display: inline-flex; position: fixed; right: 16px; left: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 36; min-height: 48px; padding: 0 18px 0 8px;
  border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-family: inherit; font-size: 14px; font-weight: 650; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25); cursor: pointer; white-space: nowrap; }
.kms-fab-av { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #134585; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kms-av-besar { background: var(--accent-soft); color: var(--accent); }
.kms-fab-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #134585; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kms-fab-j { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@media (prefers-reduced-motion: reduce) { .kms-fab-j { animation: none; } }
body:has(.km.km-m-satu) .ms-fab { display: none; }
.km.km-m-satu.kms-panel-buka .kms-tab { display: flex; align-items: stretch; position: fixed; right: 16px; bottom: calc(var(--kms-pb) + var(--kms-pt)); z-index: 61; box-sizing: border-box;
  width: var(--kms-pl); min-height: 48px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--surface-2); overflow: hidden; }
.kms-tab-b { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--text-2); font-family: inherit;
  font-size: 14px; font-weight: 650; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.kms-tab-b:hover { color: var(--text); }
.kms-tab-b.on { color: var(--text); background: var(--surface); border-bottom-color: var(--accent); }
.kms-tab-b:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.kms-tab-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kms-tab .kms-x { margin-left: 0; width: 48px; height: 48px; border-radius: 0; }
.km.km-m-satu > .km-chat { display: none; }
.km.km-m-satu.kms-chat-buka > .km-chat { display: flex; position: fixed; right: 16px; left: auto; top: auto; bottom: var(--kms-pb); transform: none; z-index: 35; box-sizing: border-box;
  width: var(--kms-pl); height: var(--kms-pt); min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .22); padding: 12px 16px 16px; gap: 10px; grid-column: auto; grid-row: auto; }
@media (min-width: 641px) {
  body:has(.km.km-m-satu) .ms-panel { right: 16px; bottom: var(--kms-pb); width: var(--kms-pl); height: var(--kms-pt); border-radius: 0 0 12px 12px; }
  body:has(.km.km-m-satu) .ms-panel .ms-kepala [data-ms="tutup"] { display: none; }      /* MVP-171 (laporan Arbani 8 Okt "tanda x nya dobel"): tutup lewat × bilah tab */
}
/* v0.14.58 (arahan Arbani 7 Okt 22.53: "sekarang tidak melayang ya dia nyundul tampilan qc thumbnail"): panel obrolan BENAR-BENAR
   melayang di semua lebar layar — tempat kerja tidak lagi menyempit saat panel dibuka (dulu ≥ 1280 px isi didorong ke kiri). */
.km.km-m-satu .km-chat .km-chat-h { display: none; }
.km.km-m-satu .km-chat .kms-chat-kepala { display: flex; align-items: center; gap: 10px; }
.kms-chat-nama { display: flex; flex-direction: column; min-width: 0; }
.kms-chat-nama b { font-size: 14px; font-weight: 650; }
.kms-chat-nama span { font-size: 12px; color: var(--text-2); }
.kms-x { margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.kms-x:hover { background: var(--surface-2); }
.km.km-m-satu .km-chat .km-msgs { max-height: 44vh; min-height: 80px; }
.km.km-m-satu .km-chat .km-m.km-s { display: none; }                     /* catatan mesin: pindah ke lipatan di bawah */
.km.km-m-satu .km-chat .kms-catmesin { display: block; font-size: 12px; color: var(--text-2); }
.kms-catmesin summary { cursor: pointer; padding: 6px 0; }
.kms-catmesin-isi { padding: 6px 0; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; max-height: 160px; overflow-y: auto; overflow-wrap: anywhere; }
.kms-cm-w { color: var(--text-3); }
.km.km-m-satu .kms { padding-bottom: 72px; }                              /* ruang untuk tombol obrolan */

/* pop up "Lihat seperti di YouTube": ukuran tetap, isi bergulir di dalam */
.kms-pop { width: min(1040px, calc(100vw - 32px)); height: min(700px, calc(100vh - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3); display: flex; flex-direction: column; overflow: hidden; }
.kms-pop-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.kms-pop-h > b { flex: 1 1 200px; font-size: 15px; }
.kms-pop-h .kms-pil { min-height: 40px; }
.kms-pop-isi { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.kms-pop button { font-family: inherit; cursor: pointer; }

@media (max-width: 640px) {
  .kms-kartu { padding: 12px; }
  .kms h1 { font-size: 19px; }
  .kms-nav { width: 100%; }
  .kms-nav .kms-pil { flex: 1 1 auto; }
  .kms-ajukan { flex: 1 1 100%; }
  .kms-alat-isi { right: auto; left: 0; }
  .kms-kerja-aksi { width: 100%; }
  .kms-kerja-aksi .kms-b { flex: 1 1 auto; }
  .km.km-m-satu.kms-chat-buka > .km-chat { left: 8px; right: 8px; width: auto; }
  .km.km-m-satu.kms-panel-buka .kms-tab { left: 8px; right: 8px; width: auto; }
  .km.km-m-satu.kms-panel-buka:not(.kms-chat-buka) .kms-tab { display: none; }            /* HP: Pesan tim layar penuh dengan tombol tutupnya sendiri */
  .kms-pop { width: 100vw; height: 100vh; border-radius: 0; border: 0; }
  .kms-pop-tirai { padding: 0; }
}

/* layar sempit (kolom menumpuk): Hasil cek tepat di bawah tempat kerja, daftar opsi sesudahnya */
@media (max-width: 880px) {
  .kms-dua { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .kms-utama { display: contents; }
  .kms-sisi { order: 2; flex: 0 0 auto; }
  .kms-bawah { order: 3; }
}

/* NOBAR-MVP-281 · ADR-0174: opsi yang baru dijadikan opsi dari Master control disorot sebentar */
.kms-opsi-sorot { animation: kmsSorot 2.4s ease-out 1; }
@keyframes kmsSorot { 0% { box-shadow: 0 0 0 0 var(--accent); } 25% { box-shadow: 0 0 0 4px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .kms-opsi-sorot { animation: none; outline: 2px solid var(--accent); } }

/* NOBAR-MVP-290 (ADR-0180): cek terpisah + checklist saat disorot · galeri gambar proyek · pop up video · bintang opsi terpilih */
.kms-hasil-ket { font-size: 12px; color: var(--text-2); }
.kms-cekb { position: relative; }
.kms-cekb .kms-cek-h { gap: 8px; }
.kms-cek-nama { flex: 1 1 auto; min-width: 0; min-height: 36px; text-align: left; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.kms-cek-nama:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-rinci { display: none; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.kms-cekb:hover .kms-rinci, .kms-cekb:focus-within .kms-rinci, .kms-cekb-kunci .kms-rinci { display: flex; }
.kms-cekb:hover, .kms-cekb-kunci { border-color: var(--accent); }
.kms-rinci > .kms-b, .kms-rinci > .kms-baris { flex: 1 1 100%; }
.kms-butir { font-size: 12.5px; line-height: 1.35; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); overflow-wrap: anywhere; }
.kms-butir-ok { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); background: color-mix(in srgb, var(--good) 14%, var(--surface)); color: var(--good-text); }
.kms-butir-bad { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); background: color-mix(in srgb, var(--bad) 14%, var(--surface)); color: var(--bad-text, var(--bad)); }
.kms-bintang { color: #c99a06; font-size: 16px; line-height: 1; }
.kms-b-hijau .kms-bintang { color: inherit; }
.kms-bintang-kartu { margin-left: 2px; }
.kms-galeri-h { font-size: 13px; margin-top: 4px; }
.kms-galeri-h span { color: var(--text-2); }
/* NOBAR-MVP-0581 ("pemilih gambar cuman separo layar susah yang milih"): galeri selebar kartu, grid beberapa baris yang digulir ke bawah */
.kms-galeri-blok { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.kms-galeri { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-items: start; max-height: min(470px, 62vh);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 6px 2px; }
.kms-galeri > .kms-galeri-kosong { grid-column: 1 / -1; }
.kms-gal { min-width: 0; padding: 0; border-radius: 8px; border: 2px solid transparent; background: var(--surface-2); color: var(--text); display: flex; flex-direction: column; overflow: hidden; cursor: pointer; text-align: left; }
.kms-gal img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #111; }
.kms-gal span { font-size: 11px; line-height: 1.3; padding: 4px 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kms-gal-kini { border-color: var(--accent); }
.kms-gal:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-gal:disabled { cursor: not-allowed; opacity: .6; }
.kms-galeri-kosong { font-size: 13px; color: var(--text-2); }
.kms-vid-kartu { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.kms-vid-isi { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.kms-vid-pemutar { flex: 3 1 480px; min-width: 0; }
.kms-vid-pemutar .km-player { margin: 0; box-shadow: none; border: 0; padding: 0; }
.kms-vid-hasil { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.kms-vid-f { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 8px; background: var(--surface-2); }
.kms-vid-f img { flex: 0 0 96px; width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #111; }
.kms-vid-f span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.kms-cekb .kms-cek-h { flex-wrap: wrap; }
.kms-cekb .kms-nilai { font-size: 14px; white-space: nowrap; }
.kms-cekb .kms-cek-nama { flex: 1 1 90px; }
.kms-hasil .kms-hasil-h { flex-wrap: wrap; }
/* kanvas: rincian = pop up melayang di bawah barisnya (tidak mendorong isi lain) */
.kms-rinci { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .28); flex-direction: column; flex-wrap: nowrap; gap: 8px; max-height: 60vh; overflow: auto; }
.kms-rinci-butir { display: flex; flex-wrap: wrap; gap: 6px; }

/* NOBAR-MVP-290: Master control layar penuh — panel yang sama dilebarkan; kiri = opsi + hasil cek */
.kms-penuh-b { margin-left: auto; min-height: 36px; align-self: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.kms-penuh-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-penuh-b + .kms-x { margin-left: 4px; }
.kms-penuh-latar, .kms-penuh-kiri { display: none; }
@media (min-width: 900px) {
  html:has(.km.km-m-satu.kms-penuh) { --kms-kiri: clamp(340px, 34vw, 460px); --kms-pl: calc(100vw - var(--kms-kiri) - 48px); --kms-pt: calc(100vh - 150px); }
  .km.km-m-satu.kms-penuh .kms-penuh-latar { display: block; position: fixed; inset: 0; z-index: 33; background: color-mix(in srgb, var(--bg, #0b0d1f) 86%, transparent); }
  .km.km-m-satu.kms-penuh .kms-penuh-kiri { display: flex; flex-direction: column; gap: 10px; position: fixed; z-index: 34; left: 16px; width: var(--kms-kiri); bottom: var(--kms-pb); height: calc(var(--kms-pt) + 48px);
    box-sizing: border-box; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow-y: auto; overscroll-behavior: contain; }
  .km.km-m-satu.kms-penuh .kms-penuh-kiri.ms-kiri { padding: 0; gap: 0; overflow: hidden; }      /* NOBAR-MVP-171: daftar obrolan Pesan tim (pesan.css) */
  .km.km-m-satu.kms-penuh.kms-panel-buka .kms { padding-right: 0; }
  .kms-penuh-h { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
  .kms-penuh-h span { font-size: 12px; color: var(--text-2); }
  .kms-penuh-opsi { display: flex; flex-direction: column; gap: 8px; }
  .kms-penuh-opsi .kms-opsi { width: 100%; max-width: none; }
  .kms-penuh-kiri .kms-hasil { box-shadow: none; padding: 0; border: 0; }
}
@media (max-width: 899px) { .kms-penuh-b { display: none; } }
.kms-galeri-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; }
.kms-galeri-j { flex: 1 1 240px; min-width: 0; }
/* disematkan (klik) = terbuka di tempat, tidak menutupi baris di bawahnya; sorot saja = melayang */
.kms-cekb-kunci .kms-rinci { position: static; box-shadow: none; border-style: dashed; max-height: none; margin-top: 6px; }

/* NOBAR-MVP-291 (ADR-0181): blok pembungkusan selesai */
.kms-blok { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.kms-blok-ok { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); background: color-mix(in srgb, var(--good) 8%, var(--surface)); }
.kms-blok-t { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.kms-blok-t span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.kms-blok .kms-baris { align-items: center; }
.kms-blok-n { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
/* NOBAR-MVP-315: pilih adegan otomatis (di bawah blok pembungkusan) */
.kms .kms-pilih { display: block; }
.kms .kms-pilih-l { margin: 4px 0 0; padding-left: 18px; }
.kms .kms-pilih-l li { overflow-wrap: anywhere; }
/* NOBAR-MVP-315 (laporan Arbani 8 Okt 14.0x): progres Siapkan otomatis — blok pembungkusan (daftar) & kepala Master control (ringkas) */
.km.km-m-satu .km-chat .kms-chat-kepala:has(.kms-oto-ringkas) { flex-wrap: wrap; }
.kms-oto { display: block; font-size: 12.5px; color: var(--text-2); }
.kms-oto-h b { color: var(--text); font-weight: 650; }
.kms-oto-l { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.kms-oto-l li { overflow-wrap: anywhere; }
.kms-oto-l li b { font-weight: 600; color: var(--text); }
.kms-lk-i { display: inline-block; width: 1.4em; text-align: center; font-weight: 700; }
.kms-lk-selesai .kms-lk-i { color: var(--good-text); }
.kms-lk-jalan .kms-lk-i, .kms-lk-antre .kms-lk-i { color: var(--accent); }
.kms-lk-gagal .kms-lk-i { color: var(--critical-text); }
.kms-lk-menunggu, .kms-lk-lewat { color: var(--text-3); }
.kms-oto-l .kms-lk-menunggu b, .kms-oto-l .kms-lk-lewat b { color: var(--text-3); }
.kms-oto-ringkas { flex: 1 1 100%; min-width: 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.kms-oto-c { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.kms-oto-c li { white-space: nowrap; }
.kms-oto-c .kms-lk-jalan, .kms-oto-c .kms-lk-antre { color: var(--text); font-weight: 600; }
.kms-oto-kini { margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .kms-oto-ringkas .kms-oto-c { display: none; } }   /* HP: kepala + langkah yang sedang jalan saja (obrolan tetap lega) */
.kms-blokpen { width: min(520px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 10px; }
.kms-blokpen-daftar { display: flex; flex-direction: column; gap: 2px; max-height: 50vh; overflow: auto; }
.kms-blokpen-daftar label { display: flex; gap: 8px; align-items: center; min-height: 36px; font-size: 14px; }
.kms-blokpen-daftar label span { color: var(--text-2); font-size: 12px; }
.kms-blokpen-daftar input { width: 16px; height: 16px; }

/* v0.14.58 (laporan Arbani 7 Okt 22.43 "floatingnya kacau, saling tumpuk" + 22.47 "tooltip yang mengikuti cursor, ringkas"):
   rincian hasil cek = TOOLTIP ringkas yang mengikuti kursor (tidak mendorong isi, tidak menutupi tombol baris lain); butir = daftar
   centang satu baris per butir (dulu "pil" yang diciutkan kolom lentur sampai bertumpuk). Diklik / papan ketik = pop up melayang di
   bawah barisnya, bisa digulir; tersembunyi selagi baris lain disorot. */
.kms-rinci > * { flex: 0 0 auto; min-height: 0; }
.kms-rinci-butir { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 2px; }
.kms-rinci-butir > .kms-butir { display: block; flex: 0 0 auto; border: 0; border-radius: 4px; padding: 1px 4px; background: none; font-size: 12px; line-height: 1.35; white-space: normal; }
.kms-rinci-butir > .kms-butir-ok { color: var(--good-text); }
.kms-rinci-butir > .kms-butir-bad { color: var(--bad-text, var(--bad)); background: color-mix(in srgb, var(--bad) 12%, transparent); font-weight: 600; }
.kms-rinci .kms-temuan { margin-top: 2px; padding: 6px 8px; }
.kms-rinci .kms-temuan > div { font-size: 12px; }
.kms-cekb:hover:not(.kms-cekb-kunci) .kms-rinci { position: fixed; z-index: 80; left: var(--kms-tx, 24px); top: var(--kms-ty, 24px); right: auto; width: min(340px, calc(100vw - 16px)); box-sizing: border-box;
  padding: 8px 10px; gap: 6px; max-height: calc(100vh - 16px); overflow: hidden; pointer-events: none; border-color: var(--line); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.kms-cekb-kunci .kms-rinci { position: fixed; z-index: 79; right: auto; width: min(340px, calc(100vw - 16px)); box-sizing: border-box; margin: 0; padding: 8px 10px; gap: 6px; max-height: min(60vh, calc(100vh - 16px)); overflow: auto; border-style: solid; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.kms-hasil:has(.kms-cekb:hover) .kms-cekb-kunci:not(:hover) .kms-rinci { display: none; }
.kms-cekb .kms-cek-nama { flex: 1 1 auto; min-width: min-content; white-space: normal; overflow-wrap: normal; line-height: 1.25; }   /* "Tulisan thumbnail" tidak lagi menimpa nilainya */

/* NOBAR-MVP-292 / 293: gambar bahan otomatis + siapkan otomatis */
.kms-galeri-b { flex: 0 1 auto; justify-content: flex-end; gap: 6px; }
.kms-gal { position: relative; }
.kms-gal-qc { position: absolute; top: 4px; left: 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.5; color: #fff; background: rgba(20, 110, 60, .92); }
.kms-gal-qc-bad { background: rgba(160, 40, 40, .92); }
.kms-cari { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; }
.kms-blok-md { flex: 1 1 100%; font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }
/* NOBAR-MVP-153 · ADR-0097: pembuka → blok OPENING naskah (di bawah kartu Pembuka, langkah 2) */
.kms-sambung { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); }
.kms-sb-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 650; }
.kms-sb-h > span { flex: 1 1 160px; min-width: 0; }
.kms-sb-h .kms-nilai { font-size: 14px; }
.kms-sb-akhir { overflow-wrap: anywhere; }

/* NOBAR-MVP-321 · ADR-0198: 🔒 kunci janji naskah + 3 opsi blok */
.kms-tiga-l { margin: 4px 0 0; padding-left: 20px; }
.kms-tiga-l li { overflow-wrap: anywhere; }
.kms-janji-h { text-align: left; white-space: normal; }
.kms-janji-teks { margin: 6px 0; padding: 8px 10px; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2);
  border-radius: 8px; color: var(--text); }

/* NOBAR-MVP-339 · ADR-0208 (SESI-AZQKd8; kanvas "Bandingkan Opsi Pembungkusan", arahan Arbani 9 Okt "1 keduanya"):
   kartu Hasil cek rapi — tiap baris SAMA: nama & nilai di kiri (bertumpuk), tombol cek di kanan dengan lebar tetap (dulu sebagian tombol
   turun ke bawah karena nama / nilainya panjang) */
.kms-cekb .kms-cek-h { display: grid; grid-template-columns: minmax(0, 1fr) 118px; grid-template-areas: "nama tombol" "nilai tombol"; align-items: center; column-gap: 10px; row-gap: 0; }
.kms-cekb .kms-cek-h > .kms-cek-nama { grid-area: nama; min-height: 28px; }
.kms-cekb .kms-cek-h > .kms-nilai { grid-area: nilai; font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
.kms-cekb .kms-cek-h > .kms-b { grid-area: tombol; width: 100%; padding: 0 8px; }
.kms-cek > .kms-cek-tambah { margin-top: 6px; }

/* bilah progres: Prediksi CTR (progres tugas laptop) · antre / menunggu laptop (bergaris) · Cek semua (ruas per langkah) */
.kms-prog { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; min-width: 0; }
.kms-prog-kartu { margin-top: 0; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); }
.kms-prog-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.kms-prog-h b { font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kms-bilah { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.kms-bilah > span { display: block; height: 100%; border-radius: 4px; background-color: var(--accent); }   /* tanpa transisi: elemen dipakai ulang gambar() — antre (penuh) → jalan tidak boleh tampak mundur */
.kms-bilah-antre > span { background: repeating-linear-gradient(-45deg, var(--surface-2) 0 8px, color-mix(in srgb, var(--accent) 30%, var(--surface-2)) 8px 16px); }
.kms-bilah-ai > span, .kms-bilah-tt > span, .kms-seg-jalan { background-image: linear-gradient(90deg, transparent, color-mix(in srgb, #fff 45%, transparent), transparent); background-size: 45% 100%; background-repeat: no-repeat; animation: kmsKilau 1.6s linear infinite; }
@keyframes kmsKilau { from { background-position: -60% 0; } to { background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) { .kms-bilah > span, .kms-seg-jalan { animation: none; } .kms-bilah-tt > span { background: repeating-linear-gradient(-45deg, var(--accent) 0 8px, color-mix(in srgb, var(--accent) 55%, var(--surface)) 8px 16px); } }
.kms-prog-kartu .kms-bilah, .kms-prog-kartu .kms-seg-menunggu { background-color: var(--surface); }
.kms-prog-l { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--text-2); }
.kms-prog-l li { overflow-wrap: anywhere; }
.kms-prog-l .kms-lk-jalan { color: var(--text); font-weight: 600; }
.kms-prog-l .kms-lk-selesai { color: var(--good-text); }
.kms-prog-s, .kms-prog-t { font-size: 12px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.kms-prog-s span { font-variant-numeric: tabular-nums; }
.kms-prog-chip { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; font-weight: 650; background: color-mix(in srgb, var(--warning) 22%, var(--surface)); color: var(--warning-text); }
.kms-segs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.kms-seg { display: block; height: 8px; border-radius: 4px; background-color: var(--surface-2); }
.kms-seg-jalan { background-color: var(--accent); }
.kms-seg-selesai { background-color: var(--good-text); }
.kms-seg-gagal { background-color: var(--critical-text); }
.kms-seg-lewat { background-color: var(--text-3); opacity: .45; }

/* tab Bandingkan: perkiraan CTR tiap opsi — titik + rentang, garis target kanal & median NOBAR */
.kms-bd { gap: 14px; container-type: inline-size; }
.kms-bd-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--text-2); }
.kms-bd-leg b { font-size: 13px; font-weight: 650; color: var(--text); }
.kms-bd-leg span { display: inline-flex; gap: 6px; align-items: center; }
.kms-bd-i { display: inline-block; flex: 0 0 auto; }
.kms-bd-i-target { width: 3px; height: 14px; background: var(--warning); }
.kms-bd-i-median { width: 0; height: 14px; border-left: 2px dashed var(--text-3); }
.kms-bd-i-rentang { width: 22px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 35%, var(--surface-2)); }
.kms-bd-daftar { display: flex; flex-direction: column; gap: 10px; }
.kms-bd-r { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.2fr) 88px; grid-template-areas: "g info bar v"; gap: 14px; align-items: center; box-sizing: border-box;
  width: 100%; min-width: 0; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: left; white-space: normal; }
button.kms-bd-r { cursor: pointer; }
button.kms-bd-r:hover { border-color: var(--accent); }
.kms-bd-buka { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.kms-bd-g { grid-area: g; display: block; min-width: 0; }
.kms-bd-g .kms-th { border-radius: 6px; }
.kms-bd-info { grid-area: info; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kms-bd-n { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14px; }
.kms-bd-n span { font-size: 12px; color: var(--text-2); }
.kms-bd-n .kms-bintang { font-size: 14px; color: #c99a06; }
.kms-bd-j { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kms-bd-info .kms-opsi-c { margin-top: 0; }
.kms-bd-bar { grid-area: bar; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kms-bd-trek { position: relative; display: block; height: 30px; border-radius: 8px; background: var(--surface-2); }
.kms-bd-rentang { position: absolute; top: 12px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 35%, var(--surface-2)); }
.kms-bd-titik { position: absolute; top: 7px; width: 16px; height: 16px; margin-left: -8px; box-sizing: border-box; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.kms-bd-median { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--text-3); }
.kms-bd-target { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: var(--warning); }
.kms-bd-skala { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.kms-bd-v { grid-area: v; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.kms-bd-v b { font-size: 18px; font-weight: 700; white-space: nowrap; }
.kms-bd-v span { font-size: 11px; color: var(--text-2); white-space: nowrap; }
.kms-bd-v .kms-bd-tanda { margin-top: 2px; padding: 1px 6px; border-radius: 999px; font-weight: 650; background: color-mix(in srgb, var(--warning) 20%, var(--surface)); color: var(--warning-text); }
.kms-bd-usang .kms-bd-titik { background: var(--text-3); }
.kms-bd-usang .kms-bd-v b { color: var(--text-2); }
.kms-bd-belum { grid-template-columns: 112px minmax(0, 1fr) auto; grid-template-areas: "g info aksi"; border-style: dashed; background: transparent; }
.kms-bd-belum .kms-th { opacity: .75; }
.kms-bd-aksi { grid-area: aksi; }
.kms-bd-cat { font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: 8px; overflow-wrap: anywhere; background: color-mix(in srgb, var(--warning) 14%, var(--surface)); color: var(--warning-text); }
@container (max-width: 600px) {
  .kms-bd-r { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "g info v" "bar bar bar"; gap: 8px 10px; }
  .kms-bd-belum { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "g info" "aksi aksi"; }
  .kms-bd-aksi .kms-b { width: 100%; }
  .kms-bd-info .kms-opsi-c { display: none; }
  .kms-bd .kms-baris > .kms-b { flex: 1 1 100%; }
}

/* pop up "Bandingkan berdampingan": tabel kolom = opsi, baris = hal yang sama; sempit → digulir ke samping di dalam pop up */
.kms-pop.kms-sisi-pop { width: min(1180px, calc(100vw - 32px)); height: auto; max-height: calc(100vh - 32px); }
.kms-sisi-judul { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kms-sisi-judul b { font-size: 16px; }
.kms-sisi-judul span { font-size: 13px; color: var(--text-2); }
.kms-sisi-pop .kms-pil { min-width: 44px; }
.kms-sisi-gulir { overflow-x: auto; overscroll-behavior-x: contain; }
.kms-sisi-t { width: 100%; min-width: calc(140px + var(--kms-n, 3) * 200px); border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.kms-sisi-t th, .kms-sisi-t td { padding: 12px 8px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; font-weight: 400; }
.kms-sisi-t thead th { border-top: 0; padding-top: 0; background: var(--surface); }
.kms-sisi-kol .kms-th { width: 100%; max-width: 360px; }
.kms-sisi-t .kms-sisi-l { width: 140px; position: sticky; left: 0; z-index: 1; background: var(--surface); font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; }
.kms-sisi-kol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kms-sisi-yt { display: flex; gap: 10px; align-items: flex-start; }
.kms-sisi-yt .kms-sisi-av { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.kms-sisi-yt > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kms-sisi-yt b { font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.kms-sisi-yt span { font-size: 12px; color: var(--text-2); }
.kms-sisi-u { display: block; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.kms-sisi-k { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.kms-sisi-ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.kms-sisi-aksi .kms-baris > .kms-b { flex: 1 1 auto; }
.kms-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) { .kms-pop.kms-sisi-pop { width: 100vw; height: 100vh; height: 100dvh; max-height: none; } .kms-sisi-t { min-width: calc(80px + var(--kms-n, 3) * 136px); } .kms-sisi-t .kms-sisi-l { width: 80px; font-size: 11px; letter-spacing: 0; } .kms-sisi-t th, .kms-sisi-t td { padding: 10px 6px; } .kms-sisi-yt b { font-size: 13px; font-weight: 500; } .kms-sisi-yt .kms-sisi-av { display: none; } }
.kms-bd-g .kms-th-ket, .kms-sisi-kol .kms-th-ket { font-size: 11px; top: 4px; left: 6px; }
/* rincian Hasil cek yang disematkan (position: fixed, z 79) tidak menutupi pop up mana pun (modal-bg z 40) */
html:has(body > .modal-bg) .kms-cekb-kunci .kms-rinci { display: none; }

/* NOBAR-MVP-341: 🕘 Riwayat opsi — pop up log (lama → baru, siapa & kapan, saring per opsi + cari, ↶ Pakai lagi) */
.kms-pop.kms-rw-pop { width: min(920px, calc(100vw - 32px)); height: min(760px, calc(100vh - 32px)); }
.kms-rw-atas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.kms-rw-filter { flex: 1 1 320px; min-width: 0; }
.kms-rw-filter .kms-pil { min-height: 40px; }
.kms-rw-hit { font-weight: 500; color: var(--text-3); margin-left: 2px; }
.kms-pil.on .kms-rw-hit { color: inherit; }
.kms-rw-cari { flex: 0 1 260px; min-width: 0; min-height: 40px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.kms-rw-cari:focus-visible, #kmsRwJ:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-rw-l-daftar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kms-rw-e { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.kms-rw-h { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; font-size: 13px; color: var(--text-2); }
.kms-rw-w { font-variant-numeric: tabular-nums; }
.kms-rw-o { font-weight: 650; color: var(--text); }
.kms-rw-n, .kms-rw-j, .kms-rw-pulih { font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.kms-rw-n { background: var(--accent-soft); color: var(--accent); }
.kms-rw-ubah .kms-rw-j { background: color-mix(in srgb, var(--warning) 20%, var(--surface)); color: var(--warning-text); }
.kms-rw-final .kms-rw-j, .kms-rw-tambah .kms-rw-j { background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good-text); }
.kms-rw-pulih { border: 1px dashed var(--line); background: transparent; }
.kms-rw-d { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; line-height: 1.45; }
.kms-rw-l { font-size: 12px; font-weight: 700; color: var(--text-2); padding-top: 2px; }
.kms-rw-v { overflow-wrap: anywhere; }
.kms-rw-v i, .kms-rw-ab i { color: var(--text-3); }
.kms-rw-ab { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: start; min-width: 0; }
.kms-rw-a, .kms-rw-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; padding: 6px 8px; border-radius: 8px; }
.kms-rw-a { background: var(--surface-2); color: var(--text-2); }
.kms-rw-b { background: color-mix(in srgb, var(--good) 10%, var(--surface)); }
.kms-rw-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.kms-rw-p { color: var(--text-3); padding-top: 18px; }
.kms-rw-aksi { justify-content: flex-end; }
.kms-rw-sama { font-size: 12px; color: var(--text-3); }
@media (max-width: 640px) {
  .kms-pop.kms-rw-pop { width: 100vw; height: 100vh; height: 100dvh; }
  .kms-rw-cari { flex: 1 1 100%; }
  .kms-rw-d { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kms-rw-ab { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kms-rw-p { display: none; }
  .kms-rw-aksi .kms-b { flex: 1 1 auto; }
}

/* NOBAR-MVP-340 · ADR-0209: tab Benchmark per klaster — juara NOBAR (CTR & impresi sepanjang masa, skor skala) + juara pasar (KUAT Kayla) */
.kms-bk-kepala { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 14px; align-items: start; }
.kms-bk-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kms-bk-tag { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.kms-bk-chip { font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.kms-bk-chip-lain { background: color-mix(in srgb, var(--warning) 20%, var(--surface)); color: var(--warning-text); }
.kms-bk-bag { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.kms-bk-h { display: flex; flex-direction: column; gap: 2px; }
.kms-bk-h h3 { margin: 0; font-size: 15px; font-weight: 650; }
.kms-bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.kms-bk { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text); text-decoration: none; border-radius: 8px; }
.kms-bk:hover .kms-bm-j { text-decoration: underline; }
.kms-bk:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-bk-a { font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kms-bk-ctr { color: var(--good-text); }
.kms-bk-skor { display: block; font-size: 12px; color: var(--warning-text); font-variant-numeric: tabular-nums; }
/* MVP-384: pelengkap gambar (bukan juara) + juara tanpa gambar (video private, data tetap dihitung) */
.kms-bk-bukan { display: block; font-size: 11.5px; color: var(--text-2); }
.kms-bk-gagal { display: block; font-size: 11.5px; color: var(--danger-text, #b42318); }
.kms-bk-ctr.kms-bk-ctr-gagal { color: var(--danger-text, #b42318); }
.kms-bk-data { margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.kms-bk-data ul { margin: 4px 0 0; padding-left: 18px; }
.kms-bk-data li { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kms-bk-data a { color: var(--text); }
.kms-bk-gulir { overflow-x: auto; overscroll-behavior-x: contain; }
.kms-bk-t { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.kms-bk-t th, .kms-bk-t td { padding: 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; font-variant-numeric: tabular-nums; }
.kms-bk-t thead th { border-top: 0; font-size: 12px; font-weight: 650; color: var(--text-2); }
.kms-bk-t tr.kms-bk-on > * { background: var(--accent-soft); }
.kms-bk-pil { min-height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 650; text-align: left; }
.kms-bk-pil[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.kms-bk-pil:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-bk-tj { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .kms-bk-kepala { grid-template-columns: minmax(0, 1fr); }
  .kms-bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kms-bk-pil { min-height: 44px; }
}

/* NOBAR-MVP-343 · ADR-0211: saringan galeri "Gambar proyek ini", tanda baru (gambar dari chat), tombol ⤢ picture viewer */
.kms-gal-saring { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 6px; }
.kms-gal-s { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 12px; cursor: pointer; }
.kms-gal-s span { color: var(--text-2); margin-left: 2px; }
.kms-gal-s.on { border-color: var(--accent); background: var(--accent-soft, rgba(42, 120, 214, .12)); font-weight: 700; }
.kms-gal-s:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kms-gal-w { min-width: 0; position: relative; display: flex; flex-direction: column; gap: 2px; }
.kms-gal-w > .kms-gal { width: 100%; }
.kms-gal-atas { position: absolute; top: 4px; left: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-style: normal; }
.kms-gal-atas > .kms-gal-qc { position: static; }
.kms-gal-bt { padding: 1px 6px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.5; color: #fff; background: rgba(30, 90, 190, .92); }
.kms-gal-tulis { display: flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 2px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.kms-gal-tulis input { width: 16px; height: 16px; margin: 0; }
.kms-gal-w-tulis .kms-gal-tulis { color: var(--text); font-weight: 600; }
.kms-gal-lihat { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border-radius: 6px; border: 0; background: rgba(0, 0, 0, .6); color: #fff;
  font-size: 15px; line-height: 26px; text-align: center; cursor: zoom-in; }
.kms-gal-lihat:hover, .kms-gal-lihat:focus-visible { background: rgba(0, 0, 0, .85); outline: 2px solid #fff; }
/* MVP-383: hapus gambar dari daftar (salinan dashboard) — kanan atas, di kiri ⤢ (kiri atas = tanda QC) */
.kms-gal-hapus { position: absolute; top: 4px; right: 34px; width: 26px; height: 26px; padding: 0; border-radius: 6px; border: 0; background: rgba(0, 0, 0, .6); color: #fff;
  font-size: 13px; line-height: 26px; cursor: pointer; }
.kms-gal-hapus:hover, .kms-gal-hapus:focus-visible { background: rgba(160, 20, 20, .9); outline: 2px solid #fff; }
.kms-gal-baru { border-color: var(--warning, #fab219); }
.kms-gal-tanda { position: absolute; bottom: 30px; left: 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 800; color: #3a2600; background: var(--warning, #fab219); }

/* NOBAR-MVP-344 · ADR-0211 §G: panel "Cocokkan dengan brief Kayla" di blok pembungkusan */
.kms-cocok { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--line); padding-left: 10px; }
.kms-cocok-beda { border-left-color: var(--warning, #fab219); }
.kms-cocok-ok { border-left-color: var(--good, #0ca30c); }
.kms-cocok-l { margin: 2px 0 2px 18px; padding: 0; }
.kms-cocok .kms-baris { flex-wrap: wrap; }
.kms-janji-draf b { color: var(--warning-text, #7a5200); }

/* NOBAR-MVP-363 (pratinjau 15 Okt): klaster proyek + QC & rubrik judul */
.kms-kp { padding: 12px 14px; }
.kms-qc { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.kms-qc-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 36px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.kms-qc-h .kms-qc-v { font-size: 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.kms-qc-ket { font-size: 13px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.kms-qc-butir { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.kms-qc-v.ok { color: var(--good-text); }
.kms-qc-v.bad { color: var(--critical-text); }
.kms-rb { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; font-size: 12.5px; margin-top: 6px; color: var(--text-2); }

/* issue #675: tulisan gaya NOBAR di kartu opsi = tata render (kmNobarTata) · panel gaya (sumber benchmark, letak 3×3, render sekali klik) */
.kms-th .km-nblapis { position: absolute; inset: 0; pointer-events: none; }
.kms-th .km-nbl { position: absolute; white-space: nowrap; line-height: 1; font-family: 'Merich', 'Poppins NOBAR', Impact, 'Arial Black', sans-serif; font-weight: 800;
  -webkit-text-stroke: var(--gs) #000; paint-order: stroke fill; text-shadow: 0 var(--bs) 0 rgba(0, 0, 0, .55); }
/* NOBAR-MVP-0678: pratinjau gaya 2 KREANA (render Mesin thumb_gaya2_drama: Lilita One, kuning gradasi #FFE600→#FF9900, pita merah #E00000) */
@font-face { font-family: 'Lilita KREANA'; src: url('font/LilitaOne-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
.kms-th .km-d2 { position: absolute; top: 50%; transform: translateY(-50%); max-width: 56%; display: flex; flex-direction: column; gap: .4cqw;
  font-family: 'Lilita KREANA', 'Arial Black', sans-serif; line-height: 1.02; text-transform: uppercase; pointer-events: none; }
.kms-th .km-d2-b { font-size: 4.6cqw; white-space: normal; }
.kms-th .km-d2-b.besar { font-size: 7.4cqw; }
.kms-th .km-d2-p, .kms-th .km-d2-k { -webkit-text-stroke: .55cqw #000; paint-order: stroke fill; text-shadow: 0 .45cqw .6cqw rgba(0, 0, 0, .55); color: #fff; }
.kms-th .km-d2-k { color: #FFC400; background: linear-gradient(180deg, #FFE600, #FF9900); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.kms-th .km-d2-pita { display: inline-block; background: #E00000; padding: 0 .8cqw; transform: rotate(-3deg); margin: .3cqw 0; }
.kms-th .km-d2-pita .km-d2-k { -webkit-text-fill-color: #fff; background: none; }
.kms-gaya { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.kms-letak { display: grid; grid-template-columns: repeat(3, 26px); grid-template-rows: repeat(3, 16px); gap: 3px; padding: 3px; border-radius: 6px;
  border: 1px solid var(--line, rgba(127, 127, 127, .4)); flex: none; }
.kms-letak button { min-height: 0; padding: 0; border-radius: 3px; border: 1px solid var(--line, rgba(127, 127, 127, .4)); background: transparent; cursor: pointer; }
.kms-letak button.on { background: var(--accent, #3b82f6); border-color: var(--accent, #3b82f6); }
.kms-gaya-isi { display: grid; gap: 4px; min-width: 0; }
.kms-gaya-aksi { display: flex; gap: 6px; flex-wrap: wrap; }
