/* Holding product page + grouped catalog cards */

.holding-wireframe-banner {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px dashed #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.holding-wireframe-banner a {
    margin-left: 8px;
    color: inherit;
    font-weight: 600;
}

.entity-profile--holding-product {
    max-width: 960px;
    margin: 0 auto;
}

.entity-hero--product {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 55%);
    margin-bottom: 20px;
}

.entity-hero__compare {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.entity-hero--product:has(.entity-hero__compare) .holding-product__toolbar {
    padding-right: 120px;
}

.entity-hero--product .exchange-hero__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.entity-hero--product .entity-hero__org-link,
.entity-hero--product .entity-hero__org-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent, #ea580c);
    text-decoration: none;
}

.entity-hero--product h1 {
    margin: 6px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.15;
}

.holding-product__tags {
    margin-top: 16px;
}

.holding-product__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.holding-product__compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    cursor: not-allowed;
    opacity: 0.7;
}

.holding-product__panel {
    margin-bottom: 20px;
}

.holding-product__currency-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.holding-product__matrix .is-best-row td {
    background: #f0fdf4;
}

.holding-product__matrix .rate.is-best {
    color: #15803d;
}

.holding-product__matrix-action {
    text-align: right;
    white-space: nowrap;
}

.holding-product__matrix-placeholder {
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
}

.holding-product__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.entity-profile--holding-product .entity-panel {
    margin-bottom: 20px;
}

.holding-variant__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.holding-variant__stats .entity-stat {
    min-width: 120px;
    flex: 1 1 120px;
}

.holding-product__related {
    margin-top: 8px;
}

.holding-product__related .product-cards-grid {
    margin-top: 16px;
}

/* Grouped product card (catalog) */
.product-list-card--product-group .product-list-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
}

.product-list-card__badge-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.product-list-card__variants-note {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
}

@media (max-width: 640px) {
    .entity-hero--product {
        padding: 18px 16px 56px;
    }

    .entity-hero__compare {
        right: 16px;
        bottom: 16px;
    }

    .holding-product__matrix-action .btn {
        padding-inline: 10px;
    }

    .holding-compare-fab {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }

    .credit-compare-fab {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }

    body.has-site-chat .holding-compare-fab.is-visible {
        bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px);
    }

    body.has-site-chat .credit-compare-fab.is-visible {
        bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px);
    }

    .holding-compare-fab__label {
        display: none;
    }

    .credit-compare-fab__label {
        display: none;
    }

    .holding-compare-fab__btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }

    .credit-compare-fab__btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }

    .holding-compare-filters-panel .toolbar {
        padding-inline: 16px;
    }

    .holding-compare-filters__actions {
        width: 100%;
    }

    .holding-compare-filters__actions .btn {
        width: 100%;
    }
}

.holding-compare-toggle,
.credit-compare-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    user-select: none;
    padding: 4px 8px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border: 1px solid var(--border);
    transition: border-color 0.15s, background 0.15s;
}

.holding-compare-toggle:hover,
.credit-compare-toggle:hover {
    border-color: rgba(234, 88, 12, 0.35);
    background: #fff;
}

.holding-compare-toggle__input,
.credit-compare-toggle__input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--accent, #ea580c);
    flex-shrink: 0;
}

.product-list-card--product-group {
    position: relative;
    padding: 14px 16px;
}

.product-list-card--product-group .product-list-card__head {
    margin-bottom: 8px;
}

.product-list-card--product-group .product-list-card__title {
    font-size: 1rem;
    line-height: 1.3;
}

.product-list-card--product-group .product-list-card__link {
    gap: 8px;
}

.product-list-card--product-group .product-list-card__metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.product-list-card--product-group .product-list-card__metric {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface-alt, #f8fafc) 65%, transparent);
}

.product-list-card--product-group .product-list-card__metric-label {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
}

.product-list-card--product-group .product-list-card__metric strong {
    font-size: 0.9375rem;
    text-align: right;
}

.product-list-card--product-group .product-list-card__metric--accent strong {
    font-size: 1rem;
}

.product-list-card--product-group .product-list-card__badges {
    margin: 4px 0 0;
    gap: 4px;
}

.product-list-card--product-group .product-list-card__badge-chip {
    padding: 2px 7px;
    font-size: 0.6875rem;
}

.product-list-card--product-group .product-list-card__variants-note {
    margin: 2px 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
}

.product-list-card--product-group .product-list-card__cta {
    margin-top: 0;
    font-size: 0.875rem;
}

.product-list-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    min-width: 0;
}

.product-list-card__actions--solo {
    justify-content: flex-start;
}

.product-list-card__actions .product-list-card__cta {
    margin-top: 0;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
}

.product-list-card__actions .product-list-card__cta:hover {
    text-decoration: underline;
}

.product-list-card__compare {
    flex: 0 0 auto;
    z-index: 3;
    pointer-events: auto;
}

.product-list-card__actions .product-list-card__compare {
    margin: 0;
    padding: 0;
    border-top: none;
    display: flex;
    align-items: center;
}

.product-list-card--product-group .credit-compare-toggle,
.product-list-card--product-group .holding-compare-toggle {
    padding: 3px 7px;
    font-size: 0.75rem;
    gap: 5px;
    white-space: nowrap;
}

.page-hero--holdings {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
}

.page-hero--holdings .page-hero__main {
    flex: 1 1 280px;
    min-width: 0;
}

/* Floating compare FAB (global, like AI chat) */
.holding-compare-fab {
    position: fixed;
    right: max(28px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
    z-index: 1203;
    display: none;
    align-items: center;
    gap: 10px;
}

.holding-compare-fab[hidden] {
    display: none !important;
}

.holding-compare-fab.is-visible {
    display: flex !important;
}

body.has-site-chat .holding-compare-fab.is-visible {
    bottom: calc(max(28px, env(safe-area-inset-bottom)) + 72px);
}

body.has-site-chat.has-holding-compare .site-chat-widget {
    bottom: max(28px, env(safe-area-inset-bottom));
}

.holding-compare-fab__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px 0 12px;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.holding-compare-fab__btn--table {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.holding-compare-fab__btn--table:hover {
    transform: translateY(-2px);
    border-color: rgba(234, 88, 12, 0.35);
    color: var(--text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.holding-compare-fab__btn--ai {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(255, 138, 22, 0.82) 0%, rgba(249, 115, 22, 0.82) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.42);
    animation: compare-fab-enter 0.45s ease both;
}

.holding-compare-fab__btn--ai::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
    animation: compare-fab-pulse 2.6s ease-out 1s infinite;
    pointer-events: none;
}

.holding-compare-fab__btn--ai:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, rgba(255, 138, 22, 0.96) 0%, rgba(249, 115, 22, 0.96) 100%);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.55);
    color: #fff;
}

.holding-compare-fab__btn--ai:disabled,
.holding-compare-fab__btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.holding-compare-fab__btn--ai.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.holding-compare-fab__btn--table .holding-compare-fab__icon {
    background: #fff7ed;
    color: #ea580c;
}

.page-hero--compare {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
}

.page-hero--compare .page-hero__main {
    flex: 1 1 280px;
    min-width: 0;
}

.holding-compare-page-ai {
    flex: 0 0 auto;
    align-self: center;
}

.holding-compare-fab__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
    line-height: 1;
}

.holding-compare-fab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1;
}

.holding-compare-fab__clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.holding-compare-fab.is-visible .holding-compare-fab__clear {
    display: inline-flex;
}

.holding-compare-fab__clear:hover {
    background: #fff7ed;
    color: #ea580c;
    transform: scale(1.05);
}

@keyframes compare-fab-enter {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes compare-fab-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -5px; }
}

@keyframes compare-fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); opacity: 0.85; }
    70% { box-shadow: 0 0 0 18px rgba(249, 115, 22, 0); opacity: 0; }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .holding-compare-fab__btn,
    .holding-compare-fab__btn::before {
        animation: none !important;
    }
}

.holding-compare-filters-panel {
    margin-bottom: 20px;
    padding: 0;
    overflow: visible;
}

.holding-compare-filters-panel .toolbar {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.holding-compare-filters__actions {
    flex: 0 0 auto;
    align-self: flex-end;
}

.holding-compare-page {
    margin-bottom: 24px;
}

.holding-compare-panel {
    padding: 0;
    overflow: hidden;
}

.holding-compare-panel .entity-panel__title {
    padding: 18px 20px 0;
    margin-bottom: 0;
}

.holding-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 12px;
}

.holding-compare-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.holding-compare-table th,
.holding-compare-table td {
    vertical-align: top;
}

.holding-compare-table__product-col {
    min-width: 190px;
    max-width: 260px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.holding-compare-table__label-col {
    min-width: 148px;
    max-width: 180px;
    font-weight: 600;
    background: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 4px 0 8px -4px rgba(15, 23, 42, 0.08);
}

.holding-compare-table thead .holding-compare-table__label-col {
    z-index: 3;
}

.holding-compare-table__logo {
    width: 48px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin-bottom: 6px;
}

.holding-compare-table__bank {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
}

.holding-compare-table__product {
    display: block;
    font-weight: 700;
    margin-top: 2px;
}

.holding-compare-table__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.holding-compare-table__missing {
    color: var(--text-muted, #94a3b8);
    font-size: 0.875rem;
}

/* Inline AI analysis on compare page */
.holding-compare-ai-panel {
    margin-top: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 55%);
    border: 1px solid rgba(234, 88, 12, 0.18);
}

.holding-compare-ai-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 16px;
}

.holding-compare-ai-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.holding-compare-ai-panel__icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a16 0%, #f97316 100%);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.holding-compare-ai-panel__lead {
    margin: 8px 0 0;
    color: var(--text-muted, #64748b);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 720px;
}

.holding-compare-ai-panel__body {
    min-height: 48px;
}

.holding-compare-ai-panel__loading {
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(234, 88, 12, 0.25);
    color: var(--text-muted, #64748b);
    font-size: 0.9375rem;
}

.holding-compare-ai-panel__error {
    padding: 16px 18px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.9375rem;
}

.holding-compare-ai-panel__content {
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    font-size: 0.96875rem;
    line-height: 1.75;
    color: var(--text);
}

.holding-compare-ai-panel__content p {
    margin: 0 0 14px;
}

.holding-compare-ai-panel__content p:last-child {
    margin-bottom: 0;
}

.holding-compare-ai-list {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
}

.holding-compare-ai-list:last-child {
    margin-bottom: 0;
}

.holding-compare-ai-list li {
    margin: 0 0 6px;
    padding-left: 0;
}

.holding-compare-ai-list li::before {
    content: '• ';
    color: var(--text);
}

.holding-compare-ai-list li:last-child {
    margin-bottom: 0;
}

.holding-compare-ai-list a {
    color: var(--accent, #ea580c);
    font-weight: 600;
    text-decoration: none;
}

.holding-compare-ai-list a:hover {
    text-decoration: underline;
}

.holding-compare-ai-panel__content a {
    color: var(--accent, #ea580c);
    font-weight: 600;
}

.holding-compare-ai-panel__disclaimer {
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

.holding-compare-ai-panel__cached {
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

.holding-compare-ai-panel.is-loading .holding-compare-ai-panel__refresh {
    opacity: 0.6;
}

/* Floating compare FAB (global, like AI chat) */
.credit-compare-fab {
    position: fixed;
    right: max(28px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
    z-index: 1203;
    display: none;
    align-items: center;
    gap: 10px;
}

.credit-compare-fab[hidden] {
    display: none !important;
}

.credit-compare-fab.is-visible {
    display: flex !important;
}

body.has-site-chat .credit-compare-fab.is-visible {
    bottom: calc(max(28px, env(safe-area-inset-bottom)) + 72px);
}

body.has-site-chat.has-credit-compare .site-chat-widget {
    bottom: max(28px, env(safe-area-inset-bottom));
}

.credit-compare-fab__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px 0 12px;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.credit-compare-fab__btn--table {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.credit-compare-fab__btn--table:hover {
    transform: translateY(-2px);
    border-color: rgba(234, 88, 12, 0.35);
    color: var(--text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.credit-compare-fab__btn--ai {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(255, 138, 22, 0.82) 0%, rgba(249, 115, 22, 0.82) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.42);
    animation: compare-fab-enter 0.45s ease both;
}

.credit-compare-fab__btn--ai::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
    animation: compare-fab-pulse 2.6s ease-out 1s infinite;
    pointer-events: none;
}

.credit-compare-fab__btn--ai:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, rgba(255, 138, 22, 0.96) 0%, rgba(249, 115, 22, 0.96) 100%);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.55);
    color: #fff;
}

.credit-compare-fab__btn--ai:disabled,
.credit-compare-fab__btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.credit-compare-fab__btn--ai.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.credit-compare-fab__btn--table .credit-compare-fab__icon {
    background: #fff7ed;
    color: #ea580c;
}

.page-hero--compare {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
}

.page-hero--compare .page-hero__main {
    flex: 1 1 280px;
    min-width: 0;
}

.credit-compare-page-ai {
    flex: 0 0 auto;
    align-self: center;
}

.credit-compare-fab__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
    line-height: 1;
}

.credit-compare-fab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1;
}

.credit-compare-fab__clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.credit-compare-fab.is-visible .credit-compare-fab__clear {
    display: inline-flex;
}

.credit-compare-fab__clear:hover {
    background: #fff7ed;
    color: #ea580c;
    transform: scale(1.05);
}

@keyframes compare-fab-enter {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes compare-fab-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -5px; }
}

@keyframes compare-fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); opacity: 0.85; }
    70% { box-shadow: 0 0 0 18px rgba(249, 115, 22, 0); opacity: 0; }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .credit-compare-fab__btn,
    .credit-compare-fab__btn::before {
        animation: none !important;
    }
}

.credit-compare-filters-panel {
    margin-bottom: 20px;
    padding: 0;
    overflow: visible;
}

.credit-compare-filters-panel .toolbar {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.credit-compare-filters__actions {
    flex: 0 0 auto;
    align-self: flex-end;
}

.credit-compare-page {
    margin-bottom: 24px;
}

.credit-compare-panel {
    padding: 0;
    overflow: hidden;
}

.credit-compare-panel .entity-panel__title {
    padding: 18px 20px 0;
    margin-bottom: 0;
}

.credit-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 12px;
}

.credit-compare-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.credit-compare-table th,
.credit-compare-table td {
    vertical-align: top;
}

.credit-compare-table__product-col {
    min-width: 190px;
    max-width: 260px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.credit-compare-table__label-col {
    min-width: 148px;
    max-width: 180px;
    font-weight: 600;
    background: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 4px 0 8px -4px rgba(15, 23, 42, 0.08);
}

.credit-compare-table thead .credit-compare-table__label-col {
    z-index: 3;
}

.credit-compare-table__logo {
    width: 48px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin-bottom: 6px;
}

.credit-compare-table__bank {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted, #64748b);
}

.credit-compare-table__product {
    display: block;
    font-weight: 700;
    margin-top: 2px;
}

.credit-compare-table__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.credit-compare-table__missing {
    color: var(--text-muted, #94a3b8);
    font-size: 0.875rem;
}

/* Inline AI analysis on compare page */
.credit-compare-ai-panel {
    margin-top: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 55%);
    border: 1px solid rgba(234, 88, 12, 0.18);
}

.credit-compare-ai-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 16px;
}

.credit-compare-ai-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.credit-compare-ai-panel__icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a16 0%, #f97316 100%);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.credit-compare-ai-panel__lead {
    margin: 8px 0 0;
    color: var(--text-muted, #64748b);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 720px;
}

.credit-compare-ai-panel__body {
    min-height: 48px;
}

.credit-compare-ai-panel__loading {
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(234, 88, 12, 0.25);
    color: var(--text-muted, #64748b);
    font-size: 0.9375rem;
}

.credit-compare-ai-panel__error {
    padding: 16px 18px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.9375rem;
}

.credit-compare-ai-panel__content {
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    font-size: 0.96875rem;
    line-height: 1.75;
    color: var(--text);
}

.credit-compare-ai-panel__content p {
    margin: 0 0 14px;
}

.credit-compare-ai-panel__content p:last-child {
    margin-bottom: 0;
}

.credit-compare-ai-list {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
}

.credit-compare-ai-list:last-child {
    margin-bottom: 0;
}

.credit-compare-ai-list li {
    margin: 0 0 6px;
    padding-left: 0;
}

.credit-compare-ai-list li::before {
    content: '• ';
    color: var(--text);
}

.credit-compare-ai-list li:last-child {
    margin-bottom: 0;
}

.credit-compare-ai-list a {
    color: var(--accent, #ea580c);
    font-weight: 600;
    text-decoration: none;
}

.credit-compare-ai-list a:hover {
    text-decoration: underline;
}

.credit-compare-ai-panel__content a {
    color: var(--accent, #ea580c);
    font-weight: 600;
}

.credit-compare-ai-panel__disclaimer {
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

.credit-compare-ai-panel__cached {
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
}

.credit-compare-ai-panel.is-loading .credit-compare-ai-panel__refresh {
    opacity: 0.6;
}

.credit-compare-ai-section,
.holding-compare-ai-section {
    margin: 20px 0 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text, #0f172a);
}

.credit-compare-ai-section:first-child,
.holding-compare-ai-section:first-child {
    margin-top: 0;
}

.credit-compare-ai-product,
.holding-compare-ai-product {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.credit-compare-ai-product:last-child,
.holding-compare-ai-product:last-child {
    margin-bottom: 0;
}

.credit-compare-ai-product__title,
.holding-compare-ai-product__title {
    margin: 0 0 6px;
    font-size: 0.9875rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text, #0f172a);
}

.credit-compare-ai-product__intro,
.holding-compare-ai-product__intro {
    margin: 0 0 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted, #475569);
}

.credit-compare-ai-product__link,
.holding-compare-ai-product__link {
    margin: 0 0 10px;
    font-size: 0.875rem;
}

.credit-compare-ai-product__link a,
.holding-compare-ai-product__link a {
    font-weight: 600;
}

.credit-compare-ai-list,
.holding-compare-ai-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.credit-compare-ai-list li,
.holding-compare-ai-list li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 16px;
    line-height: 1.55;
}

.credit-compare-ai-list li:last-child,
.holding-compare-ai-list li:last-child {
    margin-bottom: 0;
}

.credit-compare-ai-list li::before,
.holding-compare-ai-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent, #ea580c);
    font-weight: 700;
}

.credit-compare-ai-text,
.holding-compare-ai-text {
    margin: 0 0 12px;
    line-height: 1.65;
}

.credit-compare-ai-text:last-child,
.holding-compare-ai-text:last-child {
    margin-bottom: 0;
}

body.has-holding-compare.has-credit-compare .credit-compare-fab.is-visible {
    bottom: calc(max(28px, env(safe-area-inset-bottom)) + 64px);
}

body.has-site-chat.has-holding-compare.has-credit-compare .credit-compare-fab.is-visible {
    bottom: calc(max(28px, env(safe-area-inset-bottom)) + 136px);
}

.detail-card__toolbar {
    margin-top: 12px;
}

.entity-profile--credit-product {
    max-width: 960px;
    margin: 0 auto;
}

.entity-profile--credit-product .entity-panel {
    margin-top: 20px;
}

.entity-panel--contacts .entity-contact-cards {
    margin-top: 2px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.entity-contact-cards .exchange-contact-card__value {
    word-break: normal;
    overflow-wrap: break-word;
}

.entity-contact-cards .exchange-contact-card--website .exchange-contact-card__value {
    overflow-x: auto;
    scrollbar-width: thin;
}

.entity-contact-cards .exchange-contact-card--website .exchange-contact-card__value a {
    white-space: nowrap;
}

.entity-contact-cards .exchange-contact-card--wide .exchange-contact-card__value {
    line-height: 1.65;
}

.product-picker-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.product-picker-tabs__tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.product-picker-tabs__tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-picker-tabs__tab.is-active {
    border-color: var(--primary);
    background: var(--paid-soft, #fef1e2);
    color: var(--primary-dark, var(--primary));
}

.product-picker-shell {
    padding: clamp(14px, 2vw, 20px);
    margin-bottom: 20px;
}

.product-picker-shell__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
}

.product-picker-controls-panel {
    display: grid;
    gap: 14px;
    padding: clamp(14px, 2vw, 18px);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(254, 241, 226, 0.45) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.product-picker-core {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 0;
}

.product-picker-block {
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-picker-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.product-picker-block__head .product-picker-field__label {
    margin-bottom: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.product-picker-block__value {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 800;
    color: var(--primary-dark, var(--primary));
    white-space: nowrap;
}

.product-picker-field--with-range {
    display: grid;
    gap: 10px;
}

.product-picker-range {
    display: grid;
    gap: 8px;
    padding-top: 4px;
}

.product-picker-range__scale {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-picker-section {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.product-picker-section__label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
}

.product-picker-advanced__body {
    display: grid;
    gap: 14px;
    padding-top: 12px;
}

.product-picker-advanced__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-picker-sliders {
    display: grid;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px dashed var(--border);
}

.product-picker-advanced {
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.product-picker-form__head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.product-picker-form__title {
    margin: 0 0 6px;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.product-picker-form__lead {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.55;
}

.product-picker-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.product-picker-presets__chip {
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    font: inherit;
    padding: 8px 14px;
    font-size: 0.875rem;
    border-radius: 999px;
}

.product-picker-presets__chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.product-picker-field {
    margin-bottom: 0;
}

.product-picker-field--inline .product-picker-field__label {
    margin-bottom: 6px;
}

.product-picker-field--compact {
    margin-bottom: 0;
}

.product-picker-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.product-picker-field__control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    padding: 4px 12px;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-alt, #fafafa);
}

.product-picker-field__control--sum {
    font-size: 1.0625rem;
}

.product-picker-field__control--sum .product-picker-field__input {
    font-size: 1.0625rem;
    font-weight: 700;
}

.product-picker-field__control--term {
    padding: 0 12px;
    border: 1px solid var(--border);
    background: var(--surface-alt, #fafafa);
}

.product-picker-field__control--term .product-picker-field__input {
    width: 100%;
}

.product-picker-field__prefix,
.product-picker-field__suffix {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-picker-field__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.product-picker-field__input:focus {
    outline: none;
    box-shadow: none;
}

.product-picker-field__range {
    width: 100%;
    height: 6px;
    accent-color: var(--primary);
    cursor: pointer;
}

.product-picker-field__range--lg {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.product-picker-field__range--lg:focus {
    outline: none;
}

.product-picker-field__range--lg:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.22);
}

.product-picker-field__range--lg::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(232, 119, 34, 0.18) 0%, rgba(232, 119, 34, 0.08) 100%);
    border: 1px solid rgba(232, 119, 34, 0.12);
}

.product-picker-field__range--lg::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    margin-top: -8px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(232, 119, 34, 0.35);
}

.product-picker-field__range--lg::-moz-range-track {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(232, 119, 34, 0.18) 0%, rgba(232, 119, 34, 0.08) 100%);
    border: 1px solid rgba(232, 119, 34, 0.12);
}

.product-picker-field__range--lg::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 10px rgba(232, 119, 34, 0.35);
}

.product-picker-currencies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-picker-currencies__chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.product-picker-currencies__chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-picker-currencies__chip.is-active,
.product-picker-currencies__chip:has(input:checked) {
    border-color: var(--primary);
    background: var(--paid-soft, #fef1e2);
    color: var(--primary-dark, var(--primary));
}

.product-picker-field--compact .form-field__label {
    margin-bottom: 8px;
}

.product-picker-form__disclaimer {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.product-picker-summary {
    padding: clamp(14px, 1.8vw, 18px);
    border-radius: 14px;
    background: var(--surface-alt, #fef1e2);
    border: 1px solid #f0dcc4;
    position: sticky;
    top: 16px;
}

.product-picker-summary--compact {
    display: grid;
    gap: 12px;
}

.product-picker-summary__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.product-picker-summary__hero {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.product-picker-summary__hero-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-picker-summary__hero-value {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.product-picker-summary__hero-note {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-picker-summary__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.product-picker-summary__meta-item {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.product-picker-summary__meta-item dt {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--text-muted);
}

.product-picker-summary__meta-item dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}

.product-picker-summary__disclaimer {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.product-picker-summary__title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
}

.product-picker-summary__stats {
    margin: 0 0 18px;
    padding: 0;
}

.product-picker-summary__stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.product-picker-summary__stat:first-child {
    padding-top: 0;
}

.product-picker-summary__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-picker-summary__stat dt {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-picker-summary__stat dd {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text);
    text-align: right;
}

.product-picker-summary__stat--highlight {
    grid-template-columns: 1fr;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.product-picker-summary__stat--highlight dd {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    text-align: left;
    line-height: 1.15;
}

.product-picker-summary__stat-note {
    grid-column: 1 / -1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-picker-summary__submit {
    width: 100%;
    min-height: 42px;
}

.product-picker-summary__hint {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.product-picker-form__reset {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-picker-results {
    margin-top: 4px;
}

.product-picker-results .section-head {
    margin-bottom: 14px;
}

.product-picker-results .section-head--compact {
    margin-bottom: 12px;
}

.product-picker-empty {
    margin-top: 12px;
    padding: 20px;
}

@media (max-width: 900px) {
    .product-picker-shell__grid {
        grid-template-columns: 1fr;
    }

    .product-picker-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-picker-advanced__grid,
    .product-picker-summary__meta {
        grid-template-columns: 1fr;
    }

    .product-picker-controls-panel,
    .product-picker-summary {
        padding: 12px 8px;
    }

    .product-picker-block {
        padding: 12px 10px;
    }
}

/* Compare page — mobile card layout (replaces horizontal table) */
.compare-mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    .credit-compare-table-wrap,
    .holding-compare-table-wrap {
        display: none;
    }

    .compare-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 0 8px;
    }

    .compare-mobile-card {
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--surface);
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    }

    .compare-mobile-card__head {
        padding: 14px;
        border-bottom: 1px solid var(--border);
        background: linear-gradient(180deg, rgba(254, 241, 226, 0.55) 0%, #fff 100%);
    }

    .compare-mobile-card__logo {
        width: 48px;
        height: 32px;
        object-fit: contain;
        display: block;
        margin-bottom: 8px;
    }

    .compare-mobile-card__bank {
        display: block;
        font-size: 0.8125rem;
        color: var(--text-muted, #64748b);
    }

    .compare-mobile-card__product {
        margin: 4px 0 0;
        font-size: 1rem;
        line-height: 1.35;
        font-weight: 700;
    }

    .compare-mobile-card__missing {
        margin: 0;
        padding: 16px 14px;
        color: var(--text-muted, #94a3b8);
        font-size: 0.9375rem;
    }

    .compare-mobile-card__params {
        margin: 0;
    }

    .compare-mobile-card__row {
        display: grid;
        grid-template-columns: minmax(108px, 38%) 1fr;
        gap: 10px 12px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--border);
        align-items: start;
    }

    .compare-mobile-card__row:last-child {
        border-bottom: none;
    }

    .compare-mobile-card__label {
        margin: 0;
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--text-muted, #64748b);
        line-height: 1.4;
    }

    .compare-mobile-card__value {
        margin: 0;
        font-size: 0.9375rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .compare-mobile-card__value .rate {
        font-size: 1.0625rem;
        font-weight: 700;
    }

    .compare-mobile-card__actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px 14px;
        border-top: 1px solid var(--border);
        background: #fafafa;
    }

    .compare-mobile-card__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .credit-compare-panel,
    .holding-compare-panel {
        overflow: visible;
    }

    .credit-compare-panel .entity-panel__title,
    .holding-compare-panel .entity-panel__title {
        padding: 14px 0 0;
    }

    .credit-compare-filters-panel .toolbar,
    .holding-compare-filters-panel .toolbar {
        padding-inline: 0;
    }

    .credit-compare-filters,
    .holding-compare-filters {
        gap: 12px;
    }

    .credit-compare-filters__actions,
    .holding-compare-filters__actions {
        width: 100%;
        align-self: stretch;
    }

    .credit-compare-filters__actions .btn,
    .holding-compare-filters__actions .btn {
        width: 100%;
    }

    .credit-compare-ai-panel,
    .holding-compare-ai-panel {
        padding: 16px 12px;
    }

    .credit-compare-ai-panel__head,
    .holding-compare-ai-panel__head {
        flex-direction: column;
        align-items: stretch;
    }

    .credit-compare-ai-panel__refresh,
    .holding-compare-ai-panel__refresh {
        align-self: flex-start;
    }
}
