/* =========================================================
   VeriNews — gaya utama
   Sumber: Panduan gaya (canvas desain). Ubah warna di :root.
   ========================================================= */

:root {
  --vn-primary: #2E4A3B;
  --vn-primary-hover: #1C3026;
  --vn-accent: #8FD3A8;
  --vn-surface-mint: #EDF7F1;
  --vn-text: #1F2A23;
  --vn-text-muted: #5B6B61;
  --vn-border: #E1E8E3;
  --vn-input-border: #CFD6D2;
  --vn-surface-muted: #F3F6F4;

  --vn-hoaks-bg: #FBE6E4;  --vn-hoaks: #B23A31;
  --vn-fakta-bg: #DDEFE3;  --vn-fakta: #2F6B49;
  --vn-cek-bg: #FCEFD9;    --vn-cek: #9A6212;

  --vn-radius-sm: 6px;
  --vn-radius: 8px;
  --vn-radius-card: 12px;
  --vn-content: 1192px;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.vn {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--vn-text);
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.vn a { color: var(--vn-primary); }
.vn a:hover { color: var(--vn-primary-hover); }
.vn h1, .vn h2, .vn h3 { margin: 0; line-height: 1.25; color: var(--vn-text); }
.vn p { margin: 0; }
.vn img { max-width: 100%; display: block; }
:where(.vn) :where(button, input, textarea, select) { font: inherit; color: inherit; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--vn-content) + 48px); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--vn-text-muted); }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }

/* ---------- Navbar publik ---------- */
.vn-nav { background: var(--vn-primary); color: #fff; position: relative; z-index: 20; }
.vn-nav .container { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vn-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 18px; }
.vn-brand img { width: 30px; height: 30px; }
.vn-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.vn-nav-links > a { color: #D9E6DE; text-decoration: none; }
.vn-nav-links > a:hover { color: #fff; }
.vn-nav-links > a.active { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.vn-nav-login { height: 34px; padding: 0 16px; border: 1px solid rgba(255,255,255,.7); border-radius: var(--vn-radius-sm); display: inline-flex; align-items: center; color: #fff !important; text-decoration: none !important; font-weight: 500; }
.vn-account { position: relative; }
.vn-account-btn { height: 38px; padding: 0 10px 0 4px; border: 0; border-radius: 19px; background: rgba(255,255,255,.10); color: #fff; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.vn-avatar { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--vn-primary); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vn-menu { position: absolute; right: 0; top: 48px; width: 240px; background: #fff; color: var(--vn-text); border: 1px solid var(--vn-border); border-radius: 10px; box-shadow: 0 12px 30px rgba(20,35,27,.16); padding: 8px; }
.vn-menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--vn-border); margin-bottom: 6px; }
.vn-menu a, .vn-menu button { display: flex; width: 100%; height: 40px; padding: 0 12px; align-items: center; border: 0; background: none; border-radius: var(--vn-radius-sm); color: var(--vn-text); text-decoration: none; font-size: 14px; cursor: pointer; text-align: left; }
.vn-menu a:hover, .vn-menu button:hover { background: var(--vn-surface-mint); }
.vn-menu .danger { color: var(--vn-hoaks); border-top: 1px solid var(--vn-border); margin-top: 6px; border-radius: 0; }
.vn-burger { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }

/* ---------- Footer ---------- */
.vn-footer { margin-top: auto; background: var(--vn-primary); color: #D3E3D9; font-size: 13px; }
.vn-footer .container { padding-top: 28px; padding-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vn-footer a { color: #D3E3D9; }
.vn-footer .vn-brand { font-size: 15px; }
.vn-footer .vn-brand img { width: 22px; height: 22px; }

/* ---------- Teks & judul ---------- */
.vn-display { font-size: 36px; font-weight: 700; letter-spacing: -0.01em; }
.vn-h1 { font-size: 30px; font-weight: 700; }
.vn-h2 { font-size: 20px; font-weight: 700; }
.vn-h3 { font-size: 17px; font-weight: 700; }
.crumbs { font-size: 13px; color: #A7B0AA; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--vn-text-muted); text-decoration: none; }
.crumbs span:last-child { color: var(--vn-text); }

/* ---------- Tombol ---------- */
.btn { height: 44px; padding: 0 18px; border-radius: var(--vn-radius); border: 1px solid transparent; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--vn-primary); color: #fff !important; }
.btn-primary:hover { background: var(--vn-primary-hover); }
.btn-secondary { background: #fff; color: var(--vn-text) !important; border-color: var(--vn-input-border); }
.btn-secondary:hover { border-color: var(--vn-primary); }
.btn-ghost { background: transparent; color: var(--vn-primary) !important; }
.btn-light { background: #fff; color: var(--vn-primary) !important; }
.btn-danger { background: #fff; color: var(--vn-hoaks) !important; border-color: #E6B8B3; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .label { font-size: 14px; font-weight: 600; }
.req { color: var(--vn-hoaks); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--vn-input-border); border-radius: var(--vn-radius);
  background: #fff; padding: 0 14px; font-size: 15px; color: var(--vn-text);
}
.input, .select { height: 46px; }
.textarea { padding: 12px 14px; line-height: 1.6; resize: vertical; min-height: 140px; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid rgba(46,74,59,.25); border-color: var(--vn-primary); }
.input::placeholder, .textarea::placeholder { color: #8A948E; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7A877F; pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.input.is-invalid, .textarea.is-invalid { border-color: #C9564D; }
.field-error { font-size: 13px; color: var(--vn-hoaks); }
.hint { font-size: 12px; color: var(--vn-text-muted); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--vn-primary); margin: 0; }

/* ---------- Kartu & kotak ---------- */
.card { background: #fff; border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.card-tight { padding: 18px 22px; }
.note { padding: 14px 16px; border-radius: 10px; background: var(--vn-surface-muted); display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--vn-text-muted); }
.note svg { flex-shrink: 0; margin-top: 2px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.alert-success { background: var(--vn-fakta-bg); color: var(--vn-fakta); }
.alert-error { background: var(--vn-hoaks-bg); color: var(--vn-hoaks); }
.quote { padding: 12px 16px; border-left: 3px solid var(--vn-input-border); background: #F7F9F8; font-size: 15px; line-height: 1.6; white-space: pre-line; word-break: break-word; }
.linkbox { padding: 12px 14px; border: 1px solid var(--vn-border); border-radius: var(--vn-radius); display: flex; gap: 10px; align-items: center; min-width: 0; }
.linkbox a { word-break: break-all; }

/* ---------- Label hasil (pill) ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-lg { padding: 6px 14px; font-size: 14px; }
.pill-lg::before { width: 8px; height: 8px; }
.label-hoaks { background: var(--vn-hoaks-bg); color: var(--vn-hoaks); }
.label-fakta { background: var(--vn-fakta-bg); color: var(--vn-fakta); }
.label-perlu-dicek { background: var(--vn-cek-bg); color: var(--vn-cek); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #EEF2EF; color: #3C4741; font-size: 12px; font-weight: 600; }

/* ---------- Tab Teks / Tautan / Gambar ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--vn-surface-muted); border-radius: 10px; }
.tab { height: 40px; border: 0; border-radius: var(--vn-radius); background: transparent; color: var(--vn-text-muted); font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.tab.active { background: #fff; color: var(--vn-primary); font-weight: 600; box-shadow: 0 1px 3px rgba(20,35,27,.10); }

/* ---------- Beranda ---------- */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: stretch; margin-top: 28px; }
.check-card { border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); padding: 14px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 2px 10px rgba(20,35,27,.04); }
.check-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dropzone { min-height: 170px; border: 1.5px dashed var(--vn-input-border); border-radius: var(--vn-radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--vn-text-muted); font-size: 14px; cursor: pointer; text-align: center; padding: 16px; }
.dropzone:hover { border-color: var(--vn-primary); background: #FAFCFB; }
.dropzone b { color: var(--vn-primary); }
.howto { background: var(--vn-primary); color: #fff; border-radius: var(--vn-radius-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.howto ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.howto li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; font-size: 13px; color: #D3E3D9; }
.howto li span:first-child { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.howto a { color: #fff; font-size: 13px; }
.band-mint { background: var(--vn-surface-mint); padding: 48px 0; }
.section { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); overflow: hidden; display: flex; flex-direction: column; text-decoration: none !important; color: var(--vn-text) !important; transition: box-shadow .15s; }
.post-card:hover { box-shadow: 0 6px 18px rgba(20,35,27,.10); }
.post-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.post-card .title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.post-card .meta { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--vn-text-muted); }
.cover { position: relative; background: #DCE5DF; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; right: 9%; top: 24%; transform: rotate(-14deg); padding: 2px 10px; border: 3px solid #C8372D; border-radius: 5px; color: #C8372D; font-size: 24px; font-weight: 800; letter-spacing: .05em; background: rgba(255,255,255,.35); }
.stamp.fakta { color: var(--vn-fakta); border-color: var(--vn-fakta); }
.stamp.perlu-dicek { color: var(--vn-cek); border-color: var(--vn-cek); font-size: 18px; }
.empty { padding: 28px; border: 1px dashed var(--vn-input-border); border-radius: var(--vn-radius-card); color: var(--vn-text-muted); text-align: center; font-size: 14px; }

/* Grafik isu ramai */
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--vn-surface-muted); border-radius: 12px; }
.seg button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--vn-text-muted); cursor: pointer; font-size: 14px; }
.seg button.active { background: #fff; color: var(--vn-text); font-weight: 600; box-shadow: 0 1px 3px rgba(20,35,27,.12); }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 16px; align-items: center; font-size: 15px; }
.bar-track { height: 22px; }
.bar { height: 22px; background: #7FA58E; border-radius: 0 4px 4px 0; min-width: 2px; transition: width .3s; }
.bar.top { background: var(--vn-primary); }
.bar-row b { text-align: right; }

/* ---------- Halaman hasil ---------- */
.page { padding: 26px 0 64px; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.verdict { border-radius: 14px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--vn-border); }
.verdict.label-hoaks, .verdict.label-fakta, .verdict.label-perlu-dicek { color: var(--vn-text); }
.verdict .pill { background: #fff; }
.verdict.label-hoaks .pill, .verdict.label-hoaks .verdict-meta { color: var(--vn-hoaks); }
.verdict.label-fakta .pill, .verdict.label-fakta .verdict-meta { color: var(--vn-fakta); }
.verdict.label-perlu-dicek .pill, .verdict.label-perlu-dicek .verdict-meta { color: var(--vn-cek); }
.verdict-meta { font-size: 13px; font-weight: 600; }
.num-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.num-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.num-list li > span:first-child { width: 24px; height: 24px; border-radius: 50%; background: var(--vn-surface-mint); color: var(--vn-primary); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; }
.check-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.check-list svg { margin-top: 3px; }
.src { padding: 14px 16px; border: 1px solid var(--vn-border); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-decoration: none !important; color: var(--vn-text) !important; }
.src:hover { border-color: var(--vn-primary); }
.src .t { font-size: 15px; font-weight: 600; }
.src .go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--vn-primary); white-space: nowrap; }
.src-empty { padding: 16px 18px; border: 1px dashed var(--vn-input-border); border-radius: 10px; display: flex; gap: 12px; color: var(--vn-text-muted); font-size: 14px; }
.cta-dark { padding: 22px; border-radius: var(--vn-radius-card); background: var(--vn-primary); color: #fff; display: flex; flex-direction: column; gap: 12px; }
.cta-dark p { color: #D3E3D9; font-size: 14px; }
.mini-post { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; text-decoration: none !important; color: var(--vn-text) !important; }
.mini-post + .mini-post { border-top: 1px solid var(--vn-border); }
.mini-post .cover { aspect-ratio: auto; height: 54px; border-radius: 6px; }
.mini-post .stamp { font-size: 10px; border-width: 2px; padding: 0 4px; right: 6%; }

/* Loading */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; padding: 24px; }
.loading-card { width: 100%; max-width: 620px; border: 1px solid var(--vn-border); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 22px; background: #fff; }
.progress { height: 6px; border-radius: 3px; background: #EEF2EF; overflow: hidden; }
.progress > div { height: 100%; background: var(--vn-primary); border-radius: 3px; transition: width .6s ease; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #8A948E; }
.step .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--vn-input-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step.done { color: var(--vn-text); }
.step.done .dot { background: var(--vn-primary); border-color: var(--vn-primary); color: #fff; }
.step.run { color: var(--vn-text); font-weight: 600; }
.step.run .dot { border: 3px solid #CFE3D6; border-top-color: var(--vn-primary); animation: vnspin .9s linear infinite; }
@keyframes vnspin { to { transform: rotate(360deg); } }

/* Error */
.narrow { max-width: 760px; margin: 0 auto; }
.icon-tile { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.icon-tile.warn { background: var(--vn-cek-bg); color: var(--vn-cek); }
.icon-tile.mint { background: var(--vn-surface-mint); color: var(--vn-primary); }
.alt { padding: 16px 18px; border: 1px solid var(--vn-border); border-radius: 10px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-decoration: none !important; color: var(--vn-text) !important; }
.alt:hover { border-color: var(--vn-primary); }
.alt .icon-tile { width: 40px; height: 40px; border-radius: 10px; }

/* Riwayat */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--vn-input-border); background: #fff; color: #3C4741; font-size: 13px; cursor: pointer; text-decoration: none !important; display: inline-flex; align-items: center; }
.chip-btn.active { border-color: var(--vn-primary); background: var(--vn-primary); color: #fff !important; font-weight: 600; }
.list-card { border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); overflow: hidden; }
.hist-row { padding: 16px 22px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 140px 160px 90px 32px; gap: 16px; align-items: center; }
.hist-row + .hist-row { border-top: 1px solid var(--vn-border); }
.hist-row .ttl { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--vn-text); text-decoration: none; }
.type-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--vn-surface-mint); color: var(--vn-primary); display: flex; align-items: center; justify-content: center; }
.icon-btn { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--vn-text-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--vn-hoaks-bg); color: var(--vn-hoaks); }

/* Paginasi bawaan Laravel (resources/views/vendor/pagination/vn.blade.php) */
.pager { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--vn-text-muted); }
.pager nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.pager nav li a, .pager nav li span { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--vn-input-border); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--vn-text); }
.pager nav li.active span { background: var(--vn-primary); border-color: var(--vn-primary); color: #fff; }
.pager nav li.disabled span { color: #A7B0AA; }

/* ---------- Halaman akun (login, daftar, dll.) ---------- */
.auth { flex-grow: 1; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
.auth-main { padding: 40px clamp(24px, 7vw, 100px); display: flex; flex-direction: column; }
.auth-main .vn-brand { color: var(--vn-text) !important; }
.auth-body { flex-grow: 1; display: flex; align-items: center; padding: 32px 0; }
.auth-form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.auth-side { background: var(--vn-primary); background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px); background-size: 22px 22px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 60px; text-align: center; }
.auth-side p { color: #D3E3D9; max-width: 400px; }
.auth-art { position: relative; width: 240px; height: 190px; }
.auth-art .paper { position: absolute; left: 20px; top: 20px; width: 200px; height: 150px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; color: var(--vn-primary); }
.auth-art .ok { position: absolute; right: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--vn-accent); color: var(--vn-primary); display: flex; align-items: center; justify-content: center; }
.divider { height: 1px; background: var(--vn-border); }

/* ---------- Panel admin ---------- */
body.vn-admin { flex-direction: row; background: #fff; }
.adm-side { width: 268px; flex-shrink: 0; background: var(--vn-primary); color: #fff; padding: 26px 18px 22px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 26px; color: #fff !important; text-decoration: none; }
.adm-brand img { width: 32px; height: 32px; }
.adm-brand b { display: block; font-size: 18px; line-height: 1.1; }
.adm-brand small { font-size: 10px; color: #C9DDD0; }
.adm-nav { display: flex; flex-direction: column; gap: 4px; }
.adm-nav a { height: 40px; padding: 0 14px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: #E3ECE6 !important; text-decoration: none; }
.adm-nav a:hover { background: rgba(255,255,255,.07); }
.adm-nav a.active { background: rgba(255,255,255,.13); color: #fff !important; font-weight: 600; }
.adm-nav .badge { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #D9534F; color: #fff; }
.adm-nav a.soon { opacity: .55; }
.adm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.adm-foot > a { padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #E3ECE6 !important; text-decoration: none; }
.adm-user { padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 10px; }
.adm-user .vn-avatar { width: 32px; height: 32px; }
.adm-user b { display: block; font-size: 13px; }
.adm-user small { font-size: 11px; color: #C9DDD0; }
.adm-user button { margin-left: auto; background: none; border: 0; color: #E3ECE6; cursor: pointer; padding: 4px; }
.adm-main { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-crumb { height: 48px; flex-shrink: 0; padding: 0 28px; display: flex; align-items: center; background: var(--vn-surface-mint); font-size: 13px; color: var(--vn-text-muted); }
.adm-content { flex-grow: 1; padding: 24px 28px 18px; display: flex; flex-direction: column; gap: 20px; }
.adm-footer { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; font-size: 11px; color: #7A877F; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border: 1px solid var(--vn-border); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 28px; line-height: 1.2; }

/* ---------- Layar kecil ---------- */
@media (max-width: 1000px) {
  .hero-grid, .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hist-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .hist-row .hide-sm { display: none; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.vn { font-size: 14px; }
  .container { padding: 0 18px; }
  .vn-nav .container { height: 60px; }
  .vn-burger { display: inline-flex; }
  .vn-nav-links { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--vn-primary); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; }
  .vn-nav-links.open { display: flex; }
  .vn-nav-links > a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .vn-nav-links .vn-nav-login { margin-top: 12px; justify-content: center; }
  .vn-menu { position: static; width: auto; margin-top: 8px; }
  .vn-display { font-size: 26px; }
  .vn-h1 { font-size: 22px; }
  .hero { padding: 24px 0 32px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .bar-row { grid-template-columns: 110px minmax(0, 1fr) 44px; gap: 10px; font-size: 13px; }
  .verdict { padding: 18px; }
  .check-foot { flex-direction: column; align-items: stretch; }
  .vn-footer .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  body.vn-admin { flex-direction: column; }
  .adm-side { width: 100%; height: auto; position: static; }
}

/* Kotak isian mengisi tinggi kartu form di beranda */
.check-card > .field { flex-grow: 1; }
.check-card > .field .textarea { height: 100%; }

/* =========================================================
   Tahap 3: tabel & form admin, detail hoaks, edukasi
   ========================================================= */

/* ---------- Admin: judul halaman & toolbar ---------- */
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.adm-head h1 { font-size: 26px; font-weight: 700; }
.adm-panel { border: 1px solid var(--vn-border); border-radius: 10px; overflow: hidden; background: #fff; }
.adm-toolbar { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--vn-border); }
.adm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-tabs a { padding: 6px 12px; border-radius: 6px; font-size: 12px; color: var(--vn-text-muted) !important; text-decoration: none; }
.adm-tabs a.active { background: var(--vn-surface-mint); color: var(--vn-primary) !important; font-weight: 600; }
.adm-filters { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.adm-filters .input, .adm-filters .select { height: 38px; font-size: 13px; }
.adm-filters .select { width: auto; min-width: 160px; padding-right: 30px; }

/* ---------- Admin: tabel ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; padding: 11px 16px; font-size: 11px; font-weight: 600; color: var(--vn-text-muted); letter-spacing: .04em; text-transform: uppercase; background: #F7F9F8; border-bottom: 1px solid var(--vn-border); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid #EEF1EF; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .thumb { width: 58px; height: 40px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.tbl .thumb .cover { height: 100%; aspect-ratio: auto; }
.tbl .thumb .stamp { font-size: 8px; border-width: 1.5px; padding: 0 3px; }
.tbl .ttl { font-weight: 600; color: var(--vn-text); }
.tbl .sub { font-size: 11px; color: var(--vn-text-muted); }
.tbl-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tbl-actions form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--vn-primary); cursor: pointer; text-decoration: underline; }
.link-btn.danger { color: var(--vn-hoaks); }
.tbl-foot { padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--vn-text-muted); border-top: 1px solid var(--vn-border); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--vn-fakta-bg); color: var(--vn-fakta); }
.status-wait { background: var(--vn-cek-bg); color: var(--vn-cek); }
.status-off { background: #EEF1EF; color: #5F6B64; }
.status-new { background: #E2EAF0; color: #3F5E73; }

/* ---------- Admin: form ---------- */
.adm-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.adm-card { border: 1px solid var(--vn-border); border-radius: 10px; background: #fff; display: flex; flex-direction: column; }
.adm-card-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.adm-card-head { display: flex; flex-direction: column; gap: 2px; }
.adm-card-head b { font-size: 16px; }
.adm-card-head span { font-size: 12px; color: var(--vn-text-muted); }
.adm-card-foot { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--vn-border); background: #FAFBFA; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: 0 0 10px 10px; }
.adm-form .field label, .adm-form .label { font-size: 12px; }
.adm-form .input, .adm-form .select { height: 40px; font-size: 13px; }
.adm-form .textarea { font-size: 13px; min-height: 90px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; border-radius: 11px; background: var(--vn-input-border); cursor: pointer; transition: background .15s; }
.toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked + span { background: var(--vn-primary); }
.toggle input:checked + span::after { transform: translateX(18px); }
.cover-pick { border-radius: 8px; overflow: hidden; }
.cover-pick .cover { aspect-ratio: 16 / 10; }
.ref-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) 32px; gap: 8px; align-items: center; }
.add-btn { align-self: flex-start; height: 32px; padding: 0 12px; border: 1px dashed var(--vn-input-border); border-radius: 6px; background: #fff; color: var(--vn-primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.danger-zone { padding: 16px 20px; border: 1px solid #F0D5D2; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ---------- Publik: daftar & detail hoaks ---------- */
.page-band { background: var(--vn-surface-mint); padding: 36px 0 30px; }
.article { display: flex; flex-direction: column; gap: 26px; }
.article-cover { border-radius: 12px; overflow: hidden; }
.article-cover .cover { aspect-ratio: 16 / 8; }
.article-cover .stamp { font-size: 42px; border-width: 4px; }
.prose p { font-size: 16px; line-height: 1.75; color: #2F3A34; }
.prose p + p { margin-top: 14px; }
/* Isi artikel edukasi: subjudul, poin, dan tautan */
.layout-article.edu .prose > h2:first-child { margin-top: 0 !important; }
.layout-article.edu .prose ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.layout-article.edu .prose li { font-size: 16px; line-height: 1.7; color: #2F3A34; padding-left: 2px; }
.layout-article.edu .prose ul + p { margin-top: 14px; }
.layout-article.edu .prose strong { color: var(--vn-text); }
.layout-article.edu .prose a { color: var(--vn-green); text-decoration: underline; text-underline-offset: 3px; }
.claim-fact { border: 1px solid var(--vn-border); border-radius: 12px; overflow: hidden; }
.claim-fact > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
.claim-fact > div + div { border-top: 1px solid var(--vn-border); }
.claim-fact b { padding: 18px 20px; font-size: 14px; }
.claim-fact p { padding: 18px 22px; font-size: 15px; line-height: 1.6; }
.claim-fact .k { background: #FDF3F2; color: var(--vn-hoaks); }
.claim-fact .f { background: #EEF7F1; color: var(--vn-fakta); }
.tips { padding: 22px 24px; border-radius: 12px; background: #F4F8F5; display: flex; flex-direction: column; gap: 14px; }
.share-row { padding-top: 22px; border-top: 1px solid var(--vn-border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Publik: edukasi ---------- */
.edu-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 0; }
.edu-hero .art { border-radius: 16px; background: var(--vn-surface-mint); aspect-ratio: 3 / 2; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--vn-primary); }
.edu-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.skill { border: 1px solid var(--vn-border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none !important; color: var(--vn-text) !important; background: #fff; }
.skill:hover { border-color: var(--vn-primary); }
.skill .no { font-size: 12px; font-weight: 700; color: #3B7A55; }
.guide-row { padding: 16px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; text-decoration: none !important; color: var(--vn-text) !important; }
.guide-row + .guide-row { border-top: 1px solid var(--vn-border); }
.guide-row .cover { aspect-ratio: 16 / 10; border-radius: 8px; }

@media (max-width: 1000px) {
  .adm-form { grid-template-columns: minmax(0, 1fr); }
  .edu-hero { grid-template-columns: minmax(0, 1fr); }
  .tbl .hide-sm { display: none; }
}
@media (max-width: 760px) {
  .claim-fact > div { grid-template-columns: minmax(0, 1fr); }
  .claim-fact b { padding-bottom: 0; }
  .guide-row { grid-template-columns: 80px minmax(0, 1fr); }
  .guide-row > :last-child { display: none; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tahap 3: tata letak artikel ---------- */
.layout-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.layout-article.edu { grid-template-columns: minmax(0, 1fr) 320px; }
.layout-article .card .row.between a { white-space: nowrap; }
.post-card .meta-top { display: flex; }
@media (max-width: 1000px) {
  .layout-article, .layout-article.edu { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .article h1.vn-display { font-size: 27px !important; }
  .share-row .row { width: 100%; }
}

/* ---------- Tahap 4: Lapor Hoaks & Laporan ---------- */
.form-card { border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); background: #fff; padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.from-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 14px; }
.from-check .type-tile { background: #fff; flex-shrink: 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--vn-primary); flex-shrink: 0; }
.img-thumb { width: 160px; border-radius: 8px; border: 1px solid var(--vn-border); }

.done-wrap { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--vn-fakta-bg); color: var(--vn-fakta); display: flex; align-items: center; justify-content: center; }
.code-box { padding: 10px 18px; border: 1px dashed var(--vn-input-border); border-radius: 10px; font-size: 15px; background: #FAFBFA; }
.code-box b { font-size: 17px; letter-spacing: .03em; }
.next-steps { width: 100%; text-align: left; border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.next-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--vn-surface-mint); color: var(--vn-primary); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }

.rep-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.rep-card + .rep-card { border-top: 1px solid var(--vn-border); }
.rep-card .ttl { font-size: 16px; font-weight: 600; line-height: 1.45; word-break: break-word; }
.progress-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.progress-steps span { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--vn-text-muted); }
.progress-steps span::before { content: ""; height: 4px; border-radius: 2px; background: var(--vn-border); }
.progress-steps span.on { color: var(--vn-text); font-weight: 600; }
.progress-steps span.on::before { background: var(--vn-primary); }
.review-note { border-radius: 10px; background: #F7F9F8; border: 1px solid var(--vn-border); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.6; }
.status { white-space: nowrap; }

.choice-list { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--vn-input-border); border-radius: var(--vn-radius); cursor: pointer; font-size: 13px; font-weight: 600; }
.choice input { accent-color: var(--vn-primary); width: 16px; height: 16px; margin: 0; }
.choice:has(input:checked) { border-color: var(--vn-primary); background: var(--vn-surface-mint); }
.choice .dot { width: 9px; height: 9px; border-radius: 50%; }
.dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; font-size: 13px; }
.dl dt { color: var(--vn-text-muted); }
.dl dd { margin: 0; word-break: break-word; }
@media (max-width: 760px) {
  .form-card { padding: 18px; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dl dd { margin-bottom: 8px; }
}

/* ---------- Tahap 5: dasbor, riwayat, pengguna, halaman informasi ---------- */
.stat .delta { font-size: 12px; color: var(--vn-text-muted); }
.stat .delta a { font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.chart-card { border: 1px solid var(--vn-border); border-radius: 10px; background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.chart-card h2 { font-size: 15px; margin: 0; }
.chart-card .sub { font-size: 12px; color: var(--vn-text-muted); }
.cols { position: relative; height: 230px; display: grid; grid-template-columns: 32px minmax(0, 1fr); }
.cols .y { position: relative; font-size: 11px; color: var(--vn-text-muted); }
.cols .y span { position: absolute; right: 8px; transform: translateY(50%); }
.cols .plot { position: relative; border-bottom: 1px solid #C9D3CD; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 2px; }
.cols .grid { position: absolute; left: 0; right: 0; height: 1px; background: #EDF1EE; }
.cols .col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: default; }
.cols .col i { display: block; width: min(24px, 70%); min-height: 2px; background: #7FA58E; border-radius: 4px 4px 0 0; }
.cols .col.today i { background: var(--vn-primary); }
.cols .col:hover i { background: var(--vn-primary-hover); }
.cols .col .val { position: absolute; font-size: 11px; font-weight: 700; transform: translateY(-4px); }
.cols .tip { position: absolute; left: 50%; transform: translateX(-50%); background: var(--vn-text); color: #fff; font-size: 12px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s; z-index: 2; }
.cols .col:hover .tip, .cols .col:focus .tip { opacity: 1; }
.cols-x { display: grid; grid-template-columns: 32px minmax(0, 1fr); font-size: 11px; color: var(--vn-text-muted); }
.cols-x div { display: flex; justify-content: space-between; padding-top: 6px; }
.hbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 13px; }
.hbar .track { height: 14px; background: #F1F4F2; border-radius: 0 4px 4px 0; }
.hbar .fill { height: 14px; border-radius: 0 4px 4px 0; background: #7FA58E; min-width: 2px; }
.hbar .fill.top { background: var(--vn-primary); }
.hbar b { text-align: right; font-weight: 600; }
.hbar .key { display: flex; align-items: center; gap: 8px; }
.hbar .key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--key, #7FA58E); flex-shrink: 0; }
.tbl-view summary { font-size: 12px; color: var(--vn-text-muted); cursor: pointer; }
.tbl-view table { margin-top: 8px; width: 100%; font-size: 12px; border-collapse: collapse; }
.tbl-view td, .tbl-view th { padding: 4px 6px; border-bottom: 1px solid var(--vn-border); text-align: left; }

.acc-head { display: flex; gap: 16px; align-items: center; }
.acc-head .vn-avatar { width: 56px; height: 56px; font-size: 20px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kv div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.kv span { font-size: 12px; color: var(--vn-text-muted); }
.choice.desc { align-items: flex-start; flex-direction: row; font-weight: 400; }
.choice.desc input { margin-top: 2px; }
.choice.desc b { display: block; font-size: 13px; }
.choice.desc span { font-size: 12px; color: var(--vn-text-muted); }
.sec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; padding: 12px 0; }
.sec-row + .sec-row { border-top: 1px solid var(--vn-border); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.timeline li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; }
.timeline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vn-primary); margin-top: 5px; }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.meta-grid div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.meta-grid span { font-size: 12px; color: var(--vn-text-muted); }

.info-page { max-width: 880px; }
.info-page h2 { margin-top: 8px; }
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how-step { border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.how-step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--vn-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.label-rows { display: flex; flex-direction: column; }
.label-rows > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px 0; align-items: start; }
.label-rows > div + div { border-top: 1px solid var(--vn-border); }
.limits { border: 1px solid var(--vn-border); border-radius: var(--vn-radius-card); overflow: hidden; }
.limits > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.limits > div > * { padding: 14px 18px; font-size: 14px; }
.limits > div + div { border-top: 1px solid var(--vn-border); }
.limits .h { background: var(--vn-surface-mint); font-weight: 700; }
.important { border-left: 4px solid var(--vn-primary); background: var(--vn-surface-mint); border-radius: 0 10px 10px 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.important ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.cta-band { background: var(--vn-primary); color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band p { color: #D3E3D9; margin: 4px 0 0; }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.toc { display: flex; flex-direction: column; gap: 6px; font-size: 14px; position: sticky; top: 20px; }
@media (max-width: 1000px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .how-steps, .kv { grid-template-columns: minmax(0, 1fr); }
  .label-rows > div, .limits > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .limits .h { display: none; }
}
.tbl .vn-avatar, .acc-head .vn-avatar { background: var(--vn-surface-mint); }
.cols .tip.end { left: auto; right: 0; transform: none; }
.label-rows > div > :first-child { justify-self: start; }

/* =========================================================
   Desain Figma: Beranda (navbar, form cek, kartu hoaks,
   isu ramai, footer). Ditempel paling bawah agar menimpa
   aturan lama di atasnya.
   ========================================================= */
:root {
  --vn-primary: #2D4839;
  --vn-primary-hover: #1F3328;
  --vn-text: #000000;
  --vn-text-muted: #60716D;
  --vn-input-border: #BCD0CA;
  --vn-surface-mint: #EDF9F5;
  --vn-green: #3B7A55;
  --vn-bar: #7FA58E;
  --vn-hoaks: #C02A2A;
  --vn-hoaks-pill: rgba(192, 42, 42, .27);
}

/* Navbar */
.vn-nav .container { height: 100px; }
.vn-brand { font-size: 21px; gap: 12px; }
.vn-brand img { width: 38px; height: 38px; }
.vn-nav-links { gap: 30px; font-size: 16px; }
.vn-nav-links > a { color: #fff; }
.vn-nav-links > a.active { font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.vn-nav-login { height: 32px; padding: 0 14px; border-radius: 5px; font-size: 16px; font-weight: 400; border-color: #fff; }

/* Judul beranda */
.hero { padding: 50px 0 64px; }
.home-title { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: #000; line-height: 1.2; }
.home-sub { margin-top: 6px !important; font-size: 16px; color: var(--vn-text-muted); }
.hero-grid { margin-top: 36px; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }

/* Kartu form cek */
.check-card { border: 1px solid #E3ECE9; border-radius: 20px; padding: 8px 8px 10px; gap: 10px; background: #fff; box-shadow: 0 8px 24px rgba(45, 72, 57, .08); }
.check-card .tabs { padding: 4px; gap: 6px; background: #F4F7F6; border-radius: 14px; }
.check-card .tab { height: 50px; border-radius: 10px; background: #fff; color: var(--vn-text-muted); font-size: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.check-card .tab.active { background: var(--vn-surface-mint); color: var(--vn-primary); font-weight: 600; box-shadow: none; }
.compose { border: 1px solid #E3ECE9; border-radius: 14px; padding: 22px 24px 14px; display: flex; flex-direction: column; gap: 14px; min-height: 176px; flex-grow: 1; }
.compose.is-invalid { border-color: var(--vn-hoaks); }
.compose-body { flex-grow: 1; display: flex; flex-direction: column; }
.compose textarea { flex-grow: 1; width: 100%; min-height: 110px; border: 0; padding: 0; resize: none; outline: none; font-size: 16px; line-height: 1.5; color: var(--vn-text); background: transparent; }
.compose textarea::placeholder { color: var(--vn-text-muted); }
.compose .dropzone { min-height: 130px; }
.compose-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--vn-text-muted); }
.check-actions { display: flex; justify-content: flex-end; padding: 6px 4px 0; }
.btn-analyze { height: 52px; padding: 0 28px; border-radius: 10px; font-size: 16px; font-weight: 700; }
.check-card > .field-error { padding: 0 6px; }

/* Cara kerja singkat */
.howto { border-radius: 14px; padding: 22px 20px; gap: 12px; }
.howto-title { font-size: 15px; }
.howto li { font-size: 13px; color: #E3ECE8; align-items: center; }
.howto li span:first-child { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); font-weight: 400; }
.howto-note { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.howto-note b { font-size: 15px; line-height: 1.2; }
.howto-note span { font-size: 13px; color: #D3E3D9; line-height: 1.5; }

/* Judul bagian */
.home-band { padding: 46px 0 52px; }
.home-h2 { font-size: 26px; font-weight: 700; color: #000; }
.home-h2-sub { font-size: 16px; color: var(--vn-text-muted); margin-top: 2px !important; }
.see-all { font-size: 16px; font-weight: 600; color: var(--vn-primary) !important; text-underline-offset: 4px; }

/* Kartu hoaks beredar */
.home-posts { gap: 26px; margin-top: 8px; }
.post-card { border: 1px solid #E3ECE9; border-radius: 18px; box-shadow: 0 4px 14px rgba(45, 72, 57, .08); }
.post-card .cover { aspect-ratio: 297 / 160; }
.post-card .body { padding: 14px 16px 18px; gap: 16px; }
.post-card .title { font-size: 16px; font-weight: 500; line-height: 1.25; color: #000; }
.post-card .meta { gap: 10px; font-size: 11px; color: var(--vn-text-muted); }
.post-card .meta .pill { padding: 3px 14px; font-size: 11px; font-weight: 500; }
.post-card .meta .pill::before { display: none; }
.post-card .meta .pill.label-hoaks { background: var(--vn-hoaks-pill); color: var(--vn-hoaks); }
.post-card .src-name { text-decoration: underline; text-underline-offset: 2px; }
.post-card .sep { width: 4px; height: 4px; border-radius: 50%; background: #000; }

/* Isu yang sedang ramai */
.home-trends { padding: 50px 0 62px; }
.home-trends .seg { background: var(--vn-surface-mint); border-radius: 10px; }
.home-trends .seg button { height: 44px; padding: 0 24px; font-size: 16px; color: #000; border-radius: 8px; }
.home-trends .seg button.active { font-weight: 400; box-shadow: none; }
.trend-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 80px; align-items: start; margin-top: 36px; }
.trend-label { font-size: 16px; color: var(--vn-text-muted); }
.trend-bars { display: flex; flex-direction: column; gap: 18px; }
.trend-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 82px; align-items: center; font-size: 16px; color: var(--vn-text-muted); }
.trend-track { height: 24px; }
.trend-bar { height: 24px; border-radius: 4px; background: var(--vn-bar); min-width: 4px; transition: width .3s; }
.trend-bar.top { background: var(--vn-primary); }
.trend-num { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; color: #000; }
.trend-num b { font-weight: 400; }
.trend-num small { font-size: 10px; white-space: nowrap; }
.trend-num .up { color: var(--vn-green); }
.trend-num .down { color: var(--vn-hoaks); }
.trend-top { background: var(--vn-primary); color: #fff; border-radius: 22px; padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.trend-top .k { font-size: 16px; color: #8FD3A8; }
.trend-top .name { font-size: 32px; font-weight: 700; line-height: 1.2; }
.trend-top .n { font-size: 16px; color: #BCD0CA; }
.trend-top p { font-size: 16px; line-height: 1.3; color: #E3ECE8; margin-top: 6px !important; }

/* Footer */
.vn-footer { color: #E3ECE8; font-size: 16px; }
.vn-footer .container { display: block; padding-top: 34px; padding-bottom: 0; }
.vn-footer a { color: #E3ECE8; text-decoration: none; }
.vn-footer a:hover { color: #fff; text-decoration: underline; }
.vn-footer .vn-brand { font-size: 21px; }
.vn-footer .vn-brand img { width: 38px; height: 38px; }
.vn-footer-top { display: flex; justify-content: space-between; gap: 40px; }
.vn-footer-about { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.vn-footer-about p { line-height: 1.3; }
.vn-footer-cols { display: flex; gap: 60px; padding-top: 18px; }
.vn-footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.vn-footer-cols b { color: #fff; margin-bottom: 4px; }
.vn-footer-bottom { margin-top: 32px; padding: 20px 0 34px; border-top: 1px solid rgba(255, 255, 255, .12); color: #BCD0CA; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .trend-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .vn-nav .container { height: 64px; }
  .vn-nav-links { top: 64px; }
  .vn-brand img { width: 30px; height: 30px; }
  .home-title { font-size: 30px; }
  .hero-grid { margin-top: 24px; }
  .check-card .tab { height: 44px; font-size: 14px; }
  .compose { padding: 16px; min-height: 180px; }
  .compose-foot { flex-direction: column; gap: 4px; }
  .btn-analyze { width: 100%; }
  .home-h2 { font-size: 22px; }
  .home-posts { gap: 18px; }
  .trend-row { grid-template-columns: 110px minmax(0, 1fr) 70px; font-size: 14px; }
  .trend-top .name { font-size: 26px; }
  .vn-footer-top { flex-direction: column; gap: 24px; }
  .vn-footer-cols { gap: 40px; padding-top: 0; }
  .vn-footer-bottom { font-size: 13px; }
}

/* =========================================================
   Desain Figma: Detail berita hoaks
   ========================================================= */
.hx-article { padding: 48px 0 88px; }
.hx-wrap { max-width: 846px; margin: 0 auto; padding: 0 24px; }
.hx-tags { display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--vn-text-muted); }
.hx-pill { padding: 4px 28px; border-radius: 8px; font-size: 16px; font-weight: 500; }
.hx-pill::before { display: none; }
.hx-pill.label-hoaks { background: var(--vn-hoaks-pill); color: var(--vn-hoaks); }
.hx-title { margin-top: 22px !important; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #12261B; }
.hx-meta { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 16px; color: var(--vn-text-muted); }
.hx-meta a { color: var(--vn-text-muted); text-decoration: none; }
.hx-meta a:hover { text-decoration: underline; }
.hx-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--vn-text-muted); }
.hx-cover { margin: 40px 0 0; display: flex; flex-direction: column; gap: 10px; }
.hx-cover .cover { aspect-ratio: 798 / 428; border-radius: 14px; }
.hx-cover .stamp { font-size: 48px; border-width: 5px; }
.hx-cover figcaption { font-size: 12px; color: var(--vn-text-muted); }
.hx-section { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.hx-section h2 { font-size: 24px; font-weight: 700; color: #12261B; }
.hx-section .prose { display: flex; flex-direction: column; gap: 12px; }
.hx-section .prose p, .hx-section .prose li, .hx-list li { font-size: 16px; line-height: 1.75; color: #12261B; }
.hx-section .prose a, .hx-list a { color: var(--vn-green); text-decoration: underline; text-underline-offset: 3px; }
.hx-section .prose ul, .hx-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 760px) {
  .hx-article { padding: 28px 0 56px; }
  .hx-wrap { padding: 0 18px; }
  .hx-title { font-size: 28px; }
  .hx-meta { font-size: 14px; }
  .hx-cover { margin-top: 28px; }
  .hx-section h2 { font-size: 20px; }
}
.hx-section .prose p + p { margin-top: 0; }
/* Penyesuaian jarak setelah dibandingkan dengan PNG Figma */
.hx-title { margin-top: 18px !important; letter-spacing: -0.02em; }
.hx-meta { margin-top: 16px; }
.hx-section { margin-top: 32px; }
.home-posts { margin-top: 20px; }
.post-card .title { letter-spacing: -0.01em; }
.post-card .body { padding-right: 14px; }

/* =========================================================
   Desain Figma: Edukasi
   ========================================================= */
.edu-top { display: grid; grid-template-columns: minmax(0, 583fr) minmax(0, 537fr); gap: 44px; align-items: start; padding: 56px 0 50px; }
.edu-art { border-radius: 16px; overflow: hidden; background: var(--vn-surface-mint); aspect-ratio: 583 / 389; display: flex; align-items: center; justify-content: center; color: var(--vn-primary); }
.edu-art img { width: 100%; height: 100%; object-fit: cover; }
.edu-intro { padding-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.edu-intro h1 { font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #000; }
.edu-intro p { font-size: 17px; line-height: 1.5; color: var(--vn-text-muted); }

.edu-skills { padding-bottom: 56px; }
.edu-head { padding-bottom: 24px; border-bottom: 1px solid var(--vn-border); display: flex; flex-direction: column; gap: 4px; }
.edu-head h2 { font-size: 24px; font-weight: 700; color: #12261B; letter-spacing: -0.01em; }
.edu-head p { font-size: 16px; color: var(--vn-text-muted); }
.edu-row { display: grid; grid-template-columns: minmax(0, 1fr) 312px 312px; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--vn-border); align-items: stretch; }
.edu-row:last-child { border-bottom: 0; }
.edu-text { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.edu-text .no { font-size: 12px; font-weight: 600; color: var(--vn-green); }
.edu-text h3 { font-size: 21px; font-weight: 600; color: #12261B; letter-spacing: -0.01em; }
.edu-text h3 a { color: inherit !important; text-decoration: none; }
.edu-text h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.edu-text p { font-size: 16px; line-height: 1.6; color: var(--vn-text-muted); margin-top: 2px !important; }
.edu-ex { border-radius: 8px; border: 1px solid; padding: 14px 17px 16px; display: flex; flex-direction: column; gap: 6px; }
.edu-ex .k { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.edu-ex p { font-size: 16px; line-height: 1.55; color: #12261B; }
.edu-ex small { font-size: 12px; color: var(--vn-text-muted); }
.edu-ex.bad { background: #FBEFEF; border-color: #F2CACA; }
.edu-ex.bad .k { color: #B23A31; }
.edu-ex.good { background: var(--vn-surface-mint); border-color: #BCD0CA; }
.edu-ex.good .k { color: var(--vn-green); }
@media (max-width: 1000px) {
  .edu-top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .edu-intro { padding-top: 0; }
  .edu-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .edu-text { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 760px) {
  .edu-intro h1 { font-size: 27px; }
  .edu-intro p { font-size: 15px; }
  .edu-head h2 { font-size: 20px; }
  .edu-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .edu-text h3 { font-size: 19px; }
}
/* Penyesuaian Edukasi setelah dibandingkan dengan PNG Figma */
.edu-top { padding-bottom: 38px; }
.edu-intro h1 { font-size: 33px; }
.edu-intro p { font-size: 16px; }
.edu-row { padding: 22px 0; }

/* =========================================================
   Desain Figma: Lapor Hoaks (kolom kiri) + form tab (kanan)
   ========================================================= */
.lp-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; padding: 56px 0 78px; }
.lp-side { display: flex; flex-direction: column; }
.lp-art { border-radius: 14px; overflow: hidden; background: var(--vn-surface-mint); aspect-ratio: 400 / 268; display: flex; align-items: center; justify-content: center; color: var(--vn-primary); box-shadow: 0 2px 8px rgba(45, 72, 57, .06); }
.lp-art img { width: 100%; height: 100%; object-fit: cover; }
.lp-title { margin-top: 24px !important; font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: #12261B; }
.lp-lead { margin-top: 12px !important; font-size: 18px; line-height: 1.55; color: var(--vn-text-muted); }
.lp-privacy { margin-top: 26px; background: var(--vn-primary); color: #fff; border-radius: 12px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.lp-privacy > b { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.lp-privacy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-privacy li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13px; line-height: 1.45; color: #E3ECE8; }
.lp-privacy .c { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; }
.lp-form { box-shadow: 0 8px 24px rgba(45, 72, 57, .08); }
@media (max-width: 1000px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .lp-side { max-width: 560px; }
}
@media (max-width: 760px) {
  .lp-title { font-size: 22px; line-height: 1.2; }
  .lp-lead { font-size: 15px; }
}

/* =========================================================
   Desain Figma: Cara Kerja
   ========================================================= */
.ck-top { display: grid; grid-template-columns: minmax(0, 575px) 400px; justify-content: space-between; gap: 48px; align-items: start; padding: 58px 0 72px; }
.ck-intro { display: flex; flex-direction: column; gap: 12px; }
.ck-intro h1 { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; color: #12261B; margin-bottom: 8px !important; }
.ck-intro p { font-size: 16px; line-height: 1.6; color: var(--vn-text-muted); }
.ck-intro p b { color: #000; font-weight: 600; }
.ck-note { background: var(--vn-primary); color: #fff; border-radius: 12px; padding: 22px 20px 36px; display: flex; flex-direction: column; gap: 14px; }
.ck-note > b { font-size: 15px; }
.ck-note ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ck-note li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13px; line-height: 1.5; color: #E3ECE8; }
.ck-note li b { color: #fff; }
.ck-note .c { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; }

.ck-h2 { font-size: 21px; font-weight: 500; color: #12261B; letter-spacing: -0.01em; }
.ck-sub { margin-top: 8px !important; font-size: 16px; line-height: 1.3; color: var(--vn-text-muted); }
.ck-steps-wrap { padding-bottom: 66px; }
.ck-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ck-steps li { display: flex; flex-direction: column; gap: 8px; padding-right: 28px; }
.ck-step-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-width: 0; }
.ck-step-top .n { width: 32px; height: 32px; border-radius: 50%; background: var(--vn-primary); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ck-step-top .arrows { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; letter-spacing: 1px; color: var(--vn-text-muted); margin-right: -28px; padding-right: 8px; }
.ck-steps b { font-size: 16px; font-weight: 600; color: #000; }
.ck-steps p { font-size: 16px; line-height: 1.25; color: var(--vn-text-muted); }

.ck-labels { background: var(--vn-surface-mint); padding: 52px 0 46px; }
.ck-label-card { margin-top: 26px; background: #fff; border: 1px solid #E3ECE9; border-radius: 12px; }
.ck-label-card > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; padding: 30px 36px; }
.ck-label-card > div + div { border-top: 1px solid #E3ECE9; }
.ck-label-card p { font-size: 16px; color: var(--vn-text-muted); }
.ck-pill { justify-self: start; min-width: 108px; padding: 4px 24px; border-radius: 8px; font-size: 16px; font-weight: 500; text-align: center; }
.ck-pill.hoaks { background: var(--vn-hoaks-pill); color: var(--vn-hoaks); }
.ck-pill.fakta { background: var(--vn-surface-mint); color: var(--vn-green); }
.ck-pill.cek { background: #FDF0D3; color: #A8741D; }

.ck-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 98px; padding: 52px 0 82px; }
.ck-limits ul { list-style: none; margin: 24px 0 0; padding: 0; }
.ck-limits li { border-top: 1px solid #E3ECE9; padding: 20px 0; min-height: 86px; font-size: 16px; line-height: 1.25; color: var(--vn-text-muted); }
.ck-limits li a { color: var(--vn-primary) !important; font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 1000px) {
  .ck-top { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .ck-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ck-step-top .arrows { display: none; }
  .ck-limits { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ck-limits li { min-height: 0; }
}
@media (max-width: 760px) {
  .ck-intro h1 { font-size: 27px; line-height: 1.15; }
  .ck-steps { grid-template-columns: minmax(0, 1fr); }
  .ck-label-card > div { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
}
/* Penyesuaian Cara Kerja setelah dibandingkan dengan PNG Figma */
.ck-labels { padding: 46px 0 44px; }
.ck-label-card > div { padding: 26px 36px; }
.ck-limits { padding: 42px 0 70px; }
.ck-limits li { min-height: 80px; padding: 18px 0; }
.ck-steps p { letter-spacing: -0.005em; }

/* =========================================================
   Desain Figma: Tentang Kami
   ========================================================= */
.tk-top { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 46px; align-items: start; padding: 57px 0 38px; }
.tk-logo { aspect-ratio: 1; border-radius: 12px; background: var(--vn-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(45, 72, 57, .12); }
.tk-logo img { width: 64%; height: auto; }
.tk-intro { display: flex; flex-direction: column; gap: 14px; padding-top: 2px; }
.tk-intro p { font-size: 16px; line-height: 1.625; color: var(--vn-text-muted); }
.tk-intro p.lead { font-size: 18px; line-height: 1.55; font-weight: 500; color: #12261B; margin-bottom: 4px !important; }
.tk-intro p b { font-weight: 600; }
.tk-values { padding-bottom: 60px; }
.tk-values ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(2, auto); column-gap: 98px; border-top: 1px solid #E3ECE9; }
.tk-values li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 24px 0 22px; border-bottom: 1px solid #E3ECE9; }
.tk-values .n { font-size: 16px; font-weight: 500; color: var(--vn-green); line-height: 1.4; }
.tk-values b { font-size: 16px; font-weight: 600; color: #000; }
.tk-values p { margin-top: 8px !important; font-size: 16px; line-height: 1.45; color: var(--vn-text-muted); }
.tk-cta { display: grid; grid-template-columns: 1fr 1fr; }
.tk-cta .half { padding: 62px 0 58px; }
.tk-cta .left { background: var(--vn-surface-mint); display: flex; justify-content: flex-end; }
.tk-cta .right { background: #DCEEE2; }
/* Isi tiap sisi diratakan dengan lebar konten (container) */
.tk-cta .left .inner { width: min(600px, 100%); padding: 0 24px; padding-right: 110px; }
.tk-cta .right .inner { width: min(600px, 100%); padding: 0 24px 0 113px; }
.tk-cta p { margin-top: 10px !important; font-size: 16px; line-height: 1.5; color: var(--vn-text-muted); max-width: 460px; }
.tk-btn { margin-top: 26px; height: 52px; padding: 0 26px; border-radius: 12px; font-size: 16px; font-weight: 700; }
@media (max-width: 1000px) {
  .tk-cta { grid-template-columns: minmax(0, 1fr); }
  .tk-cta .left { justify-content: flex-start; }
  .tk-cta .left .inner, .tk-cta .right .inner { width: 100%; padding: 0 24px; }
  .tk-cta .half { padding: 40px 0; }
}
@media (max-width: 760px) {
  .tk-top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .tk-logo { width: 160px; }
  .tk-values ol { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
  .tk-cta .left .inner, .tk-cta .right .inner { padding: 0 18px; }
}
/* Penyesuaian Tentang Kami setelah dibandingkan dengan PNG Figma */
.tk-top { padding-bottom: 26px; }
.tk-intro p { font-size: 15px; }
.tk-intro p.lead { font-size: 18px; }
.tk-values ol { column-gap: 128px; }
.tk-values li { padding: 20px 0 20px; }
.tk-values p { font-size: 15px; margin-top: 6px !important; }
.tk-cta .half { padding: 56px 0 52px; }
.tk-cta .left .inner { width: calc(var(--vn-content) / 2); padding: 0 80px 0 0; }
.tk-cta p { font-size: 15px; max-width: 470px; }
@media (max-width: 1000px) {
  .tk-cta .left .inner { width: 100%; padding: 0 24px; }
}
@media (max-width: 760px) {
  .tk-cta .left .inner { padding: 0 18px; }
}

/* =========================================================
   Desain Figma: Kebijakan Privasi
   ========================================================= */
html { scroll-behavior: smooth; }
.pv-grid { display: grid; grid-template-columns: 402px minmax(0, 1fr); gap: 44px; align-items: start; padding: 57px 0 98px; }
.pv-side { position: sticky; top: 24px; display: flex; flex-direction: column; }
.pv-art { width: 100%; height: auto; }
.pv-toc { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.pv-toc > b { font-size: 15px; font-weight: 600; color: var(--vn-text-muted); }
.pv-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pv-toc a { display: block; padding: 2px 0 2px 14px; border-left: 2px solid #E3ECE9; font-size: 16px; color: var(--vn-text-muted) !important; text-decoration: none; }
.pv-toc a:hover { color: var(--vn-primary) !important; }
.pv-toc a.active { border-left-color: var(--vn-primary); color: #12261B !important; }
.pv-body { padding-top: 2px; }
.pv-body h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.015em; color: #000; line-height: 1.15; }
.pv-date { margin-top: 10px !important; font-size: 16px; color: var(--vn-text-muted); }
.pv-intro { margin-top: 30px !important; font-size: 16px; line-height: 1.7; color: var(--vn-text-muted); }
.pv-body section { margin-top: 44px; scroll-margin-top: 24px; }
.pv-body section + section { margin-top: 32px; }
.pv-body h2 { font-size: 21px; font-weight: 700; color: #000; margin-bottom: 8px !important; }
.pv-body h3 { font-size: 16px; font-weight: 600; color: #000; margin-top: 12px !important; }
.pv-body h2 + h3 { margin-top: 0 !important; }
.pv-body p { font-size: 16px; line-height: 1.7; color: var(--vn-text-muted); }
.pv-body h3 + p { margin-top: 2px !important; }
.pv-body p + p { margin-top: 12px !important; }
.pv-body a, .pv-mail { color: var(--vn-text-muted) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .pv-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .pv-side { position: static; max-width: 520px; }
  .pv-toc { margin-top: 24px; }
}
@media (max-width: 760px) {
  .pv-body h1 { font-size: 28px; }
  .pv-body h2 { font-size: 19px; }
}
/* Penyesuaian Kebijakan Privasi setelah dibandingkan dengan PNG Figma */
.pv-toc ol { gap: 3px; }
.pv-toc a { font-size: 15.5px; }
.pv-body section + section { margin-top: 26px; }
.pv-body h2 { margin-bottom: 4px !important; }
@media (max-width: 1000px) {
  .pv-toc { display: none; }
  .pv-side { max-width: 420px; }
}
/* Kebijakan Privasi: daftar poin & catatan kecil */
.pv-body ul { margin: 2px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.pv-body li { font-size: 16px; line-height: 1.7; color: var(--vn-text-muted); }
.pv-body .pv-note { margin-top: 12px !important; font-size: 14px; line-height: 1.6; }

/* =========================================================
   Desain Figma: halaman akun (Masuk, Daftar, Lupa sandi, dst.)
   ========================================================= */
.au { flex-grow: 1; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.au-main { padding: 34px 35px; display: flex; flex-direction: column; background: #fff; }
.au-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; color: #12261B !important; text-decoration: none; align-self: flex-start; }
.au-brand .tile { width: 36px; height: 36px; border-radius: 8px; background: #3F6450; display: flex; align-items: center; justify-content: center; }
.au-brand .tile img { width: 26px; height: 26px; }
.au-body { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.au-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 22px; }
.au-title { font-size: 33px; font-weight: 700; letter-spacing: -0.02em; color: #12261B; line-height: 1.15; }
.au-form .field label { font-size: 15px; font-weight: 600; color: #12261B; }
.au-input { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px 0 16px; border: 1px solid #DCE5E1; border-radius: 12px; background: #fff; color: var(--vn-text-muted); }
.au-input:focus-within { border-color: var(--vn-primary); outline: 2px solid rgba(45, 72, 57, .18); }
.au-input.is-invalid { border-color: var(--vn-hoaks); }
.au-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--vn-text); }
.au-input input::placeholder { color: var(--vn-text-muted); }
.au-eye { border: 0; background: none; padding: 4px; color: var(--vn-text-muted); cursor: pointer; display: flex; }
.au-eye:hover { color: var(--vn-primary); }
.au-link { font-size: 14px; font-weight: 600; color: #12261B !important; text-underline-offset: 3px; }
.au-submit { height: 52px; border-radius: 10px; font-size: 16px; font-weight: 700; width: 100%; }
.au-switch { text-align: center; font-size: 14px; color: var(--vn-text-muted); }
.au-switch a { font-weight: 600; color: #12261B !important; text-underline-offset: 3px; margin-left: 4px; }
.au-or { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--vn-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: #DCE5E1; }
.au-guest { height: 48px; border-radius: 10px; width: 100%; border-color: #DCE5E1; font-weight: 600; }

.au-side { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 56px 72px;
  background: linear-gradient(180deg, #385043 0%, #2B4436 12%, #253D30 28%, #213628 50%, #1D3126 62%, #121F18 100%); }
.au-bg { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 1800 / 2560; background-size: cover; background-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); }
.au-copy { position: relative; z-index: 1; max-width: 560px; flex-shrink: 0; }
.au-copy h2 { font-size: clamp(28px, min(3.2vw, 5vh), 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #fff; }
.au-copy p { margin-top: 14px !important; font-size: clamp(15px, min(1.35vw, 2.1vh), 19px); line-height: 1.5; color: #E3ECE8; }
/* Isian otomatis Chrome: jangan jadi kotak biru */
.au-form input:-webkit-autofill, .au-form input:-webkit-autofill:hover, .au-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--vn-text) !important; caret-color: var(--vn-text); transition: background-color 99999s ease-in-out 0s; }
@media (max-width: 1000px) {
  .au { grid-template-columns: minmax(0, 1fr); }
  .au-side { display: none; }
  .au-main { padding: 24px 20px; }
}
/* Kolom isian lama di halaman akun lain (Daftar, Lupa sandi, dst.) disamakan dengan halaman Masuk */
.au-form .input-icon .input, .au-form .input { height: 52px; border-radius: 12px; border-color: #DCE5E1; font-size: 15px; }
.au-form .input-icon > svg { left: 16px; }
.au-form .input-icon .input { padding-left: 46px; }
.au-form .btn-primary.btn-block, .au-form button.btn-primary[type=submit] { height: 52px; border-radius: 10px; font-size: 16px; font-weight: 700; }
.au-form h1.vn-h1 { font-size: 33px !important; font-weight: 700; letter-spacing: -0.02em; color: #12261B; }

/* =========================================================
   Pengaturan akun
   ========================================================= */
.pf-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.pf-summary { background: var(--vn-primary); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 20px 20px; }
.pf-avatar { width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--vn-primary); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pf-name { font-size: 19px; }
.pf-mail { font-size: 14px; color: #D3E3D9; word-break: break-all; }
.pf-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.pf-meta dt { font-size: 12px; color: #BCD0CA; }
.pf-meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-stats a { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; color: #fff !important; text-decoration: none; }
.pf-stats a:hover { background: rgba(255, 255, 255, .14); }
.pf-stats b { font-size: 22px; line-height: 1.2; }
.pf-stats span { font-size: 12px; color: #D3E3D9; }
.pf-links { border: 1px solid #E3ECE9; border-radius: 16px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.pf-links a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; font-weight: 500; color: #12261B !important; text-decoration: none; }
.pf-links a + a { border-top: 1px solid #EEF3F0; }
.pf-links a:hover { background: var(--vn-surface-mint); }
.pf-links a svg { color: var(--vn-green); }
.pf-links a span { margin-left: auto; color: var(--vn-text-muted); }
.pf-card { border: 1px solid #E3ECE9; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(45, 72, 57, .05); }
.pf-head { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px; border-bottom: 1px solid #EEF3F0; }
.pf-head .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--vn-surface-mint); color: var(--vn-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-head > div { flex: 1; min-width: 0; }
.pf-head h2 { font-size: 17px; font-weight: 700; color: #12261B; }
.pf-head p { margin-top: 2px !important; font-size: 13px; color: var(--vn-text-muted); }
.pf-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.pf-body .field label { font-size: 14px; font-weight: 600; color: #12261B; }
.pf-body .au-input { height: 48px; }
.pf-body input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: var(--vn-text) !important; }
.pf-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.pf-actions .btn { height: 46px; border-radius: 10px; padding: 0 22px; }
.pf-verify { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 24px 22px; padding: 12px 14px; border-radius: 10px; background: var(--vn-cek-bg); color: var(--vn-cek); font-size: 13px; }
.pf-danger { border-color: #F2CACA; }
.pf-danger .pf-head { border-bottom-color: #F7E1E1; }
.pf-danger .pf-head .ic { background: #FBEFEF; color: var(--vn-hoaks); }
.pf-danger:not(:has(form[style*="display: none"])) .pf-head { }
@media (max-width: 1000px) {
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pf-head { flex-wrap: wrap; padding: 18px; }
  .pf-body { padding: 18px; }
  .pf-actions .btn { flex: 1; }
}
.pf-danger .pf-actions .btn-danger { background: var(--vn-hoaks); border-color: var(--vn-hoaks); color: #fff !important; }

/* =========================================================
   Desain Figma: Panel admin (sidebar) + Dasbor
   ========================================================= */
.adm-side { width: 262px; padding: 26px 27px 24px; }
.adm-brand { gap: 12px; padding: 0 0 34px; }
.adm-brand img { width: 34px; height: 34px; }
.adm-brand b { font-size: 21px; }
.adm-brand small { font-size: 11px; color: #D3E3D9; }
.adm-nav { gap: 9px; }
.adm-nav a { height: 40px; padding: 0 14px; border-radius: 10px; font-size: 16px; color: #fff !important; }
.adm-nav a.active { background: rgba(255, 255, 255, .13); font-weight: 500; }
.adm-nav .badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.adm-foot > a { padding: 0 2px; font-size: 13px; }
.adm-user { padding: 16px 0 0; gap: 12px; }
.adm-user .vn-avatar { width: 34px; height: 34px; background: #E3F1E8; color: var(--vn-primary); }
.adm-user b { font-size: 13px; }
.adm-crumb { height: 54px; padding: 0 28px; font-size: 16px; }
.adm-content { padding: 26px 28px 20px; gap: 26px; }
.adm-footer { font-size: 11px; color: var(--vn-text-muted); }

.db-head h1 { font-size: 32px; font-weight: 700; color: #12261B; letter-spacing: -0.02em; }
.db-head p { margin-top: 4px !important; font-size: 16px; color: var(--vn-text-muted); }
.db-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: -8px; }
.db-stat { border: 1px solid #E3ECE9; border-radius: 14px; background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 8px rgba(45, 72, 57, .05); }
.db-stat > span { font-size: 16px; color: var(--vn-text-muted); }
.db-stat b { font-size: 32px; line-height: 1.25; color: #12261B; }
.db-stat em, .db-stat a { font-style: normal; font-size: 15px; font-weight: 600; color: var(--vn-green) !important; }
.db-stat a { text-underline-offset: 3px; }
.db-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: stretch; }
.db-card { border: 1px solid #E3ECE9; border-radius: 14px; background: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 2px 8px rgba(45, 72, 57, .05); min-width: 0; }
.db-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.db-card-head h2 { font-size: 17px; font-weight: 600; color: #12261B; }
.db-card-head p { margin-top: 2px !important; font-size: 13px; color: var(--vn-text-muted); }
.db-range { font-size: 13px; color: var(--vn-text-muted); }
.db-chart { position: relative; height: 175px; display: grid; grid-template-columns: 30px minmax(0, 1fr); margin-top: 8px; }
.db-chart .y { position: relative; font-size: 12px; color: var(--vn-text-muted); }
.db-chart .y span { position: absolute; left: 0; transform: translateY(50%); }
.db-chart .plot { position: relative; border-bottom: 1px solid #C9D3CD; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; }
.db-chart .grid { position: absolute; left: 0; right: 0; height: 1px; background: #EDF1EE; }
.db-chart .day { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; outline: none; }
.db-chart .bar { display: block; width: min(34px, 34%); min-height: 2px; border-radius: 4px 4px 0 0; position: relative; z-index: 1; }
.db-chart .bar.c, .k.c { background: var(--vn-primary); }
.db-chart .bar.r, .k.r { background: var(--vn-bar); }
.db-chart .day:hover .bar, .db-chart .day:focus .bar { filter: brightness(1.15); }
.db-chart .tip { position: absolute; bottom: calc(100% - 20px); left: 50%; transform: translateX(-50%); z-index: 3; min-width: 170px; background: #12261B; color: #fff; border-radius: 8px; padding: 9px 11px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; pointer-events: none; opacity: 0; transition: opacity .12s; }
.db-chart .tip.end { left: auto; right: 0; transform: none; }
.db-chart .tip span { display: flex; align-items: center; gap: 6px; color: #E3ECE8; }
.db-chart .day:hover .tip, .db-chart .day:focus .tip { opacity: 1; }
i.k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.db-x { display: grid; grid-template-columns: 30px minmax(0, 1fr); margin-top: -8px; }
.db-x div { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: 12px; color: var(--vn-text-muted); }
.db-legend { display: flex; gap: 22px; flex-wrap: wrap; padding-left: 40px; font-size: 13px; color: var(--vn-text-muted); }
.db-legend span { display: inline-flex; align-items: center; gap: 8px; }
.db-results { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.db-results b { font-size: 14px; font-weight: 600; color: #12261B; }
.db-results .row span { font-size: 13px; font-weight: 600; color: #12261B; }
.db-results .track { margin-top: 8px; height: 14px; border-radius: 4px; background: #F2F5F3; overflow: hidden; }
.db-results .fill { height: 100%; border-radius: 4px; min-width: 2px; }
.db-note { margin-top: auto; padding: 14px 16px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 12px; line-height: 1.6; color: var(--vn-text-muted); }
.db-table { padding: 0; gap: 0; overflow: hidden; }
.db-table .db-card-head { padding: 22px 20px 16px; align-items: center; }
.db-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.db-table th { text-align: left; padding: 14px 20px; background: var(--vn-surface-mint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #3F5E4C; white-space: nowrap; }
.db-table td { padding: 13px 20px; border-top: 1px solid #EEF3F0; color: #12261B; }
.db-table td.muted { color: var(--vn-text-muted); }
.db-table .claim { display: block; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.db-table .fmt { display: inline-flex; align-items: center; gap: 8px; }
.db-table .act { font-weight: 600; color: #12261B !important; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 1200px) {
  .db-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .db-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .db-stats { grid-template-columns: minmax(0, 1fr); }
  .db-table .hide-sm { display: none; }
  .db-table td, .db-table th { padding: 12px 14px; }
}
/* Penyesuaian Dasbor setelah dibandingkan dengan PNG Figma */
.db-stat { padding: 14px 20px 16px; gap: 2px; }
.db-results { gap: 16px; }
.db-card { gap: 12px; }

/* =========================================================
   Desain Figma: tabel admin (Laporan masuk, dst.)
   ========================================================= */
.ad-tabs { display: flex; gap: 40px; padding: 0 20px; border-bottom: 1px solid #E3ECE9; overflow-x: auto; }
.ad-tabs a { padding: 16px 0 14px; font-size: 17px; color: var(--vn-text-muted) !important; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ad-tabs a span { color: var(--vn-text-muted); }
.ad-tabs a.active { color: #12261B !important; border-bottom-color: var(--vn-primary); font-weight: 500; }
.ad-filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 20px; }
.ad-search { position: relative; flex: 0 1 300px; min-width: 200px; }
.ad-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--vn-text-muted); }
.ad-search input { width: 100%; height: 40px; padding: 0 14px 0 38px; border: 1px solid #DCE5E1; border-radius: 10px; font-size: 13px; background: #fff; }
.ad-search input:focus, .ad-select:focus { outline: 2px solid rgba(45, 72, 57, .18); border-color: var(--vn-primary); }
.ad-select { height: 40px; min-width: 140px; padding: 0 34px 0 14px; border: 1px solid #DCE5E1; border-radius: 10px; font-size: 13px; color: var(--vn-text-muted); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2360716D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ad-foot { padding: 14px 20px; border-top: 1px solid #EEF3F0; font-size: 12px; color: var(--vn-text-muted); }
.db-table td a.claim:hover { text-decoration: underline !important; }
@media (max-width: 760px) {
  .ad-tabs { gap: 24px; }
  .ad-tabs a { font-size: 15px; }
  .ad-search { flex-basis: 100%; }
}
.db-table td { padding-top: 10px; padding-bottom: 10px; }

/* =========================================================
   Desain Figma: Tinjau laporan (admin)
   ========================================================= */
.tl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -4px 0 -8px; }
.tl-head h1 { font-size: 22px; font-weight: 700; color: #12261B; letter-spacing: -0.01em; }
.tl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 468px; gap: 27px; align-items: start; }
.tl-col { display: flex; flex-direction: column; gap: 27px; min-width: 0; }
.tl-card { border: 1px solid #C9DAD4; border-radius: 16px; background: #fff; padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tl-card h2 { font-size: 16px; font-weight: 600; color: #12261B; }
.tl-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tl-card-head p { margin-top: 2px !important; font-size: 13px; color: var(--vn-text-muted); }
.tl-text { margin: -4px 0 0 !important; font-size: 16px; line-height: 1.45; color: #12261B; white-space: pre-line; overflow-wrap: anywhere; }
.tl-small { margin: 0 !important; font-size: 14px; line-height: 1.55; }
.tl-link { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #DCE5E1; border-radius: 10px; background: var(--vn-surface-mint); font-size: 14px; color: var(--vn-primary) !important; text-decoration: none; min-width: 0; }
.tl-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-link:hover span { text-decoration: underline; }
.tl-img { display: flex; align-items: center; justify-content: center; width: 360px; max-width: 100%; height: 220px; margin-top: 6px; border-radius: 12px; background: var(--vn-surface-mint); box-shadow: 0 1px 4px rgba(45, 72, 57, .14); overflow: hidden; }
.tl-img img { width: 100%; height: 100%; object-fit: contain; }
.tl-img.is-empty { font-size: 12px; color: var(--vn-text-muted); }
.tl-meta { display: grid; grid-template-columns: 180px minmax(0, 1fr); margin: 14px 0 0; font-size: 16px; }
.tl-meta dt, .tl-meta dd { margin: 0; padding: 8px 0 9px; border-bottom: 1px solid #C9DAD4; }
.tl-meta dt { color: var(--vn-text-muted); }
.tl-meta dd { color: #12261B; overflow-wrap: anywhere; }
.tl-meta dd a { color: var(--vn-primary) !important; }
.tl-meta dt:nth-last-child(2), .tl-meta dd:last-child { border-bottom: 0; }

.tl-form { gap: 18px; padding: 24px 24px 22px 28px; }
.tl-field { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tl-field legend, .tl-field > label { padding: 0; font-size: 16px; font-weight: 600; color: #12261B; }
.tl-field legend { margin-bottom: 12px; }
.tl-field > label small { font-weight: 400; font-size: 12px; color: var(--vn-text-muted); }
.tl-radios { display: flex; flex-direction: column; gap: 4px; }
.tl-radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--vn-text-muted); cursor: pointer; width: fit-content; }
.tl-radios input { width: 14px; height: 14px; margin: 0; accent-color: var(--vn-primary); cursor: pointer; }
.tl-radios input:checked + span { color: #12261B; }
.tl-input { width: 100%; height: 40px; padding: 0 17px; border: 1px solid #C9DAD4; border-radius: 10px; font: inherit; font-size: 13px; color: #12261B; background: #fff; }
.tl-input::placeholder { color: var(--vn-text-muted); }
.tl-input:focus { outline: 2px solid rgba(45, 72, 57, .18); border-color: var(--vn-primary); }
.tl-input.is-invalid { border-color: var(--vn-hoaks); }
.tl-select { padding-right: 40px; -webkit-appearance: none; appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2312261B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.tl-area { height: 106px; padding: 12px 17px; line-height: 1.5; resize: vertical; }
.tl-area-sm { height: 64px; }
.tl-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--vn-text-muted); cursor: pointer; }
.tl-check input { margin: 2px 0 0; width: 14px; height: 14px; accent-color: var(--vn-primary); }
.tl-check.is-off { opacity: .55; cursor: not-allowed; }
.tl-info { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 13px; color: var(--vn-text-muted); }
.tl-info a { color: var(--vn-primary) !important; font-weight: 600; }
.tl-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 4px; }
.tl-btn { height: 43px; padding: 0 16px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tl-btn-primary { border: 1px solid var(--vn-primary); background: var(--vn-primary); color: #fff; }
.tl-btn-primary:hover { background: var(--vn-primary-hover); }
.tl-btn-line { border: 1px solid var(--vn-primary); background: #fff; color: var(--vn-primary); }
.tl-btn-line:hover { background: var(--vn-surface-mint); }

@media (max-width: 1100px) {
  .tl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tl-card { padding: 20px 18px 22px; }
  .tl-meta { grid-template-columns: 110px minmax(0, 1fr); font-size: 15px; }
  .tl-img { height: 190px; }
}

/* =========================================================
   Desain Figma: Riwayat pengecekan (admin)
   ========================================================= */
a.rv-stat { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.rv-stat:hover { border-color: #BCD0CA; box-shadow: 0 4px 14px rgba(45, 72, 57, .08); }
.rv-card { margin-top: 4px; }
.rv-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 20px 0; }
.rv-search { flex: 0 1 360px; }
.rv-search input { height: 42px; padding-left: 42px; font-size: 13px; }
.rv-selects { display: flex; gap: 12px; flex-wrap: wrap; }
.rv-select { height: 42px; font-size: 13px; color: #12261B; }
.rv-period { position: relative; display: block; }
.rv-period svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #12261B; pointer-events: none; }
.rv-period .rv-select { padding-left: 38px; }
.rv-tabs { display: flex; gap: 6px; padding: 20px 20px 16px; overflow-x: auto; }
.rv-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 37px; padding: 0 14px; border-radius: 8px; font-size: 13px; color: var(--vn-text-muted) !important; text-decoration: none; white-space: nowrap; }
.rv-tabs a:hover { background: #F4F8F6; }
.rv-tabs a.active { background: var(--vn-surface-mint); color: #12261B !important; font-weight: 600; }
.rv-scroll { overflow-x: auto; }
.rv-card th { background: #F4F6F5; color: var(--vn-text-muted); }
.rv-card td { padding-top: 13px; padding-bottom: 13px; }
.rv-time { white-space: nowrap; }
.rv-time b, .rv-time span, .rv-sub { display: block; }
.rv-time b { font-size: 13px; font-weight: 600; }
.rv-time span, .rv-sub { margin-top: 3px; font-size: 12px; color: var(--vn-text-muted); }
.db-table .rv-title { max-width: 440px; font-weight: 600; color: #12261B !important; text-decoration: none; }
.rv-pill { border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.rv-pill::before { width: 5px; height: 5px; }
.rv-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid #DCE5E1; border-radius: 8px; font-size: 13px; font-weight: 600; color: #12261B !important; text-decoration: none; white-space: nowrap; background: #fff; }
.rv-btn:hover { border-color: var(--vn-primary); background: var(--vn-surface-mint); }
.rv-foot { padding: 16px 20px; }
.rv-foot nav li a, .rv-foot nav li span { border-color: transparent; min-width: 28px; height: 28px; border-radius: 6px; }
.rv-foot nav li a:hover { background: #F4F8F6; }
@media (max-width: 1000px) {
  .rv-search { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .rv-filters { padding: 16px 14px 0; }
  .rv-tabs { padding: 14px 14px 12px; }
  .db-table .rv-title { max-width: 180px; }
  .rv-btn { padding: 0 10px; }
  .rv-foot { flex-direction: column; gap: 10px; align-items: flex-start; }
  .rv-selects { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .rv-selects > * { flex: 1 1 0; min-width: 0; }
  .rv-selects .rv-select { width: 100%; min-width: 0; padding-right: 26px; background-position: right 8px center; }
  .rv-period .rv-select { padding-left: 34px; }
  .rv-period svg { left: 11px; }
}

/* =========================================================
   Desain Figma: Detail pengecekan (admin)
   ========================================================= */
.dp-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 14px; color: #12261B; margin-top: -6px; }
.dp-note a { color: var(--vn-primary) !important; font-weight: 600; }
.dp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.dp-main { padding: 28px 24px 26px; gap: 14px; }
.dp-title { font-size: 21px; font-weight: 600; line-height: 1.35; color: #12261B; margin: 6px 0 0; overflow-wrap: anywhere; }
.dp-box { padding: 12px 14px; border: 1px solid #DCE5E1; border-radius: 8px; background: #F4F6F5; font-size: 13px; color: #12261B; }
.dp-box p { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.55; color: var(--vn-text-muted); white-space: pre-line; overflow-wrap: anywhere; }
.dp-box .dp-text { margin: 0 !important; font-size: 14px; color: #12261B; }
.dp-url { display: inline-flex; align-items: center; gap: 6px; color: #12261B !important; text-decoration: none; overflow-wrap: anywhere; word-break: break-all; }
.dp-url:hover { text-decoration: underline; }
.dp-image { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.dp-image img { width: 220px; max-width: 100%; border-radius: 8px; border: 1px solid #DCE5E1; background: #fff; display: block; }
.dp-image > div { flex: 1; min-width: 200px; }
.dp-image b { font-size: 12px; font-weight: 600; color: var(--vn-text-muted); }
.dp-sec { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.dp-sec-head { display: flex; align-items: center; gap: 22px; }
.dp-lead { margin: 0 !important; font-size: 16px; line-height: 1.5; color: var(--vn-text-muted); }
.dp-hint { margin: 0 !important; font-size: 12px; color: var(--vn-text-muted); font-style: italic; }
.dp-refs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dp-refs a, .dp-refs span { font-size: 16px; color: var(--vn-text-muted) !important; text-decoration: none; overflow-wrap: anywhere; }
.dp-refs a { display: inline; }
.dp-refs a svg { vertical-align: -1px; margin-left: 4px; }
.dp-refs a:hover { color: var(--vn-primary) !important; text-decoration: underline; }
.dp-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.dp-info { padding: 0 0 18px; gap: 0; }
.dp-info h2 { padding: 28px 23px 13px; border-bottom: 1px solid #C9DAD4; }
.dp-info .tl-meta { margin: 0 23px; grid-template-columns: 147px minmax(0, 1fr); }
.dp-info .tl-meta dt, .dp-info .tl-meta dd { padding: 13px 0 12px; }
.dp-actions { padding: 22px 23px; gap: 10px; }
.dp-actions form { margin: 0; }
.dp-actions .tl-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.dp-actions .tl-btn:disabled { opacity: .5; cursor: not-allowed; }
.dp-actions p { margin: 2px 0 0 !important; font-size: 12px; line-height: 1.5; color: var(--vn-text-muted); }
@media (max-width: 1100px) {
  .dp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .dp-main { padding: 22px 18px; }
  .dp-info .tl-meta { margin: 0 18px; grid-template-columns: 120px minmax(0, 1fr); }
  .dp-info h2 { padding: 22px 18px 12px; }
}

/* =========================================================
   Desain Figma: Hoaks tampil (admin)
   ========================================================= */
.hp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hp-add { display: inline-flex; align-items: center; text-decoration: none; color: #fff !important; }
.hp-tabs { padding: 16px 20px 0; }
.hp-filters { padding: 18px 20px 20px; }
.hp-news { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hp-thumb { flex: none; width: 74px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--vn-surface-mint); }
.hp-thumb.is-empty { display: flex; align-items: center; justify-content: center; color: var(--vn-green); }
.hp-txt { min-width: 0; }
.db-table .hp-txt .rv-title { max-width: 380px; }
.hp-card td, .hp-card th { padding-left: 16px; padding-right: 16px; }
.hp-card td:first-child, .hp-card th:first-child { padding-left: 20px; }
.hp-quick { white-space: nowrap; }
.hp-home { font-weight: 600; color: var(--vn-green); }
.rv-card td.hide-sm { color: #12261B; }
.hp-status { border-radius: 6px; padding: 5px 10px; font-weight: 600; }
.hp-status::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 2px; }
.hp-manage { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.hp-manage form { margin: 0; }
.hp-row { position: relative; display: flex; align-items: center; gap: 12px; }
.hp-edit { font-size: 13px; font-weight: 600; color: #12261B !important; text-decoration: none; }
.hp-edit:hover { text-decoration: underline; }
.hp-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: #12261B !important; cursor: pointer; }
.hp-icon:hover { background: #F0F5F2; }
.hp-icon.is-off { color: #B5C0BA !important; cursor: default; background: none; }
.hp-quick { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--vn-text-muted) !important; cursor: pointer; text-decoration: none; }
.hp-quick:hover { color: var(--vn-primary) !important; text-decoration: underline; }
.hp-menu { position: absolute; top: 30px; right: 0; z-index: 20; min-width: 170px; padding: 6px; border: 1px solid #DCE5E1; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(18, 38, 27, .12); display: flex; flex-direction: column; }
.hp-menu a, .hp-menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 13px; text-align: left; color: #12261B !important; text-decoration: none; cursor: pointer; white-space: nowrap; }
.hp-menu a:hover, .hp-menu button:hover { background: #F4F8F6; }
.hp-menu .danger { color: var(--vn-hoaks) !important; }
.db-table.hp-card { overflow: visible; }
.hp-card .rv-scroll { overflow: visible; }
@media (max-width: 1000px) {
  .hp-card .rv-scroll { overflow-x: auto; }
}
@media (max-width: 760px) {
  .hp-thumb { display: none !important; }
  .hp-filters .rv-selects { flex-wrap: wrap; }
  .hp-filters .rv-selects > * { flex: 1 1 140px; }
  .db-table .hp-txt .rv-title { max-width: 150px; }
}

/* =========================================================
   Desain Figma: Tambah / Ubah berita (admin)
   ========================================================= */
.hb-view { gap: 6px; color: var(--vn-primary) !important; }
.hb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 29px; align-items: start; }
.hb-main { padding: 30px 24px 26px; gap: 20px; }
.hb-card-head h2, .hb-card h2 { font-size: 20px; font-weight: 600; color: #12261B; }
.hb-card-head p { margin-top: 4px !important; font-size: 13px; color: var(--vn-text-muted); }
.hb-main .tl-field, .hb-card .tl-field { gap: 8px; }
.hb-main .tl-field > label, .hb-card .tl-field > label { font-size: 13px; }
.hb-req { color: #12261B; }
.hb-input { height: 45px; border-radius: 8px; font-size: 14px; padding: 0 14px; }
textarea.hb-input { height: auto; min-height: 84px; padding: 11px 14px; }
textarea.hb-area-sm { min-height: 64px; }
.hb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hb-hint { font-size: 12px; color: var(--vn-text-muted); }
.hb-editor { border: 1px solid #C9DAD4; border-radius: 8px; overflow: hidden; background: #fff; }
.hb-editor:focus-within { border-color: var(--vn-primary); outline: 2px solid rgba(45, 72, 57, .18); }
.hb-tools { display: flex; align-items: center; gap: 4px; height: 43px; padding: 0 10px; background: #F4F6F5; border-bottom: 1px solid #DCE5E1; }
.hb-tools button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; color: #12261B; font-size: 15px; cursor: pointer; }
.hb-tools button:hover { background: #E6EEEA; }
.hb-tools i { font-family: Georgia, serif; }
.hb-block { height: 30px; padding: 0 26px 0 6px; border: 0; border-radius: 6px; font: inherit; font-size: 13px; color: var(--vn-text-muted); -webkit-appearance: none; appearance: none; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2360716D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center; }
.hb-block:hover { background-color: #E6EEEA; }
.hb-sep { width: 1px; height: 20px; background: #D5DED9; margin: 0 8px 0 12px; }
.hb-text { display: block; width: 100%; min-height: 230px; padding: 16px 16px; border: 0; outline: 0; resize: vertical; font: inherit; font-size: 15px; line-height: 1.6; color: #12261B; }
.hb-text::placeholder { color: var(--vn-text-muted); }
.hb-ref { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 30px; gap: 8px; align-items: center; }
.hb-add-ref { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--vn-primary) !important; }
.hb-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; padding-top: 20px; border-top: 1px solid #EEF3F0; }
.hb-foot b { display: block; font-size: 14px; font-weight: 600; color: #12261B; }
.hb-foot > div:first-child { flex: 1 1 280px; min-width: 0; }
.hb-foot span { display: block; margin-top: 3px; font-size: 13px; color: var(--vn-text-muted); }
.hb-foot small { display: block; margin-top: 4px; font-size: 11px; color: #8A9792; }
.hb-btns { display: flex; gap: 14px; }
.hb-btn { height: 42px; padding: 0 22px; border-radius: 10px; font-size: 14px; display: inline-flex; align-items: center; text-decoration: none; }
a.hb-btn { color: var(--vn-primary) !important; }
.hb-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hb-card { padding: 28px 24px 24px; gap: 14px; }
.hb-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 296 / 208; border-radius: 12px; overflow: hidden; background: var(--vn-surface-mint); }
.hb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-cover-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--vn-text-muted); }
.hb-cover-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hb-cover-row > span { font-size: 11px; color: var(--vn-text-muted); }
.hb-pick { display: inline-flex; align-items: center; gap: 8px; height: 42px; border-color: #DCE5E1; border-radius: 10px; color: #12261B; cursor: pointer; }
.hb-pick:focus-within { outline: 2px solid rgba(45, 72, 57, .25); }
.hb-id { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--vn-text-muted); margin-top: 2px; }
.hb-id b { font-size: 15px; font-weight: 600; color: #12261B; }
.hb-two-sm { gap: 12px; }
.hb-note { margin: -4px 0 0 !important; font-size: 12px; line-height: 1.5; color: var(--vn-text-muted); }
.hb-line { height: 1px; background: #EEF3F0; margin: 2px 0; }
.hb-card .tl-check b { color: #12261B; font-weight: 600; }
.hb-danger { flex-direction: row; justify-content: space-between; align-items: center; padding: 18px 24px; }
.hb-danger b { display: block; font-size: 14px; font-weight: 600; color: #12261B; }
.hb-danger span { display: block; font-size: 12px; color: var(--vn-text-muted); margin-top: 2px; }
.hb-btn-danger { height: 36px; border: 1px solid #E8C4C4; background: #fff; color: var(--vn-hoaks); border-radius: 8px; }
.hb-btn-danger:hover { background: #FBEDED; }
@media (max-width: 1100px) {
  .hb-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hb-two { grid-template-columns: 1fr; }
  .hb-two-sm { grid-template-columns: 1fr 1fr; }
  .hb-main, .hb-card { padding: 22px 18px; }
  .hb-ref { grid-template-columns: minmax(0, 1fr) 30px; }
  .hb-ref input:nth-child(2) { grid-row: 2; }
  .hb-btns { width: 100%; }
  .hb-btns > * { flex: 1; justify-content: center; }
}

/* =========================================================
   Desain Figma: Pengguna (admin)
   ========================================================= */
.us-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.us-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E3F1E8; color: var(--vn-primary); font-size: 12px; font-weight: 600; }
.us-role { color: var(--vn-text-muted) !important; white-space: nowrap; }
.us-role.is-team { color: #12261B !important; font-weight: 600; }
.us-self { cursor: default; }
.us-self:hover { color: var(--vn-text-muted) !important; text-decoration: none !important; }
.hp-card td { padding-top: 13px; padding-bottom: 13px; }

/* =========================================================
   Desain Figma: Kelola pengguna (admin)
   ========================================================= */
.kp-wrap { width: 100%; max-width: 792px; display: flex; flex-direction: column; gap: 21px; }
.kp-card { padding: 26px 24px 24px; gap: 20px; }
.kp-head { padding-bottom: 20px; border-bottom: 1px solid #DCE5E1; }
.kp-head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: #12261B; }
.kp-head p { margin-top: 8px !important; font-size: 14px; color: var(--vn-text-muted); }
.kp-you { padding: 3px 9px; border-radius: 999px; background: var(--vn-surface-mint); font-size: 11px; font-weight: 600; color: var(--vn-green); }
.kp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kp-card .tl-field { gap: 8px; }
.kp-card .tl-field > label { font-size: 13px; }
.kp-card .hb-input { height: 47px; }
.kp-card textarea.hb-input { height: auto; }
.kp-ro { background: #F4F6F5; color: #12261B; cursor: default; }
.kp-ro:focus { outline: 0; border-color: #C9DAD4; }
#kp-email { color: var(--vn-text-muted); }
.kp-card select:disabled { background-color: #F4F6F5; color: var(--vn-text-muted); cursor: not-allowed; }
.kp-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 14px 16px; border-radius: 10px; background: #F7FAF8; }
.kp-stats div { min-width: 0; }
.kp-stats dt { font-size: 11px; color: var(--vn-text-muted); }
.kp-stats dd { margin: 3px 0 0; font-size: 13px; font-weight: 600; color: #12261B; overflow-wrap: anywhere; }
.kp-alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #F4F6F5; font-size: 13px; color: #12261B; }
.kp-note { padding: 14px 16px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 13px; line-height: 1.55; color: var(--vn-text-muted); }
.kp-form { display: flex; flex-direction: column; gap: 21px; margin: 0; }
.kp-actions { display: flex; justify-content: flex-end; gap: 12px; }
.kp-actions .hb-btn { height: 44px; }
.kp-save { gap: 8px; }
.kp-save:disabled { opacity: .5; cursor: not-allowed; }
.kp-sec { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0; }
.kp-sec + .kp-sec { padding-top: 16px; border-top: 1px solid #EEF3F0; }
.kp-sec b { display: block; font-size: 14px; font-weight: 600; color: #12261B; }
.kp-sec span { display: block; margin-top: 2px; font-size: 12px; color: var(--vn-text-muted); }
.kp-sec form { margin: 0; flex: none; }
.kp-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.kp-danger { color: var(--vn-hoaks) !important; }
.kp-foot-note { margin: -6px 0 0 !important; font-size: 12px; color: var(--vn-text-muted); }
@media (max-width: 760px) {
  .kp-two { grid-template-columns: 1fr; }
  .kp-stats { grid-template-columns: 1fr 1fr; }
  .kp-card { padding: 22px 18px; }
  .kp-actions > * { flex: 1; justify-content: center; }
  .kp-sec { flex-wrap: wrap; }
}

/* =========================================================
   Konten edukasi (admin) — mengikuti gaya Hoaks tampil / Ubah berita
   ========================================================= */
.ek-live { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--vn-surface-mint); font-size: 13px; line-height: 1.55; color: #12261B; margin-top: -4px; }
.ek-live svg { flex: none; margin-top: 2px; color: var(--vn-green); }
.ek-live span { flex: 1; }
.ek-live a { flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--vn-primary) !important; text-decoration: none; white-space: nowrap; }
.ek-live a:hover { text-decoration: underline; }
.ek-warn { font-weight: 600; color: var(--vn-cek); }
.ek-examples { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid #DCE5E1; border-radius: 10px; background: #FAFCFB; }
.ek-examples > div:first-child b { display: block; font-size: 14px; font-weight: 600; color: #12261B; }
.ek-examples > div:first-child span { display: block; margin-top: 2px; font-size: 12px; color: var(--vn-text-muted); }
.ek-box { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid; border-radius: 8px; }
.ek-box label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ek-box.bad { background: #FBEFEF; border-color: #F2CACA; }
.ek-box.bad label { color: #B23A31; }
.ek-box.good { background: var(--vn-surface-mint); border-color: #BCD0CA; }
.ek-box.good label { color: var(--vn-green); }
.ek-box .hb-input { background: #fff; }
.ek-box input.hb-input { height: 38px; font-size: 13px; }
@media (max-width: 760px) {
  .ek-live { flex-wrap: wrap; }
}


/* =========================================================
   Laporan terkirim (desain V2 di canvas)
   ========================================================= */
.ls-wrap { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; padding-top: 56px; padding-bottom: 88px; }
.ls-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ls-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--vn-fakta-bg); color: var(--vn-fakta); display: flex; align-items: center; justify-content: center; }
.ls-head { display: flex; flex-direction: column; gap: 10px; }
.ls-head h1 { font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #12261B; }
.ls-head p { font-size: 17px; line-height: 1.6; color: var(--vn-text-muted); }
.ls-head p b { color: #12261B; white-space: nowrap; }
.ls-card { border: 1px solid #E3ECE9; border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.ls-card-top { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.ls-card-top h2 { font-size: 15px; font-weight: 600; color: var(--vn-text-muted); }
.ls-card-top span { font-size: 13px; color: var(--vn-text-muted); }
.ls-quote { margin: 0; padding: 14px 16px; border-radius: 10px; background: #F4F6F5; border: 1px solid #DCE5E1; font-size: 15px; line-height: 1.65; color: #12261B; white-space: pre-line; overflow-wrap: anywhere; }
.ls-link { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px; background: #F4F6F5; border: 1px solid #DCE5E1; font-size: 15px; color: var(--vn-green) !important; text-decoration: none; min-width: 0; }
.ls-link span { overflow-wrap: anywhere; }
.ls-link:hover span { text-decoration: underline; }
.ls-img { width: 220px; max-width: 100%; border-radius: 10px; border: 1px solid #DCE5E1; display: block; }
.ls-note { font-size: 13px; color: var(--vn-text-muted); }
.ls-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ls-actions .tl-btn { height: 46px; padding: 0 20px; border-radius: 10px; font-size: 15px; display: inline-flex; align-items: center; text-decoration: none; }
.ls-actions .tl-btn-primary { color: #fff !important; }
.ls-actions .tl-btn-line { color: var(--vn-primary) !important; }
.ls-side { flex: 1 1 340px; max-width: 420px; min-width: 0; border-radius: 16px; background: var(--vn-surface-mint); padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.ls-side h2 { font-size: 20px; font-weight: 700; color: #12261B; }
.ls-side ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ls-side li { display: flex; gap: 14px; }
.ls-side .n { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; box-sizing: border-box; background: #fff; border: 1px solid #BCD0CA; color: var(--vn-primary); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ls-side li.done .n { background: var(--vn-primary); border-color: var(--vn-primary); color: #fff; }
.ls-side li > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.55; color: #3F5E4C; }
.ls-side li b { font-size: 15px; font-weight: 600; color: #12261B; }
.ls-mail { padding-top: 16px; border-top: 1px solid #BCD0CA; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #3F5E4C; }
.ls-mail svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 760px) {
  .ls-wrap { padding-top: 32px; padding-bottom: 56px; }
  .ls-head h1 { font-size: 28px; }
  .ls-head p { font-size: 15px; }
  .ls-side { max-width: none; }
}

/* Pemberitahuan singkat di bawah navbar (mis. sudah masuk saat membuka halaman Daftar) */
.vn-notice { background: var(--vn-surface-mint); border-bottom: 1px solid #DCEBE5; }
.vn-notice .container { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; font-size: 14px; line-height: 1.5; color: #12261B; }
.vn-notice svg { flex-shrink: 0; color: var(--vn-green); }
.vn-notice span { flex: 1; }
.vn-notice form { margin: 0; flex-shrink: 0; }
.vn-notice button { height: 34px; padding: 0 14px; border: 1px solid var(--vn-primary); border-radius: 8px; background: #fff; color: var(--vn-primary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.vn-notice button:hover { background: var(--vn-primary); color: #fff; }

/* Lupa kata sandi (desain V2) */
.au-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--vn-green) !important; text-decoration: none; }
.au-back svg { transform: rotate(180deg); }
.au-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.au-tile { width: 60px; height: 60px; border-radius: 16px; background: var(--vn-surface-mint); color: var(--vn-primary); display: flex; align-items: center; justify-content: center; }
.au-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--vn-surface-mint); font-size: 14px; line-height: 1.55; color: #3F5E4C; }
.au-note svg { flex-shrink: 0; margin-top: 2px; }
.au-note.muted-note { background: #F4F6F5; }
.au-submit-line { border: 1px solid var(--vn-primary) !important; background: #fff !important; color: var(--vn-primary) !important; }
.au-submit-line:hover { background: var(--vn-surface-mint) !important; }

/* Tinjau laporan: kartu keputusan setinggi kolom kiri (Isi laporan + Hasil pengecekan awal) */
.tl-grid { align-items: stretch; }
.tl-form .tl-actions { margin-top: auto; padding-top: 4px; }
/* Sisa tinggi kartu dipakai kolom Catatan untuk pelapor, bukan ruang kosong */
.tl-form .tl-grow { flex: 1 1 auto; }
.tl-form .tl-grow .tl-area { flex: 1 1 auto; height: auto; min-height: 106px; }

/* Detail pengecekan: tanpa kartu Tindakan, kartu Informasi setinggi kartu konten (sesuai desain) */
.dp-grid { align-items: stretch; }
.dp-info { flex: 1 1 auto; }

/* =========================================================
   RESPONSIF — semua perangkat
   Ukuran acuan pengujian: 360 & 390 px (HP), 768 px (tablet),
   1024 px (tablet mendatar / laptop kecil), 1280 & 1440 px (laptop).
   Titik henti yang dipakai:
     ≤ 1100 px  panel admin: sidebar jadi menu geser
     ≤ 1000 px  navbar publik: tombol menu (☰)
     ≤  760 px  tata letak HP (satu kolom, tabel admin jadi kartu)
     ≤  600 px  HP: kartu hoaks jadi daftar ringkas
     ≤  400 px  HP kecil
   Ditempel paling bawah agar menimpa aturan di atasnya.
   ========================================================= */

/* Elemen yang hanya muncul di layar kecil */
.vn-nav-mobile, .vn-acc-m, .adm-top, .adm-backdrop, .adm-close { display: none; }

/* ---------- Navbar & footer publik ---------- */
@media (max-width: 1000px) {
  .vn-nav .container { height: 64px; }
  .vn-brand { font-size: 19px; gap: 10px; }
  .vn-brand img { width: 30px; height: 30px; }
  .vn-nav-mobile { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .vn-nav-mobile .vn-nav-login { height: 36px; padding: 0 14px; font-size: 14px; }
  .vn-burger { display: inline-flex; width: 44px; height: 44px; padding: 0; margin-right: -10px; align-items: center; justify-content: center; border-radius: 10px; }
  .vn-burger span { display: flex; }
  .vn-nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 24px 20px; background: var(--vn-primary); border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 30px rgba(18, 38, 27, .25); max-height: calc(100vh - 64px); overflow-y: auto; font-size: 16px; }
  .vn-nav-links.open { display: flex; }
  .vn-nav-links > a { min-height: 52px; padding: 0; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .1); text-decoration: none !important; }
  .vn-nav-links > a.active { font-weight: 600; }
  .vn-nav-links > a.active::before { content: ""; width: 4px; height: 20px; margin-right: 12px; border-radius: 2px; background: var(--vn-accent); }
  .vn-nav-links > .vn-nav-login, .vn-nav-links .vn-account { display: none; }
  .vn-acc-m { display: flex; flex-direction: column; margin-top: 16px; padding: 14px 16px 4px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
  .vn-acc-m-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
  .vn-acc-m-head > span:last-child { min-width: 0; }
  .vn-acc-m-head b { display: block; font-size: 15px; color: #fff; }
  .vn-acc-m-head small { display: block; font-size: 12px; color: #BCD0CA; overflow-wrap: anywhere; }
  .vn-acc-m a, .vn-acc-m button { width: 100%; min-height: 46px; padding: 0; display: flex; align-items: center; border: 0; background: none; color: #fff !important; font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
  .vn-acc-m form { margin: 0; }
  .vn-acc-m a + a, .vn-acc-m a + form { border-top: 1px solid rgba(255, 255, 255, .08); }
  .vn-acc-m button { color: #F6C2BD !important; }

  .vn-footer-top { flex-direction: column; gap: 24px; }
  .vn-footer-cols { padding-top: 0; gap: 56px; }
  .vn-footer-cols a { white-space: nowrap; }
}
@media (max-width: 760px) {
  .vn-footer { font-size: 15px; }
  .vn-footer .container { padding-top: 28px; }
  .vn-footer .vn-brand { font-size: 19px; }
  .vn-footer .vn-brand img { width: 32px; height: 32px; }
  .vn-footer-about { gap: 10px; }
  .vn-footer-about p { font-size: 14px; line-height: 1.5; }
  .vn-footer-top { gap: 20px; }
  .vn-footer-cols { flex-wrap: wrap; gap: 12px 48px; }
  .vn-footer-cols div { gap: 0; }
  .vn-footer-cols b { margin-bottom: 4px; }
  .vn-footer-cols a { min-height: 36px; display: flex; align-items: center; }
  .vn-footer-bottom { margin-top: 20px; padding: 16px 0 24px; font-size: 12px; line-height: 1.5; }
}

/* ---------- Dasar di HP: ukuran sentuh & huruf isian ---------- */
@media (max-width: 760px) {
  /* Huruf isian minimal 16 px agar iPhone tidak memperbesar halaman saat mengetik */
  .vn input:not([type=checkbox]):not([type=radio]), .vn select, .vn textarea { font-size: 16px !important; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .chip-btn { height: 40px; }
  .pager { flex-wrap: wrap; gap: 10px; justify-content: center; text-align: center; }
  .pager nav ul { flex-wrap: wrap; justify-content: center; }
  .pager nav li a, .pager nav li span { min-width: 40px; height: 40px; }
  .crumbs { font-size: 12px; }
}

/* ---------- Beranda ---------- */
@media (max-width: 600px) {
  .howto { padding: 16px 18px; gap: 10px; }
  .howto-title, .howto ol { display: none; }
  .howto-note { padding-top: 0; border-top: 0; }
  .trend-top { border-radius: 16px; padding: 20px; }
}
@media (max-width: 400px) {
  .home-title { font-size: 26px; }
  .check-card .tab { font-size: 13px; gap: 6px; }
  .check-card .tab svg { width: 15px; height: 15px; }
  .trend-row { grid-template-columns: 96px minmax(0, 1fr) 64px; }
}

/* ---------- Kartu hoaks: daftar ringkas di HP ---------- */
@media (max-width: 600px) {
  .grid-4, .home-posts { gap: 12px; }
  .grid-4 .post-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); border-radius: 14px; box-shadow: 0 2px 8px rgba(45, 72, 57, .06); }
  .grid-4 .post-card .cover { aspect-ratio: auto; height: 100%; min-height: 100px; }
  .grid-4 .post-card .stamp { top: 38%; right: 8%; padding: 0 5px; font-size: 12px; border-width: 2px; }
  .grid-4 .post-card .body { padding: 12px 14px; gap: 8px; }
  .grid-4 .post-card .title { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .grid-4 .post-card .meta { gap: 6px; }
  .hx-search { width: 100% !important; }
  .page-band { padding: 24px 0 22px; }
  .page-band .vn-display { font-size: 26px !important; }
}

/* ---------- Detail hoaks ---------- */
@media (max-width: 600px) {
  .hx-article { padding: 20px 0 48px; }
  .hx-title { font-size: 24px; line-height: 1.25; }
  .hx-tags { font-size: 14px; }
  .hx-pill { padding: 3px 16px; font-size: 14px; }
  .hx-cover { margin: 22px -18px 0; }
  .hx-cover .cover { border-radius: 0; }
  .hx-cover figcaption { padding: 0 18px; }
  .hx-cover .stamp { font-size: 32px; border-width: 4px; }
  .hx-section { margin-top: 26px; gap: 10px; }
  .hx-section h2 { font-size: 18px; }
}

/* ---------- Lapor hoaks: formulir dulu, catatan privasi sesudahnya ---------- */
@media (max-width: 1000px) {
  .lp-grid { gap: 20px; padding: 32px 0 56px; }
  .lp-side { display: contents; }
  .lp-art { display: none; }
  .lp-title { order: 1; margin-top: 0 !important; }
  .lp-lead { order: 2; margin-top: -8px !important; max-width: 640px; }
  .lp-form { order: 3; }
  .lp-privacy { order: 4; margin-top: 0; }
}
@media (max-width: 760px) {
  .lp-grid { padding: 24px 0 44px; }
  .lp-lead { font-size: 15px; }
  .lp-form { box-shadow: none; }
  .lp-form .btn-primary[type=submit], .lp-form button[type=submit] { width: 100%; }
}

/* ---------- Edukasi, Tentang, Privasi, Cara kerja ---------- */
@media (max-width: 600px) {
  .edu-art { display: none; }
  .edu-top { padding: 24px 0 28px; gap: 0; }
  .edu-row { padding: 20px 0; }
  .edu-ex p { font-size: 15px; }
}
@media (max-width: 760px) {
  .tk-top { padding-top: 24px; gap: 18px; }
  .tk-logo { width: 72px; border-radius: 16px; }
  .tk-intro p.lead { font-size: 17px; }
  .tk-cta .half { padding: 32px 0; }
  .pv-side { display: none; }
  .pv-grid { padding: 24px 0 56px; }
  .pv-intro { margin-top: 16px !important; }
  .pv-body section { margin-top: 28px; }
  .ck-top { padding: 24px 0 40px; gap: 24px; }
  .ck-steps-wrap { padding-bottom: 40px; }
  .ck-steps { row-gap: 20px; }
  .ck-steps li { padding-right: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .ck-step-top { grid-row: 1 / span 2; margin: 0; }
  .ck-steps p { font-size: 15px; line-height: 1.5; }
  .ck-labels { padding: 32px 0; }
  .ck-label-card > div { padding: 18px 20px; }
  .ck-limits { padding: 32px 0 48px; gap: 28px; }
  .ck-limits li { padding: 14px 0; font-size: 15px; line-height: 1.5; }
}

/* ---------- Hasil, riwayat, laporan (pengguna) ---------- */
@media (max-width: 600px) {
  .res-actions, .res-actions > .row { width: 100%; flex-direction: column; align-items: stretch; }
  .res-actions .btn { width: 100%; }
  .hist-clear { flex-wrap: wrap; }
  .hist-clear > span { flex: 1 1 0; }
  .hist-clear form, .hist-clear form .btn { width: 100%; }
  .ls-actions .tl-btn { flex: 1 1 100%; justify-content: center; }
  .done-wrap .btn { width: 100%; }
}

/* ---------- Panel admin ---------- */
@media (max-width: 1100px) {
  body.vn-admin { flex-direction: column; }
  body.adm-locked { overflow: hidden; }
  .adm-top { display: flex; position: sticky; top: 0; z-index: 30; height: 60px; padding: 0 14px 0 6px; align-items: center; gap: 4px; background: var(--vn-primary); color: #fff; }
  .adm-top-btn { width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .adm-top-btn:hover { background: rgba(255, 255, 255, .08); }
  .adm-top-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-size: 18px; font-weight: 700; }
  .adm-top-brand img { width: 30px; height: 30px; }
  .adm-top-brand small { margin-left: 2px; font-size: 13px; font-weight: 500; color: #BCD0CA; }
  .adm-top .vn-avatar { margin-left: auto; width: 34px; height: 34px; background: #E3F1E8; }
  .adm-side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: min(300px, 86vw); height: 100%; overflow-y: auto; transform: translateX(-100%); transition: transform .22s ease; }
  .adm-side.open { transform: none; box-shadow: 12px 0 40px rgba(0, 0, 0, .25); }
  .adm-close { display: flex; position: absolute; top: 20px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
  .adm-backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(12, 24, 17, .45); }
  .adm-nav a { height: 46px; }
  .db-table .hide-sm { display: none; }
}
@media (max-width: 760px) {
  .adm-crumb { display: block; height: 44px; padding: 0 16px; font-size: 13px; line-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .adm-content { padding: 20px 16px 16px; gap: 20px; }
  .db-head h1 { font-size: 24px; }
  .db-head p { font-size: 14px; }
  .db-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
  .db-stat { padding: 12px 14px; }
  .db-stat > span { font-size: 13px; line-height: 1.35; }
  .db-stat b { font-size: 26px; }
  .db-stat em, .db-stat a { font-size: 12px; }
  .db-card { padding: 18px 16px; }
  .db-legend { padding-left: 0; }
  .tl-head h1 { font-size: 20px; }
  .hp-head .hp-add { width: 100%; height: 46px; justify-content: center; }
  .ad-tabs { padding: 0 16px; }
  .ad-filters { padding: 14px 16px; }
  .ad-filters .ad-select { flex: 1 1 140px; }

  /* Tabel admin berubah jadi daftar kartu: judul di baris atas, info lain di bawahnya */
  .db-table .db-card-head { padding: 18px 16px 12px; }
  .db-table .rv-scroll { overflow: visible; }
  .db-table table, .db-table tbody, .db-table tr, .db-table td { display: block; width: auto; }
  .db-table thead { display: none; }
  .db-table tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px; border-top: 1px solid #EEF3F0; }
  .db-table td { padding: 0 !important; border: 0 !important; min-width: 0; }
  .db-table td.td-main { order: -1; flex: 1 1 100%; }
  .db-table td:last-child:not(:only-child) { margin-left: auto; }
  .db-table td[colspan] { flex: 1 1 100%; }
  .db-table .claim, .db-table .rv-title, .db-table .hp-txt .rv-title { max-width: none; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .db-table .rv-time { white-space: normal; }
  .db-table .rv-time b, .db-table .rv-time span { display: inline; margin: 0; font-size: 12px; font-weight: 400; color: var(--vn-text-muted); }
  .db-table .rv-time span::before { content: " · "; }
  .hp-manage { flex-direction: row; align-items: center; gap: 12px; }
  .hp-icon { width: 36px; height: 36px; }
  .hp-quick { font-size: 13px; }
  .rv-btn { height: 38px; }
  .ad-foot, .rv-foot { padding: 14px 16px; }
}
@media (min-width: 1101px) and (max-width: 1366px) {
  .db-table .hp-txt .rv-title { max-width: 260px; }
}
@media (max-width: 600px) {
  .grid-4 .post-card .sep { display: none; }
}
@media (max-width: 760px) {
  .ek-live a { flex-basis: 100%; padding-left: 26px; }
  .db-x div { font-size: 10.5px; letter-spacing: -0.01em; }
}
/* Tablet: tabel admin tetap tabel, tapi judul boleh turun baris dan gambar kecil disembunyikan agar tidak perlu digeser */
@media (min-width: 761px) and (max-width: 1100px) {
  .db-table .hp-thumb { display: none !important; }
  .db-table .claim, .db-table .rv-title, .db-table .hp-txt .rv-title { max-width: 340px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hp-card .rv-scroll { overflow: visible; }
}
@media (max-width: 600px) {
  .pf-head > .btn { flex-basis: 100%; margin-left: 54px; }
}

/* Halaman error (404, 419) */
.er-wrap { flex-grow: 1; padding: 96px 0 120px; }
.er-box { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.er-code { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--vn-cek-bg); color: var(--vn-cek); font-size: 13px; font-weight: 600; }
.er-box h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: #12261B; }
.er-box p { font-size: 16px; line-height: 1.6; color: var(--vn-text-muted); }
.er-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 600px) {
  .er-wrap { padding: 48px 0 64px; }
  .er-box h1 { font-size: 26px; }
  .er-box p { font-size: 15px; }
  .er-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .hb-btns > *, .kp-actions > * { padding: 0 12px; white-space: nowrap; gap: 6px; }
}
@media (max-width: 1280px) {
  .post-card .meta .sep { display: none; }
}

/* =========================================================
   Isu yang sedang ramai: grafik garis per topik per hari
   (menggantikan diagram batang; kartu topik teratas tetap)
   ========================================================= */
.trend-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.trend-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.trend-sum { font-size: 14px; color: var(--vn-text-muted); }
.trend-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.trend-key { height: 34px; padding: 0 12px; border: 1px solid #E3ECE9; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; color: #12261B; cursor: pointer; }
.trend-key:hover { border-color: #BCD0CA; }
.trend-key b { font-weight: 600; color: var(--vn-text-muted); }
.trend-key.off { background: #F4F6F5; color: var(--vn-text-muted); }
.trend-key.off i { opacity: .3; }
.trend-key.zero { cursor: default; color: #8A9792; border-style: dashed; }
.trend-key.zero i { background: #C9D3CD !important; }
.trend-key i, .trend-tip i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.k-pemerintahan { background: #3B8A5C; }
.k-politik { background: #1E5A9E; }
.k-kesehatan { background: #C8602F; }
.k-pendidikan { background: #D9A21B; }
.k-lainnya { background: repeating-linear-gradient(90deg, #8C5FB5 0 6px, transparent 6px 9px); }

.trend-chart { position: relative; border-radius: 14px; outline: none; touch-action: pan-y; }
.trend-chart:focus-visible { box-shadow: 0 0 0 2px rgba(45, 72, 57, .35); }
.trend-chart svg { display: block; width: 100%; overflow: visible; font-family: inherit; }
.trend-chart .grid line { stroke: #EEF3F0; stroke-width: 1; }
.trend-chart .grid line.base { stroke: #C9D3CD; }
.trend-chart .grid text { font-size: 12px; fill: var(--vn-text-muted); }
.trend-chart .grid text.today { fill: #12261B; font-weight: 600; }
.trend-chart .cross { stroke: #9FB3AA; stroke-width: 1; stroke-dasharray: 3 3; }
.trend-tip { position: absolute; top: 4px; z-index: 3; min-width: 170px; max-width: 240px; padding: 10px 12px; border-radius: 10px; background: #12261B; color: #fff; box-shadow: 0 8px 24px rgba(18, 38, 27, .18); display: flex; flex-direction: column; gap: 5px; font-size: 13px; pointer-events: none; }
.trend-tip > b { font-size: 12px; font-weight: 500; color: #BCD0CA; margin-bottom: 2px; }
.trend-tip span { display: grid; grid-template-columns: 16px 28px minmax(0, 1fr); gap: 8px; align-items: center; }
.trend-tip strong { font-weight: 700; text-align: right; }
.trend-tip em { font-style: normal; color: #E3ECE8; }
.trend-tip small { margin-top: 2px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: #BCD0CA; }
.trend-tip .k-lainnya { background: repeating-linear-gradient(90deg, #B79BD6 0 6px, transparent 6px 9px); }

.trend-note { padding: 12px 14px; border-radius: 10px; background: var(--vn-surface-mint); font-size: 14px; line-height: 1.55; color: #3F5E4C; }
.trend-table summary { width: fit-content; font-size: 14px; font-weight: 600; color: var(--vn-primary); cursor: pointer; }
.trend-table-scroll { margin-top: 10px; max-height: 320px; overflow: auto; border: 1px solid #E3ECE9; border-radius: 10px; }
.trend-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.trend-table th, .trend-table td { padding: 8px 12px; text-align: right; border-bottom: 1px solid #EEF3F0; white-space: nowrap; }
.trend-table th:first-child { text-align: left; }
.trend-table thead th { position: sticky; top: 0; background: #F4F6F5; font-weight: 600; color: #3F5E4C; }
.trend-table tbody th { font-weight: 500; color: #12261B; }
@media (max-width: 760px) {
  .trend-key { height: 36px; font-size: 13px; padding: 0 10px; }
  .trend-sum { font-size: 13px; }
  .trend-tip { min-width: 150px; font-size: 12px; }
}


/* ===== Saran penelusuran Google (hasil analisis AI) ===== */
.src-google { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--vn-border); }
.src-google-frame { width: 100%; height: 56px; border: 0; display: block; background: transparent; }

/* Tooltip grafik: sembunyikan saat belum diarahkan (atribut hidden kalah oleh display:flex) */
.trend-tip[hidden] { display: none; }
