/* Penagihan's pages and Paket on the settings kit (scripts/billing.js), in the kit's type, palette and hairlines only.
   - Langganan (hostinger-subscriptions.png, wix-premium-subscriptions.png, hubspot-pay-invoice.png): what is owed now
     as one card of rows, its words in the amber of what is owed, Bayar faktur at each row's right; then the kit's
     table, a row per Business, figures right-aligned, the total's figure over its period as Framer's "€960 / yearly";
     on a narrow card each Business stacks into its own block, each fact under its column's name.
   - Faktur (hostinger-invoices.png, hubspot-pay-invoice.png): Detail faktur as one row over the kit's table; on a
     narrow card each invoice stacks into its own block.
   - Metode pembayaran (hostinger-methods.png): Utama beside the name and the validity after a hairline; how a card is
     saved as one muted line under the methods; Tagih otomatis as one row.
   - Paket (hostinger-subscription-details.png, framer-billing.png): the price and its parts in one card, then the
     quota and the period as rows with their actions, then Batalkan langganan.
   - The dialogs: Notion's quantity rows with − and +, Vercel's choice cards, Linear's method row and consent.
   styles/billing.css and account.css still carry the earlier Penagihan's rules for some of the same class names; the
   rules here are scoped one step tighter so the kit's look wins. Nothing moves on its own; hover washes take 120ms. */

/* ---------- Penagihan's pages ---------- */
.lacak-billing .st-card > .lacak-empty { min-height: 0; padding: 30px 20px 28px; }

/* What is owed now: one card over the table, its hairline a shade of the amber its words are in; nothing owed, it is not
   shown. */
.lacak-billing > .lb-due-card { margin-bottom: 20px; border-color: #ead7ad; }
.lacak-billing > .lb-due-card[hidden] + .st-section { margin-top: 0; }
.lb-due .st-row-copy > strong { font-variant-numeric: tabular-nums; }

/* Langganan's table: the Business's tile and name; the quota and the total right-aligned in tabular figures; where it
   stands, wrapping when it is long; ⋯ at the end. */
.st-card.lb-lines-card { container: lb-lines / inline-size; }
.st-table.lb-lines-table { table-layout: auto; }
.lb-lines-table tbody tr.lb-line { background: transparent; }
.lb-lines-table tbody tr.lb-line td { transition: background-color var(--m-hover) ease; }
.lb-lines-table tbody tr.lb-line:hover td { background: var(--st-ground); }
.lb-lines-table .lb-line-business { min-width: 190px; }
/* Every column's name on one line. */
.st-table.lb-lines-table thead th { white-space: nowrap; }
.lb-lines-table .lb-line-business .st-who strong > span { white-space: normal; overflow-wrap: anywhere; }
.lb-line-tile .biz-tile { width: 32px; height: 32px; flex: none; font-size: 10.5px; }
.lb-lines-table .lb-line-quota { color: var(--st-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-lines-table .lb-line-period { color: var(--st-ink); white-space: nowrap; }
.lb-lines-table .lb-line-status { min-width: 224px; }
.lb-lines-table .lb-line-status .lb-state { display: block; }
.st-table.lb-lines-table .lb-line-tail td { padding: 0; border-top: 0; }
.lb-lines-table td .lb-pending { white-space: normal; }
.lb-amount { display: block; min-width: 0; }
.lacak-billing .lb-amount .lb-price { display: grid; justify-items: end; gap: 2px; margin: 0; color: var(--st-muted); font-size: 12px; font-weight: 500; line-height: 1.35; white-space: nowrap; }
.lacak-billing .lb-amount .lb-price b { margin: 0; color: var(--st-ink); font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: 0; font-variant-numeric: tabular-nums; }
@container lb-lines (max-width: 760px) {
  .st-table.lb-lines-table, .st-table.lb-lines-table tbody { display: block; }
  .st-table.lb-lines-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .st-table.lb-lines-table tr.lb-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "business actions" "status status" "quota quota" "period period" "total total"; align-items: center; gap: 4px 12px; padding: 14px 12px 14px 16px; }
  .st-table.lb-lines-table tr + tr { border-top: 1px solid var(--st-rule); }
  .st-table.lb-lines-table td { display: block; padding: 0; border-top: 0; background: none; }
  .st-table.lb-lines-table tbody tr.lb-line:hover td { background: none; }
  .st-table.lb-lines-table td:empty { display: none; }
  .st-table.lb-lines-table .lb-line-business { grid-area: business; }
  .st-table.lb-lines-table .lb-line-actions { grid-area: actions; width: auto; }
  .st-table.lb-lines-table .lb-line-status { grid-area: status; min-width: 0; margin-bottom: 4px; padding-left: 44px; }
  /* Each fact under the Business: its column's name at the left, the fact at the right. */
  .st-table.lb-lines-table :is(.lb-line-quota, .lb-line-period, .lb-line-total) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-left: 44px; padding-top: 6px; border-top: 1px solid var(--st-rule); text-align: right; white-space: normal; }
  .st-table.lb-lines-table :is(.lb-line-quota, .lb-line-period, .lb-line-total)::before { content: attr(data-label); flex: none; color: var(--st-muted); font-size: 12px; font-weight: 500; text-align: left; }
  .st-table.lb-lines-table .lb-line-quota { grid-area: quota; }
  .st-table.lb-lines-table .lb-line-period { grid-area: period; }
  .st-table.lb-lines-table .lb-line-total { grid-area: total; }
  .st-table.lb-lines-table :is(.lb-line-quota, .lb-line-period) { display: grid; grid-template-columns: auto minmax(0, 1fr); justify-items: end; }
  .st-table.lb-lines-table :is(.lb-line-quota, .lb-line-period) > .lb-pending { grid-column: 2; }
  .lacak-billing .lb-lines-table .lb-amount .lb-price { display: block; white-space: normal; }
  .st-table.lb-lines-table tr.lb-line-tail { display: block; }
}

/* Faktur: Detail faktur as one row over the table. */
.lacak-billing > .lb-details-card { margin-bottom: 16px; }

/* Metode pembayaran: how a card is saved, one muted line under the methods with Bayar faktur in it. */
.lb-card-note { margin: 12px 2px 0 !important; color: var(--st-muted); font-size: 12.5px; line-height: 1.6; }
.lb-card-note .st-link { margin-left: 2px; vertical-align: baseline; }
.lacak-billing > .lb-card-note + .st-card { margin-top: 16px; }

/* Where the Business stands, under its name; what ends it in red, what it owes in amber. */
.lb-state { color: var(--st-muted); font-size: 12.5px; line-height: 1.5; }
.lb-state.is-bad { color: var(--st-red-ink); font-weight: 600; }
.lb-state.is-warn { color: var(--st-amber); font-weight: 600; }
.st-lead .lb-state { font-size: inherit; }
/* A change waiting for the renewal: one more line, in the ink, so it reads apart from the date above it. */
.lacak-billing .lb-pending, .lk-dialog .lb-pending { display: block; margin: 0; padding: 0; border-radius: 0; background: none; color: var(--st-ink); font-size: 12px; font-weight: 500; line-height: 1.5; }

/* Metode pembayaran: the method's mark in the kit's soft tile; Utama beside the name; the validity after a hairline,
   as Hostinger's "Card | Expires 2029-09". */
.lb-method-mark { display: grid; place-items: center; color: inherit; }
.lb-method-mark .icon, .lb-pay-mark .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-row-copy > strong.lb-method-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.lb-valid { display: inline-block; margin-left: 6px; padding-left: 9px; border-left: 1px solid var(--st-line); line-height: 1.1; white-space: nowrap; }
/* Tagih otomatis: one row in its own card under the methods (account.css's earlier .lb-auto rule is undone). */
.lacak-billing .st-row.lb-auto { justify-content: flex-start; margin-top: 0; padding-top: 14px; border-top: 0; }

/* Loading: the rows' places, still. */
.lb-ghost .st-row-copy { gap: 9px; }
.lb-ghost .st-row-copy i { display: block; width: 34%; height: 9px; border-radius: 5px; background: var(--st-soft); }
.lb-ghost .st-row-copy i + i { width: 56%; }

/* ---------- Faktur ----------
   The kit's table: number, Business, period, total right-aligned, state, then Bayar faktur and the PDF. The card is
   its own container: narrower than the six columns, each invoice stacks into a block of its own. */
.st-card.lb-invoices { container: lb-invoices / inline-size; }
.st-table.lb-inv-table { table-layout: auto; }
.lb-inv-table tbody tr.lb-inv td { transition: background-color var(--m-hover) ease; }
.lb-inv-table tbody tr.lb-inv:hover td { background: var(--st-ground); }
.lb-inv-table .lb-inv-number { overflow: visible; color: var(--st-ink); font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-inv-table .lb-inv-business { overflow: visible; color: var(--st-ink); font-size: 13px; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
.lb-inv-table .lb-inv-period { color: var(--st-muted); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-inv-table .lb-inv-total { color: var(--st-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-inv-table .lb-inv-status { white-space: nowrap; }
.st-table.lb-inv-table .lb-inv-actions { display: table-cell; margin: 0; }
.lb-inv-buttons { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; vertical-align: middle; }
.lb-inv-buttons .st-btn { min-height: 30px; padding: 0 12px; }
.st-table.lb-inv-table .lb-inv-tail td { padding: 0; border-top: 0; }
@container lb-invoices (max-width: 760px) {
  .st-table.lb-inv-table, .st-table.lb-inv-table tbody { display: block; }
  .st-table.lb-inv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .st-table.lb-inv-table tr.lb-inv { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "number total pdf" "business status pdf" "period period pdf"; align-items: center; gap: 3px 14px; padding: 12px 12px 12px 16px; }
  /* A payment being confirmed (an open invoice without Bayar faktur): its long state takes a line of its own under the
     period, so it never squeezes the number's column. */
  .st-table.lb-inv-table tr.lb-inv.is-open:not(:has(.lb-inv-buttons > .st-btn)) { grid-template-areas: "number total pdf" "business business pdf" "period period pdf" "status status pdf"; }
  .st-table.lb-inv-table tr.lb-inv.is-open:not(:has(.lb-inv-buttons > .st-btn)) .lb-inv-status { justify-self: start; white-space: normal; }
  .st-table.lb-inv-table tr + tr { border-top: 1px solid var(--st-rule); }
  .st-table.lb-inv-table td { display: block; padding: 0; border-top: 0; background: none; }
  .st-table.lb-inv-table tbody tr.lb-inv:hover td { background: none; }
  /* Narrower than the number, it breaks after a slash rather than running under the total. */
  .st-table.lb-inv-table .lb-inv-number { grid-area: number; white-space: normal; overflow-wrap: anywhere; }
  .st-table.lb-inv-table .lb-inv-total { grid-area: total; text-align: right; }
  .st-table.lb-inv-table .lb-inv-business { grid-area: business; color: var(--st-muted); font-size: 12.5px; }
  .st-table.lb-inv-table .lb-inv-status { grid-area: status; justify-self: end; }
  .st-table.lb-inv-table .lb-inv-period { grid-area: period; font-size: 12px; white-space: normal; }
  .st-table.lb-inv-table .lb-inv-actions { display: block; grid-area: pdf; width: auto; margin: 0; }
  /* An invoice to pay takes a line of its own for Bayar faktur, the PDF after it still in the PDFs' column. */
  .st-table.lb-inv-table tr.lb-inv:has(.lb-inv-buttons > .st-btn) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "number total""business status" "period period" "actions actions"; }
  .st-table.lb-inv-table tr.lb-inv:has(.lb-inv-buttons > .st-btn) .lb-inv-actions { grid-area: actions; margin-top: 8px; }
  .lb-inv-buttons .st-btn { min-height: 36px; }
  .st-table.lb-inv-table tr.lb-inv-tail { display: block; }
}

/* ---------- Paket ----------
   Hostinger's subscription details with Framer's seat line: the price large with what it is per under it, what it
   is made of for the Business's quota with what each extra inbox costs under its line; then the quota and the period as
   the kit's rows with their actions at the right; Batalkan langganan under them. */
.lb-plan-page { container: lb-plans / inline-size; }
.lb-plan-page > .lb-due-card { margin-bottom: 20px; }
.lb-due .st-row-copy > strong { color: var(--st-amber); }
.lb-plans { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 24px; border-radius: 10px; }
.lb-plans > .st-section + .st-section { margin-top: 0; }
.lb-plan { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 6px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; }
.lb-plan .lb-plan-price { display: grid; gap: 4px; margin: 0; padding: 0 0 16px; color: var(--st-muted); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.lb-plan .lb-plan-price b { color: var(--st-navy); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lb-plan-parts { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--st-rule); list-style: none; }
.lb-plan-parts li { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 0; font-size: 12.5px; line-height: 1.45; }
.lb-plan-parts li + li { border-top: 1px solid var(--st-rule); }
.lb-plan-parts li > span { flex: 1 1 auto; min-width: 0; color: var(--st-muted); }
.lb-plan-parts li > span > small { display: block; margin-top: 2px; color: var(--st-faint); font-size: 12px; }
.lb-plan-parts li > b { flex: none; color: var(--st-ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-plan-parts li.is-ppn > span { flex: none; }
.lb-plan-parts li.is-ppn > small { flex: 1 1 auto; min-width: 0; color: var(--st-faint); font-size: 12px; text-align: right; }
/* The quota and the period: each its name, what it is under it (and any change waiting for the renewal), and its
   actions at the right. */
.lb-plans .lb-plan-period .st-row-control { flex-wrap: wrap; }
.lb-plan-foot { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Penagihan's dialogs ---------- */
#overlay-billing .lkd-scroll:empty { display: none; }
#overlay-billing .lkd-head:has(+ .lkd-scroll:empty) { padding-bottom: 16px; }
/* Tagih otomatis while on: Nonaktifkan at the foot's left in red words, Batal at its right (Linear's Disable). */
.lk-dialog .lkd-foot .lkd-quiet[data-tone="danger"] { border-color: transparent; color: var(--st-red-ink); }
.lk-dialog .lkd-foot .lkd-quiet[data-tone="danger"]:hover { border-color: #ecc9c9; background: #fdf3f2; }
.lk-dialog .lkd-foot .lkd-quiet[data-place="end"] { margin-left: auto; }
.lb-dialog-text { margin: 0; color: var(--st-ink); font-size: 13px; line-height: 1.6; }
.lb-dialog-text + .lb-dialog-text { color: var(--st-muted); }
.lb-form { display: grid; gap: 16px; margin: 0; }
[data-added-business-form] { display: grid; gap: 12px; margin: 0; }

/* Ubah kuota kotak masuk: Notion's Manage credits rows in one bordered box: what the plan includes, the extra inboxes
   with − and +, the new quota on the soft ground with the inboxes connected under it. Then what it costs per period,
   and what changing it costs now and when, as a notice. The figures stand in one column: the plan's 1 and the new
   quota centred on the stepper's own figure. */
.lb-qty { --lb-step: 34px; --lb-out: 42px; overflow: hidden; border: 1px solid var(--st-line); border-radius: 10px; }
.lb-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 10px 14px 10px 16px; }
.lb-qty-row + .lb-qty-row { border-top: 1px solid var(--st-rule); }
.lb-qty-row.is-total { background: var(--st-ground); }
.lb-qty-copy { display: grid; gap: 2px; min-width: 0; }
.lb-qty-copy b { color: var(--st-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.lb-qty-copy small { color: var(--st-muted); font-size: 12px; line-height: 1.45; }
.lb-qty-value { box-sizing: border-box; flex: none; width: calc(2 * var(--lb-step) + var(--lb-out) + 2px); color: var(--st-ink); font-size: 13px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.lb-qty-row.is-total .lb-qty-value { color: var(--st-navy); font-size: 15px; font-weight: 700; }
.lk-dialog .lb-stepper { box-sizing: border-box; display: inline-flex; flex: none; align-items: stretch; height: var(--lb-step); overflow: hidden; border: 1px solid #dde2e9; border-radius: 8px; background: #fff; box-shadow: none; }
.lk-dialog .lb-step { display: grid; width: var(--lb-step); flex: none; place-items: center; padding: 0; border: 0; background: transparent; color: var(--st-ink); cursor: pointer; transition: background-color var(--m-hover) ease; }
.lk-dialog .lb-step .icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.lk-dialog .lb-step:hover:not(:disabled) { background: var(--st-soft); }
.lk-dialog .lb-step:disabled { color: var(--st-faint); opacity: .45; cursor: default; }
.lk-dialog .lb-step:focus-visible { outline: 2px solid rgba(47, 98, 164, .55); outline-offset: -2px; }
.lk-dialog .lb-stepper output { box-sizing: border-box; display: grid; width: var(--lb-out); place-items: center; padding: 0 4px; border-inline: 1px solid #dde2e9; color: var(--st-ink); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.lb-qty-price { margin: 0; color: var(--st-muted); font-size: 12.5px; line-height: 1.5; }
.lk-dialog .lb-qty-price .lb-price { display: inline; margin: 0; color: var(--st-muted); font-size: 12.5px; font-weight: 500; }
.lk-dialog .lb-qty-price .lb-price b { margin: 0; color: var(--st-ink); font-size: 14px; font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lk-dialog .lb-qty-charge { padding: 10px 12px; border-radius: 8px; background: var(--st-soft); color: var(--st-ink); }

/* The period, and Tambah Bisnis's period: Vercel's choice cards, one under another: the radio, the period's name, its
   price under it in tabular figures, Saat ini at the right; the chosen one wears the navy edge. */
.lk-dialog .lb-choices { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lb-choice { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1px solid #dde2e9; border-radius: 10px; background: #fff; cursor: pointer; transition: background-color var(--m-hover) ease, border-color var(--m-hover) ease; }
.lb-choice:hover { border-color: #c9d1dc; background: var(--st-ground); }
.lb-choice:has(input:checked) { border-color: var(--st-navy); background: #fff; }
.lb-choice:has(input:focus-visible) { outline: 3px solid rgba(47, 98, 164, .3); outline-offset: 2px; }
.lb-choice input { width: 16px; height: 16px; flex: none; margin: 0; accent-color: var(--st-navy); cursor: pointer; }
.lb-choice input:focus-visible { outline: none; }
.lb-choice-copy { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; }
.lb-choice-copy b { color: var(--st-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.lb-choice-copy small { color: var(--st-muted); font-size: 12.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }

/* Bayar faktur: the amount, then the two ways to pay as rows that open what they name, the chevron at their end. */
.lb-pay-total { display: block; color: var(--st-navy); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lb-pay-choices { display: grid; gap: 8px; }
.lb-pay-choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; margin: 0; padding: 10px 12px; border: 1px solid #dde2e9; border-radius: 10px; background: #fff; color: var(--st-ink); font: inherit; text-align: left; cursor: pointer; transition: background-color var(--m-hover) ease, border-color var(--m-hover) ease; }
.lb-pay-choice:hover { border-color: #c9d1dc; background: var(--st-ground); }
.lb-pay-choice:focus-visible { outline: 3px solid rgba(47, 98, 164, .3); outline-offset: 2px; }
.lb-pay-mark { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: var(--st-soft); color: var(--st-muted); }
.lb-pay-copy { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; }
.lb-pay-copy b { color: var(--st-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.lb-pay-copy small { color: var(--st-muted); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.lb-pay-choice > .icon { width: 16px; height: 16px; flex: none; fill: none; stroke: #9aa3b2; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Tagih otomatis: Linear's bordered box with the method it charges as a row, then what the person agrees to. */
.lb-auto-method { overflow: hidden; border: 1px solid var(--st-line); border-radius: 10px; }
.lb-auto-method .st-row { min-height: 56px; padding: 10px 14px 10px 16px; }
.lb-auto-chosen { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--st-ink); }
.lb-auto-chosen .lb-method-mark { width: 28px; height: 28px; flex: none; border-radius: 7px; background: var(--st-soft); color: var(--st-muted); }
.lb-auto-chosen .lb-method-mark .icon { width: 16px; height: 16px; }
.lb-auto-chosen b { min-width: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }

/* The access screens' words while a payment is being confirmed. */
.lb-status { color: var(--st-muted); font-size: 12.5px; font-weight: 600; }

@media (max-width: 640px) {
  /* A method's row keeps its ⋯ at its right however long the line under its name is. */
  .lacak-billing .st-row.lb-method { flex-wrap: nowrap; }
  /* The validity on a line of its own, its hairline dropped, where the row is narrow. */
  .lb-valid { display: block; margin: 0; padding: 0; border-left: 0; line-height: inherit; }
  .lb-plan { padding: 16px; }
  .lb-qty { --lb-step: 40px; }
  .lb-qty-row { padding: 10px 12px 10px 14px; }
  /* Tagih otomatis while on: Nonaktifkan and Batal side by side across the sheet's foot. */
  .lk-dialog .lkd-foot .lkd-quiet[data-place="end"] { margin-left: 0; }
  .lb-pay-total { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .lacak-billing *, #overlay-billing *, #overlay-add-business * { animation: none !important; transition: none !important; }
}

.lacak-billing > .st-card + .st-section { margin-top: 28px; }

/* ---------- Ubah paket ---------- */
/* The one dialog that changes a plan, as seats are bought: the choices on the left, the slots and the period; on the
   right what they come to, today's payment and the bill from the renewal, each in its own part. */
.lk-dialog.size-plan { width: min(860px, calc(100vw - 32px)); }
.lb-plan-dialog { --lb-step: 36px; --lb-out: 46px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); gap: 22px; align-items: start; }
.lb-plan-pick { display: grid; gap: 20px; min-width: 0; }
.lb-plan-part { display: grid; gap: 10px; min-width: 0; }
.lb-plan-part-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lb-plan-part-head b, .lb-plan-label { color: var(--st-ink); font-size: 13px; font-weight: 650; }
.lb-plan-choices { display: grid; gap: 8px; }
.lb-plan-choice { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid #dde2e9; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color var(--m-hover) ease, background-color var(--m-hover) ease; }
.lb-plan-choice:hover { border-color: #c9d1dc; background: var(--st-ground); }
.lb-plan-choice.is-on, .lb-plan-choice:has(input:checked) { border-color: var(--st-navy); background: #f6f8fc; box-shadow: inset 0 0 0 1px var(--st-navy); }
.lb-plan-choice:has(input:focus-visible) { outline: 3px solid rgba(47, 98, 164, .3); outline-offset: 2px; }
.lb-plan-choice input { width: 16px; height: 16px; flex: none; margin: 0; accent-color: var(--st-navy); cursor: pointer; }
.lb-plan-choice-copy { display: grid; flex: 1 1 auto; gap: 3px; min-width: 0; }
.lb-plan-choice-copy b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--st-ink); font-size: 13px; font-weight: 650; }
.lb-plan-choice-copy small { color: var(--st-muted); font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.lb-plan-choice-rate { display: flex; flex: none; align-items: baseline; gap: 4px; text-align: right; }
.lb-plan-choice-rate strong { color: var(--st-navy); font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-plan-choice-rate small { color: var(--st-muted); font-size: 12px; white-space: nowrap; }
.lb-plan-bills { display: grid; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--st-ground); }
.lb-plan-bill h3 { margin: 0 0 6px; color: var(--st-ink); font-size: 13px; font-weight: 650; }
.lb-plan-bill ul { display: grid; margin: 0; padding: 0; list-style: none; }
.lb-plan-bill li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12.5px; }
.lb-plan-bill li > span { min-width: 0; color: var(--st-muted); }
.lb-plan-bill li > b { flex: none; color: var(--st-ink); font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-plan-bill li.is-total { margin-top: 4px; padding-top: 9px; border-top: 1px solid var(--st-line); }
.lb-plan-bill li.is-total > span { color: var(--st-ink); font-weight: 650; }
.lb-plan-bill.is-today li.is-total > b { color: var(--st-navy); font-size: 16px; font-weight: 700; }
.lb-plan-bill.is-today { padding-bottom: 16px; border-bottom: 1px solid var(--st-line); }
.lb-plan-bill .lb-plan-total { color: var(--st-muted); font-weight: 500; white-space: normal; }
.lb-plan-bill .lb-plan-total b { color: var(--st-navy); font-size: 14px; font-weight: 700; }
.lb-plan-note { margin: 8px 0 0; color: var(--st-muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) {
  .lb-plan-dialog { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lk-dialog.size-plan { width: 100%; }
}
/* Paket's one action under its price. */
.lb-plan-change { display: flex; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--st-rule); }
/* Langganan: a row's action in sight, then its ⋯. */
.lb-line-buttons { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; vertical-align: middle; }
.lb-line-buttons .st-btn { min-height: 30px; padding: 0 12px; }
/* Faktur: Detail faktur, each fact under its own name, side by side. */
.lb-details-head { min-height: 52px; }
.lb-details-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; padding: 2px 20px 18px; }
.lb-details-field { display: grid; align-content: start; gap: 3px; min-width: 0; }
.lb-details-field span { color: var(--st-muted); font-size: 12px; }
.lb-details-field b { color: var(--st-ink); font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.lacak-billing > .lb-details-card { margin-bottom: 18px; }
/* Koneksi: who may not raise the quota is told whom to ask, beside the count. */
.st-section-actions .st-ask { color: var(--st-amber); font-size: 12.5px; font-style: normal; font-weight: 600; }
@media (max-width: 760px) {
  .lb-plan-options { grid-template-columns: minmax(0, 1fr); }
  .lb-details-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* A row with no ⋯ keeps its button where the others stand. */
.lb-more-slot { display: inline-block; width: 32px; flex: none; }
/* Koneksi's two sections start level, the inboxes' head holding its button. */
.st-page[data-settings-page="koneksi"] .st-koneksi .st-section-head { align-items: center; min-height: 34px; }
/* Slots, as seats are shown: a box per slot, filled for each inbox in it, a slot a change adds marked new. */
.lb-slots { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.lb-slots-boxes { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.lb-slots-boxes i { width: 11px; height: 11px; border: 1.5px solid #b9c3d1; border-radius: 3px; background: #fff; }
.lb-slots-boxes i.is-used { border-color: var(--st-navy); background: var(--st-navy); }
.lb-slots-boxes i.is-new { border-color: #1f9a63; background: #dff3e9; }
.lb-slots-text { color: var(--st-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.lb-qty-copy .lb-slots { margin-top: 4px; }
.lb-lines-table .lb-line-quota .lb-slots { vertical-align: middle; }
.lb-slots-short { margin-left: 8px; color: var(--st-ink); font-weight: 600; font-variant-numeric: tabular-nums; vertical-align: middle; }
/* Koneksi: an empty slot is a row of its own on the soft ground, a dashed box for its mark, Tambah kotak masuk at its
   end; all used, Tambah slot. */
.st-row.lb-slot-row { background: var(--st-ground); }
.lb-slot-mark { border: 1.5px dashed #b9c3d1; background: #fff; }
.lb-slot-row.is-free .st-row-copy > strong { color: var(--st-muted); font-weight: 500; }
/* Paket: the price spans both rows on the left; Batalkan stands right under the quota and the period. */
.st-page[data-settings-page="plan"] .lb-plans { grid-template-rows: auto 1fr; }
.st-page[data-settings-page="plan"] .lb-plans > .lb-plan-foot { align-self: start; }
