/* /fitur/laporan */
.lp-hub { font-size: 12px; }
.lp-hub-b { display: grid; grid-template-columns: 190px 1fr; min-height: 330px; }
.lp-nav { padding: 12px; border-right: 1px solid var(--line-2); background: var(--bg-soft); }
.lp-search { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); }
.lp-search [data-lucide] { width: 14px; height: 14px; }
.lp-cat { margin: 12px 4px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lp-it { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-it [data-lucide] { width: 13px; height: 13px; color: var(--orange); fill: var(--orange); }
.lp-it.on { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-sm); }
.lp-main { padding: 14px; min-width: 0; }
.lp-mh { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-mh b { font-size: 14px; }
.lp-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--bg-soft); }
.lp-seg span { padding: 4px 8px; border-radius: 7px; font-weight: 600; font-size: 11px; color: var(--muted); }
.lp-seg .on { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-sm); }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.lp-kpis .mock-kpi { padding: 10px; }
.lp-kpis .mock-kpi b { display: block; font-size: 15px; }
.lp-kpis em { font-style: normal; font-size: 11px; font-weight: 700; }
.lp-kpis em.up { color: var(--ok); }
.lp-chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.lp-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.lp-bars > span { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.lp-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: var(--teal); }
.lp-bars i + i { background: var(--teal-100); }
.lp-leg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.lp-leg span { display: inline-flex; align-items: center; gap: 6px; }
.lp-leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--teal); }
.lp-leg i.p { background: var(--teal-100); }

/* katalog */
.lp-legend { justify-content: center; margin-top: 20px; }
.lp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.lp-col { display: grid; gap: 20px; }
.lp-catcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.lp-ch { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-ch2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.lp-ch .card-icon { width: 40px; height: 40px; border-radius: 11px; }
.lp-ch .card-icon [data-lucide] { width: 20px; height: 20px; }
.lp-ch h3 { font-size: 18px; flex: 1; }
.lp-n { min-width: 30px; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-weight: 800; font-size: 13px; text-align: center; }
.lp-catcard ul { list-style: none; display: grid; }
.lp-catcard li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 500; }
.lp-catcard li:last-child { border-bottom: 0; }
.lp-catcard li:not(:has(.fx-free))::after { content: 'PRO'; flex: none; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: var(--orange-50); color: var(--orange-700); }

/* laporan khusus */
.lp-kh { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lp-k { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 20px; }
.lp-k b { display: block; font-size: 16px; line-height: 1.35; }
.lp-k p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.lp-more { margin-top: 20px; text-align: center; font-weight: 700; }
.lp-more [data-lucide] { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }

/* terjadwal */
.lp-sched { display: grid; gap: 10px; margin-top: 26px; }
.lp-sched > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.lp-sched b { color: #fff; font-size: 15px; }
.lp-sched small { grid-column: 2; color: #a9c6cb; font-size: 13px; }
.lp-sched .ch { grid-row: span 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.lp-sched .ch [data-lucide] { width: 14px; height: 14px; }
.lp-sched .ch.wa { background: rgba(31, 168, 85, .18); color: #7fe0a6; }
.lp-sched .ch.em { background: rgba(245, 137, 30, .18); color: #ffc58a; }
.lp-ph-wrap { display: flex; justify-content: center; }
.lp-phone { width: 290px; }
.lp-phone .fx-wa-chat { min-height: 420px; align-content: start; }

/* Books */
.lp-note { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--teal-50); }
.lp-note b { display: block; font-size: 17px; }
.lp-note p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

@media (max-width: 900px) { .lp-cats { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 640px) {
  .lp-hub-b { grid-template-columns: 1fr; }
  .lp-nav { display: none; }
  .lp-seg span:last-child { display: none; }
  .lp-kpis .mock-kpi b { font-size: 13px; }
  .lp-catcard { padding: 20px; }
  .lp-note { flex-direction: column; align-items: flex-start; }
  .lp-phone { width: 100%; max-width: 290px; }
}
.lp-opsi { margin-top: 28px; background: #fff; border: 1px solid var(--orange-100); }
.lp-opsi b .pro { vertical-align: 2px; }
.lp-sub { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* 18 Okt: katalog sesuai app, laba rugi, umur piutang */
.lp-cats.v2 .lp-catcard li:not(.p)::after { content: none; }
.lp-cats.v2 .lp-catcard li.p::after { content: 'PRO'; }
.lp-pl .mock-row small { margin-left: 6px; }
.lp-pl-s { font-weight: 700; border-bottom-style: solid !important; }
.lp-pl-t { display: flex; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--ok-50); color: var(--ok); font-weight: 800; font-size: 15px; }
.lp-age { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.lp-age > div { padding: 10px; border-radius: 12px; background: var(--teal-50); }
.lp-age > div.o { background: var(--orange-50); }
.lp-age > div.r { background: #fdecec; }
.lp-age small { display: block; font-size: 11px; color: var(--muted); }
.lp-age b { font-size: 15px; }
/* 18 Okt — HP: katalog laporan lebih rapat, nama laporan jadi chip yang mengalir */
@media (max-width: 640px) {
  .lp-col, .lp-cats { gap: 14px; }
  .lp-catcard ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .lp-catcard li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: 14px; gap: 6px; line-height: 1.3; }
  .lp-catcard li:last-child { border-bottom: 1px solid var(--line); }
  .lp-cats.v2 .lp-catcard li.p::after { padding: 1px 5px; font-size: 10px; }
}
