/* Bandingkan (hub + /bandingkan/*) — awalan .bd- */
.bd-hub-head { max-width: 860px; text-align: center; }
.bd-hub-head .crumbs { justify-content: center; }
.bd-hub-head h1 { margin: 6px 0 18px; }
.bd-hub-head .lead { max-width: 700px; margin: 0 auto; }
.bd-hub-head .btns { margin-top: 30px; }
.bd-hub { margin-top: 52px; text-align: left; }
.bd-hub-c { padding: 30px; display: flex; flex-direction: column; }
.bd-hub-top { display: flex; justify-content: space-between; align-items: center; }
.bd-hub-c h2 { font-size: 24px; margin: 18px 0 10px; }
.bd-hub-c p { font-size: 15.5px; }
.bd-hub-l { display: grid; gap: 8px; margin: 18px 0 4px; }
.bd-hub-l li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--fg-2); }
.bd-hub-l .ic { width: 18px; height: 18px; color: var(--navy-2); }
.bd-hub-c .link-arrow { margin-top: auto; padding-top: 16px; }

/* matriks sekilas */
table.tbl.bd-mx { min-width: 720px; }
.bd-mx th, .bd-mx td { text-align: center; }
.bd-mx th:first-child, .bd-mx td:first-child { text-align: left; font-weight: 600; color: var(--fg); position: sticky; left: 0; background: #fff; z-index: 1; }
.bd-mx thead th:first-child { background: var(--bg-2); color: var(--muted); }
.bd-mx thead th { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--fg); }
.bd-mx td .ic { width: 20px; height: 20px; }
.bd-y .ic { color: var(--in); } .bd-n .ic { color: #C9CED9; } .bd-s .ic { color: var(--warn); }
.bd-th-c { background: var(--oranye-soft) !important; color: var(--oranye-d) !important; }
.bd-ck { background: #FFF8F3; }
.bd-mx-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* situasi */
.bd-situ { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.bd-situ-i { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--fg-2); font-weight: 600; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.bd-situ-i:hover { border-color: #C9D2E6; box-shadow: var(--sh-2); color: var(--fg); }
.bd-situ-i > span:nth-child(2) { flex: 1; }
.bd-situ-i > .ic { width: 18px; height: 18px; color: var(--navy-2); }

/* hero visual: cara lama + kartu Catat Kas */
.bd-vis { position: relative; padding: 26px 0 84px; max-width: 520px; margin: 0 auto; width: 100%; }
.bd-vis-tag { position: absolute; top: 0; left: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.bd-vis > .ilus { position: absolute; left: 4px; bottom: 0; margin: 0; text-align: left; }
.bd-fl { right: -18px; bottom: 6px; width: 250px; }
.bd-vis > div:not(.float) { margin-right: 44px; }
.bd-fl .bar { margin: 8px 0 6px; }
.bd-fl-big { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); margin: 4px 0 2px; }
.bd-fl-s b { font-size: 12px; color: var(--in); }
.bd-fl-r { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #E3E7EF; font-size: 12.5px; }
.bd-fl-r:last-child { border-bottom: 0; }
.bd-fl-r b { font-size: 12.5px; }

.bd-buku { width: 88%; background: #FFFDF6; border-radius: 6px 16px 16px 6px; box-shadow: var(--sh-3); padding: 34px 22px 0 50px;
  background-image: linear-gradient(90deg, transparent 36px, #F2B8B0 36px, #F2B8B0 38px, transparent 38px);
  font-style: italic; color: #2B3A67; border: 1px solid #EFE9D6; }
.bd-buku-h { font-size: 16px; font-weight: 800; height: 34px; line-height: 34px; margin-top: -34px; }
.bd-buku-r { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; height: 34px; line-height: 34px; font-size: 14.5px; border-top: 1px solid #DCE5F3; margin-left: -50px; padding-left: 50px; margin-right: -22px; padding-right: 22px; }
.bd-buku-r span:last-child { text-align: right; }
.bd-buku-r s { color: #B84A3E; margin-right: 4px; }
.bd-pudar { color: #9AA3BC; font-style: italic; }
.bd-buku-t { font-weight: 700; } .bd-buku-t span:last-child { color: #B84A3E; }

.bd-sheet { width: 92%; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); overflow: hidden; font-size: 12px; }
.bd-sheet-bar { height: 34px; background: var(--bg-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.bd-sheet-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8DDE8; display: block; }
.bd-sheet-bar span { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-sheet-g { display: grid; grid-template-columns: 26px 54px 1fr 72px 80px; }
.bd-sheet-g > * { padding: 7px 8px; border-right: 1px solid #E8ECF3; border-bottom: 1px solid #E8ECF3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; color: var(--fg-2); }
.bd-sheet-g .h { background: #F3F5F9; color: var(--soft); text-align: center; font-size: 10.5px; }
.bd-sheet-g b { font-family: inherit; font-size: 11.5px; background: #FBFCFE; }
.bd-err { color: var(--out) !important; font-weight: 700; background: var(--out-soft); }
.bd-sheet-k { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 8px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-weight: 600; font-size: 12px; }
.bd-sheet-k .ic { width: 15px; height: 15px; }

.bd-chat { width: 88%; background: #EEF1F6; border-radius: 22px; box-shadow: var(--sh-3); overflow: hidden; border: 1px solid var(--line); }
.bd-chat-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.bd-chat-h b { font-size: 14px; display: block; } .bd-chat-h small { font-size: 11.5px; color: var(--muted); }
.bd-chat-h .ava { font-size: 10px; }
.bd-chat-b { padding: 12px 12px 16px; display: grid; gap: 8px; }
.bd-m { max-width: 84%; background: #fff; border-radius: 4px 14px 14px 14px; padding: 8px 11px; font-size: 12.5px; line-height: 1.45; color: var(--fg); box-shadow: var(--sh-1); }
.bd-m small { display: block; font-size: 11px; font-weight: 700; color: var(--violet); }
.bd-m.me { margin-left: auto; background: var(--navy-soft); border-radius: 14px 4px 14px 14px; }
.bd-img { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px; border-radius: 8px; background: var(--bg-3); color: var(--muted); font-size: 11.5px; }
.bd-img .ic { width: 15px; height: 15px; }

.bd-note { width: 80%; background: #FFFBEA; border-radius: 22px; box-shadow: var(--sh-3); padding: 16px 22px 26px; border: 1px solid #F1E7BF; color: #3D3A2A; }
.bd-note-h { display: flex; align-items: center; justify-content: space-between; color: #B08A1E; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.bd-note-h span { margin-right: auto; margin-left: 4px; }
.bd-note-h .ic { width: 18px; height: 18px; }
.bd-note-t { display: block; font-size: 19px; color: #2D2A1E; margin-bottom: 8px; }
.bd-note p { font-size: 14.5px; line-height: 1.75; }
.bd-note-q { color: #B84A3E; font-weight: 700; margin-top: 6px; }

/* plus-minus */
.bd-pm .card { padding: 28px; }
.bd-pm-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bd-pm-h h3 { margin: 0; font-size: 19px; }
.bd-plus { border-top: 4px solid var(--in); }
.bd-min { border-top: 4px solid var(--warn); }
.bd-x li .ic { color: var(--warn); }

/* tabel per aspek */
.bd-tbl-wrap { max-width: 980px; margin: 0 auto; }
table.tbl.bd-tbl { min-width: 0; }
.bd-tbl th:first-child { width: 26%; }
.bd-tbl thead th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--fg); }
.bd-a { font-weight: 700; color: var(--fg); }
.bd-c { color: var(--fg-2); }
.bd-c .ic { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; }
.bd-c.bd-y .ic { color: var(--in); } .bd-c.bd-n .ic { color: #C3C8D4; } .bd-c.bd-s .ic { color: var(--warn); }
.bd-win { background: var(--in-soft); }
.bd-win span { font-weight: 600; color: var(--fg); }

/* skenario */
.bd-sk { display: flex; flex-direction: column; gap: 14px; }
.bd-sk-h { display: flex; gap: 12px; align-items: center; }
.bd-sk-h .ava { width: 40px; height: 40px; font-size: 14px; }
.bd-sk-h b { display: block; font-size: 16.5px; } .bd-sk-h small { color: var(--muted); font-size: 13.5px; }
.bd-sk-b { padding: 14px; border-radius: 14px; background: var(--bg-2); }
.bd-sk-b p { font-size: 14.5px !important; margin-top: 8px; color: var(--fg-2) !important; }
.bd-sk-a { background: var(--navy-soft-2); border: 1px solid var(--navy-soft); }
.bd-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bd-tag-l { color: var(--soft); } .bd-tag-c { color: var(--oranye); }

.bd-steps { grid-template-columns: repeat(4, 1fr); }
.bd-tip { max-width: 860px; margin: 28px auto 0; }

.bd-lain { display: flex; gap: 14px; align-items: center; }
.bd-lain b { display: block; font-size: 16px; margin-bottom: 4px; }
.bd-lain .link-arrow { margin-top: 0; font-size: 13.5px; }
.bd-lain-g { margin-bottom: 64px; }

@media (max-width: 980px) {
  .bd-steps { grid-template-columns: repeat(2, 1fr); }
  .bd-vis { padding-bottom: 0; }
  .bd-situ { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bd-hub-c { padding: 22px; }
  .bd-hub-c h2 { font-size: 21px; }
  .bd-steps { grid-template-columns: 1fr; }
  .bd-vis { padding-top: 24px; }
  .bd-buku, .bd-sheet, .bd-chat, .bd-note { width: 100%; }
  .bd-sheet-g { grid-template-columns: 22px 46px 1fr 64px 72px; }
  .bd-vis > div:not(.float) { margin-right: 0; }
  .bd-vis { padding-bottom: 0; }
  .bd-vis > .ilus { position: static; text-align: center; margin-top: 12px; }
  .bd-fl { display: block; position: relative; right: auto; bottom: auto; width: auto; margin: -30px 8px 0 auto; max-width: 270px; }
  /* tabel per aspek jadi kartu per baris */
  .bd-tbl thead { display: none; }
  .bd-tbl, .bd-tbl tbody { display: block; }
  .bd-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
  .bd-tbl tr:last-child { border-bottom: 0; }
  .bd-tbl td { border-bottom: 0; padding: 10px 12px; font-size: 13.5px; }
  .bd-tbl .bd-a { grid-column: 1 / -1; padding: 14px 12px 2px; font-size: 14.5px; }
  .bd-tbl .bd-c::before { content: attr(data-l); display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
  .bd-tbl .bd-c .ic { margin-right: 4px; width: 16px; height: 16px; }
  .bd-tbl td.bd-win { border-radius: 10px; margin: 4px; }
  .bd-mx td, .bd-mx th { padding: 12px 10px; }
  .bd-mx td:first-child, .bd-mx th:first-child { min-width: 150px; box-shadow: 1px 0 0 var(--line-2); }
  .bd-situ-i { font-size: 14px; padding: 14px 16px; }
  .bd-lain-g { margin-bottom: 40px; }
}
.bd-geser { display: none; }
.bd-mx td:nth-child(2), .bd-mx th:nth-child(2) { border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
@media (max-width: 640px) {
  .bd-geser { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
  .bd-geser .ic { width: 15px; height: 15px; }
}
