/* ==========================================================================
   Settings → Billing
   Ported 1:1 from the imported design (billing.dc.html). The design ships
   everything as inline styles; the exact values are preserved here as classes
   so the markup stays readable and themeable.

   Palette (from the design): page #F6F7F9 · card #FFFFFF · border #E7E8EC ·
   ink #14171F · body #3B414C · muted #8A93A1 / #9099A6 · accent #5B53E8
   (hover #4A43D6) · accent wash #F4F3FE / #FBFBFE, accent border #E6E3FB ·
   good #1E7F4D on #E6F6EC · warn #9A6B0E on #FBF1DC · danger #B04A4A.
   Radius: 14px cards, 12px inner cards, 9px buttons, 8px inputs.

   PAGE WIDTH: the mock uses max-width 1060px, but CLAUDE.md's standing rule is
   a centred 1320px column for every non-full-width page. 1320 wins; all inner
   spacing is the design's.
   ========================================================================== */

/* The page renders INSIDE Settings → Billing (.settings-body), which already sits in the 1320
   column with its own gutters. The design's 30/34px page padding doubled them: Billing started
   34px right of every other tab and lost 68px of width (the Activity rows overflowed at tablet). */
.billing-page { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; padding: 0 0 60px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.billing-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.billing-head h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #14171F; }
.billing-head p { margin: 5px 0 0; font-size: 13px; color: #646B78; max-width: 560px; line-height: 1.55; }
.billing-invoices { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #3B414C; background: #fff; border: 1px solid #E2E4EA; border-radius: 9px; padding: 9px 14px; cursor: pointer; }
.billing-invoices:hover { background: #FAFAFB; }
.billing-invoices:disabled { cursor: default; color: #6B7280; background: #fff; }

/* ── Shared card ────────────────────────────────────────────────────────── */
.billing-card { background: #fff; border: 1px solid #E7E8EC; border-radius: 14px; }
.billing-card--pad { padding: 20px; }
.billing-card--flush { overflow: hidden; }
.billing-card__title { font-size: 15px; font-weight: 700; color: #14171F; }
.billing-card__sub { margin: 3px 0 0; font-size: 12.5px; color: #646B78; }
/* A failed payment must not read like ordinary grey helper text — it is the one line
   on this page the customer has to act on. Same amber as the is-warn badge beside it.
   Both selectors: the billing tab uses .billing-card__sub, other surfaces reuse the
   account-page class. */
.billing-notes-warn,
.account-key-notes.billing-notes-warn { color: #9A6B0E; font-weight: 600; }

/* ── Balance strip ──────────────────────────────────────────────────────── */
.billing-strip { padding: 18px 20px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.billing-strip__label { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: #646B78; text-transform: uppercase; }
.billing-strip__row { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.billing-strip__num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: #14171F; }
.billing-strip__usd { font-size: 13px; color: #6B7280; }
.billing-strip__date { font-size: 15px; font-weight: 600; color: #2A3343; margin-top: 9px; }
.billing-strip__rule { width: 1px; height: 38px; background: #EDEFF2; }
.billing-strip__actions { margin-left: auto; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
/* Subscription status chip (_statusBadge) — sits beside the plan's status line. */
.billing-badge { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; padding: 3px 10px; border-radius: 999px; }
.billing-badge.is-ok { background: #E6F6EC; color: #1E7F4D; }
.billing-badge.is-warn { background: #FBF1DC; color: #9A6B0E; }
.billing-badge.is-muted { background: #F2F3F6; color: #646B78; }

.billing-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border-radius: 8px; padding: 7px 11px; }
.billing-pill--warn { color: #9A6B0E; background: #FBF1DC; }
.billing-pill--ok { color: #1E7F4D; background: #E6F6EC; }
.billing-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; background: #5B53E8; border: none; border-radius: 9px; padding: 9px 15px; cursor: pointer; text-decoration: none; }
.billing-cta:hover { background: #4A43D6; text-decoration: none; color: #fff; }
/* Secondary action next to the primary CTA: "move account credits here", "open Settings → Plans". */
.billing-cta--ghost { color: #5B53E8; background: #EEEDFC; }
.billing-cta--ghost:hover { background: #E2E0FA; color: #4A43D6; }
.billing-cta:disabled { opacity: .55; cursor: default; }
/* Admin-only operator readiness banner (unsellable plans). */
.billing-health { border-left: 4px solid #E0A526; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* ── Cycle toggle (Monthly / Yearly −20%) ───────────────────────────────── */
.billing-cycle { display: inline-flex; align-items: center; gap: 3px; background: #F0F1F4; border: 1px solid #E6E7EC; border-radius: 9px; padding: 3px; }
.billing-cycle button { height: 28px; padding: 0 14px; border: none; border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 600; background: transparent; color: #6B7280; }
.billing-cycle button.is-active { background: #fff; box-shadow: 0 1px 2px rgba(20,23,31,.10); color: #5B53E8; }
.billing-cycle .billing-save { font-size: 11px; font-weight: 700; color: #1E7F4D; }

/* ── Catalog-size tier strip ────────────────────────────────────────────── */
.billing-tiers { margin-top: 15px; background: #FBFBFE; border: 1px solid #E6E3FB; border-radius: 12px; padding: 14px 16px; }
.billing-tiers__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.billing-tiers__title { font-size: 13.5px; font-weight: 700; color: #2A3343; }
.billing-tiers__hint { font-size: 12.5px; color: #646B78; }
.billing-tiers__grid { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.billing-tier { min-width: 0; border: 1.5px solid #E2E4EA; background: #FDFDFE; border-radius: 10px; padding: 9px 10px; cursor: pointer; text-align: center; position: relative; }
.billing-tier:hover { border-color: #C9C4F4; }
.billing-tier.is-active { border-color: #5B53E8; background: #fff; }
.billing-tier__label { font-size: 13px; font-weight: 700; color: #3B414C; }
.billing-tier.is-active .billing-tier__label { color: #5B53E8; }
.billing-tier__unit { font-size: 11px; color: #6B7280; margin-top: 2px; }
.billing-tier__flag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 9.5px; font-weight: 700; letter-spacing: .03em; color: #fff; background: #1E7F4D; border-radius: 999px; padding: 2px 8px; text-transform: uppercase; white-space: nowrap; }
.billing-tiers__note { margin: 10px 0 0; font-size: 11.5px; color: #6B7280; line-height: 1.5; }

/* ── Plan cards ─────────────────────────────────────────────────────────── */
.billing-plans { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.billing-plan { border: 1.5px solid #E7E8EC; background: #fff; border-radius: 12px; padding: 16px 15px; display: flex; flex-direction: column; position: relative; }
.billing-plan.is-current { border-color: #5B53E8; background: #FBFBFE; }
.billing-plan__flag { position: absolute; top: -9px; left: 15px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; background: #5B53E8; border-radius: 999px; padding: 3px 9px; text-transform: uppercase; }
.billing-plan__name { font-size: 13px; font-weight: 700; color: #2A3343; }
.billing-plan__priceRow { display: flex; align-items: baseline; gap: 3px; margin-top: 6px; }
.billing-plan__price { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; color: #14171F; }
.billing-plan__per { font-size: 12px; color: #6B7280; }
.billing-plan__credits { font-size: 12px; font-weight: 600; color: #5B53E8; margin-top: 3px; }
.billing-plan__skus { font-size: 11.5px; color: #6B7280; margin-top: 2px; }
.billing-plan__blurb { margin: 9px 0 12px; font-size: 11.5px; color: #646B78; line-height: 1.5; }
.billing-plan__features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.billing-plan__feature { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #3B414C; line-height: 1.4; }
.billing-plan__feature svg { flex: 0 0 auto; margin-top: 2px; }
.billing-plan__btn { margin-top: auto; width: 100%; font-size: 12.5px; font-weight: 600; border-radius: 9px; padding: 9px 0; cursor: pointer; border: 1px solid #E2E4EA; background: #fff; color: #3B414C; }
.billing-plan__btn--primary { border-color: #5B53E8; background: #5B53E8; color: #fff; }
.billing-plan__btn--current { border-color: #E6E3FB; background: #F0EFFD; color: #8A86C4; cursor: default; }
.billing-plan__btn--disabled { border-color: #E7E8EC; background: #F7F8F9; color: #AEB4BE; cursor: not-allowed; }

/* ── Coupon row ─────────────────────────────────────────────────────────── */
.billing-coupon { margin-top: 14px; padding-top: 13px; border-top: 1px solid #F0F1F4; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.billing-coupon__label { font-size: 12.5px; color: #646B78; }
.billing-coupon__input { width: 170px; height: 34px; border: 1px solid #E2E4EA; border-radius: 8px; padding: 0 11px; font-size: 13px; color: #14171F; outline: none; background: #fff; }
.billing-coupon__input:focus { border-color: #5B53E8; }
.billing-ghost { font-size: 12.5px; font-weight: 600; color: #5B53E8; background: #F4F3FE; border: 1px solid #E6E3FB; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.billing-ghost:hover { background: #EEEDFC; }
.billing-coupon__note { margin-left: auto; font-size: 12px; color: #6B7280; }

/* ── Credits: manual + auto-recharge, two columns ───────────────────────── */
.billing-credits__head { padding: 18px 20px 0; }
.billing-credits__cols { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.billing-credits__col { padding: 18px 20px 20px; }
.billing-credits__col--ar { background: #FCFCFD; border-left: 1px solid #EDEFF2; }
.billing-credits__col--ar.is-on { background: #FBFBFE; }
.billing-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: #646B78; text-transform: uppercase; }
.billing-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.billing-pack { text-align: left; border: 1.5px solid #E7E8EC; background: #fff; border-radius: 11px; padding: 12px 13px; cursor: pointer; position: relative; }
.billing-pack:hover { border-color: #C9C4F4; }
.billing-pack.is-selected { border-color: #5B53E8; background: #FBFBFE; }
.billing-pack__amount { font-size: 17px; font-weight: 700; color: #14171F; letter-spacing: -0.01em; }
.billing-pack__credits { font-size: 12px; font-weight: 600; color: #5B53E8; margin-top: 2px; }
.billing-pack__bonus { font-size: 11px; font-weight: 700; color: #1E7F4D; margin-top: 3px; }
.billing-pack__tick { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%; background: #5B53E8; display: flex; align-items: center; justify-content: center; }
.billing-buy { margin-top: 12px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 600; color: #fff; background: #5B53E8; border: none; border-radius: 9px; padding: 11px 0; cursor: pointer; }
.billing-buy:hover { background: #4A43D6; }
.billing-buy:disabled { background: #C7C4EE; cursor: not-allowed; }
.billing-secure { margin-top: 10px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #6B7280; line-height: 1.5; }
.billing-secure svg { flex: 0 0 auto; }
.billing-secure strong { color: #5B6473; font-weight: 600; }

/* Auto-recharge */
.billing-ar__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.billing-ar__status { margin: 6px 0 0; font-size: 12px; color: #646B78; line-height: 1.55; }
.billing-switch { position: relative; width: 40px; height: 23px; border-radius: 999px; border: none; cursor: pointer; background: #D2D6DD; padding: 0; flex: 0 0 auto; }
.billing-switch.is-on { background: #5B53E8; }
.billing-switch span { position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.22); transition: left .16s ease; }
.billing-switch.is-on span { left: 19px; }
.billing-ar__panel { margin-top: 14px; background: #fff; border: 1px solid #E6E3FB; border-radius: 11px; padding: 14px; animation: billing-fade .16s ease; }
@keyframes billing-fade { from { transform: translateY(6px); } to { transform: translateY(0); } }
.billing-ar__line { font-size: 13px; color: #2A3343; line-height: 2.1; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.billing-ar__line + .billing-ar__line { margin-top: 6px; }
.billing-ar__line b { font-weight: 600; }
.billing-field { display: inline-flex; align-items: center; background: #fff; border: 1px solid #D7DAE1; border-radius: 8px; overflow: hidden; }
.billing-field input { width: 56px; border: none; outline: none; font-size: 13px; font-weight: 600; color: #14171F; padding: 7px 8px; background: none; }
.billing-field__unit { font-size: 12px; color: #646B78; padding: 0 10px 0 0; }
.billing-field__prefix { padding: 0 3px 0 10px; font-size: 13px; color: #646B78; }
.billing-select { appearance: none; border: 1px solid #D7DAE1; border-radius: 8px; padding: 7px 26px 7px 11px; font-size: 13px; font-weight: 600; color: #14171F; background: #fff; cursor: pointer; outline: none; }
.billing-select:focus { border-color: #5B53E8; }
.billing-selectWrap { position: relative; display: inline-flex; align-items: center; }
.billing-selectWrap svg { position: absolute; right: 9px; pointer-events: none; }
.billing-ar__foot { margin-top: 13px; padding-top: 12px; border-top: 1px solid #F0F1F4; display: flex; align-items: center; gap: 10px; }
.billing-ar__card { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #5B6473; }
.billing-ar__nocard { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #9A6B0E; background: #FBF1DC; border-radius: 7px; padding: 5px 9px; }
.billing-ar__save { margin-left: auto; }
.billing-ar__summary { margin: 10px 0 0; font-size: 11.5px; color: #6B7280; line-height: 1.55; }

/* ── Activity ledger ────────────────────────────────────────────────────── */
.billing-activity__head { padding: 17px 20px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.billing-activity__links { display: flex; align-items: center; gap: 14px; }
.billing-activity__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #5B53E8; text-decoration: none; cursor: pointer; }
.billing-activity__links a:hover { text-decoration: underline; }
.billing-activity__cols, .billing-activity__row { display: flex; align-items: center; gap: 14px; }
.billing-activity__cols { padding: 9px 20px; background: #FAFAFB; border-top: 1px solid #EDEFF2; border-bottom: 1px solid #EDEFF2; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #646B78; text-transform: uppercase; }
.billing-activity__row { padding: 11px 20px; border-bottom: 1px solid #F2F3F6; font-size: 12.5px; }
.billing-activity__date { width: 150px; flex: 0 0 auto; color: #6B7280; }
.billing-activity__label { flex: 1; min-width: 0; color: #2A3343; font-weight: 500; }
.billing-activity__delta { width: 100px; flex: 0 0 auto; text-align: right; font-weight: 700; }
.billing-activity__delta.is-up { color: #1E7F4D; }
.billing-activity__delta.is-down { color: #B04A4A; }
.billing-activity__bal { width: 100px; flex: 0 0 auto; text-align: right; color: #5B6473; }
.billing-activity__empty { padding: 22px 20px; font-size: 12.5px; color: #6B7280; }

/* ── API access ─────────────────────────────────────────────────────────── */
.billing-api { padding: 18px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.billing-api__body { flex: 1; min-width: 260px; }
.billing-api__title { font-size: 14px; font-weight: 700; color: #14171F; }
.billing-api__sub { margin: 3px 0 0; font-size: 12.5px; color: #646B78; line-height: 1.55; }
.billing-api__badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #646B78; background: #F2F3F6; border-radius: 7px; padding: 5px 10px; text-transform: uppercase; }

/* ── Responsive: the design is a 1280px desktop mock ────────────────────── */
@media (max-width: 1100px) {
    .billing-plans { grid-template-columns: repeat(2, 1fr); }
    /* Beside the settings rail the card is ~400px wide: the fixed date/credits/balance columns
       (150+100+100) left the label no room and pushed Balance past the card edge. */
    .billing-activity__date { width: 92px; }
    .billing-activity__delta, .billing-activity__bal { width: 64px; }
    .billing-credits__cols { grid-template-columns: 1fr; }
    .billing-credits__col--ar { border-left: none; border-top: 1px solid #EDEFF2; }
}
@media (max-width: 720px) {
    .billing-page { padding: 0 0 48px; }
    .billing-plans, .billing-packs { grid-template-columns: 1fr; }
    /* .billing-tiers__grid's mobile columns live in the Plan-families @media block below — its
       base rule is re-declared there (var(--tiers)), so an override here would be dead. */
    .billing-strip { gap: 18px; }
    .billing-strip__rule { display: none; }
    .billing-strip__actions { margin-left: 0; width: 100%; }
    .billing-activity__bal { display: none; }
}

/* ── Admin: comp this project onto a plan (no payment) ──────────────────────
   Visually set apart from the customer-facing cards — it is a privileged action,
   not part of the normal purchase flow. */
.billing-admin { border-color: #F2E3C2; background: #FFFDF7; }
.billing-admin__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.billing-admin__row .bx-sel { min-width: 220px; }
/* Divides the two privileged actions in the admin card (set plan / fund wallet). They write
   different things — a plan row vs the credit balance — so they should not read as one form. */
.billing-admin__sep { border-top: 1px solid #F2E3C2; margin: 18px 0 14px; }

/* ── Plan families: Ads vs Ads + Catalog (PRICING_MODEL.md §3) ─────────────── */
.billing-family { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.billing-family__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font: inherit; padding: 11px 14px; border: 1.5px solid #E2E4EA; border-radius: 11px; background: #FDFDFE; cursor: pointer; }
.billing-family__opt:hover { border-color: #C9C4F4; }
.billing-family__opt.is-active { border-color: #5B53E8; background: #fff; box-shadow: 0 0 0 3px rgba(91, 83, 232, 0.08); }
.billing-family__t { font-size: 13.5px; font-weight: 700; color: #2A3343; }
.billing-family__opt.is-active .billing-family__t { color: #5B53E8; }
.billing-family__s { font-size: 11.5px; color: #646B78; line-height: 1.4; }
.billing-family__note { margin: 12px 0 0; font-size: 12.5px; color: #5B6473; line-height: 1.5; background: #F7F8FA; border-radius: 10px; padding: 10px 13px; }
.billing-tiers__grid { grid-template-columns: repeat(var(--tiers, 5), 1fr); }
.billing-plan.is-fit { border-color: #5B53E8; box-shadow: 0 0 0 3px rgba(91, 83, 232, 0.10); }
.billing-plan--talk { background: linear-gradient(180deg, #FBFAFF 0%, #fff 100%); border-style: dashed; }
.billing-plan--talk .billing-plan__btn { display: block; box-sizing: border-box; text-align: center; text-decoration: none; margin-top: auto; }
@media (max-width: 720px) {
    .billing-family { grid-template-columns: 1fr; }
    .billing-tiers__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Settings → Limits (ADMIN, one project) — js/account/project-limits-tab.js ── */
.plim { max-width: 860px; }
.plim__title { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #14171F; }
.plim__sub { margin: 0 0 16px; font-size: 14px; color: #6B7380; line-height: 1.5; }
.plim__empty, .plim__error { padding: 16px; border-radius: 12px; font-size: 14px; }
.plim__empty { background: #F7F8FA; color: #4B5563; }
.plim__error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.plim__plan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 14px; color: #14171F; }
.plim__plan-k { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #646B78; }
.plim__plan-p { color: #646B78; font-size: 13px; }
.plim__pill { font-size: 11.5px; font-weight: 600; color: #5B53E8; background: #F4F3FE; border: 1px solid #E6E3FB; border-radius: 999px; padding: 1px 8px; }
.plim-card { background: #fff; border: 1px solid #E7E8EC; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.plim-card.is-override { border-color: #D9D5FB; box-shadow: inset 3px 0 0 #5B53E8; }
.plim-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plim-card__label { font-size: 16px; font-weight: 700; color: #14171F; }
.plim-card__about { margin-top: 3px; font-size: 13px; color: #6B7380; line-height: 1.45; max-width: 520px; }
.plim-card__now { text-align: right; flex: 0 0 auto; }
.plim-card__big { font-size: 26px; font-weight: 700; color: #14171F; line-height: 1.1; }
.plim-card__src { margin-top: 3px; font-size: 12px; color: #646B78; }
.plim-card.is-override .plim-card__src { color: #5B53E8; font-weight: 600; }
.plim-meter { margin-top: 12px; }
.plim-meter__bar { height: 8px; border-radius: 999px; background: #EEF0F3; overflow: hidden; }
.plim-meter__fill { height: 100%; border-radius: 999px; background: #5B53E8; transition: width .25s; }
.plim-meter__fill.is-high { background: #F59E0B; }
.plim-meter__fill.is-full { background: #E5484D; }
.plim-meter__txt { margin-top: 6px; font-size: 13px; color: #4B5563; }
.plim-card__warn { margin-top: 10px; padding: 8px 10px; border-radius: 9px; background: #FFF8EB; border: 1px solid #F7D9A6; color: #7A4B06; font-size: 13px; line-height: 1.45; }
.plim-card__ctrls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.plim-chip { font: inherit; font-size: 13.5px; font-weight: 600; color: #5B53E8; background: #F4F3FE; border: 1px solid #E6E3FB; border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.plim-chip:hover { border-color: #5B53E8; }
.plim-chip:disabled, .plim-card__set:disabled, .plim-card__ghost:disabled { opacity: .5; cursor: default; }
.plim-card__in { width: 130px; height: 36px; box-sizing: border-box; padding: 0 10px; border: 1px solid #D9DCE3; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: #14171F; outline: none; }
.plim-card__in:focus { border-color: #5B53E8; box-shadow: 0 0 0 3px rgba(91, 83, 232, .14); }
.plim-card__ghost { font-size: 13.5px; }
@media (max-width: 640px) {
    .plim-card__top { flex-direction: column; }
    .plim-card__now { text-align: left; }
}
