.interest-sidebar-shell {
            min-width: 0;
            position: sticky;
            top: 96px;
        }
        .interest-sidebar-stack {
            display: grid;
            gap: 16px;
            min-width: 0;
        }
        .interest-sidebar-panel {
            background: var(--theme-card-bg, #ffffff);
            border: 1px solid var(--theme-card-border, var(--theme-border, #dbe3ea));
            border-radius: 16px;
            box-shadow: 0 12px 28px color-mix(in srgb, var(--theme-heading, #0f172a) 7%, transparent);
            min-width: 0;
            padding: 18px;
        }
        .interest-sidebar-title {
            color: var(--theme-heading, #0f172a);
            font-size: 1.05rem;
            font-weight: 850;
            line-height: 1.3;
            margin: 0 0 6px;
        }
        .interest-sidebar-copy {
            color: var(--theme-text, #64748b);
            font-size: .84rem;
            line-height: 1.5;
            margin: 0 0 14px;
        }
        .interest-sidebar-links { display: grid; gap: 9px; }
        .interest-sidebar-link {
            align-items: center;
            background: color-mix(in srgb, var(--theme-primary, #0f766e) 4%, var(--theme-card-bg, #ffffff));
            border: 1px solid var(--theme-card-border, var(--theme-border, #dbe3ea));
            border-radius: 12px;
            color: var(--theme-heading, #0f172a);
            display: grid;
            gap: 10px;
            grid-template-columns: 36px minmax(0, 1fr) 20px;
            min-height: 58px;
            padding: 10px;
            text-decoration: none;
            transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
        }
        .interest-sidebar-link:hover,
        .interest-sidebar-link:focus {
            background: color-mix(in srgb, var(--theme-primary, #0f766e) 8%, var(--theme-card-bg, #ffffff));
            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);
            color: var(--theme-heading, #0f172a);
            text-decoration: none;
            transform: translateY(-1px);
        }
        .interest-sidebar-icon {
            align-items: center;
            background: color-mix(in srgb, var(--theme-primary, #0f766e) 11%, var(--theme-card-bg, #ffffff));
            border-radius: 10px;
            color: var(--theme-primary, #0f766e);
            display: inline-flex;
            font-size: 1rem;
            height: 36px;
            justify-content: center;
            width: 36px;
        }
        .interest-sidebar-link.is-pyp .interest-sidebar-icon { color: var(--theme-secondary, #e87918); }
        .interest-sidebar-link.is-exam .interest-sidebar-icon { color: var(--theme-success, #067647); }
        .interest-sidebar-link.is-flashcard .interest-sidebar-icon { color: var(--theme-danger, #d92d20); }
        .interest-sidebar-link.is-analysis .interest-sidebar-icon { color: var(--theme-success, #067647); }
        .interest-sidebar-link.is-predictor .interest-sidebar-icon { color: var(--theme-danger, #d92d20); }
        .interest-sidebar-link.is-updates .interest-sidebar-icon { color: var(--theme-primary, #0f766e); }
        .interest-sidebar-content { min-width: 0; }
        .interest-sidebar-content strong {
            color: var(--theme-heading, #0f172a);
            display: block;
            font-size: .88rem;
            font-weight: 800;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }
        .interest-sidebar-type {
            color: var(--theme-primary, #0f766e);
            display: block;
            font-size: .68rem;
            font-weight: 850;
            letter-spacing: .045em;
            margin-top: 4px;
            text-transform: uppercase;
        }
        .interest-sidebar-reason {
            color: var(--theme-text, #64748b);
            display: block;
            font-size: .75rem;
            line-height: 1.35;
            margin-top: 3px;
        }
        .interest-sidebar-arrow {
            color: var(--theme-primary, #0f766e);
            font-size: 1.05rem;
            justify-self: end;
        }
        .interest-leader-row {
            align-items: center;
            border-bottom: 1px solid color-mix(in srgb, var(--theme-border, #dbe3ea) 72%, transparent);
            display: grid;
            gap: 9px;
            grid-template-columns: 32px minmax(0, 1fr) auto;
            padding: 10px 0;
        }
        .interest-leader-row:last-child { border-bottom: 0; padding-bottom: 0; }
        .interest-leader-rank {
            align-items: center;
            background: color-mix(in srgb, var(--theme-primary, #0f766e) 11%, var(--theme-card-bg, #ffffff));
            border-radius: 9px;
            color: var(--theme-primary, #0f766e);
            display: inline-flex;
            font-size: .76rem;
            font-weight: 850;
            height: 30px;
            justify-content: center;
            width: 30px;
        }
        .interest-leader-row:nth-of-type(2) .interest-leader-rank { color: var(--theme-secondary, #e87918); }
        .interest-leader-row:nth-of-type(3) .interest-leader-rank { color: var(--theme-success, #067647); }
        .interest-leader-name {
            color: var(--theme-heading, #0f172a);
            font-size: .84rem;
            font-weight: 750;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .interest-leader-score { color: var(--theme-primary, #0f766e); font-size: .79rem; font-weight: 850; }
        .interest-sidebar-empty { color: var(--theme-text, #64748b); font-size: .82rem; line-height: 1.5; margin: 0; }
        @media (max-width: 1199.98px) {
            .interest-sidebar-shell { position: static; }
        }
        @media (max-width: 767.98px) {
            .interest-sidebar-panel { padding: 15px; }
            .interest-sidebar-link { grid-template-columns: 34px minmax(0, 1fr) 18px; min-height: 54px; }
            .interest-sidebar-icon { height: 34px; width: 34px; }
        }
