.resource-discovery-card {
            background: var(--theme-card-bg, #ffffff);
            border: 1px solid var(--theme-card-border, var(--theme-border, #dbe3ea));
            border-radius: 18px;
            box-shadow: 0 10px 28px color-mix(in srgb, var(--theme-heading, #0f172a) 8%, transparent);
            display: flex;
            flex-direction: column;
            height: 100%;
            min-width: 0;
            overflow: hidden;
            transition: box-shadow .2s ease, transform .2s ease;
        }

        .resource-discovery-card:hover {
            box-shadow: 0 17px 38px color-mix(in srgb, var(--theme-heading, #0f172a) 13%, transparent);
            transform: translateY(-2px);
        }

        .resource-discovery-main {
            align-items: center;
            color: var(--theme-heading, #0f172a);
            display: grid;
            gap: 14px;
            grid-template-columns: 48px minmax(0, 1fr) 34px;
            min-height: 124px;
            padding: 18px;
            text-decoration: none;
        }

        .resource-discovery-main:hover,
        .resource-discovery-main:focus {
            color: var(--theme-heading, #0f172a);
            text-decoration: none;
        }

        .resource-discovery-icon,
        .resource-discovery-arrow {
            align-items: center;
            display: inline-flex;
            justify-content: center;
        }

        .resource-discovery-icon {
            background: color-mix(in srgb, var(--theme-primary, #0f766e) 10%, var(--theme-card-bg, #ffffff));
            border-radius: 14px;
            color: var(--theme-primary, #0f766e);
            font-size: 22px;
            height: 48px;
            width: 48px;
        }

        .resource-discovery-copy { min-width: 0; }
        .resource-discovery-kicker {
            color: var(--theme-text, #64748b);
            display: block;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .045em;
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        .resource-discovery-title {
            color: var(--theme-heading, #0f172a);
            font-size: 1.03rem;
            font-weight: 850;
            line-height: 1.32;
            margin: 0;
            overflow-wrap: anywhere;
        }
        .resource-discovery-description {
            color: var(--theme-text, #64748b);
            display: block;
            font-size: 12.5px;
            line-height: 1.45;
            margin-top: 6px;
        }

        .resource-discovery-arrow {
            background: color-mix(in srgb, var(--theme-heading, #0f172a) 5%, var(--theme-card-bg, #ffffff));
            border-radius: 10px;
            color: var(--theme-heading, #0f172a);
            font-size: 18px;
            height: 34px;
            transition: background-color .18s ease, color .18s ease, transform .18s ease;
            width: 34px;
        }
        .resource-discovery-main:hover .resource-discovery-arrow,
        .resource-discovery-main:focus .resource-discovery-arrow {
            background: var(--theme-primary, #0f766e);
            color: var(--theme-button-text, #ffffff);
            transform: translateX(2px);
        }

        .resource-discovery-actions {
            background: color-mix(in srgb, var(--theme-heading, #0f172a) 2.5%, var(--theme-card-bg, #ffffff));
            display: grid;
            gap: 8px;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            margin-top: auto;
            padding: 12px;
        }
        .resource-discovery-action {
            align-items: center;
            background: var(--theme-card-bg, #ffffff);
            border: 1px solid var(--theme-border, #dbe3ea);
            border-radius: 11px;
            color: var(--theme-heading, #0f172a);
            display: inline-flex;
            font-size: 12px;
            font-weight: 800;
            gap: 7px;
            min-height: 42px;
            min-width: 0;
            padding: 9px 10px;
            text-decoration: none;
        }
        .resource-discovery-action span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .resource-discovery-action i { color: var(--theme-primary, #0f766e); flex: 0 0 auto; font-size: 16px; }
        .resource-discovery-action.is-pyp i { color: var(--theme-secondary, #e87918); }
        .resource-discovery-action.is-analysis i { color: var(--theme-success, #067647); }
        .resource-discovery-action.is-predictor i { color: var(--theme-danger, #d92d20); }
        .resource-discovery-action.is-updates i { color: var(--theme-primary, #0f766e); }
        .resource-discovery-action.is-exams i { color: color-mix(in srgb, var(--theme-primary, #0f766e) 58%, var(--theme-secondary, #e87918)); }
        .resource-discovery-action .resource-action-arrow { margin-left: auto; }
        .resource-discovery-action:hover,
        .resource-discovery-action:focus {
            background: color-mix(in srgb, var(--theme-heading, #0f172a) 4%, var(--theme-card-bg, #ffffff));
            color: var(--theme-heading, #0f172a);
            text-decoration: none;
        }
        .resource-discovery-action:hover,
        .resource-discovery-action:focus {
            border-color: color-mix(in srgb, var(--theme-primary, #0f766e) 34%, var(--theme-border, #dbe3ea));
            box-shadow: 0 7px 16px color-mix(in srgb, var(--theme-heading, #0f172a) 8%, transparent);
            transform: translateY(-1px);
        }
        @media (max-width: 575.98px) {
            .resource-discovery-main {
                gap: 12px;
                grid-template-columns: 44px minmax(0, 1fr) 32px;
                min-height: 108px;
                padding: 15px;
            }
            .resource-discovery-icon { font-size: 20px; height: 44px; width: 44px; }
            .resource-discovery-arrow { height: 32px; width: 32px; }
            .resource-discovery-actions { grid-template-columns: 1fr; padding: 10px; }
            .resource-discovery-action span { white-space: normal; }
        }
