/* Asisten WA Galuh Handayani: gaya bersama. Token q-* dari BRIEF-mockup-v2. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("aset/font/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("aset/font/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("aset/font/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("aset/font/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --q-brand-50: #E9F6F2;
  --q-brand-100: #D5EDE7;
  --q-brand-500: #27B199;
  --q-brand-700: #1A806E;
  --q-brand-800: #126455;
  --q-brand-950: #042F27;
  --q-text: #0F172A;
  --q-text-2: #64748B;
  --q-text-3: #94A3B8;
  --q-line: #CBD5E1;
  --q-line-soft: #E2E8F0;
  --q-bg: #F8FAFC;
  --q-bg-2: #F1F5F9;
  --q-white: #FFFFFF;
  --q-ok-bg: #DCFCE7;   --q-ok-text: #15803D;
  --q-warn-bg: #FEF3C7; --q-warn-text: #B45309;
  --q-bad-bg: #FEE2E2;  --q-bad-text: #B91C1C;
  --q-info-bg: #DBEAFE; --q-info-text: #1D4ED8;
  --q-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --q-radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--q-font); font-size: 14px; line-height: 1.45; color: var(--q-text); background: var(--q-bg); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--q-brand-800); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ikon (SVG Lucide lokal sebagai mask) ---------- */
.ik { display: inline-block; width: 20px; height: 20px; flex: none; background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ik.s14 { width: 14px; height: 14px; } .ik.s16 { width: 16px; height: 16px; } .ik.s18 { width: 18px; height: 18px; } .ik.s22 { width: 22px; height: 22px; }
.ik-inbox { --i: url(aset/ikon/inbox.svg); } .ik-users { --i: url(aset/ikon/users.svg); }
.ik-chart { --i: url(aset/ikon/chart-column.svg); } .ik-settings { --i: url(aset/ikon/settings.svg); }
.ik-refresh { --i: url(aset/ikon/refresh-cw.svg); } .ik-filter { --i: url(aset/ikon/list-filter.svg); }
.ik-search { --i: url(aset/ikon/search.svg); } .ik-check { --i: url(aset/ikon/check.svg); }
.ik-check2 { --i: url(aset/ikon/check-check.svg); } .ik-dots { --i: url(aset/ikon/ellipsis-vertical.svg); }
.ik-file { --i: url(aset/ikon/file-text.svg); } .ik-sparkles { --i: url(aset/ikon/sparkles.svg); }
.ik-clip { --i: url(aset/ikon/paperclip.svg); } .ik-smile { --i: url(aset/ikon/smile.svg); }
.ik-send { --i: url(aset/ikon/send.svg); } .ik-x { --i: url(aset/ikon/x.svg); }
.ik-up { --i: url(aset/ikon/chevron-up.svg); } .ik-down { --i: url(aset/ikon/chevron-down.svg); }
.ik-lock { --i: url(aset/ikon/lock.svg); } .ik-flask { --i: url(aset/ikon/flask-conical.svg); }
.ik-listcheck { --i: url(aset/ikon/list-checks.svg); } .ik-book { --i: url(aset/ikon/book-open.svg); }
.ik-msgtext { --i: url(aset/ikon/message-square-text.svg); } .ik-shield { --i: url(aset/ikon/shield-check.svg); }
.ik-link { --i: url(aset/ikon/link.svg); } .ik-scanface { --i: url(aset/ikon/scan-face.svg); }
.ik-eye { --i: url(aset/ikon/eye.svg); } .ik-eyeoff { --i: url(aset/ikon/eye-off.svg); }
.ik-key { --i: url(aset/ikon/key-round.svg); } .ik-ticket { --i: url(aset/ikon/ticket.svg); }
.ik-mailx { --i: url(aset/ikon/mail-x.svg); } .ik-user { --i: url(aset/ikon/user.svg); }
.ik-timer { --i: url(aset/ikon/timer.svg); } .ik-serveroff { --i: url(aset/ikon/server-off.svg); }
.ik-info { --i: url(aset/ikon/info.svg); } .ik-alert { --i: url(aset/ikon/circle-alert.svg); }
.ik-calendar { --i: url(aset/ikon/calendar-days.svg); } .ik-heart { --i: url(aset/ikon/heart-handshake.svg); }
.ik-shirt { --i: url(aset/ikon/shirt.svg); } .ik-trophy { --i: url(aset/ikon/trophy.svg); }
.ik-school { --i: url(aset/ikon/school.svg); } .ik-grad { --i: url(aset/ikon/graduation-cap.svg); }
.ik-receipt { --i: url(aset/ikon/receipt.svg); } .ik-file { --i: url(aset/ikon/file-text.svg); } .ik-arrow { --i: url(aset/ikon/arrow-right.svg); }
.ik-plus { --i: url(aset/ikon/plus.svg); } .ik-trash { --i: url(aset/ikon/trash-2.svg); }
.ik-pencil { --i: url(aset/ikon/pencil.svg); } .ik-finger { --i: url(aset/ikon/fingerprint.svg); }
.ik-logout { --i: url(aset/ikon/log-out.svg); } .ik-msgplus { --i: url(aset/ikon/message-square-plus.svg); }
.ik-ok { --i: url(aset/ikon/circle-check.svg); } .ik-wifioff { --i: url(aset/ikon/wifi-off.svg); }
.ik-warn { --i: url(aset/ikon/triangle-alert.svg); } .ik-loader { --i: url(aset/ikon/loader-circle.svg); }
.putar { animation: putar 0.9s linear infinite; }
@keyframes putar { to { transform: rotate(360deg); } }

/* ---------- Komponen dasar ---------- */
.lambang { width: 38px; height: 38px; display: block; flex: none; }
.logo-masuk { display: block; height: 44px; width: auto; }

.tombol { height: 44px; padding: 0 16px; border-radius: var(--q-radius); border: 1px solid var(--q-line); background: var(--q-white); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; color: var(--q-text); }
.tombol:hover:not(:disabled) { background: var(--q-bg-2); }
.tombol.utama { background: var(--q-brand-700); border-color: var(--q-brand-700); color: #fff; }
.tombol.utama:hover:not(:disabled) { background: var(--q-brand-800); }
.tombol.teks { border-color: transparent; background: transparent; color: var(--q-brand-800); padding: 0 8px; }
.tombol.teks:hover:not(:disabled) { background: var(--q-brand-50); }
.tombol.kecil { height: 36px; padding: 0 12px; font-size: 13px; }
.tombol.bahaya { color: var(--q-bad-text); }
.tombol:disabled { opacity: 0.55; }
.tombol-ikon { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 8px; display: inline-grid; place-items: center; color: var(--q-text-2); padding: 0; }
.tombol-ikon:hover:not(:disabled) { background: var(--q-bg-2); color: var(--q-text); }

.input { height: 44px; width: 100%; border: 1px solid var(--q-line); border-radius: var(--q-radius); padding: 0 14px; background: var(--q-white); font-size: 14px; outline: none; }
.input::placeholder, textarea::placeholder { color: var(--q-text-3); }
.input:focus, textarea.input:focus { border-color: var(--q-brand-700); box-shadow: 0 0 0 3px var(--q-brand-100); }
textarea.input { height: auto; min-height: 60px; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.label { display: block; font-size: 13px; font-weight: 500; margin: 0 0 6px; }

.pil { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; background: var(--q-bg-2); color: var(--q-text-2); }
.pil.ok { background: var(--q-ok-bg); color: var(--q-ok-text); }
.pil.warn { background: var(--q-warn-bg); color: var(--q-warn-text); }
.pil.bad { background: var(--q-bad-bg); color: var(--q-bad-text); }
.pil.info { background: var(--q-info-bg); color: var(--q-info-text); }
.pil.netral { background: var(--q-bg-2); color: var(--q-text-2); }

.kartu { background: var(--q-white); border: 1px solid var(--q-line-soft); border-radius: var(--q-radius); }
.kartu-kepala { padding: 20px 20px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.kartu-kepala h3, .judul-bagian { font-size: 14px; font-weight: 600; margin: 0; }
.kartu-kepala p { font-size: 12px; color: var(--q-text-2); margin: 2px 0 0; }
.ket { font-size: 12px; color: var(--q-text-2); }
.label-grup { font-size: 11px; font-weight: 600; color: var(--q-text-2); letter-spacing: 0.6px; text-transform: uppercase; }

.sakelar { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; font-size: 14px; font-weight: 600; color: var(--q-text); }
.sakelar .jalur { width: 40px; height: 24px; border-radius: 999px; background: var(--q-line); position: relative; transition: background 0.15s; flex: none; }
.sakelar .jalur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.15s; box-shadow: 0 1px 2px rgba(15,23,42,.2); }
.sakelar[aria-checked="true"] .jalur { background: var(--q-brand-700); }
.sakelar[aria-checked="true"] .jalur::after { left: 19px; }
.sakelar:disabled { opacity: 0.6; }

.segmen { display: inline-flex; background: var(--q-bg-2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.segmen button { border: 0; background: transparent; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; color: var(--q-text-2); }
.segmen button[aria-pressed="true"] { background: var(--q-white); color: var(--q-text); font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.segmen button:disabled { cursor: not-allowed; }

.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 600; flex: none; }

.keadaan { padding: 32px 20px; text-align: center; color: var(--q-text-2); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.keadaan .ik { width: 28px; height: 28px; color: var(--q-text-3); }
.keadaan.galat .ik { color: var(--q-bad-text); }
.keadaan strong { color: var(--q-text); font-size: 14px; }

.pemberitahuan { display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.pemberitahuan.warn { background: var(--q-warn-bg); color: var(--q-warn-text); }
.pemberitahuan.info { background: var(--q-info-bg); color: var(--q-info-text); }
.pemberitahuan.bad { background: var(--q-bad-bg); color: var(--q-bad-text); }
.pemberitahuan.ok { background: var(--q-ok-bg); color: var(--q-ok-text); }
.pemberitahuan .ik { width: 16px; height: 16px; margin-top: 1px; }
.pemberitahuan .isi { flex: 1; }
.pemberitahuan .tutup { border: 0; background: transparent; color: inherit; padding: 0; opacity: .7; }

/* Dialog */
.dialog-latar { position: fixed; inset: 0; background: rgba(15,23,42,.35); display: grid; place-items: center; z-index: 50; }
.dialog { width: 420px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.2); }
.dialog h2 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.dialog .ket { margin: 0 0 16px; font-size: 13px; }
.dialog .medan { margin-bottom: 14px; }
.dialog .aksi { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--q-text); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; z-index: 60; box-shadow: 0 10px 30px rgba(15,23,42,.25); max-width: 520px; }
.toast.galat { background: var(--q-bad-text); }

/* ---------- Kerangka aplikasi ---------- */
.aplikasi { display: flex; min-height: 100vh; }
.rel { width: 64px; flex: none; background: var(--q-white); border-right: 1px solid var(--q-line-soft); display: flex; flex-direction: column; align-items: center; padding: 14px 0 14px; position: sticky; top: 0; height: 100vh; z-index: 5; }
.rel .lambang { margin-bottom: 30px; }
.rel nav { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.rel-item { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--q-text-2); border: 0; background: transparent; position: relative; padding: 0; }
.rel-item:hover { background: var(--q-bg-2); text-decoration: none; }
.rel-item.aktif { background: var(--q-brand-100); color: var(--q-brand-700); }
.rel-item .titik-belum { position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--q-brand-700); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--q-white); }
.rel-item .titik-belum[hidden] { display: none; }
.rel-item.nonaktif { color: var(--q-text-2); cursor: not-allowed; }
.rel-item.nonaktif:hover { background: transparent; }
.rel-item .tip { display: none; position: absolute; left: 50px; top: 50%; transform: translateY(-50%); background: var(--q-text); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 20; font-weight: 500; }
.rel-item:hover .tip, .rel-item:focus-visible .tip { display: block; }
.rel .bawah { margin-top: auto; position: relative; }
.avatar-aw { width: 34px; height: 34px; border-radius: 50%; background: var(--q-brand-100); color: var(--q-brand-800); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 0; padding: 0; }
.menu-akun { position: absolute; left: 46px; bottom: 0; background: #fff; border: 1px solid var(--q-line-soft); border-radius: 12px; box-shadow: 0 10px 30px rgba(15,23,42,.12); padding: 6px; width: 180px; z-index: 30; }
.menu-akun .nama { padding: 8px 10px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--q-line-soft); margin-bottom: 4px; }
.menu-akun button { width: 100%; border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 8px; display: flex; gap: 8px; align-items: center; font-size: 13px; }
.menu-akun button:hover { background: var(--q-bg-2); }
.utama-isi { flex: 1; min-width: 0; }
.memuat-layar { display: grid; place-items: center; height: 100vh; color: var(--q-text-2); gap: 8px; }

/* ---------- Kotak masuk (Q2) ---------- */
.kotak { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.pita { height: 36px; flex: none; background: var(--q-warn-bg); color: var(--q-warn-text); font-size: 13px; display: flex; align-items: center; gap: 8px; padding: 0 20px; }
.pita .ik { width: 16px; height: 16px; }
.pita a { margin-left: auto; color: var(--q-warn-text); font-weight: 600; }
.tiga-kolom { flex: 1; display: flex; min-height: 0; }
.kol-daftar { width: 360px; flex: none; background: #fff; border-right: 1px solid var(--q-line-soft); display: flex; flex-direction: column; min-height: 0; }
.kol-chat { flex: 1; min-width: 0; background: #fff; display: flex; flex-direction: column; min-height: 0; }
.kol-info { width: 340px; flex: none; background: #fff; border-left: 1px solid var(--q-line-soft); overflow-y: auto; }

.daftar-kepala { padding: 16px 16px 0; }
.daftar-kepala .baris1 { display: flex; align-items: center; gap: 4px; height: 26px; margin-bottom: 14px; }
.daftar-kepala h1 { font-size: 18px; font-weight: 700; margin: 0; flex: 1; }
.tombol-uji { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--q-line); background: #fff; font-size: 12px; font-weight: 600; color: var(--q-brand-800); display: inline-flex; align-items: center; gap: 4px; margin-right: 2px; }
.tombol-uji:hover { background: var(--q-brand-50); }
.cari { position: relative; }
.cari .ik { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; color: var(--q-text-3); }
.cari .input { padding-left: 36px; }
.saring-menu { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.saring-menu button { border: 1px solid var(--q-line-soft); background: #fff; border-radius: 999px; font-size: 12px; padding: 3px 10px; color: var(--q-text-2); }
.saring-menu button[aria-pressed="true"] { background: var(--q-brand-100); border-color: var(--q-brand-100); color: var(--q-brand-800); font-weight: 600; }
.tab { display: flex; gap: 0; margin: 12px -16px 0; padding: 0 12px; border-bottom: 1px solid var(--q-line-soft); }
.tab button { border: 0; background: transparent; padding: 10px 4px 9px; margin: 0 4px; font-size: 13px; color: var(--q-text-2); display: inline-flex; gap: 5px; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab button[aria-selected="true"] { color: var(--q-brand-700); font-weight: 600; border-bottom-color: var(--q-brand-700); }
.tab .lencana { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--q-bg-2); color: var(--q-text-2); font-size: 11px; font-weight: 500; display: inline-grid; place-items: center; }
.tab button[aria-selected="true"] .lencana { background: var(--q-brand-700); color: #fff; }
.daftar { flex: 1; overflow-y: auto; }
.butir { display: flex; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--q-line-soft); cursor: pointer; position: relative; width: 100%; text-align: left; background: #fff; border-left: 0; border-right: 0; border-top: 0; }
.butir:hover { background: var(--q-bg); }
.butir.terpilih { background: var(--q-brand-50); }
.butir.terpilih::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--q-brand-700); }
.butir .tengah { flex: 1; min-width: 0; }
.butir .atas { display: flex; align-items: baseline; gap: 8px; }
.butir .nama { font-size: 14px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.butir .jam { font-size: 12px; color: var(--q-text-3); flex: none; }
.butir .cuplikan { font-size: 13px; color: var(--q-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.butir .cuplikan-baris { display: flex; align-items: center; gap: 8px; margin: 3px 0 6px; }
.butir .hitung-belum { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--q-brand-700); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.butir.belum .nama { font-weight: 700; }
.butir.belum .cuplikan { color: var(--q-text); font-weight: 500; }
.butir.belum .jam { color: var(--q-brand-700); font-weight: 600; }
.butir .pil-baris { display: flex; gap: 6px; }

.chat-kepala { height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--q-line-soft); }
.chat-kepala .avatar { width: 36px; height: 36px; font-size: 13px; }
.chat-kepala .siapa { flex: 1; min-width: 0; }
.chat-kepala .nama { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-kepala .sub { font-size: 12px; color: var(--q-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saklar-asisten { height: 36px; padding: 0 12px 0 10px; border-radius: 10px; background: var(--q-bg-2); }
.saklar-asisten[aria-checked="true"] { background: var(--q-brand-100); color: var(--q-brand-800); }
.saklar-asisten .jalur { width: 40px; height: 22px; }
.saklar-asisten .jalur::after { width: 16px; height: 16px; }
.chat-isi { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.pil-tengah { align-self: center; background: var(--q-bg-2); color: var(--q-text-2); font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.pil-sistem { align-self: center; background: var(--q-bg); border: 1px solid var(--q-line-soft); color: var(--q-text-2); font-size: 12px; padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; max-width: 90%; }
.pil-sistem .ik { width: 14px; height: 14px; }
.gel-baris { display: flex; align-items: flex-end; gap: 8px; }
.gel-baris.arah-keluar { flex-direction: row-reverse; }
.gelembung { max-width: 440px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.gel-baris.arah-masuk .gelembung { background: var(--q-bg); border: 1px solid var(--q-line-soft); color: var(--q-text); }
.gel-baris.arah-keluar .gelembung { background: var(--q-brand-700); color: #fff; }
.gelembung.ada-lampiran { padding: 4px; }
.gelembung .lamp-ket { padding: 6px 8px 4px; }
.lamp-gambar { display: block; border-radius: 9px; overflow: hidden; cursor: zoom-in; }
.lamp-gambar img { display: block; max-width: 320px; max-height: 360px; width: auto; height: auto; object-fit: cover; }
.lamp-video { display: block; max-width: 320px; max-height: 360px; border-radius: 9px; background: #000; }
.lamp-suara { display: block; width: 280px; max-width: 100%; margin: 4px; }
.lamp-dokumen { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; background: var(--q-white); color: var(--q-text); text-decoration: none; min-width: 220px; }
.lamp-dokumen:hover { background: var(--q-brand-100); }
.lamp-dokumen .lamp-nama { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lamp-dokumen .lamp-ukuran { font-size: 12px; color: var(--q-text-2); }
.lamp-bacaan { display: flex; gap: 6px; align-items: flex-start; max-width: 320px; margin: 4px 0 0; padding: 7px 9px; border-radius: 9px; background: var(--q-brand-100); color: var(--q-text-2); font-size: 12.5px; line-height: 1.45; }
.lamp-bacaan b { color: var(--q-text); font-weight: 600; }
.lamp-bacaan .ik { flex: none; margin-top: 2px; }
.hal-lebar { max-width: 1180px; }
.kartu-angka { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.angka { background: var(--q-white); border: 1px solid var(--q-line-soft); border-radius: var(--q-radius); padding: 16px 18px; }
.angka .n { font-size: 26px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.angka .l { font-size: 12.5px; color: var(--q-text-2); margin-top: 2px; }
.tabel-wali th:first-child, .tabel-wali td:first-child { width: 190px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabel-wali td .pil { margin-right: 4px; }
.tabel-wali td:last-child { text-align: right; }
.redup { color: var(--q-text-3); }
.grafik { display: flex; gap: 10px; align-items: flex-end; padding: 8px 20px 18px; }
.grafik .kolom { flex: 1; text-align: center; min-width: 0; }
.grafik .batang-wadah { height: 140px; display: flex; gap: 4px; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--q-line-soft); }
.grafik .batang { width: 14px; min-height: 2px; border-radius: 4px 4px 0 0; }
.grafik .batang.a { background: var(--q-brand-700); }
.grafik .batang.b { background: var(--q-brand-100); border: 1px solid var(--q-brand-500); border-bottom: 0; }
.grafik .lb { font-size: 12px; font-weight: 600; margin-top: 6px; }
.grafik .lb2 { font-size: 11px; color: var(--q-text-3); font-variant-numeric: tabular-nums; }
.daftar-jenis { padding: 4px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.daftar-jenis .br { display: grid; grid-template-columns: 190px 1fr 32px; gap: 10px; align-items: center; font-size: 13px; }
.daftar-jenis .garis { height: 8px; background: var(--q-bg-2); border-radius: 4px; overflow: hidden; }
.daftar-jenis .garis span { display: block; height: 100%; background: var(--q-brand-500); border-radius: 4px; }
.daftar-jenis .jm { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-akun.menu-emoji { left: 0; bottom: 44px; width: 232px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.menu-akun.menu-emoji[hidden] { display: none; }
.menu-akun.menu-emoji button { justify-content: center; padding: 6px 0; font-size: 18px; }
@media (max-width: 900px) { .hal-lebar .dua-kolom { grid-template-columns: 1fr !important; } }
.gel-oto { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; font-weight: 600; color: var(--q-brand-700, #126455); }
.lamp-gagal { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px; color: var(--q-text-2); }
.gel-jam { font-size: 11px; color: var(--q-text-3); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.gel-jam .ik { width: 14px; height: 14px; color: var(--q-brand-500); }

.balas-wadah { flex: none; padding: 0 20px 16px; }
.balas { border: 1px solid var(--q-line); border-radius: 12px; padding: 10px 12px 10px; background: #fff; }
.balas:focus-within { border-color: var(--q-brand-700); }
.balas .tanda { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 6px; min-height: 18px; }
.balas .tanda .kiri { color: var(--q-brand-800); display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.balas .tanda .kiri .ik { width: 14px; height: 14px; }
.balas .tanda .sumber { margin-left: auto; color: var(--q-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.balas textarea { width: 100%; border: 0; outline: none; resize: none; font-size: 14px; line-height: 1.45; min-height: 42px; max-height: 160px; padding: 0; background: transparent; }
.balas .bawah { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.balas .bawah .tombol.teks { height: 36px; font-size: 14px; }
.balas .hitung { margin-left: auto; font-size: 12px; color: var(--q-text-3); margin-right: 10px; white-space: nowrap; }
.balas .tombol { height: 36px; }
.balas-pesan { margin-bottom: 8px; }
.balas-lampiran { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 8px; background: var(--q-bg-2); border-radius: 8px; font-size: 13px; }
.balas-lampiran[hidden] { display: none; }
.balas-lampiran .lamp-nama { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.balas-lampiran .lamp-ukuran { color: var(--q-text-2); white-space: nowrap; }
.balas-lampiran .tutup { margin-left: auto; border: 0; background: transparent; cursor: pointer; display: inline-flex; padding: 4px; border-radius: 6px; color: var(--q-text-2); }
.balas-lampiran .tutup:hover { background: var(--q-line-soft); }

.info-kepala { height: 52px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--q-line-soft); }
.info-kepala h2 { font-size: 14px; font-weight: 600; margin: 0; flex: 1; }
.akordeon { border-bottom: 1px solid var(--q-line-soft); }
.akordeon > button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0 16px; height: 42px; font-size: 13px; font-weight: 600; text-align: left; }
.akordeon > button .t { flex: 1; }
.akordeon > button .ik { width: 16px; height: 16px; color: var(--q-text-2); }
.akordeon > button .lencana { min-width: 20px; height: 20px; border-radius: 999px; background: var(--q-bg-2); font-size: 11px; display: inline-grid; place-items: center; color: var(--q-text-2); font-weight: 500; }
.akordeon .badan { padding: 0 16px 14px; }
.profil-atas { display: flex; align-items: center; gap: 12px; padding: 4px 0 10px; }
.profil-atas .avatar { width: 40px; height: 40px; }
.profil-atas .nama { font-size: 14px; font-weight: 600; }
.baris-info { display: grid; grid-template-columns: 122px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--q-line-soft); align-items: center; font-size: 14px; }
.baris-info:last-child { border-bottom: 0; }
.baris-info .k { font-size: 13px; color: var(--q-text-2); }
.baris-info .v { overflow-wrap: anywhere; }
.catatan-peringatan { background: var(--q-warn-bg); color: var(--q-warn-text); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: flex; gap: 8px; margin-bottom: 10px; }
.catatan-peringatan .ik { width: 16px; height: 16px; margin-top: 1px; }
.catatan-daftar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.catatan-butir { background: var(--q-bg); border: 1px solid var(--q-line-soft); border-radius: 10px; padding: 8px 10px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.catatan-butir .w { font-size: 11px; color: var(--q-text-3); margin-top: 2px; }
.riwayat-butir { font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--q-line-soft); overflow-wrap: anywhere; }
.riwayat-butir .w { font-size: 11px; color: var(--q-text-3); }
.kosong-tengah { flex: 1; display: grid; place-items: center; }

/* ---------- Pengaturan (Q3–Q6) ---------- */
.pengaturan { display: flex; min-height: 100vh; }
.menu2 { width: 220px; flex: none; background: var(--q-bg); border-right: 1px solid var(--q-line-soft); padding: 24px 12px; position: sticky; top: 0; height: 100vh; }
.menu2 .judul { padding: 0 8px; margin-bottom: 22px; }
.menu2 .judul h1 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.menu2 .judul p { font-size: 12px; color: var(--q-text-2); margin: 0; }
.menu2 .label-grup { padding: 0 8px; margin: 0 0 6px; display: block; }
.menu2 .grup { margin-bottom: 18px; display: flex; flex-direction: column; gap: 2px; }
.menu2 a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--q-text); font-size: 14px; }
.menu2 a .ik { width: 16px; height: 16px; color: var(--q-text-2); }
.menu2 a:hover { background: var(--q-bg-2); text-decoration: none; }
.menu2 a.aktif { background: var(--q-brand-100); color: var(--q-brand-800); font-weight: 600; }
.menu2 a.aktif .ik { color: var(--q-brand-800); }
.isi-pengaturan { flex: 1; min-width: 0; padding: 28px 40px 48px; }
.isi-kepala { margin-bottom: 20px; }
.isi-kepala h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.isi-kepala p { font-size: 14px; color: var(--q-text-2); margin: 0; }
.dua-kolom { display: grid; gap: 20px; align-items: start; }
.dua-kolom > div { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Q3 */
.kartu-mode { background: var(--q-warn-bg); border: 1px solid #FDE68A; border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.kartu-mode .ikon-kotak { width: 40px; height: 40px; border-radius: 10px; background: #FDE68A; color: var(--q-warn-text); display: grid; place-items: center; }
.kartu-mode > div.teks { flex: 1; }
.kartu-mode h3 { font-size: 14px; font-weight: 600; margin: 0; }
.kartu-mode p { font-size: 13px; color: var(--q-text-2); margin: 2px 0 0; }
.kartu-mode .sakelar { color: var(--q-brand-800); }
.tabel { width: 100%; border-collapse: collapse; }
.tabel th { text-align: left; font-size: 11px; font-weight: 600; color: var(--q-text-2); letter-spacing: 0.6px; text-transform: uppercase; padding: 10px 20px; background: var(--q-bg); border-top: 1px solid var(--q-line-soft); border-bottom: 1px solid var(--q-line-soft); }
.tabel td { padding: 11px 20px; border-bottom: 1px solid var(--q-line-soft); font-size: 14px; vertical-align: middle; }
.tabel th:first-child, .tabel td:first-child { width: 250px; }
.tabel tr.pilihan { cursor: pointer; }
.tabel tr.pilihan:hover td { background: var(--q-bg); }
.tabel tr.terpilih td { background: var(--q-brand-50); font-weight: 500; }
.tabel tr.terpilih td:first-child { box-shadow: inset 3px 0 0 var(--q-brand-700); }
.kartu-kaki { padding: 12px 20px 12px; }
.editor { padding: 20px; }
.editor .label-grup { display: block; margin-bottom: 2px; }
.editor h3 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.editor .medan { margin-bottom: 18px; }
.editor .medan > .label { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.centang { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 10px; }
.centang input { width: 16px; height: 16px; accent-color: var(--q-brand-700); margin: 0; }
.gel-contoh { background: var(--q-brand-700); color: #fff; padding: 10px 12px; border-radius: 12px; max-width: 400px; margin-left: auto; font-size: 14px; white-space: pre-wrap; }
.coba { display: flex; gap: 8px; }
.coba .input { flex: 1; }
.kaki-aksi { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--q-line-soft); margin-top: 4px; }

/* Q4 */
.sumber-baris { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--q-line-soft); }
.sumber-baris .ikon-kotak, .ikon-kotak.abu { width: 32px; height: 32px; border-radius: 8px; background: var(--q-bg-2); color: var(--q-text-2); display: grid; place-items: center; flex: none; }
.sumber-baris .ikon-kotak .ik { width: 16px; height: 16px; }
.sumber-baris > div.teks { flex: 1; min-width: 0; }
.sumber-baris .t { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.sumber-baris .s { font-size: 12px; color: var(--q-text-2); overflow-wrap: anywhere; white-space: pre-wrap; }
.sumber-baris.belum { background: #FEF2F2; }
.sumber-baris.belum .s { color: var(--q-bad-text); }
.sumber-baris.bisa-ubah { cursor: pointer; }
.sumber-baris.bisa-ubah:hover { background: var(--q-bg); }
.sumber-baris.belum.bisa-ubah:hover { background: #FDE8E8; }
.sumber-baris.berubah .t::after { content: " · belum disimpan"; color: var(--q-warn-text); font-weight: 500; font-size: 12px; }
.sumber-edit { padding: 14px 20px 16px; border-top: 1px solid var(--q-line-soft); background: var(--q-bg); display: grid; gap: 10px; }
.sumber-edit .dua { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sumber-edit .aksi { display: flex; gap: 8px; justify-content: space-between; }
.daftar-cek { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.daftar-cek li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.daftar-cek .bulat { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 0; }
.daftar-cek .bulat .ik { width: 12px; height: 12px; }
.bulat.ok { background: var(--q-ok-bg); color: var(--q-ok-text); }
.bulat.bad { background: var(--q-bad-bg); color: var(--q-bad-text); }
.bulat.info { background: var(--q-info-bg); color: var(--q-info-text); }
.isi-kartu { padding: 20px; }
.langkah { display: flex; gap: 14px; margin-top: 16px; }
.langkah .no { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.langkah .t { font-size: 14px; font-weight: 600; }
.langkah .s { font-size: 13px; color: var(--q-text-2); margin-top: 2px; }

/* Q5 */
.baris-akses { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--q-line-soft); }
.baris-akses .ikon-kotak { width: 36px; height: 36px; border-radius: 10px; background: var(--q-brand-100); color: var(--q-brand-700); display: grid; place-items: center; flex: none; }
.baris-akses .ikon-kotak.abu { background: var(--q-bg-2); color: var(--q-text-2); }
.baris-akses > div.teks { flex: 1; min-width: 0; }
.baris-akses .t { font-size: 14px; font-weight: 600; }
.baris-akses .s { font-size: 13px; color: var(--q-text-2); }
.baris-akses .s2 { font-size: 12px; color: var(--q-text-3); margin-top: 2px; }
.baris-akses.mati { background: var(--q-bg); }
.passkey-daftar { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.passkey-butir { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--q-text-2); }
.passkey-butir .hapus { border: 0; background: transparent; color: var(--q-text-3); padding: 2px; border-radius: 6px; display: inline-grid; }
.passkey-butir .hapus:hover { color: var(--q-bad-text); background: var(--q-bad-bg); }
.akses-butir { padding: 12px 20px; border-top: 1px solid var(--q-line-soft); display: flex; gap: 12px; }
.akses-butir .titik { width: 7px; height: 7px; border-radius: 50%; background: var(--q-brand-500); margin-top: 6px; flex: none; }
.akses-butir .w { font-size: 12px; color: var(--q-text-2); font-weight: 500; }
.akses-butir .p { font-size: 13px; }
.akses-butir.gagal { background: #FEF2F2; }
.akses-butir.gagal .titik { background: var(--q-bad-text); }
.akses-butir.gagal .p { color: var(--q-bad-text); font-weight: 600; }
.daftar-ikon { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.daftar-ikon li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.daftar-ikon li .ik { width: 16px; height: 16px; color: var(--q-brand-700); margin-top: 2px; }
.tabel-sambung { padding: 0 20px 20px; }
.tabel-sambung .baris-info { grid-template-columns: 182px 1fr auto; padding: 12px 0; }
.tabel-sambung .baris-info .v { font-weight: 500; }
.catatan-abu { background: var(--q-bg); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--q-text-2); display: flex; gap: 8px; margin-top: 16px; }
.catatan-abu .ik { width: 14px; height: 14px; margin-top: 1px; }

/* Q6 */
.grid-contoh { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.grid-contoh .penuh { grid-column: 1 / -1; }
.kartu-contoh { padding: 18px 20px 20px; }
.kartu-contoh .kepala { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kartu-contoh .no { width: 22px; height: 22px; border-radius: 50%; background: var(--q-bg-2); color: var(--q-text-2); font-size: 11px; font-weight: 600; display: grid; place-items: center; flex: none; }
.kartu-contoh .kepala h3 { font-size: 14px; font-weight: 600; margin: 0; flex: 1; }
.kartu-contoh .lbl { font-size: 11px; color: var(--q-text-3); font-weight: 600; margin-bottom: 4px; }
.kartu-contoh .lbl.kanan { text-align: right; margin-top: 10px; }
.kartu-contoh .g-wali { background: var(--q-bg); border: 1px solid var(--q-line-soft); border-radius: 12px; padding: 10px 12px; max-width: 380px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.kartu-contoh .g-asisten { background: var(--q-brand-700); color: #fff; border-radius: 12px; padding: 10px 12px; max-width: 380px; margin-left: auto; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.kartu-contoh .g-diam { border: 1px dashed var(--q-line); border-radius: 12px; padding: 10px 12px; max-width: 380px; margin-left: auto; font-size: 13px; color: var(--q-text-2); font-style: italic; }
.kartu-contoh .catatan { background: var(--q-warn-bg); color: var(--q-warn-text); border-radius: 8px; padding: 8px 10px; font-size: 12px; margin-top: 12px; white-space: pre-wrap; }

/* ---------- Layar masuk (Q1) ---------- */
.masuk { display: flex; min-height: 100vh; background: #fff; }
.masuk-kiri { flex: 0 0 65%; background: var(--q-brand-950); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 40px 60px; color: #fff; }
.cahaya { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.45; pointer-events: none; }
.cahaya.hijau { width: 560px; height: 560px; background: #27B199; left: -200px; top: -220px; }
.cahaya.kuning { width: 480px; height: 480px; background: #F59E0B; left: -220px; bottom: -260px; opacity: 0.35; }
.cahaya.biru { width: 560px; height: 560px; background: #3B82F6; right: -200px; bottom: -260px; opacity: 0.4; }
.ilustrasi { position: relative; width: 700px; height: 344px; z-index: 1; }
.ilustrasi svg { position: absolute; inset: 0; overflow: visible; }
.il-label { position: absolute; left: 0; top: 128px; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; color: #94A3B8; }
.il-gel { position: absolute; left: 0; top: 147px; width: 190px; height: 60px; background: #E2E8F0; color: var(--q-text); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 18px; }
.il-simpul { position: absolute; left: 280px; top: 112px; width: 120px; height: 120px; border-radius: 50%; background: #1A806E; border: 3px solid #27B199; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; box-shadow: 0 0 40px rgba(39,177,153,.25); }
.il-simpul .ik { width: 24px; height: 24px; }
.il-kartu { position: absolute; left: 500px; width: 200px; height: 60px; border-radius: 10px; background: rgba(4,47,39,.75); border: 1px solid; padding: 12px 12px 0 34px; }
.il-kartu::before { content: ""; position: absolute; left: 14px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: var(--w); }
.il-kartu b { display: block; font-size: 14px; font-weight: 600; line-height: 18px; }
.il-kartu span { display: block; font-size: 11px; color: #94A3B8; line-height: 16px; margin-top: 2px; }
.il-kartu.hijau { top: 0; border-color: #27B199; --w: #27B199; background: rgba(18,100,85,.35); }
.il-kartu.kuning { top: 142px; border-color: #D4A017; --w: #F59E0B; background: rgba(18,70,50,.6); }
.il-kartu.biru { top: 284px; border-color: #3B82F6; --w: #3B82F6; background: rgba(15,50,80,.6); }
.masuk-kiri h2 { font-size: 22px; font-weight: 600; margin: 88px 0 10px; text-align: center; position: relative; z-index: 1; }
.masuk-kiri p { font-size: 15px; color: #94A3B8; margin: 0; text-align: center; position: relative; z-index: 1; }
.masuk-kanan { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.formulir-masuk { width: 384px; max-width: 100%; }
.merek { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 30px; }
.formulir-masuk h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; line-height: 1.2; }
.formulir-masuk .pembuka { font-size: 14px; color: var(--q-text-2); margin: 0 0 20px; }
.tombol.lebar { width: 100%; }
.tombol.tinggi48 { height: 48px; }
.formulir-masuk .ket-passkey { font-size: 12px; color: var(--q-text-2); margin: 8px 0 0; }
.pemisah { display: flex; align-items: center; gap: 12px; color: var(--q-text-3); font-size: 12px; margin: 18px 0 14px; }
.pemisah::before, .pemisah::after { content: ""; flex: 1; height: 1px; background: var(--q-line-soft); }
.sandi-wadah { position: relative; }
.sandi-wadah .input { padding-right: 44px; }
.sandi-wadah .tombol-ikon { position: absolute; right: 6px; top: 6px; }
.kode-kotak { display: flex; justify-content: space-between; }
.kode-kotak input { width: 48px; height: 52px; border: 1px solid var(--q-line); border-radius: 12px; text-align: center; font-size: 20px; font-weight: 500; outline: none; background: #fff; padding: 0; }
.kode-kotak input:focus { border: 2px solid var(--q-brand-700); }
.formulir-masuk .medan { margin-bottom: 18px; }
.formulir-masuk .tautan { display: block; text-align: center; margin: 18px 0 0; font-size: 13px; font-weight: 500; background: none; border: 0; color: var(--q-brand-800); width: 100%; }
.formulir-masuk .dasar { font-size: 12px; color: var(--q-text-3); text-align: center; margin-top: 30px; }
.formulir-masuk .pemberitahuan { margin-bottom: 14px; }

@media (max-width: 1100px) {
  .masuk-kiri { display: none; }
  .kol-info { display: none; }
}
.bulat.warn-bulat { background: var(--q-warn-bg); color: var(--q-warn-text); }

/* --- perbaikan sesudah tangkapan v1 --- */
.chat-isi > * { flex-shrink: 0; }
.tab { justify-content: space-between; padding: 0 16px; }
.tab button { margin: 0 0 -1px; gap: 4px; }
.il-kartu { padding-right: 6px; }
.il-kartu span { white-space: nowrap; letter-spacing: -0.1px; }
.masuk-kiri h2 { margin-top: 64px; }
.masuk-kiri { padding-bottom: 90px; }
.rel { position: relative; height: auto; min-height: 100vh; }
.kotak-aktif .rel { height: 100vh; }
.menu2 { position: relative; height: auto; min-height: 100vh; }
.menu2 a { white-space: nowrap; gap: 9px; padding: 0 9px; }
.editor textarea.input { resize: none; }
.passkey-daftar { gap: 2px; margin-top: 2px; }
.passkey-butir.lain { font-size: 12px; color: var(--q-text-3); }
.baris-akses .tombol.teks { flex: none; }
.kartu { overflow: hidden; }
.gel-belum { color: var(--q-text-2); font-style: italic; }

/* Antrean kuitansi */
.tab .lencana.perlu { background: var(--q-warn-bg); color: var(--q-warn-text); font-weight: 600; }
.pil-sistem.perlu { background: var(--q-warn-bg); border-color: #FDE68A; color: var(--q-warn-text); }
.kartu-pengingat { background: var(--q-bg); border: 1px solid var(--q-line-soft); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; }
.kartu-pengingat h3 { font-size: 14px; font-weight: 600; margin: 0; }
.kartu-pengingat p { font-size: 13px; color: var(--q-text-2); margin: 2px 0 12px; }
.kartu-pengingat .baris { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kartu-pengingat .input { height: 38px; }
.kartu-pengingat input.input { width: 200px; }
.kartu-pengingat select.input { width: 150px; }
/* Enam tab tidak muat sebaris di kolom 360px: dua baris, tidak ada yang tersembunyi di balik kolom chat. */
.tab { flex-wrap: wrap; justify-content: flex-start; column-gap: 18px; row-gap: 0; }
.pil-baris { flex-wrap: wrap; row-gap: 4px; }

/* Kitir & Blast */
.tab-hal { display: flex; gap: 4px; border-bottom: 1px solid var(--q-line-soft); margin: 0 0 20px; }
.tab-hal a { padding: 10px 14px 9px; font-size: 14px; color: var(--q-text-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-hal a:hover { color: var(--q-text); }
.tab-hal a[aria-selected="true"] { color: var(--q-brand-700); font-weight: 600; border-bottom-color: var(--q-brand-700); }
.baris-atas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabel-siaran th:first-child, .tabel-siaran td:first-child { width: auto; }
.tabel-siaran td { font-variant-numeric: tabular-nums; }
.tabel-siaran td:last-child { text-align: right; white-space: nowrap; }
.tabel-siaran td .pil { margin-right: 4px; white-space: normal; }
.tabel-siaran td .tombol { margin-left: 4px; }
.ket-kecil { font-size: 12.5px; color: var(--q-text-2); line-height: 1.5; margin-top: 3px; }
.daftar-ringkas { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; max-height: 260px; overflow-y: auto; }
.hal-lebar .saring-menu .pil { align-self: center; }
