@font-face { font-family: 'Manrope'; src: url('fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #081226; --surface: #0f1b33; --surface-2: #1a2845; --ink: #eef2f8; --ink-2: #a8b3c6; --line: #22304c; --line-2: #3a4a68;
  --brand: #0a1730; --brand-2: #142443; --sec: #c9973f; --sec-hover: #dcae59; --sec-ink: #dcae59; --on-brand: #ffffff; --on-brand-2: #c3cddd;
  --accent: #c9973f; --accent-hover: #dcae59; --link: #e0ba72; --accent-ink: #0a1428; --accent-soft: #1d2c4a; --warn-bg: #33290f; --warn-ink: #eed394;
  --danger: #f2877f; --ok-bg: #143329; --err-bg: #40211e;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --pos: #199e70; --neg: #e66767; --pos-ink: #6fd9b0; --neg-ink: #f2a19b; --heat: 201, 151, 63;
  --r: 6px; --r-lg: 12px; --gutter: max(28px, calc((100% - 1224px) / 2));
  --shadow: none;
  --shadow-pop: 0 20px 48px rgba(0, 0, 0, .5);
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -.012em; }
h1 { font-size: 26px; } h2 { font-size: 16px; margin-bottom: 14px; } h3 { font-size: 15px; }
a { color: var(--link); text-underline-offset: 2px; }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.muted, small { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: inline-flex; line-height: 0; }
.brand img { display: block; height: 38px; width: auto; }
.count { background: var(--sec); color: var(--brand); border-radius: 9px; padding: 0 6px; font-size: 11px; font-weight: 600; }

.project-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 24px var(--gutter) 10px; background: var(--surface); }
.tabs { display: flex; gap: 22px; padding: 0 var(--gutter); overflow-x: auto; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs a { padding: 10px 0; color: var(--ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-color: var(--sec); font-weight: 600; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px 28px 72px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; margin: 0 0 16px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 0; }
.grid2 > .panel { margin: 0 0 0; }
.grid2 { margin-bottom: 16px; }
.wide { grid-column: 1 / -1; }
.stack-panels > .panel { margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.shell .page-head.pj-head { justify-content: flex-start; align-items: center; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.pj-head .btn { flex: none; margin-left: auto; padding: 9px 18px; font-weight: 600; }
.pj-sum { display: flex; gap: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pj-sum > div { padding: 10px 22px; border-left: 1px solid var(--line); }
.pj-sum > div:first-child { border-left: 0; }
.pj-sum dt { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pj-sum dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.012em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pl-hero { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding: 24px; margin-bottom: 16px; }
.pl-now { flex: 1 1 240px; min-width: 0; }
.pl-now small { display: block; font-size: 12px; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.pl-now h2 { margin: 4px 0 2px; font-size: 28px; font-weight: 600; letter-spacing: -.015em; }
.pl-now p { margin: 0; font-size: 14px; color: var(--ink-2); }
.pl-specs { display: flex; gap: 36px; margin: 0; }
.pl-specs dt { font-size: 12px; color: var(--ink-2); }
.pl-specs dd { margin: 2px 0 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-cta { flex: none; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.pl-grid.one { grid-template-columns: minmax(0, 1fr); }
.pl-card { margin: 0; padding: 22px 24px; }
.pl-card h2 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.pl-big { margin: 0 0 12px; font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pl-big small { margin-left: 8px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.pl-big.low { color: var(--warn-ink); } .pl-big.full { color: var(--neg-ink); }
.pl-bar { display: block; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.pl-bar i { display: block; height: 100%; border-radius: 3px; background: var(--s1); transition: width .3s; }
.pl-bar.low i { background: var(--s4); } .pl-bar.full i { background: var(--neg); }
.pl-of { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.pl-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pl-usage { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.pl-usage li > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 14px; }
.pl-val { color: var(--ink-2); font-variant-numeric: tabular-nums; } .pl-val b { color: var(--ink); font-weight: 600; }
.pl-topup { padding: 22px 24px; margin-bottom: 16px; }
.pl-topup h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.pl-topup > p { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); }
.pl-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pl-packs form { margin: 0; }
.pl-pack { position: relative; display: block; width: 100%; height: 100%; padding: 18px; text-align: left; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); cursor: pointer; transition: border-color .15s, transform .15s; }
.pl-pack:hover { border-color: var(--sec); transform: translateY(-2px); }
.pl-pack:focus-visible { outline: 2px solid var(--sec); outline-offset: 2px; }
.pl-pack.best { border-color: var(--sec); }
.pl-pack em { position: absolute; top: -9px; right: 14px; padding: 1px 8px; border-radius: 999px; background: var(--sec); color: var(--accent-ink); font-size: 11px; font-style: normal; font-weight: 600; }
.pl-pack strong { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.pl-pack small { margin-left: 5px; font-size: 13px; color: var(--ink-2); }
.pl-pack span { display: block; }
.pl-price { margin-top: 10px; font-size: 15px; font-weight: 600; }
.pl-unit { font-size: 12px; color: var(--ink-2); }
.pl-buy { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--link); }
@media (max-width: 760px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } .pl-specs { gap: 24px; } .pl-cta { width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .pl-pack, .pl-bar i { transition: none; } .pl-pack:hover { transform: none; } }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.pj-card { --tone: var(--s1); position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 22px 22px 18px; color: inherit; text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pj-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tone); opacity: .7; }
.pj-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.pj-card:focus-visible { outline: 2px solid var(--sec); outline-offset: 2px; }
.pj-top { display: flex; align-items: center; gap: 12px; }
.pj-mono { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--tone) 20%, transparent); color: color-mix(in srgb, var(--tone) 70%, white); font-size: 17px; font-weight: 700; }
.pj-id { flex: 1; min-width: 0; }
.pj-id h2 { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 16px; font-weight: 600; }
.pj-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-num { flex: none; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.pj-id small { display: block; margin-top: 2px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-go { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); transition: transform .15s, color .15s, border-color .15s; }
.pj-card:hover .pj-go { color: var(--sec); border-color: var(--sec); transform: translateX(2px); }
.pj-kw { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pj-kw li { padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--ink); background: var(--surface-2); }
.pj-kw .pj-more { color: var(--ink-2); background: transparent; border: 1px dashed var(--line-2); }
.pj-stats { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 16px; border-radius: var(--r-lg); background: var(--bg); }
.pj-fig { min-width: 0; }
.pj-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pj-fig strong { display: block; margin-top: 4px; font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pj-delta { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pj-delta em { font-style: normal; font-weight: 400; opacity: .8; }
.pj-delta.up { background: var(--ok-bg); color: var(--pos-ink); }
.pj-delta.down { background: var(--err-bg); color: var(--neg-ink); }
.pj-spark { flex: 0 1 160px; display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.pj-spark i { flex: 1; min-height: 2px; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, color-mix(in srgb, var(--tone) 55%, transparent), var(--tone)); }
.pj-spark i.zero { background: var(--line); }
.pj-bar { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; }
.pj-bar .positive { background: var(--pos); } .pj-bar .neutral { background: var(--line-2); } .pj-bar .negative { background: var(--neg); }
.pj-sent ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-2); }
.pj-sent li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--line-2); }
.pj-sent li.positive::before { background: var(--pos); } .pj-sent li.negative::before { background: var(--neg); }
.pj-sent b { color: var(--ink); font-weight: 600; }
.pj-sent p { margin: 0; font-size: 12px; color: var(--ink-2); }
.pj-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.pj-foot b { color: var(--ink); font-weight: 600; }
.pj-open { color: var(--link); font-weight: 600; }
@media (max-width: 640px) { .pj-sum { width: 100%; } .pj-sum > div { flex: 1; padding: 8px 12px; } .pj-sum dd { font-size: 18px; } .pj-head .btn { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .pj-card, .pj-go { transition: none; } .pj-card:hover { transform: none; } }

.btn { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: var(--r); font: 500 14px/1.45 var(--sans); cursor: pointer; text-decoration: none; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.sec { background: var(--sec); border-color: var(--sec); color: #21132f; font-weight: 600; }
.btn.sec:hover { background: var(--sec-hover); border-color: var(--sec-hover); }
.btn.danger { border-color: var(--line-2); color: var(--danger); }
.btn.sm { padding: 3px 10px; font-size: 13px; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; cursor: pointer; text-decoration: underline; }
.link.danger { color: var(--danger); }
.inline-form { display: inline; margin-left: 6px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 7px 10px; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
/* Dropdown: panah sendiri dengan jarak dari tepi, sama di semua browser. */
select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 38px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8b3c6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px 8px;
}
select:not([multiple]):not([size]):hover { border-color: var(--accent); }
select::-ms-expand { display: none; }
input[type=checkbox] { accent-color: var(--accent); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.form { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.form label { display: flex; flex-direction: column; gap: 5px; font-weight: 500; font-size: 14px; }
.form label small { font-weight: 400; }
.form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.form .btn { align-self: flex-start; }
/* Panel pengaturan memakai lebar penuh; isian tunggal (select) dibatasi agar tetap enak dibaca. */
.narrow { max-width: none; }
.narrow select, .narrow input:not([type=checkbox]):not([type=radio]) { max-width: 420px; }
.auth { max-width: 400px; margin: 64px auto; padding: 32px; }
.auth h1 { margin-bottom: 20px; font-size: 24px; }
.auth .btn.primary { align-self: stretch; text-align: center; padding: 9px 14px; }
/* Sumber aktif: tiap sumber jadi kartu pilih; titik hijau = penyedia terhubung. */
.sources-field { border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sources-field legend { padding: 0 6px; margin-left: -6px; font-weight: 500; font-size: 14px; }
.sources-field small { margin-top: 4px; font-size: 13px; line-height: 1.5; }
.src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.form .src-opt { flex-direction: row; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-weight: 500; cursor: pointer; transition: border-color .12s, background .12s; }
.form .src-opt:hover { border-color: var(--line-2); }
.form .src-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.src-opt input { margin: 0; flex: none; }
.src-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px rgba(25, 158, 112, .18); }
/* Field project dibungkus dua kolom; .form-2col menyandingkannya di layar lebar (halaman Project baru). */
.pf-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; align-items: start; }
.form-2col > .btn { grid-column: 1 / -1; justify-self: start; }
/* Halaman Project baru */
.np { max-width: 1040px; }
.np-lead { margin: 0 0 18px; max-width: 620px; }
.np-token { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 12px 16px; margin: 0 0 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); background: var(--surface); font-size: 13.5px; }
.np-token-n { white-space: nowrap; color: var(--ink); }
.np-token-n b { color: var(--accent-hover); font-size: 15px; }
.np-form { padding: 24px; gap: 18px 32px; }
.np-form .pf-col { gap: 16px; }
.np-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.np-foot .btn { padding: 9px 20px; font-weight: 600; }
@media (max-width: 800px) { .np-form { padding: 18px; } .np-foot .btn { width: 100%; } .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Halaman Akun Anda */
.acc-hero { display: flex; align-items: center; gap: 14px; }
.acc-hero .pill { margin-left: auto; }
.acc-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.acc-who strong { font-size: 17px; }
.acc-av { margin: 0; cursor: default; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.acc-grid > .panel { margin: 0; }
.acc-field { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.acc-label { font-weight: 500; }
.acc-ro { padding: 7px 10px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-2); background: var(--surface-2); overflow-wrap: anywhere; }
.acc-kv { margin: 0; display: grid; gap: 0; }
.acc-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.acc-kv > div:first-child { padding-top: 2px; }
.acc-kv dt { color: var(--ink-2); }
.acc-kv dd { margin: 0; text-align: right; }
.acc-links { margin: 14px 0 0; font-size: 14px; }
/* Kartu pengaturan: judul, baris pilihan, lalu kaki kartu untuk tombol simpan */
.pref-card { margin: 0 0 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pref-head { padding: 20px 24px 18px; border-bottom: 1px solid var(--line); }
.pref-head h2 { margin: 0 0 3px; }
.pref-head p { margin: 0; color: var(--ink-2); font-size: 14px; }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 22px 24px; }
.pref-info { flex: 1; min-width: 0; }
.pref-label { display: block; font-size: 14px; font-weight: 600; }
.pref-info small { display: block; margin-top: 2px; font-size: 13px; }
.pref-seg { display: inline-flex; flex: none; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; }
.pref-seg label { position: relative; cursor: pointer; }
.pref-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.pref-seg span { display: block; min-width: 48px; padding: 6px 12px; border-radius: 6px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: center; transition: background .12s, color .12s; }
.pref-seg label:hover span { color: var(--ink); }
.pref-seg input:checked + span { background: var(--sec); color: var(--accent-ink); }
.pref-seg input:focus-visible + span { outline: 2px solid var(--sec-hover); outline-offset: 2px; }
.pref-foot { display: flex; justify-content: flex-end; padding: 14px 24px; background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .pref-head, .pref-row, .pref-foot { padding-left: 18px; padding-right: 18px; }
  .pref-row { flex-direction: column; align-items: stretch; }
  .pref-seg { display: flex; }
  .pref-seg label { flex: 1; }
}
.danger-zone h2 { color: var(--danger); }

.flash { padding: 10px 14px; border-radius: var(--r); margin-bottom: 16px; overflow-wrap: anywhere; }
.flash.ok { background: var(--ok-bg); } .flash.err { background: var(--err-bg); }
.flash input { width: 100%; margin-top: 6px; }
.token-out { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn-ink); }
.token-out p { margin: 0; }
.token-out-actions { display: flex; align-items: center; gap: 14px; }
.token-out-actions a:not(.btn) { color: var(--warn-ink); }
.note { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); padding: 12px 16px; border-radius: var(--r-lg); margin: 0 0 16px; font-size: 14px; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--surface-2); font-size: 12px; }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill.tag { background: var(--accent-soft); }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty strong { color: var(--ink); } .empty p { margin: 6px 0 0; }
.empty-cta { display: inline-block; margin-top: 14px; }

.filters { background: var(--surface); border: 1px solid var(--line); padding: 12px 16px; border-radius: var(--r-lg); box-shadow: var(--shadow); margin-bottom: 16px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.presets { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.presets .chip { padding: 5px 14px; border: 0; border-radius: 0; }
.presets .chip + .chip { border-left: 1px solid var(--line-2); }
.chip { padding: 4px 10px; border: 1px solid transparent; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 13px; display: inline-block; }
.chip:hover { background: var(--surface-2); }
.chip[aria-current] { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.inline { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.grow { flex: 1 1 220px; }
.date-range { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.date-range input { width: 150px; }
.filter-search { display: flex; gap: 8px; flex: 1 1 460px; min-width: 0; }
.filter-search input { flex: 1 1 auto; min-width: 0; }
.filter-btns { display: flex; gap: 8px; flex: none; }
.adv-panel .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-grid .fs-src { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-content: start; }
@media (max-width: 900px) { .adv-panel .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .adv-panel .filter-grid { grid-template-columns: 1fr; } .filter-search { flex-wrap: wrap; } .filter-btns { width: 100%; } .filter-btns .btn { flex: 1; justify-content: center; } }
.adv-btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.adv-btn svg { color: var(--sec); }
.adv-btn.on, .adv-btn[aria-expanded="true"] { border-color: var(--sec); background: var(--surface-2); }
.adv-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sec); color: var(--brand, #0a1730); font-size: 11px; font-weight: 700; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.af-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--ink); text-decoration: none; }
.af-chip span { color: var(--ink-2); }
.af-chip b { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--ink-2); font-weight: 400; }
.af-chip:hover { border-color: var(--sec); }
.af-chip:hover b { background: var(--surface-2); color: var(--ink); }
.af-clear { font-size: 12px; color: var(--link); margin-left: 4px; }
.adv-panel { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.adv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.adv-head .muted { font-size: 13px; }
.adv-foot { display: flex; justify-content: flex-end; flex-direction: row-reverse; gap: 8px; margin-top: 14px; }
.filter-grid fieldset { padding: 8px 12px 12px; }
.filter-grid legend { padding: 0 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 10px; }
.filter-grid fieldset { border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; margin: 0; gap: 2px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack label { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.stack label.check { flex-direction: row; gap: 6px; }
.saved { margin: 10px 0 0; }
.pick { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg a { padding: 5px 14px; color: var(--ink); text-decoration: none; font-size: 13px; }
.seg a + a { border-left: 1px solid var(--line-2); }
.seg a:hover:not([aria-current]) { background: var(--surface-2); }
.seg a[aria-current] { background: var(--accent-soft); font-weight: 600; }
.seg.big { margin-bottom: 12px; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.metric { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-right: -1px; margin-bottom: -1px; }
.metric dt { color: var(--ink-2); font-size: 13px; }
.metric dd { margin: 4px 0; font: 600 26px/1.15 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; }
.metric small { font-size: 12px; }
.metric .up, .metric .down { color: var(--ink-2); }
.help { display: inline-block; width: 15px; height: 15px; line-height: 15px; text-align: center; border-radius: 50%; background: var(--surface-2); font-size: 11px; cursor: help; }

.chart-wrap figcaption { font: 600 16px var(--sans); letter-spacing: -.012em; margin-bottom: 12px; }
.chart { position: relative; height: 220px; }
.chart svg { display: block; width: 100%; height: 100%; }
.chart text { fill: var(--ink-2); font: 11px var(--sans); }
.chart .tick { stroke: var(--line); stroke-width: 1; }
.chart .cross { stroke: var(--ink-2); stroke-width: 1; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; margin-top: 6px; }
.chart-legend i { display: inline-block; width: 12px; height: 3px; margin-right: 5px; vertical-align: middle; border-radius: 2px; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--surface); padding: 6px 9px; border-radius: var(--r); font-size: 12px; white-space: nowrap; z-index: 2; }
.table-view summary { cursor: pointer; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.table-view .scroll { max-height: 240px; overflow: auto; }
.table-view table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-view td, .table-view th { padding: 2px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.scroll { overflow-x: auto; }
.num, .table-view .num { text-align: right; font-variant-numeric: tabular-nums; }
.data { width: 100%; border-collapse: collapse; }
.data th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding: 6px 8px; }
.data th.num { text-align: right; }
.data th a { color: inherit; }
.data td { border-bottom: 1px solid var(--line); padding: 7px 8px; }

.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 40%) 1fr 56px; gap: 8px; align-items: center; font-size: 13px; }
.hb-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { height: 8px; }
.hb-fill { display: block; height: 100%; min-width: 2px; background: var(--s1); border-radius: 0 4px 4px 0; }
.hb-val { text-align: right; font-variant-numeric: tabular-nums; }
.minis { list-style: none; padding: 0; margin: 0; }
.mini { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.mini:last-child { border: 0; }
.plain { list-style: none; padding: 0; margin: 8px 0 0; }
.plain li { padding: 4px 0; overflow-wrap: anywhere; }
.insights { margin: 0; padding-left: 18px; }
.insights li { margin-bottom: 6px; }
.sent { font-size: 13px; font-weight: 600; white-space: nowrap; }
.sent.positive { color: var(--pos-ink); } .sent.negative { color: var(--neg-ink); } .sent.neutral { color: var(--ink-2); }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.word { padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.word.positive { color: var(--pos-ink); border-color: var(--pos); } .word.negative { color: var(--neg-ink); border-color: var(--neg); } .word.neutral { color: var(--ink-2); }
.legend-text { display: flex; gap: 12px; margin: 0 0 8px; }
.heat { border-collapse: separate; border-spacing: 2px; font-size: 11px; color: var(--ink-2); }
.heat th { font-weight: 400; padding: 0 4px; }
.heat td { width: 24px; min-width: 24px; height: 20px; background: rgba(var(--heat), var(--a)); outline: 1px solid var(--line); outline-offset: -1px; border-radius: 2px; position: relative; }
.legend-scale { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 8px 0 0; color: var(--ink-2); }
.legend-scale i { width: 120px; height: 8px; background: linear-gradient(to right, rgba(var(--heat), 0), rgba(var(--heat), 1)); border: 1px solid var(--line); }

.list-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 12px; }
.list-head .seg { margin-left: auto; }
.bulk { position: sticky; top: 0; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--surface-2); padding: 8px 12px; border-radius: var(--r); margin-bottom: 8px; }
.bulk[hidden] { display: none; }
.select-all { font-size: 13px; display: block; margin-bottom: 6px; }
.mention-list { list-style: none; margin: 0; padding: 0; }
.mention { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 8px; border-radius: var(--r-lg); }
.mention:not(.seen) .src::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--link); vertical-align: 1px; }
.mention-body { flex: 1; min-width: 0; }
.mention-body p { margin: 4px 0 6px; overflow-wrap: anywhere; }
.mention-top { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.mention-top time { margin-left: auto; }
.src { font-weight: 600; }
.mention-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-2); }
.actions { margin-top: 6px; font-size: 13px; }
.actions summary { cursor: pointer; color: var(--ink-2); }
.actions > div { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
input.sm { padding: 2px 6px; font-size: 13px; width: 110px; }
.save-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.pager { display: flex; justify-content: center; gap: 12px; align-items: center; flex-wrap: wrap; }
.alert-list { list-style: none; padding: 0; margin: 0; }
.alert-list p { margin: 4px 0; }
.alert-list .unread { background: var(--accent-soft); border-color: var(--line-2); }

.bubble { padding: 9px 13px; border-radius: var(--r-lg); margin-bottom: 8px; max-width: 85%; overflow-wrap: anywhere; }
.bubble.you { background: var(--accent-soft); margin-left: auto; width: fit-content; }
.bubble.bot { background: var(--surface-2); width: fit-content; }
.chat-form { margin: 12px 0 8px; }
button.chip { background: transparent; cursor: pointer; font-family: inherit; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; max-width: 760px; margin: 0 auto; }
.info h2 { margin-top: 24px; }
.info-hero { display: flex; flex-wrap: wrap; gap: 32px; }
.info-hero strong { display: block; font: 600 44px/1.1 var(--sans); letter-spacing: -.025em; }
.info-hero span { color: var(--ink-2); }
.info-bar { display: flex; gap: 2px; height: 24px; margin-bottom: 8px; }
.info-bar i { display: block; min-width: 2px; }
.info-bar .pos { background: var(--pos); } .info-bar .neu { background: var(--line); } .info-bar .neg { background: var(--neg); }

/* Kerangka CRM dengan sidebar */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #0b1730; border-right: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.side-brand { display: flex; align-items: center; height: 68px; padding: 0 22px; background: #081226; border-bottom: 1px solid var(--line); line-height: 0; }
.side-brand img { height: 38px; }
.side-nav { padding: 14px 0 28px; }
.side-back { display: block; padding: 8px 22px 12px; color: var(--sec); font-size: 14px; font-weight: 500; text-decoration: none; }
.side-back:hover { color: var(--sec-hover); }
.side-project { margin: 2px 22px 10px; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.side-label { margin: 22px 22px 6px; color: var(--ink-2); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.side-link { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 22px; color: #d3dae6; font-size: 14px; text-decoration: none; transition: background .12s, color .12s; }
.side-link svg { flex: none; }
.side-link span { flex: 1; min-width: 0; }
.side-link em { min-width: 19px; padding: 0 5px; border-radius: 10px; background: var(--sec); color: #0a1428; font: 700 11px/19px var(--sans); text-align: center; }
.side-link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-group > summary { list-style: none; cursor: pointer; }
.side-group > summary::-webkit-details-marker { display: none; }
.side-group > summary::after { content: ''; flex: none; width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.side-group[open] > summary::after { transform: rotate(-135deg) translate(-2px, 0); }
.side-group[open] > summary em { display: none; }
.side-group:has([aria-current]) > summary { color: var(--sec); font-weight: 600; }
.side-sub .side-link { padding-left: 53px; font-size: 13.5px; }
.side-sub .side-link svg { display: none; }
.side-link[aria-current] { color: var(--sec); font-weight: 600; background: rgba(201, 151, 63, .1); }
.side-link[aria-current]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sec); }
/* Sidebar saat berada di dalam project */
.side-in-project { background: #10203f; }
.side-in-project .side-brand { border-bottom: 2px solid var(--sec); }
.side-in-project .side-label { margin-top: 16px; }
.side-card { display: flex; align-items: center; gap: 11px; margin: 0 14px 8px; padding: 10px; border: 1px solid rgba(201, 151, 63, .3); border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); }
.side-card-mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--sec); color: #0a1428; font-size: 16px; font-weight: 800; }
.side-card-text { min-width: 0; }
.side-card .side-project { margin: 0; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.side-card small { display: block; margin-top: 1px; font-size: 12px; }
/* Sidebar saat berada di area pengaturan */
.side-in-settings { background: #131d30; }
.side-in-settings .side-brand { border-bottom: 2px solid #64748f; }
.side-in-settings .side-card { border-color: rgba(143, 160, 189, .3); }
.side-in-settings .side-card-mark { background: #8fa0bd; }
.shell-main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; flex: 0 1 auto; }
.top-title strong { font-size: 20px; font-weight: 700; letter-spacing: -.015em; overflow-wrap: anywhere; }
.top .hd { flex: 1; }
.side-brand img + img { display: none; }
.side-collapse { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: -8px; border: 0; border-radius: var(--r); background: none; color: var(--ink-2); cursor: pointer; transition: background .12s, color .12s; }
.side-collapse:hover { background: var(--surface-2); color: var(--ink); }
.side-collapse:focus-visible { outline: 2px solid var(--sec); outline-offset: 1px; }
@media (min-width: 1001px) {
  .shell { transition: grid-template-columns .2s ease; }
  .shell.side-mini { grid-template-columns: 68px minmax(0, 1fr); }
  .side-mini .side { overflow-x: hidden; }
  .side-mini .side-brand { justify-content: center; padding: 0; }
  .side-mini .side-brand img { display: none; }
  .side-mini .side-brand img + img { display: block; height: 34px; }
  .side-mini .side-nav { padding-top: 10px; }
  .side-mini .side-back { padding: 6px 0 10px; font-size: 0; text-align: center; }
  .side-mini .side-back::before { content: '‹'; font-size: 22px; line-height: 1; }
  .side-mini .side-card { justify-content: center; margin: 0 0 6px; padding: 0; border: 0; background: none; }
  .side-mini .side-card-text { display: none; }
  .side-mini .side-in-settings .side-card { display: none; }
  .side-mini .side-label { height: 1px; margin: 10px 16px; padding: 0; overflow: hidden; background: var(--line); font-size: 0; }
  .side-mini .side-link { justify-content: center; gap: 0; padding: 11px 0; }
  .side-mini .side-link span { display: none; }
  .side-mini .side-link em { position: absolute; top: 7px; left: 41px; width: 8px; height: 8px; min-width: 0; padding: 0; border-radius: 50%; font-size: 0; line-height: 0; }
  .side-mini .side-group > summary::after { display: none; }
  .side-mini .side-sub .side-link { padding-left: 0; }
  .side-mini .side-sub .side-link svg { display: block; opacity: .75; }
}
@media (max-width: 1000px) { .side-collapse { display: none; } }
@media (prefers-reduced-motion: reduce) { .shell { transition: none; } }
.side-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 20px; cursor: pointer; padding: 2px 6px; }
.side-scrim { display: none; }
.shell .wrap { width: 100%; max-width: none; margin: 0; }
.shell .page-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.shell .page-head { justify-content: flex-end; }
.shell .page-head:not(:has(> :not(h1))) { margin: 0; }
.hd-dot { position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--sec); }

/* Halaman pengaturan */
.set-card { padding: 26px 30px 30px; }
.set-tabs { display: flex; gap: 26px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); margin-bottom: 18px; }
.set-tabs a { padding: 8px 2px 10px; margin-bottom: -1px; color: var(--ink-2); font-size: 16px; text-decoration: none; border-bottom: 2px solid transparent; }
.set-tabs a:hover { color: var(--ink); }
.set-tabs a[aria-current] { color: var(--ink); font-weight: 700; border-color: var(--sec); }
.set-note { margin: 0 0 10px; color: var(--ink-2); }
.set-sim { display: inline-block; margin: 6px 0 18px; padding: 4px 10px; border-radius: 6px; }
.set-hint { margin: 14px 0 0; font-size: 13px; }
.conn { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 20px; }
.conn > header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.conn > header strong { font-size: 17px; }
.conn-logos { display: flex; gap: 6px; }
.conn-logos i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sec); color: var(--sec); font-style: normal; font-weight: 700; }
.conn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.conn-main { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; flex: 1; min-width: 240px; }
.conn-main > strong { font-size: 16px; margin-right: 2px; }
.conn-main small { flex-basis: 100%; font-size: 13px; }
.chip-ok, .chip-warn { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 13px; background: var(--surface-2); }
.chip-ok b { color: var(--pos-ink); }
.chip-warn { background: var(--err-bg); color: var(--neg-ink); }
.conn-acts { display: flex; gap: 16px; }
.link-gold { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; }
.link-gold:hover { text-decoration: underline; }
.conn-add { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; }
.conn-add input { flex: 1 1 200px; min-width: 0; }
/* Halaman Akun sosial */
.soc-intro { margin: 0 0 18px; }
.soc-intro p { margin: 0 0 6px; }
.soc-sim { margin-left: auto; }
.soc-empty { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.conn-row .soc-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-weight: 700; }
.soc-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.soc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.soc-name strong { font-size: 16px; margin-right: 2px; }
.soc-main small { font-size: 13px; }
.conn-acts { align-items: center; gap: 8px; }
.soc-btn { padding: 5px 12px; font-size: 13px; }
.soc-danger { color: var(--neg-ink); }
.soc-danger:hover { border-color: var(--neg-ink); }
.conn > .conn-add { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
.soc-add-label { font-weight: 500; font-size: 14px; }
.soc-add-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soc-add-row input { flex: 1 1 220px; min-width: 0; }
.soc-connect { margin-left: auto; }
.soc-muted-chip { color: var(--ink-2); }
.soc-setup { margin: 0 0 18px; padding: 14px 16px; border: 1px dashed var(--accent); border-radius: 12px; }
.soc-setup ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.soc-setup .api-copy { margin-top: 6px; max-width: 640px; }
/* Halaman Notifikasi */
.ntf-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.ntf-ch { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.ntf-ch > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ntf-ch small { font-size: 13px; }
.ntf-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sec); color: var(--sec); font-weight: 700; }
.ntf-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.ntf-empty { border: 1px dashed var(--line-2); border-radius: 12px; padding: 18px 20px; }
.ntf-empty p { margin: 6px 0 12px; }
.ntf-projects { list-style: none; margin: 0; padding: 0; }
.ntf-projects li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ntf-projects li span { overflow-wrap: anywhere; }
/* Halaman API */
.api-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.api-head .set-note { flex: 1 1 360px; }
.api-fresh { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 20px; padding: 14px 16px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); }
.api-copy { display: flex; gap: 8px; flex-wrap: wrap; }
.api-copy input { flex: 1 1 260px; min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.api-add { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 24px; }
.api-add label { font-weight: 500; font-size: 14px; }
/* Halaman Integrasi */
.int-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.int-summary > div { display: flex; align-items: baseline; gap: 8px; }
.int-summary strong { font-size: 20px; }
.int-summary p { margin: 0; }
.int-group { margin: 0 0 24px; }
.int-group-head { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 10px; }
.int-group-head h2 { margin: 0; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.int-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.int-card header { display: flex; align-items: center; gap: 10px; }
.int-card header strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.int-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.int-card .int-admin { font-size: 12.5px; padding-top: 8px; border-top: 1px dashed var(--line-2); overflow-wrap: anywhere; }
.int-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: 14px; }
.int-brand { border-color: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.int-link { margin-top: auto; font-size: 14px; }

/* Menu header */
.hd { flex: 1; display: flex; align-items: center; gap: 20px; min-width: 0; }
.hd-link { color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.hd-link:hover { color: var(--sec); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd-trial { text-decoration: none; white-space: nowrap; margin-right: 6px; }
.hd-quota { display: inline-flex; align-items: center; height: 34px; padding: 0 4px; margin-right: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 13px; transition: border-color .12s, background .12s; }
.hd-quota:hover { border-color: var(--sec); background: var(--surface-2); }
.hd-quota:focus-visible { outline: 2px solid var(--sec); outline-offset: 2px; }
.hq-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 26px; border-radius: 999px; }
.hq-item svg { flex: none; color: var(--sec); }
.hq-item b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hq-item b em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.hq-item small { color: var(--ink-2); font-size: 12px; }
.hq-item.warn { background: var(--warn-bg); color: var(--warn-ink); }
.hq-item.warn svg, .hq-item.warn small, .hq-item.warn b em { color: inherit; }
.hq-sep { width: 1px; height: 16px; background: var(--line-2); }
.token-note { margin: 0 0 12px; }
.log-filters { display: flex; flex-direction: column; gap: 12px; }
.log-filters .seg { align-self: flex-start; flex-wrap: wrap; }
.log-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; }
.log-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.log-fields input, .log-fields select { width: 100%; min-width: 0; }
.log-btns { display: flex; gap: 8px; }
.log-count { margin: 0 0 8px; font-size: 13px; }
.log-table td { vertical-align: top; }
.log-time { white-space: nowrap; }
.log-time small, .log-detail { display: block; color: var(--ink-2); font-size: 12px; }
.log-detail { margin-top: 3px; max-width: 560px; overflow-wrap: anywhere; }
.log-cat { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: 999px; font-size: 11px; line-height: 19px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.log-cat-token { background: var(--accent-soft); color: var(--link); }
.log-cat-pengumpulan { background: color-mix(in srgb, var(--sec) 18%, transparent); color: var(--sec-ink); }
.log-cat-admin { background: var(--warn-bg); color: var(--warn-ink); }
.log-tok { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.log-skip { display: block; margin-top: 2px; color: var(--danger); font-size: 11.5px; white-space: nowrap; }
.log-tok.minus { color: var(--ink-2); }
.log-tok.plus { color: var(--sec-ink); }
.log-ip { font-size: 12px; min-width: 96px; overflow-wrap: anywhere; }
.log-ipline { display: block; }
.log-ipline b { font-weight: 600; color: var(--ink-2); }
.log-net { font-size: 13px; color: var(--ink-2); min-width: 80px; }
.hd-sep { width: 1px; height: 22px; background: var(--line-2); }
.hd-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); cursor: pointer; list-style: none; transition: background .12s, color .12s; }
.hd-lang { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.hd-btn:hover, .hd-drop[open] > .hd-btn { background: var(--surface-2); color: var(--sec); }
summary.hd-btn::-webkit-details-marker, summary.hd-avatar::-webkit-details-marker, .sw-fab::-webkit-details-marker { display: none; }
.hd-badge { position: absolute; top: -2px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--sec); color: #0a1428; font-size: 10.5px; font-weight: 700; line-height: 1; }
.hd-badge[hidden] { display: none; }
.hd-avatar { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 50%; background: var(--sec); color: #0a1428; font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.hd-avatar.lg { width: 46px; height: 46px; margin: 0; flex: none; cursor: default; font-size: 17px; }
.hd-drop { position: relative; }
.hd-pop { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; background: #101d37; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-pop); animation: hd-pop .14s ease-out; max-width: calc(100vw - 24px); }
@keyframes hd-pop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hd-pop { animation: none; } }
.hd-pop h2 { font-size: 15px; margin: 0; text-align: center; }
.hd-tiles { display: grid; grid-template-columns: repeat(2, 140px); padding: 10px; }
.hd-tiles a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.hd-tiles a svg { color: var(--sec); }
.hd-tiles a:hover { background: var(--accent-soft); }
.hd-changes { width: 370px; overflow: hidden; }
.hd-changes > h2 { padding: 14px; border-bottom: 1px solid var(--line); }
.hd-changelist article { font-size: 14px; line-height: 1.5; padding: 10px 0; }
.hd-changes .hd-changelist { padding: 6px 16px; border-left: 3px solid var(--sec); max-height: 330px; overflow-y: auto; }
.tagc { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: 999px; font-size: 12px; line-height: 20px; font-weight: 600; background: var(--surface-2); color: var(--ink); }
.tagc.new { background: var(--sec); color: #0a1428; }
.tagc.boost { background: #3b4f80; color: #fff; }
.hd-foot { display: block; padding: 10px; text-align: center; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.hd-integr { width: 520px; padding: 16px 12px 12px; }
.hd-integr > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; }
.hd-integr a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 10px; color: var(--ink-2); font-size: 13px; text-decoration: none; }
.hd-integr a:hover { background: var(--accent-soft); color: var(--ink); }
.int-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--sec); }
.int-ico.txt { font-size: 22px; font-weight: 700; }
.hd-user { width: 270px; padding: 14px 0 8px; }
.hd-who { display: flex; align-items: center; gap: 12px; padding: 0 16px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; overflow-wrap: anywhere; }
.hd-item { display: flex; width: 100%; align-items: center; gap: 12px; padding: 9px 16px; color: var(--ink); background: none; border: 0; font: 400 14px var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.hd-item svg { color: var(--ink-2); flex: none; }
.hd-item:hover { background: var(--accent-soft); }
.hd-item.active { background: var(--surface-2); }
.hd-user hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.plan-pill { display: inline-block; margin-left: auto; padding: 1px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 12px; font-weight: 600; }
.plan-pill.big { margin: 6px 0 0; font-size: 14px; padding: 3px 12px; text-transform: uppercase; letter-spacing: .03em; }

/* Live chat (widget pojok kanan bawah, dipakai di halaman depan dan aplikasi) */
.sw { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.sw-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-left: auto; border-radius: 50%; background: linear-gradient(145deg, #e0b25e, #c9973f 55%, #b07f2c); color: #0a1428; box-shadow: 0 10px 28px rgba(201, 151, 63, .38), 0 2px 6px rgba(0, 0, 0, .35); cursor: pointer; list-style: none; transition: transform .18s ease, box-shadow .18s ease; }
.sw-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px rgba(201, 151, 63, .48), 0 2px 6px rgba(0, 0, 0, .35); }
.sw-fab:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.sw-fab .ci-front { fill: #0a1428; } .sw-fab .ci-back { fill: none; stroke: #0a1428; stroke-width: 2; stroke-linejoin: round; opacity: .55; } .sw-fab .ci-dot { fill: #e0b25e; }
.sw-fab .hd-badge { top: 0; right: 0; min-width: 20px; height: 20px; border-radius: 10px; background: #e5484d; color: #fff; font-size: 11px; box-shadow: 0 0 0 2px var(--bg); }
.sw-fab .hd-badge[hidden] { display: none; }
.sw-open, .sw-close { display: grid; place-items: center; transition: transform .2s ease, opacity .2s ease; }
.sw-close { display: none; }
.sw[open] .sw-open { display: none; } .sw[open] .sw-close { display: grid; }
.sw:not([open]) .sw-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(201, 151, 63, .5); animation: sw-pulse 2.6s ease-out 1.2s 3; pointer-events: none; }
@keyframes sw-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 151, 63, .5); } 100% { box-shadow: 0 0 0 16px rgba(201, 151, 63, 0); } }
.sw-panel { position: absolute; right: 0; bottom: 72px; display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 28px); height: 560px; max-height: calc(100vh - 120px); background: #0f1b33; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: hidden; transform-origin: bottom right; animation: sw-in .2s ease-out; }
@keyframes sw-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.sw-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: linear-gradient(135deg, #142443, #0a1730); border-bottom: 1px solid var(--line); }
.sw-head strong { display: block; font-size: 15.5px; color: #fff; }
.sw-head > div { min-width: 0; }
.sw-head small { display: flex; white-space: nowrap; align-items: center; gap: 6px; margin-top: 2px; font-size: 12.5px; color: var(--on-brand-2); }
.sw-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 0 3px rgba(60, 207, 142, .18); }
.sw-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0a1428; border: 1.5px solid var(--sec); }
.sw-head-btns { margin-left: auto; display: flex; gap: 4px; }
.sw-head-btns button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--on-brand-2); cursor: pointer; }
.sw-head-btns button:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.sw-av { color: var(--sec); }
.sw-msg a { color: inherit; font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
.sw-msg.them a { color: var(--link); }
.sw-failed { background: var(--err-bg) !important; color: var(--danger); }
.sw-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-sugg button { padding: 6px 11px; border: 1px solid rgba(201, 151, 63, .45); border-radius: 999px; background: rgba(201, 151, 63, .1); color: var(--sec-ink); font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; }
.sw-sugg button:hover { background: rgba(201, 151, 63, .2); }
.sw-note { margin: 0; padding: 0 12px 9px; background: #0c1730; color: var(--ink-2); font-size: 11px; text-align: center; }
.sw-thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(120% 60% at 100% 0, rgba(201, 151, 63, .06), transparent 60%); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sw-msg { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.sw-msg p { margin: 0; white-space: pre-wrap; }
.sw-msg b { display: block; margin-bottom: 2px; font-size: 12px; color: var(--sec); }
.sw-msg time { display: block; margin-top: 4px; font-size: 11px; opacity: .65; text-align: right; }
.sw-msg.them { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 5px; }
.sw-msg.you { background: var(--sec); color: #0a1428; align-self: flex-end; border-bottom-right-radius: 5px; }
.sw-msg.sending { opacity: .6; }
.sw-typing { display: flex; gap: 4px; padding: 13px 14px; }
.sw-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: sw-dot 1.2s infinite ease-in-out; }
.sw-typing span:nth-child(2) { animation-delay: .15s; } .sw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sw-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.support-thread .sw-msg.you b { color: #0a1428; opacity: .7; }
.sw-msg.failed { outline: 1px solid var(--danger); }
.sw-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 8px; border-top: 1px solid var(--line); background: #0c1730; }
.sw-form textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; border-radius: 14px; }
.sw-send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sec); color: #0a1428; cursor: pointer; transition: background .15s; }
.sw-send:hover { background: var(--sec-hover); }
.sw-send:disabled { opacity: .5; cursor: default; }
.sw [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .sw-fab, .sw-panel { transition: none; animation: none; } .sw-fab:hover { transform: none; } .sw-fab::after { animation: none !important; } }
@media (max-width: 520px) { .sw[open] { inset: 0; } .sw[open] .sw-fab { display: none; } .sw[open] .sw-panel { position: fixed; inset: 0; width: auto; max-width: none; height: auto; max-height: none; border-radius: 0; border: 0; } }
.sw-steps { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.sw-steps a { display: flex; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sw-steps a:hover { background: var(--accent-soft); }
.sw-steps small { display: block; color: var(--ink-2); font-size: 13px; }
.sw-check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); color: #0a1428; }
.done .sw-check { background: var(--sec); border-color: var(--sec); }
.sp-tag { padding: 1px 8px; border-radius: 999px; background: #143329; color: #7fe0b4; font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.support-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 16px; }
.support-list { list-style: none; margin: 0; padding: 0; }
.support-list a { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.support-list a:hover, .support-list a[aria-current] { background: var(--accent-soft); }
.support-list small { flex-basis: 100%; order: 3; color: var(--ink-2); overflow-wrap: anywhere; }
.support-thread { display: flex; flex-direction: column; gap: 8px; min-height: 240px; max-height: calc(100vh - 340px); overflow-y: auto; margin-bottom: 8px; }

/* Langganan */
.sub { margin: 0; }
.sub-hello { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 16px; background: var(--brand-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.sub-hello > div { flex: 1; min-width: 0; }
.sub-hello strong { display: block; font-size: 17px; }
.sub-hello div span { color: var(--ink-2); font-size: 14px; }
.sub-hello .btn { border-radius: 999px; white-space: nowrap; background: transparent; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.sub-plan { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sub-price { text-align: right; }
.sub-price strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sub-price strong small { font-size: 14px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.sub-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 26px; }
.sub-tiles div { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; }
.sub-tiles strong { display: block; font-size: 20px; font-weight: 700; }
.sub-tiles small { font-size: 13px; }
.sub-new { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.sub-new li { display: flex; gap: 8px; font-size: 14px; }
.sub-tick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--sec); color: var(--sec); }
.sub-new a { color: var(--ink); }
.sub-h { font-size: 20px; }
.sub-num { position: relative; display: block; }
.sub-num input { width: 100%; padding-right: 64px; }
.sub-num b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: italic; font-weight: 800; color: var(--ink); }
.sub-other { margin: 8px 14px 12px; font-size: 14px; }
.sub-other summary { color: var(--link); cursor: pointer; list-style: none; }
.sub-other summary::-webkit-details-marker { display: none; }
.sub-other p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }
.sub-secure { margin: 10px 4px 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.sw-bubble { position: fixed; right: 22px; bottom: 86px; z-index: 39; display: flex; gap: 12px; width: 330px; max-width: calc(100vw - 28px); padding: 14px; background: #101d37; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-pop); color: var(--ink); font-size: 14px; text-decoration: none; }
.sw-bubble .hd-avatar { flex: none; width: 34px; height: 34px; margin: 0; font-size: 13px; }
.sw-bubble b { display: block; font-weight: 600; margin-bottom: 3px; }
.sw-bubble small { display: block; margin-top: 4px; color: var(--ink-2); }
.sw-bubble:has(+ .sw[open]) { display: none; }
.sub-pay { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.sub-card { padding-top: 2px; }
.sub-method { display: flex; gap: 8px; align-items: center; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; }
.sub-method.on { border-color: var(--sec); }
.sub-card { display: grid; gap: 10px; padding: 2px 14px 6px; }
.sub-card label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sub-order { position: sticky; top: 16px; }
.sub-bill { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; font-weight: 500; }
.sub-bill label { display: flex; gap: 6px; align-items: center; }
.sub-bill input { accent-color: var(--sec); }
.sub-bill .plan-pill { margin-left: 0; }
.sub-line, .sub-total { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 0; padding: 10px 0; font-size: 14px; }
.sub-line { border-bottom: 1px solid var(--line); }
.sub-total strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; text-align: right; }
.sub-go { display: block; width: 100%; margin-top: 8px; padding: 12px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.sub-alt { display: block; margin-top: 12px; text-align: center; font-size: 14px; }

@media (max-width: 1000px) {
  .shell { display: block; }
  .side { position: fixed; z-index: 50; left: 0; width: 264px; max-width: 86vw; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: var(--shadow-pop); }
  .side-scrim.open { display: block; position: fixed; inset: 0; z-index: 49; width: 100%; border: 0; background: rgba(0, 0, 0, .5); }
  .side-toggle { display: block; }
  .top { padding: 8px 16px; gap: 8px; min-height: 58px; }
  .top-title strong { font-size: 16px; }
  .top-title .muted, .top-title .pill { display: none; }
  .top-title { flex: 1 1 0; }
  .top-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .top .hd { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }
@media (max-width: 800px) {
  .set-card { padding: 18px 16px; }
  .conn { padding: 14px; }
  .hd-trial { display: none; }
  .hq-item small { display: none; }
  .hq-item { padding: 0 7px; }
  .hd-link { display: none; }
  .hd-sep { display: none; }
  .hd-avatar { width: 34px; height: 34px; margin-left: 2px; font-size: 13px; }
  .top { position: sticky; }
  .hd-btn { width: 34px; height: 34px; }
  .hd-right { gap: 2px; }
  .hd-drop { position: static; }
  .masthead { position: relative; flex-wrap: nowrap; gap: 8px; }
  .masthead .brand img { height: 30px; }
  .hd-pop { right: 12px; top: calc(100% + 4px); }
  .hd-integr, .hd-changes { width: calc(100vw - 24px); }
  .hd-tiles { grid-template-columns: repeat(2, minmax(0, 130px)); }
  .hd-integr > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sw { right: 14px; bottom: 14px; }
  .support-grid, .sub-grid { grid-template-columns: minmax(0, 1fr); }
  .sub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub-new { grid-template-columns: minmax(0, 1fr); }
  .sub-hello { flex-wrap: wrap; }
  .sub-order { position: static; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .form-2col { grid-template-columns: minmax(0, 1fr); }
  .acc-grid { grid-template-columns: minmax(0, 1fr); }
  .ntf-channels { grid-template-columns: minmax(0, 1fr); }
  .acc-hero { flex-wrap: wrap; }
  .acc-hero .pill { margin-left: 0; }
  :root { --gutter: 16px; }
  .wrap { padding: 16px 16px 48px; }
  .list-head .seg { margin-left: 0; }
  .inline { flex: 1 1 140px; } .inline input { flex: 1; min-width: 0; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --surface: #fff; --surface-2: #f1f3f6; --ink: #111827; --ink-2: #4b5563; --line: #d7dce3; --line-2: #b9c0cb; --accent-soft: #eef1f5; --link: #1f3f73; --pos-ink: #0b6b49; --neg-ink: #a8281f; --warn-bg: #f8f1e0; --warn-ink: #6a4d0c; }
  .no-print, .table-view, .masthead nav, .brand, .sw, .side, .top { display: none; }
  .masthead { border: 0; padding: 0; }
  body { background: #fff; }
  .panel { break-inside: avoid; }
}

/* Akun sosial lewat tautan */
.soc-count { margin-left: auto; font-size: 13px; }
.soc-add { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.soc-add small { font-size: 13px; }
.soc-title { font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; margin-right: 2px; }
.soc-title:hover { text-decoration: underline; }
.soc-av.soc-facebook, .conn-logos i.soc-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.soc-av.soc-instagram, .conn-logos i.soc-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; border-color: transparent; }
.soc-av.soc-tiktok, .conn-logos i.soc-tiktok { background: #111; color: #fff; border-color: #111; }
.soc-busy { display: inline-flex; align-items: center; gap: 6px; }
.soc-spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: soc-spin .8s linear infinite; }
@keyframes soc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .soc-spin { animation: none; } }
.soc-err-line { color: var(--neg-ink); }
.soc-err { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); color: var(--neg-ink); font-size: 14px; }
.soc-meta { margin-top: 18px; }
.soc-meta > header { align-items: flex-start; }
details.soc-setup { margin-top: 18px; }
details.soc-setup summary { cursor: pointer; }
.soc-back { margin: 0 0 10px; }
.soc-back a { text-decoration: none; }
.soc-dhead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.soc-av-lg { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 20px; font-weight: 700; }
.soc-dhead .soc-main a { text-decoration: none; }
.soc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 18px; }
.soc-metrics > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.soc-metrics span { font-size: 13px; color: var(--ink-2); }
.soc-metrics strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.soc-metrics small { font-size: 12px; }
.soc-posts { margin-top: 16px; }
.soc-posts-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 6px; }
.soc-posts-head h2 { margin: 0; font-size: 18px; }
.soc-sort { display: flex; gap: 4px; }
.soc-sort a { padding: 5px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); }
.soc-sort a[aria-current] { background: var(--ink); color: var(--bg, #fff); border-color: var(--ink); }
.soc-post { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.soc-post-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.soc-post-top a { text-decoration: none; white-space: nowrap; }
.soc-body { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
details.soc-body summary { cursor: pointer; list-style: none; }
details.soc-body summary::-webkit-details-marker { display: none; }
details.soc-body[open] summary { display: none; }
details.soc-body p { margin: 0; }
.soc-more { color: var(--accent); font-size: 14px; }
.soc-pm { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.soc-pm b { color: var(--ink); font-variant-numeric: tabular-nums; }
.soc-comments summary { cursor: pointer; font-size: 14px; color: var(--accent); }
.soc-comments ul { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.soc-comments li p { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.soc-comments li strong { font-size: 14px; }

/* Pengguna */
.usr-sum { margin: 0 auto 0 0; display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.usr-sum span, .usr-sum a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.usr-sum b { color: var(--ink); font-weight: 600; }
.usr-sum a { border-color: var(--accent); color: var(--warn-ink); }
.usr-sum a b { color: var(--accent); }
.usr-menu-gap { display: block; width: 38px; }
.usr-verify { align-self: flex-start; margin-top: 5px; }
.usr-seen { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 10px; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.usr-seen.on > span { color: var(--pos-ink); }
.usr-seen.on > span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--pos); }
.usr-card { padding: 0; overflow: visible; }
.usr-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.usr-card-head h2 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.usr-card-head p { margin: 6px 0 0; font-size: 14px; }
.usr-pending { border-color: var(--accent); }
.usr-tbl { padding: 6px 22px 12px; }
.usr-table td { vertical-align: middle; }
.usr-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.usr-until { display: block; margin-top: 3px; font-size: 12px; }
.usr-table .usr-seen { margin-top: 0; }
.usr-links { white-space: nowrap; font-size: 13px; }
.usr-links a + a { margin-left: 12px; }
.usr-tbl-act { width: 54px; text-align: right; }
.usr-table .usr-menu { display: inline-block; text-align: left; }
@media (max-width: 900px) {
  .usr-tbl { padding: 4px 14px 10px; overflow-x: auto; }
  .usr-table .usr-pop { position: fixed; top: auto; right: 16px; bottom: 16px; left: 16px; width: auto; max-height: 75vh; overflow-y: auto; }
}
.usr-list { list-style: none; margin: 0; padding: 0; }
.usr-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.usr-row:last-child { border-bottom: 0; }
.usr-row:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.usr-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 15px; }
.usr-av-admin { background: var(--accent); color: var(--accent-ink); }
.usr-av-member { background: var(--accent-soft); color: var(--link); }
.usr-av-client { background: #1f3b5c; color: #b9d7f5; }
.usr-av-pending { background: var(--warn-bg); color: var(--warn-ink); }
.usr-who { flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.usr-who strong { font-size: 15px; font-weight: 600; }
.usr-who small { flex-basis: 100%; font-size: 13px; overflow-wrap: anywhere; }
.usr-org { font-size: 13px; color: var(--ink-2); }
.usr-org::before { content: "·"; margin-right: 8px; }
.usr-you { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); vertical-align: 2px; }
.usr-msg { flex-basis: 100%; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.usr-role { flex: 0 0 170px; display: flex; flex-direction: column; gap: 3px; }
.usr-role small { font-size: 12px; }
.usr-badge { align-self: flex-start; font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.usr-badge-admin { border-color: var(--accent); color: var(--accent); }
.usr-badge-client { border-color: #3d6b99; color: #9cc6ee; }
.usr-badge-trial { border-color: transparent; background: var(--warn-bg); color: var(--warn-ink); }
.usr-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.usr-acts form { margin: 0; }
.usr-approve { display: flex; gap: 8px; align-items: center; }
.usr-approve select { width: auto; min-width: 140px; }
.usr-ghost-danger { border-color: transparent; background: transparent; color: var(--neg-ink); }
.usr-ghost-danger:hover { border-color: var(--neg-ink); background: transparent; }
.usr-menu { position: relative; }
.usr-menu > summary { list-style: none; width: 38px; padding-left: 0; padding-right: 0; text-align: center; font-size: 18px; line-height: 1; }
.usr-menu > summary::-webkit-details-marker { display: none; }
.usr-menu[open] > summary { background: var(--surface-2); }
.usr-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 260px; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); display: grid; gap: 2px; }
.usr-item { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.usr-item:hover, .usr-item:focus-visible { background: var(--surface-2); }
.usr-item-danger { color: var(--neg-ink); }
.usr-pop-reset { display: grid; gap: 8px; padding: 8px 10px 10px; margin: 2px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usr-pop-reset label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); margin: 0; }
.usr-pop-reset .btn { justify-self: start; font-size: 13px; padding: 5px 12px; }
.usr-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 20px 24px 24px; margin: 0; }
.usr-add label { margin: 0; }
.modal { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); }
.modal:focus, .modal:focus-visible { outline: none; }
.modal::backdrop { background: rgba(3, 8, 20, .68); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
html:has(.modal[open]) { overflow: hidden; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-head p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.modal-x { flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; border: 0; border-radius: var(--r); background: none; color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.modal-x:hover { background: var(--surface-2); color: var(--ink); }
.modal-x:focus-visible { outline: 2px solid var(--sec); outline-offset: 1px; }
.modal-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.usr-add input, .usr-add select { height: 38px; }
.usr-empty { margin: 0; padding: 18px 22px; }
@media (max-width: 900px) { .usr-role { flex-basis: auto; } }
@media (max-width: 640px) {
  .usr-add { grid-template-columns: minmax(0, 1fr); }
  .usr-row { padding: 14px 16px; }
  .usr-card-head { padding: 16px; }
  .usr-who { flex: 1 1 0; }
  .usr-role { order: 3; flex: 1 1 100%; padding-left: 54px; flex-direction: row; align-items: center; gap: 8px; }
  .usr-row-wide .usr-acts { flex: 1 1 100%; padding-left: 54px; margin-left: 0; }
  .usr-top { flex-wrap: wrap; }
  .usr-sum { flex: 1 1 100%; flex-wrap: wrap; }
  .usr-top > .btn { margin-left: auto; }
}

/* Kartu mention sosial: foto profil, akun, dan gambar post. */
.mini.mc { flex-direction: row; align-items: flex-start; gap: 16px; padding: 14px 0; }
.mc-thumb { flex: 0 0 150px; width: 150px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.mc-who { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.mc-av { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); }
.mc-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mc-src { flex: none; font-size: 11px; padding: 1px 8px; border-radius: 999px; color: #fff; background: var(--line-2); }
.mc-src.src-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.mc-src.src-facebook { background: #1877f2; }
.mc-src.src-tiktok { background: #111; border: 1px solid #333; }
.mc-src.src-x { background: #000; border: 1px solid #333; }
.mc-title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* Halaman Mention: avatar akun dan gambar/video post besar di samping teks. */
.mention-top { align-items: center; }
.mc-av.lg { flex-basis: 40px; width: 40px; height: 40px; font-size: 16px; }
.mention-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mention-who b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mention-content { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; }
.mention-text { flex: 1; min-width: 0; }
.mention-text h3 { margin-top: 0; }
.mention-media { position: relative; flex: 0 0 220px; width: 220px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.mention-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-thumb { position: relative; }
/* Ikon play di tengah gambar video: lingkaran gelap + segitiga putih. */
.is-video::before { content: ''; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 10px rgba(0,0,0,.4); pointer-events: none; z-index: 1; }
.is-video::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; pointer-events: none; z-index: 2; }
.mc-thumb.is-video::before { width: 44px; height: 44px; }
.mc-thumb.is-video::after { border-width: 9px 0 9px 14px; }
.is-video:hover::before { background: rgba(0,0,0,.75); }
@media (max-width: 480px) { .mc-thumb { flex-basis: 110px; width: 110px; } }
@media (max-width: 640px) {
  .mention-content { flex-direction: column; }
  .mention-media { width: 100%; flex-basis: auto; max-width: 360px; }
}
.sources-group { display: block; margin: 8px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sources-group:first-of-type { margin-top: 2px; }
.mc-src.src-threads { background: #000; border: 1px solid #333; }
.mc-src.src-linkedin { background: #0a66c2; }
.mc-src.src-youtube { background: #e00; }

/* Halaman 404 */
body.nf { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 16px; background: var(--bg, #f6f7fb); }
.nf-box { max-width: 420px; text-align: center; }
.nf-code { font-size: 64px; font-weight: 800; margin: 0; opacity: .25; line-height: 1; }
.nf-box h1 { font-size: 22px; margin: 12px 0 8px; }

/* Bendera dan pemilih negara/bahasa (filter lanjutan) */
.flag { width: 20px; height: 15px; flex: none; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.flag.globe { display: inline-block; box-shadow: none; background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8b3c6' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z'/%3E%3C/svg%3E"); }
.gp { position: relative; }
.gp-btn { width: 100%; display: flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; color: var(--ink); text-align: left; cursor: pointer;
  background: var(--surface) no-repeat right 14px center / 11px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8b3c6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 7px 38px 7px 10px; min-height: 36px; }
.gp-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-btn:hover, .gp.open .gp-btn { border-color: var(--accent); }
.gp-pop { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.gp-search { width: 100%; margin-bottom: 6px; }
.gp-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.gp-list li[role=option] { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r); font-size: 13px; cursor: pointer; }
.gp-list li[role=option].on { background: var(--accent-soft); }
.gp-list li[aria-selected=true] { font-weight: 600; color: var(--link); }
.gp-group { padding: 8px 8px 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.gp-empty { margin: 6px 8px; font-size: 13px; }
.fs-hint { font-size: 12px; }
.stack label small.muted { font-size: 12px; font-weight: 400; }
.gp-list [hidden], .gp [hidden] { display: none !important; }

/* Tab pil: Influencer / Analisis influencer / Sumber */
.pill-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
.pill-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; color: var(--ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; }
.pill-tabs a:hover:not([aria-current]) { color: var(--ink); background: var(--surface-2); }
.pill-tabs a[aria-current] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
@media (max-width: 560px) { .pill-tabs { border-radius: var(--r-lg); display: flex; } .pill-tabs a { flex: 1; justify-content: center; padding: 8px 10px; font-size: 13px; } }

/* Logo sumber */
.src-logo { --s: 28px; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: 50%; background: #5b6b88; vertical-align: middle; }
.src-logo svg { width: 62%; height: 62%; }
.src-logo.src-facebook { background: #1877f2; }
.src-logo.src-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.src-logo.src-tiktok, .src-logo.src-x, .src-logo.src-threads { background: #000; box-shadow: 0 0 0 1px #3a4a68; }
.src-logo.src-linkedin { background: #0a66c2; }
.src-logo.src-youtube { background: #f00; }
.src-logo.src-news { background: #2f6f9f; }
.src-logo.src-podcast { background: #8a4fd1; }
.src-logo.src-blog { background: #d9822b; }
.src-logo.src-video { background: #c2410c; }
.hbars .src-logo { margin-right: 8px; }

/* Tabel influencer */
.data th.center, .data td.center { text-align: center; }
.infl-table td { vertical-align: middle; padding-top: 10px; padding-bottom: 10px; }
.infl-who { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.infl-who > span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.infl-who a { color: var(--ink); text-decoration: none; }
.infl-who a:hover { text-decoration: underline; }
.infl-who small { font-size: 12px; }
.infl-count { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }
.infl-count svg { color: var(--link); }
.score-bar { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sb-track { width: 72px; height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sb-fill { display: block; height: 100%; border-radius: inherit; background: var(--s1); }
.sb-val { font-size: 13px; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hb-label:has(.src-logo) { display: flex; align-items: center; } .hb-label:has(.src-logo) a, .hb-label:has(.src-logo) > :last-child { overflow: hidden; text-overflow: ellipsis; }
.mc-av.site-av { --s: 28px; flex: 0 0 var(--s); width: var(--s); height: var(--s); background: #fff; color: #0a1428; }
.mc-av.site-av img { object-fit: contain; padding: 3px; background: #fff; }

/* Donat porsi penulis (tab Analisis influencer) */
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut { width: 180px; height: 180px; flex: none; transform: rotate(0deg); }
.donut circle { transition: stroke-width .15s; }
.donut circle:hover { stroke-width: 7.5; }
.donut-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; min-width: 0; flex: 1; }
.donut-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.donut-legend .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.donut-legend .lg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.donut-legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pct-bars li { grid-template-columns: minmax(0, 38%) 1fr 56px; }
@media (max-width: 560px) { .pill-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .pill-tabs a { flex: none; } .donut { width: 150px; height: 150px; } }
.src-logo.src-bluesky { background: #1185fe; }
.src-logo.src-mastodon { background: #6364ff; }
.src-logo.src-dailymotion { background: #0a0a0a; box-shadow: 0 0 0 1px #3a4a68; }
.src-logo.src-reddit { background: #ff4500; }
.src-logo.src-vimeo { background: #1ab7ea; }
.src-logo.src-bluesky svg, .src-logo.src-reddit svg, .src-logo.src-vimeo svg { width: 66%; height: 66%; }
.hb-label:has(.site-av) { display: flex; align-items: center; }
.hbars .site-av { margin-right: 8px; }
.hb-label:has(.site-av) > :last-child { overflow: hidden; text-overflow: ellipsis; }
.mc-av.site-av { display: inline-grid; vertical-align: middle; }

/* Analisis: tata letak atas (mention populer, profil teratas, ringkasan) */
.an-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.an-top > .panel { margin: 0; display: flex; flex-direction: column; }
.an-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.an-row > .panel, .an-row > figure { margin: 0; }
@media (max-width: 1180px) { .an-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .an-top > .ov { grid-column: 1 / -1; } }
@media (max-width: 860px) { .an-top, .an-row { grid-template-columns: 1fr; } }
.mrows { list-style: none; margin: 0; padding: 0; flex: 1; }
.mrow { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mrow:first-child { padding-top: 4px; }
.mrow-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mrow-head .sent { margin-left: auto; flex: none; }
.mrow-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mrow-who a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-who a:hover { text-decoration: underline; }
.mrow-who small { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mrows .src-logo, .mrows .site-av { --s: 34px; }
.pager-nums { display: flex; justify-content: center; gap: 2px; margin-top: 12px; }
.pager-nums button { min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: var(--r); background: none; color: var(--link); font: inherit; font-size: 13px; cursor: pointer; }
.pager-nums button:hover:not(:disabled) { background: var(--surface-2); }
.pager-nums button[aria-current] { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.pager-nums button:disabled { color: var(--ink-2); cursor: default; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.switch input { -webkit-appearance: none; appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(14px); }
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; flex: 1; }
.ov-item { padding: 12px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.ov-item:nth-child(3n) { border-right: 0; }
.ov-item dt { font-size: 12px; color: var(--ink-2); line-height: 1.35; min-height: 2.7em; }
.ov-item dd { margin: 6px 0 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ov-exact { display: none; }
.ov.exact .ov-short { display: none; }
.ov.exact .ov-exact { display: inline; font-size: 16px; }
.ov-delta { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 600; vertical-align: middle; }
.ov-delta.up { background: var(--ok-bg); color: var(--pos-ink); }
.ov-delta.down { background: var(--err-bg); color: var(--neg-ink); }
.ov-more { display: inline-flex; align-items: center; gap: 6px; align-self: center; margin-top: 14px; font-size: 13px; }
.chart-wrap figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-seg { font-weight: 400; }
.chart-seg a { font-size: 12px; padding: 4px 12px; }
.an-row .donut-wrap { flex-direction: column; align-items: stretch; }
.an-row .donut { align-self: center; }
.an-row .donut-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }

/* Sentimen per kategori: bar bertumpuk per sumber */
.sbars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sbars li { display: grid; grid-template-columns: minmax(120px, 180px) 1fr 52px; gap: 12px; align-items: center; font-size: 13px; }
.sb-name { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; }
.sb-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-stack { display: flex; height: 18px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.sb-stack > span { display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; min-width: 2px; }
.sb-positive { background: var(--pos); }
.sb-neutral { background: var(--line-2); }
.sb-negative { background: var(--neg); }
.sb-total { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
@media (max-width: 560px) { .sbars li { grid-template-columns: 100px 1fr 40px; gap: 8px; } .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-item:nth-child(3n) { border-right: 1px solid var(--line); } .ov-item:nth-child(2n) { border-right: 0; } }
.ov-delta { display: block; width: fit-content; margin: 4px 0 0; }
.mrow-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; }
.mrow-foot a:first-child { color: var(--ink-2); }
.mrow-open { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.hb-label:has(.flag) { display: flex; align-items: center; gap: 8px; }
.hb-label:has(.flag) > :last-child { overflow: hidden; text-overflow: ellipsis; }

/* Audiens (gaya Demographics) */
.demo-note { margin: 0 0 14px; font-size: 13px; }
.demo-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.demo-row > .panel { margin: 0; }
@media (max-width: 900px) { .demo-row { grid-template-columns: 1fr; } }
.demo-empty { display: grid; place-items: center; gap: 6px; min-height: 160px; text-align: center; color: var(--ink-2); font-size: 13px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.demo-empty p { margin: 0; }
.vb { display: grid; grid-template-columns: 34px 1fr; gap: 8px; height: 240px; margin-top: 10px; }
.vb-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--ink-2); text-align: right; padding-bottom: 22px; }
.vb-axis span { line-height: 0; }
.vb-plot { display: flex; align-items: stretch; gap: 4%; padding-bottom: 22px; position: relative;
  background: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px calc((100% - 22px) / 4)) 0 0 / 100% calc(100% - 22px) no-repeat; }
.vb-group { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 6%; position: relative; }
.vb-bar { flex: 0 1 34%; max-width: 46px; min-height: 1px; border-radius: 3px 3px 0 0; }
.vb-group:only-child .vb-bar, .vb-group .vb-bar:only-of-type { flex-basis: 60%; max-width: 80px; }
.vb-group em { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-legend { display: flex; gap: 16px; margin: 10px 0 0; font-size: 12px; color: var(--ink-2); }
.vb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vb-legend i { width: 10px; height: 10px; border-radius: 50%; }
.donut-num { font-size: 5.2px; font-weight: 700; fill: var(--ink); }
.donut-sub { font-size: 2.4px; fill: var(--ink-2); }
.demo-row .donut-wrap { flex-direction: column; }
.demo-row .donut { width: 200px; height: 200px; }
.demo-row .donut-legend { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.demo-row .donut-legend .lg-name { flex: none; }
.geo-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .geo-body { grid-template-columns: 1fr; } }
.geo-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
@media (max-width: 640px) { .geo-tables { grid-template-columns: 1fr; } }
.geo-table td { padding: 10px 8px; white-space: nowrap; }
.geo-name { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.geo-name:hover b { text-decoration: underline; }
.geo-table small { font-size: 11px; margin-left: 4px; }
.geo-unknown { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.share-bars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.share-bars li { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.sh-label { color: var(--ink-2); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-track { height: 12px; }
.sh-fill { display: block; height: 100%; border-radius: 3px; background: var(--s1); min-width: 2px; }
.sh-val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-val small { font-weight: 400; }
.share-bars.progress li { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 6px; }
.share-bars.progress .sh-label { text-align: left; color: var(--ink); grid-column: 1; grid-row: 1; }
.share-bars.progress .sh-val { grid-column: 2; grid-row: 1; }
.share-bars.progress .sh-track { grid-column: 1 / -1; grid-row: 2; height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.share-bars.progress .sh-fill { background: var(--s3); border-radius: 999px; }
.demo-form summary { cursor: pointer; list-style: none; }
.demo-form summary::-webkit-details-marker { display: none; }
.demo-form summary h2 { display: inline; }
.demo-form summary::after { content: ' ▾'; color: var(--ink-2); }
.demo-form[open] summary { margin-bottom: 10px; }
/* Sumbu dan garis bantu grafik batang tegak: area batang = tinggi dikurangi 22px label bawah */
.vb-axis { position: relative; display: block; padding: 0; margin-bottom: 22px; }
.vb-axis span { position: absolute; right: 0; transform: translateY(50%); line-height: 1; }
.vb-plot { background: none; padding-bottom: 0; margin-bottom: 22px; }
.vb-grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); pointer-events: none; }
.vb-group { z-index: 1; }
.vb-group em { bottom: -20px; }
.demo-empty { align-content: center; }

/* Perbandingan (gaya Brand24 Comparison) */
.cmp-tabs { display: flex; width: fit-content; margin: 0 auto 14px; }
.cmp-cards { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; align-items: stretch; }
.cmp-card { position: relative; display: flex; align-items: center; gap: 8px; min-width: 170px; padding: 14px 36px 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmp-card small { margin-left: 6px; font-size: 11px; }
.cmp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; vertical-align: middle; }
.cmp-x { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); text-decoration: none; font-size: 16px; line-height: 1; }
.cmp-x:hover { background: var(--surface-2); color: var(--danger); }
.cmp-add { position: relative; }
.cmp-add summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 100%; min-height: 50px; padding: 0 18px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px dashed var(--accent); color: var(--ink); font-size: 14px; }
.cmp-add summary::-webkit-details-marker { display: none; }
.cmp-add summary span { font-size: 18px; color: var(--accent); }
.cmp-add ul { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 240px; max-height: 300px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.cmp-add li a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 13px; }
.cmp-add li a:hover { background: var(--accent-soft); }
.cmp-hint { margin: 0 0 14px; font-size: 13px; align-self: center; }
.cmp-overview .panel-head .btn { display: inline-flex; align-items: center; gap: 6px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th { text-align: left; font-weight: 600; padding: 8px 12px 0; vertical-align: bottom; min-width: 140px; }
.cmp-table th:first-child { min-width: 220px; }
.cmp-table th i { display: block; height: 4px; border-radius: 999px; margin: 10px 0 6px; }
.cmp-table td { padding: 11px 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-table td:first-child { color: var(--ink-2); }
.cmp-table tbody tr:nth-child(odd) td { background: var(--surface-2); }
.cmp-table tbody tr td:first-child { border-radius: var(--r) 0 0 var(--r); }
.cmp-table tbody tr td:last-child { border-radius: 0 var(--r) var(--r) 0; }
.cmp-table .ov-delta { margin: 0; display: inline-block; }
.pct-bars .cmp-dot { margin-right: 8px; }
.hb-label:has(.cmp-dot) { display: flex; align-items: center; }

/* Analisis bagian bawah */
.an-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.an-3 > .panel { margin: 0; }
@media (max-width: 1100px) { .an-3 { grid-template-columns: 1fr; } }
.mini-table { width: 100%; }
.mini-table td { padding: 10px 8px; }
.mini-table td.ellip { max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 80%; }
.vb-stack .vb-col { display: flex; flex-direction: column; width: 46%; max-width: 54px; border-radius: 3px 3px 0 0; overflow: hidden; }
.vb-stack .vb-col > span { display: block; width: 100%; }
.vb-stack .vb-group em { display: flex; flex-direction: column; align-items: center; gap: 3px; bottom: -40px; }
.vb-stack .vb-group em span { font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.vb-stack { height: 260px; margin-bottom: 22px; }
.center-panel { text-align: center; }
.center-panel .panel-head { text-align: left; }
.center-panel > h2 { text-align: left; }
.ring { width: 180px; height: 180px; display: block; margin: 8px auto; }
.ring-num { font-size: 10px; font-weight: 700; fill: var(--ink); }
.half-gauge { width: 100%; max-width: 320px; display: block; margin: 8px auto 0; }
.gauge-legend { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; font-size: 13px; }
.gauge-legend li { display: inline-flex; align-items: center; gap: 6px; }
.gauge-legend i { width: 10px; height: 10px; border-radius: 50%; }
a.switch { text-decoration: none; }
a.switch input { pointer-events: none; }
.hot-head { text-align: center; font-weight: 600; margin: 4px 0 12px; }
.dots { border-collapse: separate; border-spacing: 3px; margin: 0 auto; }
.dots th { font-size: 11px; font-weight: 400; color: var(--ink-2); }
.dots thead th { height: 30px; vertical-align: bottom; }
.dots thead th span { display: inline-block; transform: rotate(-45deg); transform-origin: left bottom; white-space: nowrap; margin-left: 8px; }
.dots tbody th { text-align: right; padding-right: 6px; }
.dots td { padding: 0; }
.dots i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); }
.dots i.lv1 { background: color-mix(in srgb, var(--s1) 35%, var(--surface-2)); }
.dots i.lv2 { background: color-mix(in srgb, var(--s1) 70%, var(--surface-2)); }
.dots i.lv3 { background: var(--s7); }
.dots-legend { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 12px 0 0; font-size: 11px; color: var(--ink-2); }
.dots-legend i { width: 60px; height: 8px; border-radius: 2px; }
.dots-legend i.lv1 { background: color-mix(in srgb, var(--s1) 35%, var(--surface-2)); }
.dots-legend i.lv2 { background: color-mix(in srgb, var(--s1) 70%, var(--surface-2)); }
.dots-legend i.lv3 { background: var(--s7); }
.dots-legend span { margin: 0 6px; }
.emoji-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding: 12px 0; line-height: 1.1; }
.cloud { text-align: center; line-height: 1.15; padding: 8px 0; }
.cw { display: inline-block; margin: 0 4px; font-weight: 700; text-decoration: none; }
.cw:hover { text-decoration: underline; }
.cw.c0 { color: #60a5fa; } .cw.c1 { color: #a78bfa; } .cw.c2 { color: #818cf8; } .cw.c3 { color: #93c5fd; }
.cw.positive { color: var(--pos-ink); } .cw.negative { color: var(--neg-ink); } .cw.neutral { color: var(--ink-2); }
@media (max-width: 560px) { .dots i { width: 14px; height: 14px; } }
.sov-donuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .sov-donuts { grid-template-columns: 1fr; } }
.sov-donuts .donut-wrap { flex-direction: column; }
.sov-donuts .donut { width: 200px; height: 200px; }
.sov-donuts .donut-legend { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.sov-donuts .donut-legend .lg-name { flex: none; }
.cmp-overview .panel-head .row { gap: 8px; }

/* Asisten AI */
.ai-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .ai-wrap { grid-template-columns: 1fr; } .ai-side { order: -1; } }
.ai-main { min-height: 560px; display: flex; flex-direction: column; margin: 0; }
.ai-hello { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 12px; }
.ai-spark { font-size: 44px; color: var(--s7); line-height: 1; }
.ai-hello h2 { font-size: 26px; margin: 12px 0 22px; }
.ai-ask { position: relative; width: 100%; max-width: 640px; }
.ai-ask textarea { width: 100%; min-height: 76px; resize: vertical; padding: 14px 58px 14px 16px; border-radius: 18px; font-size: 15px; background: var(--surface-2); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.ai-ask.sticky { max-width: none; margin-top: 12px; }
.ai-ask.sticky textarea { min-height: 52px; }
.ai-send { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--s3), var(--s1)); }
.ai-send:disabled { opacity: .5; }
.ai-qs-title { margin: 26px 0 10px; font-weight: 600; color: var(--ink-2); }
.ai-qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 640px; }
@media (max-width: 640px) { .ai-qs { grid-template-columns: 1fr 1fr; } }
.ai-qs button { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.ai-qs button svg { color: var(--s7); flex: none; }
.ai-qs button:hover { border-color: var(--accent); }
.ai-thread { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ai-msg.you { align-self: flex-end; max-width: 80%; background: var(--accent-soft); padding: 10px 14px; border-radius: 16px 16px 4px 16px; }
.ai-msg.bot { display: flex; gap: 12px; max-width: 100%; }
.ai-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--s7), var(--s1)); font-size: 14px; }
.ai-text { min-width: 0; line-height: 1.6; font-size: 14px; }
.ai-text p { margin: 0 0 8px; }
.ai-text h4 { margin: 12px 0 6px; font-size: 15px; }
.ai-text ul, .ai-text ol { margin: 0 0 10px; padding-left: 20px; }
.ai-text li { margin-bottom: 4px; }
.ai-busy { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.ai-dots { display: inline-flex; gap: 4px; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--s7); animation: aiDot 1s infinite ease-in-out; }
.ai-dots i:nth-child(2) { animation-delay: .15s; } .ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.ai-foot { text-align: center; font-size: 12px; margin: 14px 0 0; }
.ai-side { margin: 0; }
.ai-new { width: 100%; justify-content: center; border-radius: 999px; border-color: var(--s3); }
.ai-none { text-align: center; font-size: 13px; margin: 18px 0 4px; }
.ai-history { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ai-history li { display: flex; align-items: center; border-radius: var(--r); }
.ai-history li.on, .ai-history li:hover { background: var(--surface-2); }
.ai-history a { flex: 1; min-width: 0; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: 13px; display: flex; flex-direction: column; }
.ai-history a small { font-size: 11px; }
.ai-history form { margin: 0; }
.ai-del { border: 0; background: none; color: var(--ink-2); cursor: pointer; font-size: 16px; padding: 4px 10px; }
.ai-del:hover { color: var(--danger); }

/* Analisis Topik */
.topic-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topic-intro p { margin: 4px 0 0; max-width: 720px; font-size: 13px; }
.topic-table { width: 100%; border-collapse: collapse; }
.topic-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.topic-table th.num { text-align: right; } .topic-table th.center { text-align: center; }
.topic-table td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.topic-name { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 180px; }
.topic-name:hover b { text-decoration: underline; }
.topic-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); font-size: 16px; }
.topic-ic.big { width: 52px; height: 52px; font-size: 28px; border-radius: 12px; }
.topic-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; max-width: 340px; min-width: 220px; }
.topic-table td.big, .infl-count.big { font-size: 18px; font-weight: 700; }
.mini-gauge { width: 90px; margin: 0 auto; }
.mini-gauge .half-gauge { margin: 0; }
.mini-gauge .gauge-legend { display: none; }
.topic-act { white-space: nowrap; }
.topic-act form { display: inline; margin-left: 4px; }
.topic-act .btn { display: inline-flex; align-items: center; gap: 4px; }
.topic-head { display: flex; gap: 16px; align-items: flex-start; margin: 4px 0 16px; }
.topic-head h2 { margin: 0 0 4px; font-size: 24px; }
.topic-head p { margin: 0; }
.topic-terms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.topic-table td.num { white-space: nowrap; }

/* Visibilitas AI */
.vis-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
@media (max-width: 760px) { .vis-cards { grid-template-columns: 1fr; } }
.vis-card { margin: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vis-card > span:first-child { font-size: 13px; }
.vis-card b { font-size: 28px; }
.vis-run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .vis-run { grid-template-columns: 1fr; } }
.vis-run p { margin: 4px 0 0; font-size: 13px; }
.vis-run-form { display: flex; flex-direction: column; gap: 8px; }
.vis-run-form textarea { width: 100%; }
.vis-table td { white-space: normal; }
.vis-prompt { min-width: 280px; color: var(--ink) !important; }
.vis-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.vis-dot.on { background: var(--pos); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pos) 25%, transparent); }
.vis-answer { margin-top: 8px; padding: 10px; border-radius: var(--r); background: var(--surface-2); font-size: 13px; line-height: 1.55; max-width: 720px; }

/* Pembuat PDF */
.pdf-builder { display: flex; flex-direction: column; gap: 0; }
.pdf-actions { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.pdf-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.pdf-sections { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pdf-sections li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: grab; }
.pdf-sections li.dragging { opacity: .5; border-style: dashed; }
.pdf-sections li.dim b { color: var(--ink-2); }
.pdf-sections li b { flex: 1; }
.pdf-grip { color: var(--ink-2); letter-spacing: -2px; }
.pdf-move { display: inline-flex; gap: 2px; }
.pdf-move button { border: 1px solid var(--line-2); background: none; color: var(--ink-2); border-radius: 4px; width: 26px; height: 26px; cursor: pointer; }
.pdf-move button:hover { color: var(--ink); border-color: var(--accent); }
.pdf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
@media (max-width: 900px) { .pdf-grid { grid-template-columns: 1fr; } }
.pdf-builder h3 { font-size: 14px; margin: 18px 0 8px; }
.pdf-grid h3:first-child { margin-top: 0; }
.pdf-grid textarea { width: 100%; }
.pdf-drop { display: grid; place-items: center; min-height: 110px; margin-top: 8px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--ink-2); font-size: 13px; cursor: pointer; position: relative; }
.pdf-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pdf-drop img { max-height: 80px; max-width: 220px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 8px; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.swatch input[type=radio] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch:has(input[type=radio]:checked) { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch:has(input[type=radio]:checked)::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; text-shadow: 0 0 3px #000; }
.swatch.custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.swatch.custom input[type=color] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.pdf-cards { display: grid; gap: 10px; }
.pdf-cards.fonts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pdf-cards.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-cards.langs { grid-template-columns: repeat(4, minmax(0, 140px)); }
.pdf-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r-lg); cursor: pointer; text-align: center; }
.pdf-card input { position: absolute; opacity: 0; }
.pdf-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pdf-card:has(input:checked)::before { content: '✓'; position: absolute; top: 6px; left: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.pdf-card b { font-size: 22px; }
.pdf-card small { font-size: 12px; color: var(--ink-2); }
.pdf-thumb { position: relative; width: 100%; max-width: 240px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; text-align: left; }
.pdf-thumb small { font-size: 8px; font-weight: 700; color: inherit; }
.pdf-thumb b { font-size: 12px; }
.pdf-thumb svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40%; fill: var(--acc); }
.pdf-thumb.bg-light { background: #f4fbf7; color: #111827; }
.pdf-thumb.bg-dark { background: linear-gradient(160deg, #1a1f3d, #0b1022); color: #fff; }
.pdf-ratio { display: grid; gap: 6px; padding: 10px; border-radius: 8px; background: var(--surface-2); }
.pdf-ratio i { display: block; background: var(--line-2); border-radius: 3px; }
.pdf-ratio.portrait { width: 70px; height: 96px; } .pdf-ratio.portrait i { height: 100%; }
.pdf-ratio.landscape { width: 128px; height: 72px; grid-template-columns: 1fr 1fr; }
.pdf-save { margin: 18px 0 0; }

/* Laporan siap cetak */
body.rpt { --pagew: 210mm; }
body.rpt-landscape { --pagew: 297mm; }
.rpt-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.rpt-page { width: var(--pagew); max-width: 100%; margin: 16px auto; padding: 14mm; background: var(--surface); box-shadow: 0 2px 16px rgba(0, 0, 0, .12); box-sizing: border-box; }
.rpt-page .panel { box-shadow: none; }
.rpt-cover { position: relative; min-height: calc(var(--pagew) * 1.414); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bg); }
body.rpt-landscape .rpt-cover { min-height: calc(var(--pagew) * .707); }
.rpt-cover-in { position: relative; z-index: 1; }
.rpt-cover h1 { font-size: 44px; margin: 12px 0 8px; letter-spacing: -.02em; }
.rpt-period { color: var(--ink-2); font-size: 16px; margin: 0; }
.rpt-desc { margin: 22px 0 0; max-width: 520px; font-size: 15px; line-height: 1.6; }
.rpt-logo { max-height: 70px; max-width: 240px; }
.rpt-brand { font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.rpt-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.rpt-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 3px solid var(--accent); }
.rpt-head img { max-height: 36px; max-width: 120px; }
.rpt-head h2 { margin: 0; font-size: 22px; }
.rpt-head small { color: var(--ink-2); }
.rpt .mrow-foot { display: none; }
.rpt .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media print {
  body.rpt { background: var(--bg); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rpt-page { width: auto; margin: 0; padding: 0; box-shadow: none; background: transparent; break-after: page; }
  .rpt-page:last-of-type { break-after: auto; }
  .rpt-cover { min-height: calc(100vh - 2mm); }
  .rpt :root, .rpt { color-scheme: inherit; }
}
@media print {
  .rpt-bar { display: none !important; }
  .rpt-cover { min-height: 0; height: 276mm; }
  body.rpt-landscape .rpt-cover { height: 189mm; }
}
@media print { body.rpt .rpt-cover { min-height: 0 !important; } }

/* Infografik */
.ig-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.ig-tools .btn { display: inline-flex; align-items: center; gap: 6px; }
.ig { --ig-bg: #f6f8fb; --ig-card: #ffffff; --ig-ink: #111827; --ig-ink2: #6b7280; --ig-line: #e5e7eb; --ig-acc: #2a78d6;
  background: var(--ig-bg); color: var(--ig-ink); border-radius: var(--r-lg); padding: 28px; }
.ig.ig-dark { --ig-bg: #0b1022; --ig-card: #151b34; --ig-ink: #eef2f8; --ig-ink2: #9aa6bb; --ig-line: #26304d; --ig-acc: #5aa0ff; }
.ig-title { font-size: 34px; line-height: 1.2; margin: 0 0 26px; letter-spacing: -.01em; }
.ig-title u { text-decoration-color: var(--ig-acc); text-underline-offset: 6px; }
.ig-title b { color: var(--ig-acc); font-size: 1.35em; }
.ig-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr; gap: 26px; }
@media (max-width: 1200px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ig-grid { grid-template-columns: 1fr; } .ig-title { font-size: 24px; } }
.ig-col { min-width: 0; }
.ig-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ig-ink2); margin-bottom: 8px; }
.ig-gap { margin-top: 34px; }
.ig-big { font-size: 52px; font-weight: 800; line-height: 1; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.ig-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; }
.ig-badge.up { background: #d1fae5; color: #047857; } .ig-badge.down { background: #fee2e2; color: #b91c1c; }
.ig-sites { display: flex; align-items: flex-end; gap: 22px; min-height: 190px; }
.ig-sites > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ig-sites b { font-size: 16px; }
.ig-sites i { width: 26px; border-radius: 999px; background: var(--ig-acc); }
.ig-sites small { font-size: 10px; color: var(--ig-ink2); }
.ig .ring { width: 170px; height: 170px; margin: 0; }
.ig .ring circle:first-child { stroke: var(--ig-line); }
.ig .ring circle + circle { stroke: var(--ig-acc); }
.ig .ring-num { fill: var(--ig-ink); }
.ig-note { color: var(--ig-ink2); font-size: 13px; margin: 6px 0 0; }
.ig-dots { display: grid; grid-template-columns: repeat(5, 30px); gap: 8px; }
.ig-dots i { width: 30px; height: 30px; border-radius: 50%; background: var(--ig-line); }
.ig-dots i.pos { background: #0f8a4f; } .ig-dots i.neg { background: #dc2626; }
.ig-sent { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: var(--ig-ink2); }
.ig-sent div { display: flex; flex-direction: column; }
.ig-sent b { font-size: 20px; color: var(--ig-ink); }
.ig-sent .pos b { color: #0f8a4f; } .ig-sent .neg b { color: #dc2626; }
.ig-infl { list-style: none; margin: 0; padding: 0; }
.ig-infl li { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--ig-line); }
.ig-infl li > span:not(.mc-av) { display: flex; flex-direction: column; min-width: 0; }
.ig-infl b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-infl small { color: var(--ig-ink2); }
.ig .mc-av { background: var(--ig-line); color: var(--ig-ink); border-color: var(--ig-line); }
.ig-pop { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ig-pop li { background: var(--ig-card); border: 1px solid var(--ig-line); border-radius: 12px; padding: 12px; }
.ig-pop-head { display: flex; align-items: center; gap: 8px; }
.ig-pop-head > span:not(.mc-av):not(.sent):not(.src-logo) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ig-pop-head small { color: var(--ig-ink2); font-size: 11px; }
.ig-pop p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.ig .sent { font-size: 11px; }
.ig-foot { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--ig-line); color: var(--ig-ink2); font-size: 12px; }
.ig-foot b { letter-spacing: .12em; color: var(--ig-acc); }
@media print { .ig { -webkit-print-color-adjust: exact; print-color-adjust: exact; border-radius: 0; } .ig-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr; } .shell-main .filters { display: none; } }
.demo-auto { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.demo-auto p { margin: 4px 0 0; font-size: 13px; max-width: 760px; }
.demo-auto form { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.demo-auto small { font-size: 12px; }
.auto-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .auto-banner a { font-weight: 600; }
.demo-status { margin: -6px 0 14px; font-size: 13px; } .demo-status b { color: var(--ink); }

/* Kartu proses berjalan (pengumpulan, analisis otomatis) */
.busy-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; margin: 0 0 14px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.busy-spin { flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: busySpin .9s linear infinite; }
.busy-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.busy-body > b { font-size: 14px; }
.busy-body > span { font-size: 13px; color: var(--ink-2); }
.busy-dots i { font-style: normal; animation: busyDot 1.2s infinite; opacity: .2; }
.busy-dots i:nth-child(2) { animation-delay: .2s; } .busy-dots i:nth-child(3) { animation-delay: .4s; }
.busy-bar { position: relative; height: 4px; margin-top: 6px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.busy-bar i { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: busyBar 1.6s ease-in-out infinite; }
.busy-count { font-size: 12px; color: var(--ink-2); }
.busy-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes busySpin { to { transform: rotate(360deg); } }
@keyframes busyDot { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
@keyframes busyBar { 0% { left: -35%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .busy-spin, .busy-dots i, .busy-bar i { animation: none; } .busy-dots i { opacity: 1; } }

/* Peta sebaran negara (choropleth) */
.geo-map { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.world { --m0: color-mix(in srgb, var(--ink-2) 14%, var(--surface)); --m1: color-mix(in srgb, var(--s1) 22%, var(--surface)); --m2: color-mix(in srgb, var(--s1) 40%, var(--surface)); --m3: color-mix(in srgb, var(--s1) 60%, var(--surface)); --m4: color-mix(in srgb, var(--s1) 80%, var(--surface)); --m5: var(--s1);
  position: relative; aspect-ratio: 1010 / 560; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--s1) 7%, var(--surface)), var(--surface)); }
.world-svg, .world-svg svg { width: 100%; height: 100%; display: block; }
.world path { fill: var(--m0); stroke: var(--surface); stroke-width: .5; stroke-linejoin: round; transition: fill .2s, opacity .2s; vector-effect: non-scaling-stroke; }
.world path[data-l="1"] { fill: var(--m1); } .world path[data-l="2"] { fill: var(--m2); } .world path[data-l="3"] { fill: var(--m3); } .world path[data-l="4"] { fill: var(--m4); } .world path[data-l="5"] { fill: var(--m5); }
.world.hovering path:not(.hl) { opacity: .55; }
.world path.hl { stroke: var(--accent); stroke-width: 1.4; opacity: 1; }
.world.zoomed svg { cursor: grab; } .world.dragging svg { cursor: grabbing; }
.world-zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.world-zoom button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.world-zoom button:hover { border-color: var(--accent); color: var(--accent); }
.world-tip { position: absolute; z-index: 3; pointer-events: none; min-width: 150px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.wt-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wt-head img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.wt-body { margin-top: 4px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.world-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--ink-2); }
.world-legend .ramp { display: inline-flex; height: 8px; border-radius: 999px; overflow: hidden; }
.world-legend .ramp b { width: 26px; } .world-legend .ramp b:nth-child(1) { background: var(--m1, color-mix(in srgb, var(--s1) 22%, var(--surface))); }
.world-legend .ramp b:nth-child(2) { background: color-mix(in srgb, var(--s1) 40%, var(--surface)); } .world-legend .ramp b:nth-child(3) { background: color-mix(in srgb, var(--s1) 60%, var(--surface)); }
.world-legend .ramp b:nth-child(4) { background: color-mix(in srgb, var(--s1) 80%, var(--surface)); } .world-legend .ramp b:nth-child(5) { background: var(--s1); }
.world-legend .ramp b:first-child { background: color-mix(in srgb, var(--s1) 22%, var(--surface)); }
.world-legend .nodata { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.world-legend .nodata i { width: 14px; height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--ink-2) 14%, var(--surface)); }
.geo-table tr:has(.geo-name:hover) td { background: var(--accent-soft); }
.geo-body { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
@media (max-width: 1100px) { .geo-body { grid-template-columns: 1fr; } }
.geo-tables { grid-template-columns: 1fr; }
.auto-banner.done { position: relative; padding-right: 44px; }
.banner-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .7; }
.banner-x:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.auto-banner.closing { opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s; }
.auto-banner.done { display: block; line-height: 1.6; }

/* Logo Sora di laporan PDF dan infografik */
.rpt-logos { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.rpt-sora-big { height: 64px; width: auto; }
.rpt-x { font-size: 22px; color: var(--ink-2); }
.rpt-logos .rpt-logo { max-height: 64px; max-width: 220px; }
.rpt-head { align-items: center; }
.rpt-head > div { flex: 1; min-width: 0; }
.rpt-head .rpt-client { max-height: 36px; max-width: 120px; }
.rpt-head .rpt-sora { height: 30px; width: auto; flex: none; }
.ig { position: relative; }
.ig-brand { position: absolute; top: 24px; right: 28px; }
.ig-brand .ig-logo { height: 40px; }
.ig-title { padding-right: 150px; }
.ig-logo { height: 26px; width: auto; display: block; }
.ig-logo-light { display: none; }
.ig.ig-dark .ig-logo-dark { display: none; }
.ig.ig-dark .ig-logo-light { display: block; }
.ig-foot { align-items: center; }
@media (max-width: 720px) { .ig-brand { position: static; margin-bottom: 12px; } .ig-title { padding-right: 0; } }
/* Cetak/PDF infografik: tepat satu halaman A4 mendatar, latar penuh, tanpa tombol. */
@page ig { size: A4 landscape; margin: 0; }
@media print {
  .ig-tools { display: none !important; }
  .wrap:has(> .ig) { max-width: none; margin: 0; padding: 0; }
  .ig { page: ig; box-sizing: border-box; width: 297mm; height: 210mm; overflow: hidden; margin: 0; padding: 11mm 13mm 9mm; border-radius: 0; display: flex; flex-direction: column; break-inside: avoid; }
  .ig-brand { top: 11mm; right: 13mm; }
  .ig-brand .ig-logo { height: 34px; }
  .ig-title { font-size: 30px; margin-bottom: 26px; padding-right: 160px; }
  .ig-grid { flex: 1; min-height: 0; grid-template-columns: 1fr 1fr 1.15fr 1.25fr 1.6fr !important; gap: 20px; }
  .ig-k { font-size: 10px; margin-bottom: 6px; }
  .ig-gap { margin-top: 30px; }
  .ig-big { font-size: 46px; gap: 6px; }
  .ig-badge { font-size: 10.5px; padding: 2px 6px; margin-bottom: 4px; }
  .ig-sites { gap: 12px; min-height: 190px; }
  .ig-sites b { font-size: 14px; }
  .ig-sites i { width: 22px; }
  .ig-sites small { font-size: 9px; max-width: 62px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
  .ig .ring { width: 160px; height: 160px; }
  .ig-note { font-size: 11.5px; }
  .ig-dots { grid-template-columns: repeat(5, 26px); gap: 8px; }
  .ig-dots i { width: 26px; height: 26px; }
  .ig-sent { gap: 14px; margin-top: 12px; font-size: 11px; }
  .ig-sent b { font-size: 19px; }
  .ig-infl li { padding: 12px 0; gap: 9px; font-size: 14px; }
  .ig-infl small { font-size: 11px; }
  .ig-pop { gap: 11px; }
  .ig-pop li { padding: 11px 12px; break-inside: avoid; }
  .ig-pop-head { gap: 7px; font-size: 13px; }
  .ig-pop-head small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ig-pop-head .sent { flex: none; }
  .ig-pop p { font-size: 12.5px; line-height: 1.45; margin-top: 6px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
  .ig-foot { margin-top: 14px; padding-top: 9px; font-size: 11px; }
  .ig-foot .ig-logo { height: 22px; }
}

/* Recon: rekonsiliasi token AI */
.rc-head { align-items: flex-end; flex-wrap: wrap; }
.rc-head p { margin: 4px 0 0; font-size: 14px; }
.rc-export { display: flex; gap: 6px; align-items: center; }
.rc-export .muted { font-size: 13px; margin-right: 2px; }
.rc-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.rc-tabs a { padding: 8px 0; color: var(--ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rc-tabs a:hover { color: var(--ink); }
.rc-tabs a[aria-current] { color: var(--ink); border-color: var(--sec); font-weight: 600; }
.rc-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; margin: 0 0 16px; }
.rc-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); }
.rc-filters input, .rc-filters select, .rc-quota input, .rc-forms input:not([type=radio]) { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px 9px; }
.rc-quick { margin-left: auto; align-self: flex-end; }
.rc-sub { margin: -6px 0 14px; font-size: 13px; }
.rc-sub-cell { display: block; font-size: 12px; font-weight: 400; }
.rc-kpis { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; margin: 0 0 16px; }
.rc-kpi { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.rc-kpi-label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.rc-kpi-num { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rc-kpi-of { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.rc-kpi-meta { margin-top: auto; font-size: 13px; color: var(--ink-2); }
.rc-split { display: flex; height: 8px; margin: 4px 0 2px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.rc-split i { display: block; height: 100%; }
.rc-split .soc, .rc-split-legend i.soc { background: var(--accent); }
.rc-split .oth, .rc-split-legend i.oth { background: var(--s1); }
.rc-split .ai1, .rc-split-legend i.ai1 { background: var(--s2); }
.rc-split .ai2, .rc-split-legend i.ai2 { background: var(--s3); }
.rc-split .ai3, .rc-split-legend i.ai3 { background: var(--s4); }
.rc-split .ai4, .rc-split-legend i.ai4 { background: var(--s5); }
.rc-split .ai5, .rc-split-legend i.ai5 { background: var(--s6); }
.rc-split .ai6, .rc-split-legend i.ai6 { background: var(--s7); }
.rc-split-legend { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.rc-split-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; font-size: 14px; }
.rc-split-legend li > i { width: 10px; height: 10px; border-radius: 3px; }
.rc-split-legend span { display: flex; flex-direction: column; min-width: 0; font-weight: 500; }
.rc-split-legend small { font-size: 12px; font-weight: 400; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-split-legend b { font-variant-numeric: tabular-nums; }
.rc-split-legend em { font-style: normal; font-size: 12px; color: var(--ink-2); text-align: right; }
@media (max-width: 900px) { .rc-kpis { grid-template-columns: minmax(0, 1fr); } }
.rc-hero-env h2 { margin: 0 0 12px; }
.rc-hero-env .rc-eq { flex-wrap: wrap; }
.rc-envbal { display: flex; flex-direction: column; gap: 2px; font-size: 17px !important; }
.rc-envnote { margin-bottom: 12px; }
.rc-src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 14px; }
.rc-src { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.rc-src-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; }
.rc-src b { font-variant-numeric: tabular-nums; color: var(--accent-hover); }
.rc-src-sum { margin-left: 6px; color: var(--ink); letter-spacing: 0; }
@media (max-width: 800px) { .rc-src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-hero { padding: 22px; }
.rc-eq { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.rc-term { flex: 1 1 120px; display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface-2); min-width: 0; }
.rc-term small { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.rc-term b { font: 700 24px/1.2 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rc-term.plus b { color: var(--pos-ink); } .rc-term.minus b { color: var(--neg-ink); }
.rc-term.end { border-color: var(--sec); } .rc-term.end b { color: var(--sec-ink); }
.rc-op { align-self: center; font-size: 20px; color: var(--ink-2); }
.rc-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 10px 14px; border-radius: var(--r); font-size: 14px; }
.rc-check svg { flex: none; margin-top: 2px; }
.rc-check.ok { background: var(--ok-bg); } .rc-check.bad { background: var(--err-bg); }
.rc-ok { color: var(--pos-ink); } .rc-bad { color: var(--neg-ink); }
.rc-charts { margin-bottom: 16px; }
.rc-chart { display: flex; align-items: flex-end; gap: 2px; height: 170px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rc-col { flex: 1 1 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; min-width: 0; }
.rc-col i { display: block; background: var(--sec); border-radius: 3px 3px 0 0; min-height: 1px; opacity: .9; }
.rc-col:hover i { opacity: 1; background: var(--sec-hover); }
.rc-col small { position: absolute; top: 100%; left: 0; margin-top: 4px; font-size: 11px; white-space: nowrap; }
.rc-chart-max { margin: 6px 0 0; font-size: 12px; text-align: right; }
.rc-flow { list-style: none; margin: 0; padding: 0; }
.rc-flow li { display: grid; grid-template-columns: 12px minmax(140px, 1.2fr) 90px minmax(100px, 2fr) 100px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rc-flow li:first-child { border-top: 0; }
.rc-flow li > b { text-align: right; font-variant-numeric: tabular-nums; }
.rc-flow li.end { border-top-color: var(--line-2); }
.rc-flow li.end > b { color: var(--sec-ink); font-size: 17px; }
.rc-flow li.end .rc-bar i { background: var(--sec); }
.rc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-2); }
.rc-flow li.end .rc-dot { background: var(--sec); }
.rc-who { display: flex; flex-direction: column; min-width: 0; }
.rc-who small { font-size: 12px; }
.rc-flow .rc-amt { text-align: right; }
.rc-bar { display: flex; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rc-bar i { display: block; height: 100%; background: var(--line-2); }
.rc-bar i.cut { background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.25) 0 3px, transparent 3px 6px); }
.rc-amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-amt.minus { color: var(--neg-ink); } .rc-amt.plus { color: var(--pos-ink); }
.rc-table td { vertical-align: top; }
.rc-table tfoot th { border-top: 1px solid var(--line-2); border-bottom: 0; color: var(--ink); font-weight: 600; padding: 8px; }
.rc-table code { font-size: 12px; }
.rc-email { display: block; font-size: 12px; }
.rc-nowrap { white-space: nowrap; }
.rc-empty td { color: var(--ink-2); }
.rc-st, .rc-ust { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; white-space: nowrap; background: var(--surface-2); }
.rc-st-success, .rc-ust-aktif { background: var(--ok-bg); color: var(--pos-ink); }
.rc-st-failed, .rc-ust-alokasi, .rc-ust-terkunci { background: var(--err-bg); color: var(--neg-ink); }
.rc-st-pending, .rc-ust-menunggu { background: var(--warn-bg); color: var(--warn-ink); }
.rc-quota { display: flex; gap: 6px; }
.rc-quota input { width: 110px; padding: 3px 8px; font-size: 13px; }
.rc-users td { vertical-align: middle; padding-top: 14px; padding-bottom: 14px; }
.rc-user { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.rc-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; }
.rc-user a { color: var(--ink); text-decoration: none; }
.rc-user a:hover strong { color: var(--link); }
.rc-tags { display: flex; gap: 6px; margin-top: 4px; }
.rc-role { padding: 1px 8px; border-radius: 99px; font-size: 12px; border: 1px solid var(--line-2); color: var(--ink-2); }
.rc-big { font-size: 16px; font-variant-numeric: tabular-nums; }
.rc-mcell { min-width: 220px; }
.rc-mtop { display: flex; align-items: baseline; gap: 8px; }
.rc-split-sm { height: 6px; margin: 6px 0 4px; max-width: 240px; }
.rc-mleg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--ink-2); }
.rc-mleg i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }
.rc-mleg i.soc { background: var(--accent); }
.rc-mleg i.oth { background: var(--s1); }
.rc-free { font-size: 13px; color: var(--ink-2); }
.rc-users tfoot small { font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.rc-users .rc-zero { color: var(--ink-2); font-weight: 500; }
.rc-users td.num { white-space: nowrap; }
.rc-forms { margin-bottom: 16px; }
.rc-forms .form { display: flex; flex-direction: column; gap: 12px; }
.rc-forms .form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.rc-dir { display: flex; gap: 16px; }
.rc-dir label { flex-direction: row !important; align-items: center; gap: 6px !important; color: var(--ink) !important; font-size: 14px !important; }
@media (max-width: 720px) {
  .rc-quick { margin-left: 0; }
  .rc-op { display: none; }
  .rc-flow li { grid-template-columns: 12px 1fr auto; row-gap: 6px; }
  .rc-flow .rc-bar { grid-column: 2 / 4; }
  .rc-flow li > b { grid-column: 2 / 4; text-align: left; font-size: 13px; }
  .rc-flow li > span:nth-child(3):empty { display: none; }
  .rc-chart { height: 130px; }
}

/* Halaman pilih paket */
.pr { --pr-gold: linear-gradient(135deg, #e7c47a, #c9973f 55%, #a87a2c); max-width: 1180px; margin: 0 auto; padding-bottom: 8px; container-type: inline-size; }
.pr .pm, .pr .py { display: none; }
.pr[data-billing="month"] .pm, .pr[data-billing="year"] .py { display: revert; }
.pr-eyebrow { display: inline-block; color: var(--sec-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pr-hero { text-align: center; padding: 28px 16px 30px; }
.pr-hero h1 { margin: 10px auto 10px; max-width: 620px; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.pr-hero p { margin: 0 auto 22px; max-width: 520px; color: var(--ink-2); }
.pr-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.pr-toggle button { border: 0; background: none; color: var(--ink-2); font: 600 14px/1 var(--sans); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.pr-toggle button span { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 11px; }
.pr-toggle button[aria-pressed="true"] { background: var(--pr-gold); color: var(--accent-ink); }
.pr-toggle button[aria-pressed="true"] span { background: rgba(10, 20, 40, .18); color: var(--accent-ink); }

.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--bg))); transition: border-color .2s, transform .2s, box-shadow .2s; }
.pr-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.pr-card.sel { border-color: color-mix(in srgb, var(--sec) 55%, transparent); }
.pr-card.hot { border: 1px solid transparent; background: linear-gradient(180deg, #16264a, var(--surface)) padding-box, var(--pr-gold) border-box; box-shadow: 0 24px 60px -24px rgba(201, 151, 63, .45); }
.pr-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--pr-gold); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pr-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.pr-tag { margin: 6px 0 20px; min-height: 2.9em; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pr-price b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pr-price span { margin-left: 3px; font-size: 13px; color: var(--ink-2); }
.pr-note { margin: 6px 0 20px; min-height: 1.5em; font-size: 12.5px; color: var(--ink-2); }
.pr-note s { opacity: .7; }
.pr-btn { display: block; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, border-color .2s, filter .2s; }
.pr-btn:hover { border-color: var(--sec); background: var(--accent-soft); }
.pr-btn.solid { border-color: transparent; background: var(--pr-gold); color: var(--accent-ink); }
.pr-btn.solid:hover { filter: brightness(1.08); background: var(--pr-gold); }
.pr-stats { display: grid; gap: 6px; margin: 22px 0 18px; }
.pr-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.pr-stats dt { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pr-stats dd { margin: 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-stats dd small { margin-left: 2px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.pr-feats { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.pr-feats li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.pr-feats svg { flex: none; margin-top: 2px; color: var(--sec); }
.pr-feats li.plus { color: var(--ink); font-weight: 600; }
.pr-feats li.plus + li:not(.plus) { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }

.pr-umkm { display: flex; align-items: center; gap: 16px; margin: 16px 0 0; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.pr-umkm:hover, .pr-umkm.sel { border-color: var(--sec); border-style: solid; background: var(--surface); }
.pr-umkm-tag { flex: none; padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--link); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.pr-umkm-txt { flex: 1; font-size: 14px; color: var(--ink-2); }
.pr-umkm-txt b { color: var(--ink); }
.pr-umkm-price { flex: none; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.pr-umkm-price b { font-size: 17px; color: var(--ink); }
.pr-umkm-price i { font-style: normal; margin-left: 6px; color: var(--sec); }

.pr-ent { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin: 28px 0 0; padding: 34px 36px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--sec) 35%, var(--line)); background: radial-gradient(120% 140% at 100% 0%, rgba(201, 151, 63, .22), transparent 55%), linear-gradient(135deg, #0b1630, #13234a); }
.pr-ent h2 { margin: 8px 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.pr-ent p { margin: 0 0 18px; color: var(--ink-2); }
.pr-ent ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-ent li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 13px; }
.pr-ent li svg { color: var(--sec); }
.pr-ent-side { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 240px; padding: 24px; border-radius: 16px; background: rgba(8, 18, 38, .55); border: 1px solid var(--line); text-align: center; }
.pr-ent-side b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.pr-ent-side .pr-btn { align-self: stretch; margin-top: 16px; }

.pr-addon { margin: 36px 0 0; }
.pr-addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pr-addon-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.pr-addon-head p { margin: 0; font-size: 14px; color: var(--ink-2); }
.pr-addon-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pr-pack { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 13px; color: var(--ink-2); transition: border-color .2s; }
.pr-pack:hover { border-color: var(--line-2); }
.pr-pack-n { margin-bottom: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.pr-pack-n small { margin-left: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.pr-pack b { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-off { margin-top: 6px; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 11.5px; font-weight: 600; }
.pr-off s { opacity: .75; margin-right: 2px; }

@media (max-width: 1100px) { .pr-addon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Kartu paket: 4 kolom bila area konten lebar, 2×2 bila tiap kartu akan lebih sempit dari ~260px, 1 kolom di layar kecil. */
@container (max-width: 1120px) { .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
@container (max-width: 560px) { .pr-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .pr-ent { grid-template-columns: 1fr; padding: 26px 20px; }
  .pr-ent-side { min-width: 0; }
  .pr-umkm { flex-wrap: wrap; }
  .pr-addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .pr-grid { grid-template-columns: 1fr; } .pr-tag { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .pr-card, .pr-toggle button { transition: none; } .pr-card:hover { transform: none; } }


/* Biaya sumber data (admin) */
.dc { --dc-gold: linear-gradient(135deg, #e7c47a, #c9973f 55%, #a87a2c); max-width: 1180px; margin: 0 auto; min-width: 0; }
.dc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 4px 0 22px; }
.dc-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sec-ink); }
.dc-head h1 { margin: 6px 0 6px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.dc-head p { margin: 0; color: var(--ink-2); font-size: 14px; }
.dc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dc-fx { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.dc-fx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn-ink); box-shadow: 0 0 0 4px rgba(238, 211, 148, .12); }
.dc-fx.live .dc-fx-dot { background: var(--pos-ink); box-shadow: 0 0 0 4px rgba(111, 217, 176, .14); }
.dc-fx-txt { display: flex; flex-direction: column; line-height: 1.2; }
.dc-fx-txt small { font-size: 11px; color: var(--ink-2); }
.dc-fx-txt b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dc-icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); cursor: pointer; transition: color .15s, background .15s, transform .3s; }
.dc-icon-btn:hover { color: var(--ink); background: var(--line-2); transform: rotate(90deg); }
.dc-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; background: var(--dc-gold); color: var(--accent-ink); cursor: pointer; transition: filter .15s; }
.dc-btn:hover { filter: brightness(1.08); }
.dc-btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); font-weight: 600; padding: 8px 16px; }
.dc-btn.ghost:hover { border-color: var(--sec); filter: none; }

.dc-filter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 18px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.dc-quick { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.dc-quick a { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.dc-quick a:hover { color: var(--ink); }
.dc-quick a[aria-current] { background: var(--surface-2); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.dc-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.dc-fields label { display: flex; flex-direction: column; gap: 4px; }
.dc-fields label span { font-size: 11px; color: var(--ink-2); letter-spacing: .02em; }
.dc-fields input, .dc-fields select { font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; color-scheme: dark; }
.dc-fields select { min-width: 170px; }

.dc-note { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; border: 1px solid rgba(238, 211, 148, .2); }

.dc-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin: 0 0 18px; border-radius: 16px; border: 1px solid transparent;
  background: linear-gradient(160deg, #16264a, var(--surface) 60%) padding-box, linear-gradient(135deg, rgba(231, 196, 122, .7), rgba(201, 151, 63, .15) 45%, var(--line) 70%) border-box; overflow: hidden; }
.dc-total { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.dc-total small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dc-total strong { font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; background: var(--dc-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.dc-total > span { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.dc-stack { display: flex; gap: 3px; height: 10px; margin-top: 14px; border-radius: 999px; overflow: hidden; }
.dc-stack i { display: block; height: 100%; }
.dc-kpis { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-left: 1px solid var(--line); }
.dc-kpis div { padding: 18px 22px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.dc-kpis dt { font-size: 12px; color: var(--ink-2); }
.dc-kpis dd { margin: 4px 0 2px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dc-kpis small { font-size: 12px; color: var(--ink-2); }
.dc-kpis .warn dd { color: var(--warn-ink); }

.dc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 0 0 18px; align-items: start; }
.dc-col { display: grid; gap: 18px; }
.dc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0 0 18px; }
.dc-grid .dc-card, .dc-col .dc-card { margin: 0; }
.dc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.dc-sc-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.dc-sc-sum div { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.dc-sc-sum dt { font-size: 12px; color: var(--ink-2); }
.dc-sc-sum dd { margin: 2px 0; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dc-sc-sum small { font-size: 12px; color: var(--ink-2); }
@media (max-width: 640px) { .dc-sc-sum { grid-template-columns: minmax(0, 1fr); } }
.dc-card-head h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.dc-card-head span { font-size: 12px; color: var(--ink-2); }
.dc-empty { text-align: center; padding: 48px 22px; }
.dc-empty h2 { margin: 0 0 6px; font-size: 18px; }
.dc-empty p { margin: 0; color: var(--ink-2); }

.dc-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dc-name i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.dc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.dc-bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.dc-bar-top b { font-variant-numeric: tabular-nums; }
.dc-track { height: 6px; margin: 8px 0 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.dc-track i { display: block; height: 100%; border-radius: 999px; min-width: 2px; }
.dc-bar-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dc-bar-meta em { font-style: normal; color: var(--warn-ink); }

.dc-trend { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; align-items: end; height: 120px; padding: 0 0 2px; border-bottom: 1px solid var(--line); }
.dc-trend span { height: 100%; display: flex; align-items: flex-end; border-radius: 4px 4px 0 0; }
.dc-trend span:hover { background: rgba(255, 255, 255, .03); }
.dc-trend i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--dc-gold); opacity: .9; }
.dc-trend span:hover i { opacity: 1; }
.dc-trend-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--ink-2); }

.dc-proj { list-style: none; margin: 0; padding: 0; }
.dc-proj li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.dc-proj li:first-child { border-top: 0; padding-top: 0; }
.dc-rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.dc-proj li:first-child .dc-rank { background: var(--dc-gold); color: var(--accent-ink); }
.dc-proj a { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; }
.dc-proj a:hover strong { color: var(--link); }
.dc-proj a strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-proj a small, .dc-proj-amt small { font-size: 12px; color: var(--ink-2); }
.dc-proj-amt { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }

.dc-scroll { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.dc-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.dc-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dc-table th:first-child, .dc-table td:first-child { padding-left: 0; }
.dc-table th:last-child, .dc-table td:last-child { padding-right: 0; }
.dc-table .num { text-align: right; white-space: nowrap; }
.dc-table tbody tr:not(.dc-day):hover td { background: rgba(255, 255, 255, .02); }
.dc-day td { padding: 16px 0 6px; font-size: 12px; font-weight: 700; color: var(--sec-ink); letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.dc-time { color: var(--ink-2); width: 56px; }
.dc-prov { display: block; margin: 1px 0 0 17px; font-size: 11px; color: var(--ink-2); }
.dc-env { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: 1px; background: var(--surface-2); color: var(--ink-2); }
.dc-env-prod { background: rgba(57, 135, 229, .18); color: #8fbcf2; }
.dc-env-local { background: rgba(201, 151, 63, .18); color: var(--accent-hover); }
.dc-rec-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.dc-rec-row > div { flex: 1 1 120px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.dc-rec-row small { font-size: 12px; color: var(--ink-2); }
.dc-rec-row b { font-size: 18px; font-weight: 700; }
.dc-rec-row span:not(.dc-env) { font-size: 12px; color: var(--ink-2); }
.dc-rec-row .dc-flow-op { align-self: center; flex: none; }
.dc-rec-bill { border-color: var(--accent) !important; }
.dc-rec .dc-muted-p { margin: 12px 0 0; }
.dc-rec-diff b { color: var(--pos-ink); }
.dc-rec-diff.off b { color: var(--neg-ink); }
.dc-dim { color: var(--ink-2); }
.dc-zero { color: var(--warn-ink); }
.dc-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.dc-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dc-st.ok { background: var(--ok-bg); color: var(--pos-ink); }
.dc-st.run { background: var(--accent-soft); color: var(--link); }
.dc-st.bad { background: var(--err-bg); color: var(--neg-ink); }

@media (max-width: 960px) {
  .dc-hero, .dc-grid { grid-template-columns: minmax(0, 1fr); }
  .dc-kpis { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .dc-total { padding: 20px; }
  .dc-kpis div { padding: 14px 16px; }
  .dc-kpis dd { font-size: 20px; }
  .dc-card { padding: 16px; }
  .dc-scroll { margin: 0 -16px; padding: 0 16px; }
  .dc-filter { padding: 12px; }
  .dc-quick { width: 100%; overflow-x: auto; }
  .dc-fields, .dc-fields label { width: 100%; }
  .dc-fields input, .dc-fields select { width: 100%; min-width: 0; box-sizing: border-box; }
  .dc-fields select { min-width: 0; }
  .dc-actions { width: 100%; }
}
.dc-rate { display: block; font-size: 11px; color: var(--ink-2); font-weight: 400; }
.dc-note-soft { background: var(--surface); color: var(--ink-2); border-color: var(--line); }
.dc-kpis .gold dd { background: var(--dc-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-tok { color: var(--sec-ink); }
.dc-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.dc-kpis small em { font-style: normal; color: var(--warn-ink); }
.dc-hits { display: grid; gap: 14px; }
.dc-pj { display: grid; gap: 8px; }
.dc-sub-head { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dc-sub-head h3 { margin: 0; font-size: 15px; }
.dc-pj-row { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.dc-pj-row[open] { border-color: var(--line-2); }
.dc-pj-row summary { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 12px 16px; cursor: pointer; list-style: none; }
.dc-pj-row summary::-webkit-details-marker { display: none; }
.dc-pj-row summary:hover { background: var(--surface-2); border-radius: 12px; }
.dc-pj-name { flex: 1 1 260px; min-width: 0; }
.dc-pj-name strong { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-pj-name small { font-size: 12px; color: var(--ink-2); }
.dc-pj-name small em { font-style: normal; color: var(--warn-ink); }
.dc-pj-stats { display: grid; grid-template-columns: repeat(4, minmax(76px, auto)); gap: 18px; margin: 0; text-align: right; }
.dc-pj-stats dt { font-size: 11px; color: var(--ink-2); }
.dc-pj-stats dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dc-pj-stats dd.out { color: var(--neg-ink); }
.dc-pj-stats dd.in { color: var(--accent-hover); }
.dc-pj-stats dd.plus { color: var(--pos-ink); }
.dc-pj-body .dc-scroll { margin-top: 8px; }
.dc-muted-p + .dc-pj { margin-top: 12px; }
.dc-pj-total { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); text-align: right; }
.dc-pj-chev { flex: none; color: var(--ink-2); font-size: 20px; transition: transform .15s; }
.dc-pj-row[open] .dc-pj-chev { transform: rotate(90deg); }
.dc-pj-body { display: grid; gap: 16px; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.dc-pj-trx-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0 4px; font-size: 13px; }
.dc-pj-trx-head span { color: var(--ink-2); font-size: 12px; }
@media (max-width: 640px) { .dc-pj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; text-align: left; } .dc-pj-chev { display: none; } }
.dc-hit { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 16px 18px; }
.dc-hit header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 0 0 12px; }
.dc-hit header strong { display: block; font-size: 15px; }
.dc-hit header small { font-size: 12px; color: var(--ink-2); }
.dc-hit dl { display: flex; gap: 22px; margin: 0; }
.dc-hit dt { font-size: 11px; color: var(--ink-2); letter-spacing: .02em; }
.dc-hit dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dc-hit dd.out { color: var(--neg-ink); }
.dc-hit dd.in { background: var(--dc-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-hit-tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.dc-hit-tbl th { text-align: left; font-size: 11px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dc-hit-tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.dc-hit-tbl tfoot th { color: var(--ink); font-size: 13px; font-weight: 700; border-bottom: 0; padding-top: 9px; }
.dc-hit-tbl th:first-child, .dc-hit-tbl td:first-child { padding-left: 0; }
.dc-hit-tbl th:last-child, .dc-hit-tbl td:last-child { padding-right: 0; }
.dc-hit-tbl .num { text-align: right; white-space: nowrap; }
.dc-free .dc-name { font-weight: 500; color: var(--ink-2); }
.dc-free .dc-name i { background: var(--line-2); }
.dc-gratis { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--pos-ink); }
.dc-hit-foot { margin: 10px 0 0; font-size: 12px; color: var(--ink-2); }
.dc-hit-foot b { color: var(--ink); }
@media (max-width: 560px) { .dc-hit { padding: 14px; overflow-x: auto; } .dc-hit dl { width: 100%; justify-content: space-between; } }
.dc-muted-p { margin: 0; font-size: 13px; color: var(--ink-2); }
.dc-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin: 0 0 12px; }
.dc-flow > div { padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dc-flow small { font-size: 11px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.dc-flow b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dc-flow span { font-size: 12px; color: var(--ink-2); }
.dc-flow .in b { color: var(--pos-ink); }
.dc-flow .out b { color: var(--neg-ink); }
.dc-flow .net { border-color: rgba(201, 151, 63, .45); }
.dc-flow .net b { background: var(--dc-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-flow .net.neg b { background: none; color: var(--neg-ink); }
.dc-flow-op { font-size: 20px; color: var(--ink-2); }
.dc-ledger { margin-top: 14px; }
.dc-dir { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.dc-dir.in { background: var(--ok-bg); color: var(--pos-ink); }
.dc-dir.out { background: var(--err-bg); color: var(--neg-ink); }
.dc-ledger .dc-prov { margin-left: 0; }
.dc-plus { color: var(--pos-ink); }
.dc-minus { color: var(--neg-ink); }
@media (max-width: 760px) { .dc-flow { grid-template-columns: 1fr; } .dc-flow-op { display: none; } }

/* Menu premium terkunci (akun uji coba / Free) */
.side-lock { display: inline-flex; flex: none; color: var(--sec); opacity: .85; font-style: normal; }
.side-link.is-locked span { opacity: .7; }
@media (min-width: 1001px) { .side-mini .side-lock { position: absolute; top: 6px; left: 40px; } .side-mini .side-lock svg { width: 11px; height: 11px; } }
.premium-wall { max-width: 560px; margin: 48px auto; padding: 40px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.premium-wall-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(201, 151, 63, .14); color: var(--sec); }
.premium-wall-kicker { margin: 18px 0 4px; color: var(--sec); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.premium-wall h1 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; }
.premium-wall-text { margin: 0 auto 20px; max-width: 440px; color: var(--ink-2); line-height: 1.6; }
.premium-wall-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.premium-wall-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.premium-wall-list svg { color: var(--sec); }
.premium-wall-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 560px) { .premium-wall { margin: 20px 0; padding: 28px 18px; } .premium-wall h1 { font-size: 20px; } }

/* Tambahan kata kunci & mention di halaman langganan */
.sub-x-lead { margin: -6px 0 14px; font-size: 14px; }
.sub-x { display: grid; gap: 12px; margin-bottom: 26px; }
.sub-x-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; padding: 18px; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.sub-x-row.on { border-color: var(--sec); }
.sub-x-info { display: flex; flex-direction: column; gap: 6px; }
.sub-x-info strong { font-size: 16px; }
.sub-x-info small { line-height: 1.5; }
.sub-x-bar { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.sub-x-bar i { display: block; height: 100%; border-radius: inherit; background: var(--sec); }
.sub-x-calc { display: grid; gap: 0; margin: 0; }
.sub-x-calc > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; padding: 4px 0; }
.sub-x-calc dt { color: var(--ink-2); font-size: 14px; }
.sub-x-calc dd { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sub-x-calc .sub-x-sum { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.sub-x-sum b { font-size: 18px; }
.sub-x-calc small { color: var(--ink-2); font-weight: 400; }
.sub-x-unit { color: var(--pos-ink, var(--sec)); }
.sub-x-each { font-size: 12.5px; white-space: nowrap; }
.sub-step { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.sub-step button { width: 36px; border: 0; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.sub-step button:hover { background: rgba(201, 151, 63, .12); color: var(--sec); }
.sub-step input { width: 64px; padding: 7px 4px; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--ink); text-align: center; font: inherit; -moz-appearance: textfield; appearance: textfield; }
.sub-step input::-webkit-outer-spin-button, .sub-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 760px) { .sub-x-row { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.sub-line[hidden] { display: none; }

/* Langganan Anda: status dan masa berlaku */
.sub-cur-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.sub-cur-head h2 { margin: 0 0 4px; }
.sub-cur-head p { margin: 0; font-size: 14px; }
.sub-cur-change { border-radius: 999px; white-space: nowrap; background: transparent; }
.sub-cur-list { display: grid; margin: 0; }
.sub-cur-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sub-cur-list > div:last-child { border-bottom: 0; }
.sub-cur-list dt { color: var(--ink-2); font-size: 14px; }
.sub-cur-list dd { display: flex; flex-direction: column; align-items: flex-end; margin: 0; font-weight: 600; text-align: right; }
.sub-cur-list dd small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.sub-cur-list .plan-pill { margin: 0; }
.sub-left { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--pos-ink, var(--ink)); font-size: 12px; font-weight: 600; }
.sub-left.warn { background: var(--warn-bg); color: var(--warn-ink); }
.sub-left.bad { background: var(--err-bg); color: var(--neg-ink, var(--danger)); }
.sub-cur-note { margin: 10px 0 0; color: var(--ink-2); font-size: 13px; }
@media (max-width: 560px) { .sub-cur-head { flex-direction: column; } }
.sub-none { color: var(--ink-2); font-weight: 500; }

/* Mode demo fitur premium: halaman contoh hanya-lihat dengan popup */
.demo-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border: 1px solid rgba(201, 151, 63, .45); border-radius: 12px; background: rgba(201, 151, 63, .08); }
.demo-bar p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; }
.demo-bar-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--sec); color: #0a1428; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.demo-bar .btn { border-radius: 999px; }
.demo-stage { pointer-events: none; -webkit-user-select: none; user-select: none; }
.demo-stage :is(input, textarea, select, button) { opacity: .7; }
.premium-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.premium-modal[hidden] { display: none; }
.premium-modal-backdrop { position: fixed; inset: 0; background: rgba(4, 9, 20, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.premium-modal .premium-wall { position: relative; width: 100%; margin: 0; box-shadow: var(--shadow-pop); }
.premium-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.premium-x:hover { border-color: var(--sec); color: var(--sec); }

/* Akun sosial: kartu postingan bergaya Mention dan ringkasan sentimen */
.soc-av { position: relative; overflow: hidden; }
.soc-av .mc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.soc-sort small { opacity: .7; font-size: 11.5px; }
.soc-list { margin: 8px 0 0; }
.soc-item { grid-template-columns: minmax(0, 1fr); }
.soc-item .soc-body { margin: 0 0 6px; }
.soc-open { font-size: 13px; }
.soc-comments summary .sent { margin-left: 6px; font-size: 11.5px; }
.soc-comments li > div .sent { margin-left: 6px; font-size: 11.5px; vertical-align: middle; }
.soc-sent { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.soc-sent h3 { margin: 0 0 10px; font-size: 15px; }
.soc-sent-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 14px; align-items: center; margin-bottom: 12px; }
.soc-sent-label { font-size: 14px; font-weight: 600; }
.soc-sent-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--line-2); }
.soc-sent-bar i { display: block; height: 100%; }
.soc-sent-bar .positive { background: var(--pos); }
.soc-sent-bar .neutral { background: #7d8aa3; }
.soc-sent-bar .negative { background: var(--neg); }
.soc-sent-legend { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.soc-sent-legend .sent { font-size: 12px; }
.soc-sent-legend small { opacity: .75; }
.soc-sent-note { margin: 4px 0 0; font-size: 12.5px; }
@media (max-width: 560px) { .soc-sent-row { grid-template-columns: minmax(0, 1fr); } .soc-sent-legend { grid-column: 1; } .soc-tools { justify-content: flex-start; } }

/* Detail pembayaran: transfer bank */
.sub-bank-lead { margin: -4px 0 14px; font-size: 14px; line-height: 1.55; }
.sub-bank { display: flex; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--sec); border-radius: 12px; background: rgba(201, 151, 63, .06); }
.sub-bank-logo { flex: none; display: grid; place-items: center; width: 72px; height: 48px; border-radius: 10px; background: #0060af; color: #fff; font-weight: 800; font-style: italic; font-size: 18px; letter-spacing: .02em; }
.sub-bank dl { flex: 1; display: grid; gap: 6px; margin: 0; }
.sub-bank dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sub-bank dt { color: var(--ink-2); font-size: 13.5px; }
.sub-bank dd { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.sub-bank-no { font-size: 18px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sub-bank-steps { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 560px) { .sub-bank { flex-direction: column; align-items: stretch; } .sub-bank-logo { width: 64px; height: 40px; } }
.sub-bank-no { width: auto; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: right; font-family: inherit; }

/* Menunggu pembayaran & unggah bukti transfer */
.sub-pend { border-color: var(--sec); }
.sub-pend-head { display: flex; align-items: flex-start; gap: 14px; }
.sub-pend-head > div:not(.sub-pend-amt) { flex: 1; min-width: 0; }
.sub-pend-head h2 { margin: 0 0 4px; }
.sub-pend-head p { margin: 0; font-size: 13.5px; }
.sub-pend-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(201, 151, 63, .14); color: var(--sec); }
.sub-pend-amt { text-align: right; }
.sub-pend-amt small { display: block; color: var(--ink-2); font-size: 12px; }
.sub-pend-amt strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.sub-pend-txt, .sub-pend-ok { margin: 14px 0 0; font-size: 14px; line-height: 1.55; }
.sub-pend-ok { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink); }
.sub-pend-ok svg { color: var(--pos); }
.sub-proof { display: flex; gap: 10px; align-items: stretch; margin-top: 14px; flex-wrap: wrap; }
.sub-proof-drop { position: relative; flex: 1; min-width: 220px; display: flex; align-items: center; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .15s; }
.sub-proof-drop:hover, .sub-proof-drop:focus-within { border-color: var(--sec); }
.sub-proof-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sub-proof-drop span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.sub-proof-drop svg { color: var(--sec); }
.sub-proof-drop small { width: 100%; padding-left: 26px; color: var(--ink-2); font-size: 12px; }
.sub-proof .btn { border-radius: 999px; padding-inline: 20px; }
.sub-order-proof { display: grid; gap: 6px; margin: 8px 0 4px; font-size: 13.5px; }
.sub-order-proof input { font-size: 12.5px; }
.req-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; font-size: 13.5px; }
.req-proof { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; border-color: var(--sec); color: var(--sec); }
@media (max-width: 560px) { .sub-pend-head { flex-wrap: wrap; } .sub-pend-amt { text-align: left; width: 100%; padding-left: 58px; } }
.sub-bank-no { width: auto; white-space: nowrap; overflow: visible; }
.sub-bank-copy { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.sub-bank dd { position: relative; flex-wrap: nowrap; }
.sub-pend-ok { flex-wrap: nowrap; align-items: flex-start; }
.sub-pend-ok svg { flex: none; margin-top: 3px; }
.sub-proof .btn { align-self: center; padding: 10px 20px; }
/* Logo bank: Mandiri */
.sub-bank-logo.bank-mandiri { width: 96px; background: #003d79; color: #fff; font-style: normal; font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-transform: lowercase; position: relative; overflow: hidden; }
.sub-bank-logo.bank-mandiri::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #f4b400; }
.sub-bank dd { text-align: right; }
/* HP sempit: header muat di layar (hanya sisa token yang ditampilkan; kata kunci tetap ada di halaman Paket). */
@media (max-width: 420px) {
  .hd-quota { margin-right: 0; }
  .hd-quota .hq-sep, .hd-quota .hq-sep ~ .hq-item { display: none; }
  .hq-item svg { display: none; }
  .hd-btn { width: 32px; height: 32px; }
  .hd-avatar { width: 32px; height: 32px; }
  .sub-plan { flex-wrap: wrap; }
  .sub-price { text-align: left; }
  .sub-price strong { font-size: 24px; }
  .sub-x-row { padding: 14px; }
  .sub-x-calc dd { flex-wrap: wrap; justify-content: flex-end; text-align: right; }
  .sub-x-each { white-space: normal; }
}
/* HP: label di atas nilainya agar nomor rekening, tombol Salin, dan nama pemilik tidak keluar layar. */
@media (max-width: 560px) {
  .sub-bank { padding: 14px; gap: 12px; }
  .sub-bank dl { gap: 10px; }
  .sub-bank dl > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .sub-bank dd { flex-wrap: wrap; justify-content: flex-start; text-align: left; overflow-wrap: anywhere; }
  .sub-bank-no { font-size: 17px; text-align: left; }
}
.sub-req { color: var(--danger, #e5484d); }

/* Biaya sumber data: saldo & kunci penyedia */
.dc-pv { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; min-width: 0; }
.dc-pv.off { opacity: .6; border-style: dashed; }
.dc-pv.bad { border-color: var(--neg); }
.dc-pv header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dc-pv header strong { font-size: 15px; }
.dc-pv-st { padding: 2px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--pos-ink, var(--ink)); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.dc-pv.off .dc-pv-st { background: var(--line); color: var(--ink-2); }
.dc-pv.bad .dc-pv-st { background: var(--err-bg); color: var(--neg-ink, var(--danger)); }
.dc-pv.free .dc-pv-st { background: var(--line); color: var(--ink); }
.dc-pv-role { margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.dc-pv-money { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.dc-pv-money b { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dc-pv-money small { color: var(--ink-2); font-size: 12px; }
.dc-pv-bar { display: block; height: 7px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.dc-pv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--pos); }
.dc-pv-bar.hot i { background: var(--neg); }
.dc-pv-used { color: var(--ink-2); font-size: 12px; }
.dc-pv-status { margin: 2px 0 0; font-size: 13px; font-weight: 500; }
.dc-pv-line { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.dc-pv footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; }
.dc-pv footer code { color: var(--ink-2); font-size: 11.5px; }
.dc-pv code { font-size: 12px; }
/* Saldo penyedia (rapi) */
.dc-saldo-head { align-items: center; }
.dc-saldo-head h2 { margin: 0 0 2px; }
.dc-saldo-head span { display: block; }
.dc-btn.sm { padding: 7px 14px; font-size: 13px; }
.dc-saldo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dc-saldo .dc-pv { background: rgba(255, 255, 255, .015); }
.dc-saldo-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.dc-saldo-more summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.dc-saldo-more summary::-webkit-details-marker { display: none; }
.dc-saldo-more summary::before { content: '›'; display: inline-block; transition: transform .15s; color: var(--ink-2); }
.dc-saldo-more[open] summary::before { transform: rotate(90deg); }
.dc-saldo-more summary span { color: var(--ink-2); font-weight: 400; font-size: 12.5px; }
.dc-saldo-list { list-style: none; margin: 10px 0 0; padding: 0; }
.dc-saldo-list li { display: grid; grid-template-columns: 10px 170px minmax(0, 1fr) auto 70px; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dc-saldo-list li:last-child { border-bottom: 0; }
.dc-saldo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); }
.dc-saldo-list li.off { opacity: .55; }
.dc-saldo-list li.off .dc-saldo-dot { background: var(--line-2); }
.dc-saldo-list li.free .dc-saldo-dot { background: #7d8aa3; }
.dc-saldo-role { color: var(--ink-2); min-width: 0; }
.dc-saldo-val { color: var(--ink-2); white-space: nowrap; font-size: 12px; }
.dc-saldo-list a { font-size: 12px; text-align: right; }
@media (max-width: 960px) { .dc-saldo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .dc-saldo-list li { grid-template-columns: 10px minmax(0, 1fr) auto; } .dc-saldo-role { grid-column: 2 / -1; grid-row: 2; } .dc-saldo-list li > a, .dc-saldo-list li > span:last-child { display: none; } }

/* Permintaan (admin) */
.rq-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.rq-stat { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.rq-stat:hover { border-color: var(--line-2); background: var(--surface-2); }
.rq-stat.on { border-color: var(--sec); box-shadow: inset 0 0 0 1px var(--sec); }
.rq-stat span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 13px; }
.rq-stat b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rq-stat svg { color: var(--rq-c, var(--sec)); }
.rq-k-access { --rq-c: #e0b25e; } .rq-k-plan { --rq-c: #5b9cf0; } .rq-k-topup { --rq-c: #3ccf8e; } .rq-k-done { --rq-c: var(--ink-2); }
.rq-list { display: grid; gap: 14px; }
.rq-card { border: 1px solid var(--line); border-left: 3px solid var(--rq-c, var(--line-2)); border-radius: 14px; background: var(--surface); overflow: hidden; }
.rq-card.is-done { border-left-color: var(--line-2); opacity: .88; }
.rq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.rq-kind { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--rq-c) 14%, transparent); color: var(--rq-c); font-weight: 600; }
.rq-done { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #3ccf8e; }
.rq-body { display: flex; gap: 14px; padding: 16px 18px; }
.rq-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--rq-c, var(--sec)) 18%, var(--surface-2)); color: var(--ink); font-weight: 700; }
.rq-main { flex: 1; min-width: 0; display: grid; gap: 10px; }
.rq-main h2 { margin: 0; font-size: 16.5px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rq-main h2 small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.rq-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.rq-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.rq-contact a:hover { color: var(--ink); text-decoration: underline; }
.rq-contact a.rq-wa { color: #3ccf8e; }
.rq-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rq-facts div { padding: 7px 12px; border-radius: 10px; background: var(--surface-2); }
.rq-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.rq-facts dd { margin: 1px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.rq-msg { margin: 0; padding: 10px 14px; border-left: 3px solid var(--line-2); border-radius: 0 10px 10px 0; background: var(--surface-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.rq-msg span { display: block; margin-bottom: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.rq-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.rq-proof a, .rq-proof span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.rq-proof-ok { background: #143329; color: #7fe0b4; }
.rq-proof-no { background: var(--warn-bg); color: var(--warn-ink); }
.rq-proof small { color: var(--ink-2); }
.rq-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
.rq-acts form { margin: 0; }
.rq-acts .btn { display: inline-flex; align-items: center; gap: 7px; }
.rq-spacer { flex: 1; }
.rq-ghost { background: transparent; }
.rq-del { background: transparent; border-color: transparent; color: var(--danger); }
.rq-del:hover { border-color: var(--danger); }
.rq-head form { margin: 0; }
.rq-del-sm { padding: 3px 10px; min-height: 0; font-size: 12.5px; }
@media (max-width: 900px) { .rq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rq-body { flex-direction: column; } .rq-done { margin-left: 0; } }

/* Label mention baru masuk (pengumpulan terakhir) di tab Mention. */
.badge-new { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: middle; }
.seg a .badge-new { margin-left: 4px; }
.mention-top .mention-when { margin-left: auto; }
.dc-tok-kpi .rc-split { margin-top: 8px; }
.dc-tok-kpi .rc-split-legend { margin: 8px 0 6px; }
.dc-sc-rec { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 8px; }
.dc-sc-rec > div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.dc-sc-rec small, .dc-sc-rec span { font-size: 12px; color: var(--ink-2); }
.dc-sc-rec b { font-size: 18px; font-variant-numeric: tabular-nums; }
.dc-sc-rec .dc-flow-op { align-self: center; flex: 0 0 auto; }
.dc-sc-rec .dc-rec-diff.off b { color: var(--neg, #c2410c); }
.run-groups .run-group-head th { padding-top: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.run-groups tbody:first-of-type .run-group-head th { padding-top: 6px; }
/* Riwayat pengumpulan (Pengaturan project): satu kartu per pengumpulan. */
.run-cards { display: grid; gap: 10px; margin: 12px 0; }
.run-card { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.run-card.first { border-color: var(--accent); }
.run-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.run-card header small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.run-card-sum { text-align: right; font-size: 13px; color: var(--ink-2); }
.run-card-sum b { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.run-card-sum small { display: block; font-size: 12px; }
.run-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.run-card li { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.run-src { min-width: 90px; font-weight: 600; }
.run-nums { font-variant-numeric: tabular-nums; }
.run-err { color: var(--neg, #c2410c); font-size: 13px; }
.run-older summary { cursor: pointer; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.run-panel { margin-bottom: 16px; }
.run-tbl { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.run-tbl th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.run-tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.run-tbl tr:last-child td { border-bottom: 0; }
.run-tbl .num { text-align: right; width: 72px; }
@media (max-width: 640px) { .run-tbl th:nth-child(5), .run-tbl td:nth-child(5) { display: none; } }
.run-detail { margin-top: 8px; }
.run-detail summary { cursor: pointer; font-size: 13px; color: var(--accent); }
.run-detail ul { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.run-detail li { display: grid; grid-template-columns: 90px minmax(0, 1fr); column-gap: 10px; font-size: 13px; }
.run-detail li small { grid-column: 2; }
.run-detail .src { font-weight: 600; }
.run-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; }
.run-legend div { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.run-legend div.new { box-shadow: inset 3px 0 0 var(--accent); }
.run-legend dt { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.run-legend dd { margin: 0; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.run-legend dd b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .run-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .run-legend { grid-template-columns: minmax(0, 1fr); } }
.csv-cols { display: grid; gap: 8px; margin: 0 0 12px; }
.csv-cols div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.csv-lead { margin: 0 0 10px; }
.csv-cols dd span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }
.csv-cols dt { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.csv-cols dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--ink-2); }
.csv-cols code { padding: 0 5px; border-radius: 5px; background: var(--surface-2); font-size: 11px; color: var(--ink-2); }
.run-warn { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; background: var(--surface-2); box-shadow: inset 3px 0 0 var(--warn, #d97706); }
.field-tip { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; font-weight: 400; }
.run-why { margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }
.run-skips summary { color: var(--ink-2); }
.run-warn.soft { box-shadow: inset 3px 0 0 var(--line-2); }
.skip-src { margin: 10px 0 0; font-size: 13px; }
.skip-src ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.skip-src li { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.skip-more summary { cursor: pointer; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.run-skips .src { display: none; }
.dc-sub-h { margin: 18px 0 8px; font-size: 15px; }
.dc-legend { margin-top: 12px; }
.src-opt.locked { opacity: .55; cursor: not-allowed; }
.src-lock { margin-left: auto; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.src-plan-note { display: block; margin: 6px 0 2px; }
.usr-table th { white-space: nowrap; }
.demo-auto { margin: 8px 0 0; font-size: 12px; }
.log-table th, .log-table td.num { white-space: nowrap; }
.demo-names summary { cursor: pointer; }
.demo-names-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.demo-names-row small { flex-basis: 100%; color: var(--ink-2); }
.name-chip { padding: 2px 9px; border-radius: 999px; background: var(--surface-2); font-size: 12px; }
.sh-ico { display: inline-flex; vertical-align: -2px; color: var(--ink-2); }
.smp { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 14px; margin-top: 12px; }
.smp-col { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.smp-col b { font-size: 15px; font-variant-numeric: tabular-nums; }
.smp-col small { font-size: 11px; color: var(--ink-2); margin-top: -4px; }
.smp-track { position: relative; width: 44px; height: 130px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin: 4px 0 6px; }
.smp-fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--s1); border-radius: 0 0 6px 6px; }
.smp-name { font-size: 12px; font-weight: 600; }
/* Kartu pengumpulan bisa dibuka-tutup (klik judul). */
.run-card > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 18px; align-items: start; gap: 4px 12px; padding-bottom: 8px; }
.run-card > summary::-webkit-details-marker { display: none; }
.run-card[open] > summary { border-bottom: 1px solid var(--line-2); }
.run-card-head small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.run-card-chev { width: 10px; height: 10px; margin-top: 6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s; justify-self: end; }
.run-card[open] .run-card-chev { transform: rotate(-135deg); margin-top: 10px; }
.run-card-hint { grid-column: 1 / -1; font-size: 12px; color: var(--accent); }
.run-card-hint .when-open, .run-card[open] .run-card-hint .when-closed { display: none; }
.run-card[open] .run-card-hint .when-open { display: inline; }
.run-card-body { padding-top: 4px; }
/* Permintaan: kartu statistik berwarna, ringkasan tagihan, langkah pembayaran. */
.rq-page-head { justify-content: flex-start; text-align: left; }
.rq-page-head > div { width: 100%; }
.rq-page-head p { margin: 4px 0 0; }
.rq-list:not(.multi) { max-width: 920px; }
.rq-k-all { --rq-c: var(--sec); }
.rq-stat { position: relative; overflow: hidden; transition: transform .12s, border-color .12s; }
.rq-stat:hover { transform: translateY(-1px); }
.rq-stat::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--rq-c, var(--sec)); opacity: .7; }
.rq-stat .rq-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--rq-c, var(--sec)) 16%, transparent); color: var(--rq-c, var(--sec)); }
.rq-stat .rq-ico svg { color: inherit; }
.rq-stat b { color: var(--ink); }
.rq-stat.has b, .rq-k-all b { color: var(--rq-c, var(--sec)); }
.rq-stat small { font-size: 11.5px; color: var(--ink-2); }
.rq-section { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.rq-section span { padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 12px; }
.rq-amount { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rq-av { background: linear-gradient(135deg, color-mix(in srgb, var(--rq-c, var(--sec)) 55%, transparent), color-mix(in srgb, var(--rq-c, var(--sec)) 18%, var(--surface-2))); color: #fff; font-weight: 700; }
.rq-steps { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-2); }
.rq-steps li { display: inline-flex; align-items: center; gap: 6px; }
.rq-steps li + li::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--line-2); margin-right: 2px; }
.rq-steps li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 11px; font-weight: 700; }
.rq-steps li.ok { color: var(--ink); }
.rq-steps li.ok span { border-color: #3ccf8e; background: #3ccf8e; color: #08251a; }
.rq-steps li.ok + li::before { background: #3ccf8e; }
.rq-steps li.now { color: var(--ink); font-weight: 600; }
.rq-steps li.now span { border-color: var(--sec); color: var(--sec); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sec) 20%, transparent); }
@media (min-width: 1300px) { .rq-list.multi { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.rq-steps li.skip { color: var(--ink-2); font-style: italic; }
.rq-steps li.skip + li::before { background: var(--line-2); }

/* Rekonsiliasi admin: Pembayaran, Langganan, Perlu perhatian */
.rc-kpis.rc-kpis-auto { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.rc-kpi.rc-tone-pos { border-color: var(--pos-ink); }
.rc-kpi.rc-tone-warn { border-color: var(--warn-ink); }
.rc-kpi.rc-tone-neg { border-color: var(--neg-ink); }
.rc-adm tr.rc-tone-pos td:first-child { box-shadow: inset 3px 0 0 var(--pos-ink); }
.rc-adm tr.rc-tone-warn td:first-child { box-shadow: inset 3px 0 0 var(--warn-ink); }
.rc-adm tr.rc-tone-neg td:first-child { box-shadow: inset 3px 0 0 var(--neg-ink); }

/* Rekonsiliasi → Pengguna: lebar kolom tetap agar angka sejajar dan tidak ada celah kosong. */
.rc-users { width: 100%; }
.rc-users .rc-c-user { width: 36%; }
.rc-users .rc-c-num, .rc-users .rc-c-mention, .rc-users .rc-c-date { width: 16%; }
.rc-users .rc-mcell { min-width: 0; }
.rc-users th, .rc-users td { padding-left: 12px; padding-right: 12px; }
.rc-users td.rc-mcell { text-align: right; }
.rc-users td.rc-mcell .rc-mtop { justify-content: flex-end; }
.rc-users td.rc-mcell .rc-mleg { justify-content: flex-end; }
.rc-users thead th:nth-child(3), .rc-users tfoot th:nth-child(3) { text-align: right; }
.rc-users tfoot th:nth-child(2) { text-align: right; }

.rc-adm { font-size: 13.5px; }
.rc-adm td { vertical-align: middle; }
.rc-adm td.rc-ty-date, .rc-adm td.rc-ty-money, .rc-adm td.rc-ty-token, .rc-adm td.rc-ty-status { white-space: nowrap; }
.rc-adm td.rc-ty-person strong { display: block; font-weight: 600; }
.rc-adm td.rc-ty-wrap { min-width: 220px; max-width: 360px; }
.rc-adm td small.rc-email { display: block; }
.rc-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rc-pill-pos { background: color-mix(in srgb, var(--pos-ink) 16%, transparent); color: var(--pos-ink); }
.rc-pill-warn { background: var(--warn-bg); color: var(--warn-ink); }
.rc-pill-neg { background: color-mix(in srgb, var(--neg-ink) 16%, transparent); color: var(--neg-ink); }
