/* Shared customer-facing pricing and account components. */
.credits-card,
.credits-purchases,
.credits-integrations {
    width: 100%;
    max-width: 1080px;
    min-width: 0;
    margin: 0 auto 2rem;
}
.credits-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--surface);
}
.credits-card h2,
.credits-section-heading h2 { margin: 0; color: var(--text); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; }
.credits-card p,
.credits-section-heading p { color: var(--text-muted); line-height: 1.7; }
.credits-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.credits-section-heading p { margin: 0.5rem 0 0; font-size: 0.925rem; }
.credits-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 6px;
    color: var(--primary-subtle);
    background: rgba(var(--primary-rgb), 0.08);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.credits-tag--neutral { border-color: var(--border-soft); background: var(--bg); color: var(--text-muted); }
.credits-number,
.credits-price,
.credits-offer-price strong { font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace; font-variant-numeric: tabular-nums; }

/* Purchase offers — separate from the endpoint rate table. */
.credits-offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.credits-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--surface);
}
.credits-offer--intro { border-color: rgba(var(--primary-rgb), 0.5); background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent 65%), var(--surface); }
.credits-offer h3 { margin: 1.25rem 0 0.4rem; font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em; }
.credits-offer-description { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.credits-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin: 1.5rem 0 0.75rem; }
.credits-offer-price strong { font-size: 2.75rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1.2; color: var(--text); }
.credits-offer-price > span { font-size: 0.85rem; color: var(--text-muted); }
.credits-offer-value { margin: 0 0 0.6rem; color: var(--text); font-size: 0.95rem; }
.credits-offer-value .credits-number { color: var(--primary-subtle); font-weight: 500; }
.credits-offer-detail { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 0.8rem; line-height: 1.8; }
.credits-offer > .credits-button,
.credits-offer > form { width: 100%; margin: auto 0 0; }
.credits-offer > form .credits-button { width: 100%; margin: 0; }
.credits-purchase-note { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.8rem; line-height: 1.75; }

/* Volume bonus banner — accent-tinted so it stands apart from the offer cards. */
.credits-bonus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(var(--accent-rgb), 0.18), rgba(var(--primary-rgb), 0.06) 70%), var(--surface);
}
.credits-bonus-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(110deg, var(--primary), var(--accent));
    color: var(--bg-deep);
}
.credits-bonus-icon svg { width: 24px; height: 24px; }
.credits-bonus-copy { flex: 1 1 260px; min-width: 0; }
.credits-bonus-copy h3 { margin: 0; color: var(--text-bright); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.credits-bonus-copy p { margin: 0.3rem 0 0; color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.credits-bonus-tiers { display: flex; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.credits-bonus-tiers li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 104px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    border-radius: 10px;
    background: rgba(var(--bg-rgb), 0.6);
}
.credits-bonus-tiers strong { color: var(--accent); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.credits-bonus-tiers li > span { color: var(--text-muted); font-size: 0.78rem; white-space: nowrap; }
.credits-bonus-tiers li > span .credits-number { color: var(--text); }

/* Top-up amount picker (/credits) — revealed by the top-up card's button. */
.credits-amount[hidden],
.credits-bonus[hidden],
.credits-offer > .credits-button[hidden] { display: none; }
.credits-amount {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.1), transparent 55%), var(--bg);
}
.credits-amount-heading h3 { margin: 0; color: var(--text-bright); font-size: 0.95rem; font-weight: 600; }
.credits-amount-heading p { margin: 0.2rem 0 0; color: var(--text-muted); font-size: 0.8rem; }
.credits-amount-choices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1rem; }
.credits-amount-presets { display: grid; flex: 1 1 380px; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 0.5rem; }
.credits-amount-preset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    min-height: 54px;
    padding: 0.45rem 0.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}
.credits-amount-preset small { color: var(--accent); font-size: 0.68rem; font-weight: 600; }
.credits-amount-preset:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.credits-amount-preset.is-selected { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.14); color: var(--text-bright); }
.credits-amount-preset:focus-visible,
.credits-amount-input:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.credits-amount-custom { display: grid; flex: 0 1 170px; gap: 0.35rem; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; }
.credits-amount-input {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 54px;
    padding: 0 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-muted);
    font-family: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
}
.credits-amount-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}
.credits-amount-summary {
    display: grid;
    grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 1.25rem 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.credits-amount-label { display: block; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; }
.credits-amount-summary strong[data-credit-amount-target="total"] { display: block; margin: 0.15rem 0; color: var(--text-bright); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.credits-amount-breakdown { color: var(--text-muted); font-size: 0.78rem; }
.credits-amount-progress { min-width: 0; padding: 0 1.25rem; }
.credits-amount-track { position: relative; height: 10px; margin-bottom: 2.6rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.credits-amount-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.25s ease;
}
.credits-amount-marker {
    position: absolute;
    top: -4px;
    left: var(--at);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 22px;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.35;
    white-space: nowrap;
}
.credits-amount-marker::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 18px; border-radius: 1px; background: var(--border-soft); transform: translateX(-50%); }
.credits-amount-marker span:first-child { font-weight: 600; }
.credits-amount-marker.is-reached { color: var(--accent); }
.credits-amount-marker.is-reached::before { background: var(--accent); }
.credits-amount-message { margin: 0; color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }
.credits-amount-message strong { color: var(--accent); font-weight: 600; }
.credits-amount-message span.credits-number { color: var(--text-bright); }
.credits-amount-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.credits-amount-actions .credits-button { min-width: 260px; }
.credits-amount-actions .credits-button:disabled { opacity: 0.5; cursor: not-allowed; }
.credits-amount-actions p { margin: 0; color: var(--text-muted); font-size: 0.75rem; }

/* Explicit button/link styles work in both public and dashboard layouts. */
.credits-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 9px;
    background: linear-gradient(110deg, var(--primary), var(--accent));
    color: var(--bg-deep);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.credits-button:hover { background: var(--primary-light); }
.credits-button--secondary { background: transparent; border-color: var(--border-soft); color: var(--text); }
.credits-button--secondary:hover { background: var(--surface-hover); border-color: var(--primary); }
.credits-button:focus-visible,
.credits-integration-link:focus-visible,
.credits-details summary:focus-visible,
.credits-table-scroll:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 4px; }

/* Rate table. Keep endpoint costs visible together on mobile. */
.credits-exchange-rate { flex-shrink: 0; padding: 0.6rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.credits-exchange-rate > span { display: block; color: var(--text-muted); font-size: 0.75rem; line-height: 1.7; }
.credits-exchange-rate > span + span { margin-top: 0.15rem; font-size: 0.7rem; }
.credits-exchange-rate strong { color: var(--primary-subtle); font-weight: 500; }
#endpoint-prices, #credit-options { scroll-margin-top: 7rem; }
.credits-table-scroll { max-width: 100%; overflow-x: auto; }
.credits-table { width: 100%; border-collapse: collapse; text-align: left; }
.credits-table th, .credits-table td { padding: 1rem 0.85rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.credits-table th { background: transparent; color: var(--text-muted); font-size: 0.8rem; font-weight: 500; text-transform: none; letter-spacing: normal; }
.credits-table tbody th { color: var(--text); font-size: 0.875rem; font-weight: 500; line-height: 1.65; }
.credits-table-caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.credits-pricing-table { table-layout: fixed; }
.credits-endpoint-column { width: 32%; }
.credits-description-column { width: 48%; }
.credits-price-column { width: 20%; }
.credits-pricing-table thead th { background: var(--bg); color: var(--text-muted); font-weight: 500; }
.credits-pricing-table thead th:first-child { border-radius: 8px 0 0 8px; }
.credits-pricing-table thead th:last-child { border-radius: 0 8px 8px 0; }
.credits-pricing-table thead .credits-price { white-space: nowrap; font-family: inherit; }
.credits-pricing-table tbody tr:last-child > * { border-bottom: 0; }
.credits-pricing-table tbody tr:hover { background: rgba(var(--primary-rgb), 0.025); }
.credits-endpoint-name { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.credits-channel-label { padding: 0.05rem 0.45rem; border: 1px solid rgba(var(--primary-rgb), 0.25); border-radius: 999px; background: rgba(var(--primary-rgb), 0.06); color: var(--primary-subtle); font-size: 0.65rem; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.credits-description-cell { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; }
.credits-mobile-description { display: none; }
.credits-table .credits-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.credits-pricing-table tbody .credits-price { color: var(--primary-subtle); font-size: 0.95rem; font-weight: 500; }
.credits-details { margin-top: 0.75rem; font-size: 0.85rem; }
.credits-details summary { width: fit-content; padding: 0.65rem 0; color: var(--text); font-weight: 500; cursor: pointer; }
.credits-details summary::marker { color: var(--primary); }
.credits-details p { margin: 0.75rem 0 0; }

/* Integration links remain recognizable and keyboard accessible in every state. */
.credits-integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.credits-integration-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.credits-integration-link:visited { color: var(--text); }
.credits-integration-link:hover { background: var(--surface-hover); border-color: var(--primary); }
.credits-integration-link strong { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.credits-integration-link strong + span { display: block; margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.7; color: var(--text-muted); }
.credits-integration-icon { display: flex; flex: 0 0 24px; padding-top: 0.2rem; color: var(--primary-subtle); }
.credits-integration-icon svg { width: 24px; height: 24px; }
.credits-link-arrow { margin-left: auto; color: var(--primary-subtle); }

/* Availability and notices. */
.credits-notice { margin: 1.25rem 0 0; padding: 1rem; border-radius: 8px; background: var(--bg); font-size: 0.875rem; }
.credits-availability { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.credits-availability h2 { font-size: 1.1rem; }
.credits-availability p { margin: 0.5rem 0 0; font-size: 0.875rem; }

/* Signed-in /credits page: the shared pricing partials adopt the denser
   dashboard look (dashboard_layout.css supplies header, KPIs and panels).
   Public /pricing keeps its marketing scale; everything here is scoped. */
.credits-dashboard .credits-card,
.credits-dashboard .credits-purchases,
.credits-dashboard .credits-integrations { max-width: none; margin: 0 0 1.5rem; }
.credits-dashboard .credits-card,
.credits-dashboard .credits-purchases { padding: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.credits-dashboard .credits-section-heading { margin-bottom: 1.25rem; }
.credits-dashboard .credits-section-heading h2 { color: var(--text-bright); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.credits-dashboard .credits-section-heading p { margin-top: 0.125rem; font-size: 0.78rem; line-height: 1.5; }
.credits-dashboard .credits-offer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.credits-dashboard .credits-offer { padding: 1.25rem; border-color: var(--border); border-radius: 10px; background: var(--bg); }
.credits-dashboard .credits-offer--intro { border-color: rgba(var(--primary-rgb), 0.4); background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), transparent 60%), var(--bg); }
.credits-dashboard .credits-tag { padding: 0.2rem 0.5rem; font-size: 0.68rem; }
.credits-dashboard .credits-offer h3 { margin: 0.875rem 0 0.25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.credits-dashboard .credits-offer-description { font-size: 0.82rem; line-height: 1.55; }
.credits-dashboard .credits-offer-price { margin: 1rem 0 0.5rem; gap: 0.45rem; }
.credits-dashboard .credits-offer-price strong { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.credits-dashboard .credits-offer-price > span { font-size: 0.78rem; }
.credits-dashboard .credits-offer-value { margin-bottom: 0.4rem; font-size: 0.875rem; }
.credits-dashboard .credits-offer-detail { margin-bottom: 1.25rem; font-size: 0.75rem; line-height: 1.7; }
.credits-dashboard .credits-button { min-height: 40px; padding: 0.55rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; }
.credits-dashboard .credits-purchase-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1.6; }
.credits-dashboard .credits-bonus { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 10px; background: linear-gradient(110deg, rgba(var(--accent-rgb), 0.16), rgba(var(--primary-rgb), 0.05) 70%), var(--bg); }
.credits-dashboard .credits-bonus-icon { width: 40px; height: 40px; border-radius: 10px; }
.credits-dashboard .credits-bonus-icon svg { width: 20px; height: 20px; }
.credits-dashboard .credits-bonus-copy h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.credits-dashboard .credits-bonus-copy p { font-size: 0.8rem; line-height: 1.55; }
.credits-dashboard .credits-bonus-tiers li { min-width: 92px; padding: 0.5rem 0.85rem; }
.credits-dashboard .credits-bonus-tiers strong { font-size: 1.25rem; }
.credits-dashboard .credits-table-scroll { max-width: none; margin: 0 -1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.credits-dashboard .credits-pricing-table thead th { border-radius: 0; }
.credits-dashboard .credits-table th,
.credits-dashboard .credits-table td { padding: 0.75rem 0.85rem; }
.credits-dashboard .credits-table th:first-child { padding-left: 1.5rem; }
.credits-dashboard .credits-table th:last-child,
.credits-dashboard .credits-table td:last-child { padding-right: 1.5rem; }
.credits-dashboard .credits-table th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.credits-dashboard .credits-table tbody th { font-size: 0.85rem; letter-spacing: 0; text-transform: none; }
.credits-dashboard .credits-pricing-table tbody .credits-price { font-size: 0.875rem; }
.credits-dashboard .credits-integration-grid { gap: 1rem; }
.credits-dashboard .credits-integration-link { gap: 0.875rem; padding: 1rem 1.25rem; border-color: var(--border); border-radius: 10px; }
.credits-dashboard .credits-integration-link strong { font-size: 0.875rem; }
.credits-dashboard .credits-integration-link strong + span { margin-top: 0.2rem; font-size: 0.78rem; line-height: 1.55; }
.credits-dashboard .credits-integration-icon { flex-basis: 20px; padding-top: 0.1rem; }
.credits-dashboard .credits-integration-icon svg { width: 20px; height: 20px; }

/* Credit ledger (dashboard_layout.css .dash-table) */
.credits-ledger-type { color: var(--text-bright); white-space: nowrap; }
.credits-ledger-type .badge { margin-left: 0.4rem; }
.credits-ledger-date,
.credits-ledger-endpoint { white-space: nowrap; }
.credits-ledger-credit { color: var(--success); }

@media (max-width: 640px) {
    .credits-card, .credits-purchases, .credits-integrations { margin-bottom: 1.5rem; }
    .credits-card, .credits-offer { border-radius: 12px; }
    .credits-section-heading { flex-direction: column; gap: 0.75rem; }
    .credits-section-heading h2 { font-size: 1.2rem; }
    .credits-integration-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .credits-integration-link { padding: 1.25rem; }
    .credits-offer-price strong { font-size: 2.5rem; }
    .credits-bonus { border-radius: 12px; }
    .credits-amount-presets { flex-basis: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .credits-amount-custom { flex: 1 1 100%; }
    .credits-amount-summary { grid-template-columns: 1fr; }
    .credits-amount-progress { padding: 0 1rem; }
    .credits-amount-actions .credits-button { width: 100%; min-width: 0; }
    .credits-bonus-tiers { flex: 1 1 100%; }
    .credits-bonus-tiers li { flex: 1 1 0; min-width: 0; }
    .credits-pricing-table th, .credits-pricing-table td { padding: 0.85rem 0.5rem; }
    .credits-description-column, .credits-description-heading, .credits-description-cell { display: none; }
    .credits-endpoint-column { width: 72%; }
    .credits-price-column { width: 28%; }
    .credits-mobile-description { display: block; margin-top: 0.3rem; color: var(--text-muted); font-size: 0.8rem; font-weight: 400; line-height: 1.6; }
    .credits-price-unit { display: none; }
    .credits-dashboard .credits-card,
    .credits-dashboard .credits-purchases { padding: 1.25rem; }
    .credits-dashboard .credits-integrations { margin-bottom: 1rem; }
    .credits-dashboard .credits-table-scroll { margin: 0 -1.25rem; }
    .credits-dashboard .credits-table th:first-child { padding-left: 1.25rem; }
    .credits-dashboard .credits-table th:last-child,
    .credits-dashboard .credits-table td:last-child { padding-right: 1.25rem; }

    /* Ledger rows stack: type + amount, then date · endpoint */
    .credits-ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .credits-ledger, .credits-ledger tbody { display: block; }
    .credits-ledger tr {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "type type amount" "date endpoint endpoint";
        align-items: baseline;
        column-gap: 0.5rem;
        row-gap: 0.15rem;
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid var(--border);
    }
    .credits-ledger tr:last-child { border-bottom: 0; }
    .credits-dashboard .credits-ledger td { padding: 0; border: 0; }
    .credits-ledger-type { grid-area: type; font-size: 0.875rem; }
    .credits-ledger-amount { grid-area: amount; }
    .credits-ledger-date { grid-area: date; font-size: 0.72rem; }
    .credits-ledger-endpoint { grid-area: endpoint; overflow: hidden; text-overflow: ellipsis; font-size: 0.72rem; }
    .credits-ledger-endpoint::before { content: "· "; }
    .credits-ledger-endpoint--none { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .credits-button, .credits-integration-link { transition: none; }
}
