.nav-products-preview {
    display: flex;
    width: 480px;
    flex-shrink: 0;
    flex-direction: column;
    padding: 0.75rem;
    box-sizing: border-box;
}
.nav-products-preview-media {
    position: relative;
    flex: 1 1 auto;
    min-height: 280px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(120% 90% at 15% 0%, rgba(91, 33, 182, 0.35), transparent 55%),
        radial-gradient(90% 80% at 100% 100%, rgba(249, 115, 22, 0.18), transparent 50%),
        rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem 1.1rem;
    pointer-events: auto;
}
.nav-products-preview-media video,
.nav-products-preview-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.nav-products-preview-media.has-media video,
.nav-products-preview-media.has-media img { display: block; }
.nav-products-preview-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 100%;
}
.nav-products-preview-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}
.nav-products-preview-hint {
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
}

.nav-feed-ide {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    background: rgb(30, 30, 30);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11.5px;
    line-height: 1.55;
    color: rgb(212, 212, 212);
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none !important;
}
.nav-feed-ide,
.nav-feed-ide * { pointer-events: none !important; }
.nav-products-preview-media.is-threat-ide .nav-feed-ide { display: flex; }
.nav-products-preview-media.is-threat-ide .nav-products-preview-placeholder { display: none; }
.nav-products-preview-media.is-threat-ide video { display: none !important; }
.nav-feed-ide-titlebar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 28px;
    padding: 0 0.65rem;
    background: rgb(50, 50, 51);
    border-bottom: 1px solid rgb(26, 26, 26);
    flex-shrink: 0;
}
.nav-feed-ide-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.nav-feed-ide-dot--r { background: rgb(255, 95, 87); }
.nav-feed-ide-dot--y { background: rgb(254, 188, 46); }
.nav-feed-ide-dot--g { background: rgb(40, 200, 64); }
.nav-feed-ide-title { margin-left: 0.35rem; font-size: 10.5px; color: rgb(204, 204, 204); }
.nav-feed-ide-body { display: flex; flex: 1; min-height: 0; }
.nav-feed-ide-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: rgb(30, 30, 30); }
.nav-feed-ide-tabs {
    display: flex; height: 28px; background: rgb(37, 37, 38);
    border-bottom: 1px solid rgb(30, 30, 30); flex-shrink: 0;
}
.nav-feed-ide-tab {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0 0.75rem; font-size: 10.5px; color: rgb(150, 150, 150);
    border-right: 1px solid rgb(30, 30, 30); background: rgb(45, 45, 45);
}
.nav-feed-ide-tab.is-active { background: rgb(30, 30, 30); color: rgb(255, 255, 255); }
.nav-feed-ide-editor { flex: 1; min-height: 0; display: flex; overflow: hidden; }
.nav-feed-ide-gutter {
    flex-shrink: 0; width: 2.35rem; padding: 0.55rem 0.4rem 0.55rem 0;
    text-align: right; color: rgb(133, 133, 133); background: rgb(30, 30, 30);
    border-right: 1px solid rgb(42, 42, 42); line-height: 1.55; font-size: 11px;
}
.nav-feed-ide-gutter-line {
    display: block; height: 1.55em; line-height: 1.55; font-size: 11px; color: rgb(133, 133, 133);
}
.nav-feed-ide-code {
    flex: 1; min-width: 0; padding: 0.55rem 0.7rem;
    overflow: hidden; white-space: pre; line-height: 1.55;
}
.nav-feed-ide-line {
    min-height: 1.55em; line-height: 1.55;
    opacity: 0; transform: translateY(4px);
    animation: nav-feed-line-in 0.28s ease forwards;
}
@keyframes nav-feed-line-in { to { opacity: 1; transform: translateY(0); } }
.nav-feed-ide-line .c-comment { color: rgb(106, 153, 85); }
.nav-feed-ide-line .c-key { color: rgb(156, 220, 254); }
.nav-feed-ide-line .c-str { color: rgb(206, 145, 120); }
.nav-feed-ide-line .c-kw { color: rgb(197, 134, 192); }
.nav-feed-ide-line .c-punct { color: rgb(212, 212, 212); }
.nav-feed-ide-line .c-ip { color: rgb(79, 193, 255); font-weight: 500; }
.nav-feed-ide-line .c-domain { color: rgb(215, 186, 125); }
.nav-feed-ide-line .c-ok { color: rgb(78, 201, 176); }
.nav-feed-ide-cursor {
    display: inline-block; width: 7px; height: 1.05em;
    background: rgb(174, 175, 173); vertical-align: text-bottom; margin-left: 1px;
    animation: nav-feed-blink 1s step-end infinite;
}
@keyframes nav-feed-blink { 50% { opacity: 0; } }
.nav-feed-ide-statusbar {
    display: flex; align-items: center; justify-content: space-between;
    height: 22px; padding: 0 0.55rem; background: rgb(0, 122, 204); color: rgb(255, 255, 255);
    font-size: 10px; flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
    .nav-feed-ide-line { animation: none; opacity: 1; transform: none; }
    .nav-feed-ide-cursor { animation: none; }
}
@media (max-width: 860px) {
    .nav-dropdown-panel--products { left: auto; right: 0; transform: translateX(0) translateY(0); }
    .nav-dropdown:hover > .nav-dropdown-panel--products,
    .nav-dropdown.is-products-open > .nav-dropdown-panel--products {
        transform: translateX(0) translateY(0) !important;
    }
    .nav-products-preview { width: min(360px, 48vw); }
    .nav-products-preview-media { min-height: 220px; }
}
@media (max-width: 720px) {
    .nav-products-preview { display: none; }
    .nav-products-list { width: 240px; }
}
.nav-mobile-products {
    margin: 0.2rem 0 0.4rem 0;
    padding: 0.15rem 0 0.15rem 0.55rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.nav-mobile-product-link {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
    padding: 0.7rem 0.75rem; border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.8); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
}
.nav-mobile-product-link:hover { background: rgba(255,255,255,0.06); color: rgb(255, 255, 255); }
.nav-mobile-product-link .nav-product-item-desc {
    font-size: 0.72rem; line-height: 1.4; color: rgba(255,255,255,0.42); font-weight: 400;
}
