    #bm-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.6); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; pointer-events: none; }
    #bm-backdrop.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
    .bm-capsule-wrapper { position: relative; z-index: 9999; font-family: inherit; }
    .bm-capsule { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; width: fit-content; color: #ffffff; height: 44px; box-sizing: border-box; }
    .bm-separator { width: 1px; height: 18px; background-color: rgba(255, 255, 255, 0.25); opacity: 1; margin: 0 2px; }
    .bm-action-btn { display: flex; align-items: center; justify-content: center; position: relative; width: 36px; height: 36px; border-radius: 50%; transition: all 0.2s ease; color: #ffffff !important; text-decoration: none !important; cursor: pointer; background: transparent; border: none; padding: 0; margin: 0; }
    .bm-action-btn:hover { background: transparent; transform: none; opacity: 0.72; }
    .bm-action-btn svg { width: 18px; height: 18px; display: block; }
    .bm-notif-badge { position: absolute; top: 4px; right: 4px; background: #ef4444; color: white; font-size: 10px; font-weight: bold; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #0f172a; opacity: 0; transform: scale(0); transition: 0.3s; }
    .bm-notif-badge.has-notifs { opacity: 1; transform: scale(1); }
    .bm-dropdown-wrap { position: relative; display: flex; align-items: center; height: 100%; }
    .bm-dropdown-box { position: absolute; top: 130%; right: 0; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 10000; color: #fff; text-align: left; }
    .bm-dropdown-box.is-active, .bm-dropdown-wrap.hover-trigger:hover .bm-dropdown-box { opacity: 1; visibility: visible; transform: translateY(0); }
    .bm-guest-menu { width: 180px; padding: 8px 0; }
    .bm-guest-menu a { padding: 10px 16px; color: #e5e7eb !important; text-decoration: none !important; font-size: 14px; display: flex; align-items: center; gap: 10px; transition: 0.2s; }
    .bm-guest-menu a:hover { background: rgba(255,255,255,0.08); color: #ffffff !important; }
    .bm-guest-menu a svg { width: 16px; height: 16px; opacity: 0.7; }
    .bm-search-panel { width: 720px; padding: 16px; right: -60px; max-height: 85vh; overflow-y: auto; }
    .bm-search-panel::-webkit-scrollbar { width: 6px; }
    .bm-search-panel::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 8px; }
    .bm-search-panel::-webkit-scrollbar-thumb { background: #444; border-radius: 8px; }
    .bm-search-panel::-webkit-scrollbar-thumb:hover { background: #666; }
    .bm-search-form { display: flex; gap: 8px; margin: 0; align-items: center; position: relative; }
    .bm-input-wrapper { position: relative; flex: 1; display: flex; align-items: center; }
    .bm-ai-icon { position: absolute; left: 12px; transform: translateY(-8px); width: 18px; height: 18px; object-fit: contain; z-index: 2; pointer-events: none; }
    .bm-search-form input[type="text"] { width: 100%; padding: 10px 14px 10px 38px; border-radius: 6px; border: 1px solid #444; background: #222; color: #fff !important; outline: none; font-size: 14px; transition: border-color 0.2s; height: 38px; box-sizing: border-box; }
    .bm-search-form input[type="text"]:focus { border-color: #60a5fa; background: #111; }
    .bm-search-form button.bm-submit-btn { background: transparent; color: #9ca3af !important; border: 1px solid #4b5563; border-radius: 6px; padding: 0 16px; cursor: pointer; font-weight: 500; font-size: 13px; transition: all 0.2s; height: 38px; }
    .bm-search-form button.bm-submit-btn:hover { border-color: #60a5fa; color: #60a5fa !important; background: rgba(96, 165, 250, 0.05); }
    .bm-search-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 0 4px; height: 26px; }
    .bm-ai-toggle-wrap { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #a78bfa; font-weight: 600; cursor: pointer; background: rgba(139, 92, 246, 0.1); padding: 4px 6px 4px 12px; border-radius: 20px; border: 1px solid rgba(139, 92, 246, 0.25); transition: background 0.3s ease, border-color 0.3s ease; }
    .bm-ai-toggle-wrap:hover { background: rgba(139, 92, 246, 0.18); border-color: rgba(139, 92, 246, 0.4); }
    .bm-ai-toggle { position: relative; width: 32px; height: 18px; background: #333; border-radius: 18px; transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); }
    .bm-ai-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #e5e7eb; border-radius: 50%; transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
    .bm-ai-toggle-wrap input:checked + .bm-ai-toggle { background: linear-gradient(90deg, #3b82f6, #8b5cf6); box-shadow: inset 0 1px 1px rgba(0,0,0,0.2), 0 0 8px rgba(139, 92, 246, 0.6); }
    .bm-ai-toggle-wrap input:checked + .bm-ai-toggle::after { transform: translateX(14px); background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
    .bm-ai-toggle-wrap input { display: none; }
    .bm-clear-text-btn { background: transparent; border: none; color: #6b7280; font-size: 12px; cursor: pointer; padding: 0; display: none; transition: 0.2s; }
    .bm-clear-text-btn:hover { color: #ef4444; }
    .bm-clear-text-btn.is-visible { display: block; }
    .bm-search-suggestions { margin-top: 16px; display: none; }
    .bm-search-suggestions.is-visible { display: block; }
    .bm-suggestions-title { font-size: 12px; color: #6b7280; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
    .bm-tags-wrapper { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
    .bm-tag { background: #2a2a2a; border: 1px solid #333; padding: 4px 10px; border-radius: 12px; font-size: 12px; color: #d1d5db; cursor: pointer; transition: 0.2s; }
    .bm-tag:hover { background: #3b82f6; border-color: #3b82f6; color: #fff; }
    .bm-proposed-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
    .bm-proposed-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #e5e7eb !important; font-size: 13px; padding: 6px 8px; border-radius: 6px; transition: 0.2s; }
    .bm-proposed-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
    .bm-proposed-item svg { width: 14px; height: 14px; color: #60a5fa; flex-shrink: 0; }
    .bm-ajax-results { margin-top: 12px; display: none; min-height: 100px; }
    .bm-ajax-results.has-results { display: block; }
    .bm-result-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px; border-radius: 8px; color: #e5e7eb !important; text-decoration: none !important; font-size: 14px; border: 1px solid transparent; border-bottom: 1px solid #2a2a2a; transition: all 0.2s; }
    .bm-result-item:last-child { border-bottom-color: transparent; }
    .bm-result-item:hover { background: rgba(255,255,255,0.05); color: #fff !important; }
    .bm-result-item.bm-gold-border { border: 1px solid rgba(212, 175, 55, 0.5); background: rgba(212, 175, 55, 0.05); }
    .bm-result-item.bm-gold-border:hover { background: rgba(212, 175, 55, 0.1); border-color: #d4af37; }
    .bm-result-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #333; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
    .bm-result-thumb svg { width: 20px; height: 20px; color: #666; }
    .bm-result-content { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: hidden; width: 100%; }
    .bm-result-text { line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
    .bm-result-excerpt { font-size: 12px; color: #9ca3af; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .bm-result-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #6b7280; margin-top: 2px; width: 100%; flex-wrap: wrap; }
    .bm-meta-item { display: flex; align-items: center; gap: 4px; }
    .bm-meta-item svg { width: 12px; height: 12px; }
    
    /* --- KOLOROWE ODZNAKI (BADGES) --- */
    .bm-badge { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; }
    .bm-badge.post { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
    .bm-badge.page { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
    .bm-badge.wiadomosci { background: rgba(16, 185, 129, 0.2); color: #34d399; }
    .bm-badge.manual { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
    .bm-badge.kalkulator { background: rgba(249, 115, 22, 0.2); color: #f97316; }
    .bm-badge.promocja { background: rgba(234, 179, 8, 0.2); color: #eab308; }
    .bm-badge.monitor-awarii { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
    .bm-badge.encyklopedia { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
    .bm-badge.konta { background: rgba(16, 185, 129, 0.2); color: #34d399; }
    .bm-badge.lokaty { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
    .bm-badge.pozyczki { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
    .bm-badge.ubezpieczenia { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
    .bm-badge.firma { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
    .bm-badge.aktualnosci { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
    .bm-badge.faq { background: rgba(107, 114, 128, 0.2); color: #9ca3af; }

    .bm-ai-result-box { background: linear-gradient(145deg, rgba(30, 58, 138, 0.15), rgba(88, 28, 135, 0.15)); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
    .bm-ai-result-header { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #a78bfa; text-transform: uppercase; letter-spacing: 0.5px; }
    .bm-ai-result-header svg { width: 14px; height: 14px; }
    .bm-ai-result-text { font-size: 12px; color: #e5e7eb; line-height: 1.4; }
    .bm-ai-result-quote { font-style: italic; color: #9ca3af; border-left: 2px solid #8b5cf6; padding-left: 8px; margin-top: 2px; font-size: 11px; }
    .bm-ai-result-source { font-size: 10px; color: #9ca3af !important; margin-top: 2px; text-align: right; }
    .bm-ai-result-source a { color: #e5e7eb !important; text-decoration: none; }
    .bm-ai-result-source a:hover { text-decoration: underline; }
    .bm-search-status { font-size: 13px; color: #9ca3af; text-align: center; padding: 30px 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .bm-loader { display: inline-block; width: 14px; height: 14px; border: 2px solid #60a5fa; border-bottom-color: transparent; border-radius: 50%; animation: bm-spin 0.8s linear infinite; }
    .bm-ai-loader { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 0deg, #ff4545, #00ff99, #006aff, #ff0095, #ff4545); animation: bm-spin 1s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff 0); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff 0); }
    @keyframes bm-spin { 100% { transform: rotate(360deg); } }
    .bm-pagination { display: flex; justify-content: center; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #333; }
    .bm-page-btn { background: transparent; border: none; color: #6b7280; cursor: pointer; font-size: 14px; font-weight: 500; transition: 0.2s; padding: 0 4px; }
    .bm-page-btn:hover:not(:disabled) { color: #fff; }
    .bm-page-btn.active { color: #3b82f6; font-weight: 700; pointer-events: none; border-bottom: 2px solid #3b82f6; }
    .bm-notif-panel { width: 360px; overflow: hidden; }
    .bm-notif-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #333; background: #222; }
    .bm-notif-header-left { display: flex; flex-direction: column; }
    .bm-notif-time-header { font-size: 10px; color: #9ca3af; font-weight: normal; margin-bottom: 2px; }
    .bm-notif-header span.title { font-weight: 600; font-size: 14px; color: #fff; }
    .bm-notif-header button { background: transparent; border: none; color: #3b82f6; font-size: 12px; cursor: pointer; padding: 0; }
    .bm-notif-body { padding: 0; max-height: 350px; overflow-y: auto; }
    .bm-notif-empty { padding: 40px 20px; text-align: center; color: #9ca3af; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .bm-notif-empty > svg { width: 48px; height: 48px; opacity: 0.3; margin-bottom: 10px; }
    .bm-notif-thumb { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #333; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
    .bm-notif-thumb svg { width: 16px; height: 16px; color: #666; }
    .bm-notif-new { color: #3b82f6; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-left: auto; }
    .bm-push-btn { margin: 15px auto; background: #3b82f6; color: white !important; border: none; padding: 8px 16px; border-radius: 6px; font-size: 12px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; width: fit-content; }
    .bm-push-btn:hover { background: #2563eb; color: white !important; }
    .bm-push-btn svg { width: 14px; height: 14px; }
    .bm-avatar-btn { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; border: 2px solid transparent; transition: all 0.2s; display: flex; margin-left: 4px; cursor: pointer; }
    .bm-avatar-btn:hover { border-color: #3b82f6; }
    .bm-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
    .bm-profile-card { width: 300px; padding: 0; overflow: hidden; }
    .bm-profile-header { display: flex; align-items: center; gap: 12px; padding: 20px; }
    .bm-profile-header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
    .bm-profile-header span { font-weight: 600; font-size: 16px; color: #fff; }
    .bm-profile-stats { display: flex; justify-content: space-between; padding: 0 20px 20px 20px; border-bottom: 1px solid #333; }
    .bm-stat-box { display: flex; flex-direction: column; text-align: center; flex: 1; }
    .bm-stat-num { font-weight: 700; font-size: 14px; color: #fff; }
    .bm-stat-label { font-size: 11px; color: #9ca3af; text-transform: uppercase; margin-top: 2px; }
    .bm-profile-menu { display: flex; flex-direction: column; }
    .bm-profile-menu a { padding: 14px 20px; color: #e5e7eb !important; text-decoration: none !important; font-size: 14px; font-weight: 500; border-bottom: 1px solid #333; transition: background 0.2s; }
    .bm-profile-menu a:last-child { border-bottom: none; }
    .bm-profile-menu a:hover { background: rgba(255,255,255,0.05); color: #fff !important; }

    /* ============================================================
       BANKMONEY / CORPORATE DARK UI — WYŁĄCZNIE WARSTWA WIZUALNA
       Wyszukiwarka i powiadomienia; bez zmian w PHP, HTML i JS.
       ============================================================ */
    #bmSearchBox.bm-search-panel,
    #bmNotifBox.bm-notif-panel {
        --bm-ui-bg: #20232a;
        --bm-ui-surface: #272c34;
        --bm-ui-field: #191d24;
        --bm-ui-border: #3b424e;
        --bm-ui-line: #343b46;
        --bm-ui-text: #f1f3f6;
        --bm-ui-muted: #aeb9c7;
        --bm-ui-dim: #8795a6;
        --bm-ui-accent: #9cb4cc;
        background: var(--bm-ui-bg) !important;
        color: var(--bm-ui-text) !important;
        border: 1px solid var(--bm-ui-border) !important;
        border-radius: 11px !important;
        box-shadow: 0 16px 42px rgba(10, 16, 26, .24) !important;
        font-family: 'Poppins', system-ui, sans-serif;
        font-size: 13px;
        line-height: 1.5;
    }
    #bmSearchBox.bm-search-panel {
        padding: 20px 21px 18px;
        scrollbar-color: #4d5867 #20232a;
    }
    #bmSearchBox::-webkit-scrollbar-track { background: #20232a; }
    #bmSearchBox::-webkit-scrollbar-thumb { background: #4d5867; }

    /* WYSZUKIWANIE — CZYTELNA TYPOGRAFIA I SPOKOJNE KONTRASTY */
    #bmSearchBox .bm-search-form { gap: 10px; }
    #bmSearchBox .bm-input-wrapper { min-width: 0; }
    #bmSearchBox .bm-ai-icon { color: #a5b3c3 !important; }
    #bmSearchBox .bm-search-form input[type="text"] {
        height: 44px;
        padding: 10px 14px 10px 40px;
        background: var(--bm-ui-field) !important;
        color: var(--bm-ui-text) !important;
        border: 1px solid #4b5665 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        font-size: 13px;
        font-weight: 500;
    }
    #bmSearchBox .bm-search-form input[type="text"]::placeholder {
        color: #a9b5c4;
        opacity: 1;
    }
    #bmSearchBox .bm-search-form input[type="text"]:focus {
        border-color: #9fb2c8 !important;
        outline: 2px solid rgba(159,178,200,.12);
        outline-offset: 0;
    }
    #bmSearchBox .bm-search-form button.bm-submit-btn {
        height: 44px;
        padding: 0 19px;
        background: #343d49 !important;
        border: 1px solid #566375 !important;
        color: #f1f4f8 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        font-size: 12px;
        font-weight: 600;
    }
    #bmSearchBox .bm-search-form button.bm-submit-btn:hover {
        background: #404b59 !important;
        color: #fff !important;
        border-color: #78889c !important;
    }

    /* PODSUMOWANIE — TEN SAM PRZEŁĄCZNIK, MNIEJ EKSPONOWANY */
    #bmSearchBox .bm-search-tools {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: flex-end;
        min-height: 29px;
        height: auto;
        padding: 0 2px;
        margin-top: 10px;
    }
    #bmSearchBox .bm-ai-toggle-wrap {
        order: 2;
        margin-left: auto;
        gap: 7px;
        padding: 4px 0;
        color: #8995a5;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
        font-size: 10px;
        line-height: 1.3;
        font-weight: 400;
        opacity: .84;
        transition: color .2s ease, opacity .2s ease;
    }
    #bmSearchBox .bm-ai-toggle-wrap:hover { color: #c6d1df; opacity: 1; background: transparent !important; }
    #bmSearchBox .bm-ai-toggle {
        width: 27px;
        height: 15px;
        flex: 0 0 27px;
        border: 1px solid #596575;
        background: #343b45;
        border-radius: 15px;
        box-shadow: none !important;
    }
    #bmSearchBox .bm-ai-toggle::after {
        top: 2px;
        left: 2px;
        width: 9px;
        height: 9px;
        background: #b8c4d1;
        box-shadow: none !important;
    }
    #bmSearchBox .bm-ai-toggle-wrap input:checked + .bm-ai-toggle {
        background: #62798f;
        border-color: #7e97ae;
        box-shadow: none !important;
    }
    #bmSearchBox .bm-ai-toggle-wrap input:checked + .bm-ai-toggle::after {
        transform: translateX(12px);
        background: #fff;
        box-shadow: none !important;
    }
    #bmSearchBox .bm-clear-text-btn {
        order: 1;
        margin-right: auto;
        color: #a6b4c4;
        font-size: 11px;
    }
    #bmSearchBox .bm-clear-text-btn:hover { color: #fff; }
    #bmSearchBox .bm-clear-text-btn span { color: #a6b4c4 !important; }

    /* SUGESTIE I POPULARNE WYSZUKIWANIA */
    #bmSearchBox .bm-search-suggestions { margin-top: 15px; }
    #bmSearchBox .bm-suggestions-title {
        margin: 0 0 9px;
        color: #96a4b6;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .8px;
        line-height: 1.5;
    }
    #bmSearchBox .bm-proposed-list { gap: 2px; margin: 0 0 21px; }
    #bmSearchBox .bm-proposed-item {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        margin: 0;
        padding: 10px 9px;
        border-radius: 5px;
        color: #e8edf3 !important;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
    }
    #bmSearchBox .bm-proposed-item + .bm-proposed-item { border-top: 1px solid #303741; }
    #bmSearchBox .bm-proposed-item:hover { background: #2a313b; color: #fff !important; }
    #bmSearchBox .bm-proposed-item svg {
        width: 15px;
        height: 15px;
        color: #8fa9c1;
        margin-top: 2px;
    }
    #bmSearchBox .bm-tags-wrapper { gap: 7px; margin: 0 0 3px; }
    #bmSearchBox .bm-tag {
        max-width: 100%;
        padding: 7px 11px;
        background: #2b3038;
        border: 1px solid #404953;
        border-radius: 6px;
        color: #ced7e1;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    #bmSearchBox .bm-tag:hover { background: #37414d; border-color: #6b7b8e; color: #fff; }

    /* WYNIKI — REDAKCYJNA LISTA ZAMIAST KOLOROWYCH KART */
    #bmSearchBox .bm-ajax-results { margin-top: 12px; }
    #bmSearchBox .bm-result-item {
        padding: 13px 8px;
        border: 0;
        border-bottom: 1px solid var(--bm-ui-line);
        border-radius: 0;
        color: #edf1f5 !important;
        background: transparent;
        font-size: 13px;
    }
    #bmSearchBox .bm-result-item:hover { background: #292f38; color: #fff !important; }
    #bmSearchBox .bm-result-item.bm-gold-border {
        background: #292f37;
        border: 1px solid #55616e;
        border-left: 2px solid #8ba6bd;
        border-radius: 5px;
        margin: 5px 0;
    }
    #bmSearchBox .bm-result-item.bm-gold-border:hover {
        background: #303946;
        border-color: #8596a8;
    }
    #bmSearchBox .bm-result-text { color: #eef2f6; font-weight: 600; line-height: 1.45; }
    #bmSearchBox .bm-result-excerpt { color: #b0bdcb; font-size: 12px; line-height: 1.55; }
    #bmSearchBox .bm-result-meta { color: #a3b0c0; }
    #bmSearchBox .bm-result-thumb { background: #2d3540; border-radius: 5px; }
    #bmSearchBox .bm-badge {
        background: #303b48;
        color: #c2d2e1;
        border: 1px solid #465363;
        border-radius: 3px;
        font-size: 9px;
        line-height: 1.4;
        letter-spacing: .15px;
    }
    #bmSearchBox .bm-ai-result-box {
        background: #252e39;
        border: 1px solid #475b6d;
        border-left: 2px solid #91aabe;
        border-radius: 6px;
        padding: 13px 14px;
        gap: 7px;
    }
    #bmSearchBox .bm-ai-result-header { color: #d3deea; font-size: 10px; letter-spacing: .6px; }
    #bmSearchBox .bm-ai-result-text { color: #eef2f6; line-height: 1.65; }
    #bmSearchBox .bm-ai-result-quote { color: #aebecd; border-left-color: #6f899f; }
    #bmSearchBox .bm-ai-result-source { color: #9caabb !important; }
    #bmSearchBox .bm-ai-result-source a { color: #cbd9e6 !important; }
    #bmSearchBox .bm-ai-loader {
        background: conic-gradient(#9fb5ca, #3f5062, #9fb5ca);
    }
    #bmSearchBox .bm-loader { border-color: #a7bdd3; border-bottom-color: transparent; }
    #bmSearchBox .bm-search-status { color: #aab8c8; }
    #bmSearchBox .bm-pagination { border-top-color: #3b4450; }
    #bmSearchBox .bm-page-btn { color: #b0bed0; }
    #bmSearchBox .bm-page-btn.active { color: #d5e2ed; border-bottom-color: #9eb4c8; }

    /* POWIADOMIENIA — JEDEN STONOWANY PANEL */
    #bmNotifBox .bm-notif-header {
        padding: 7px 19px !important;
        min-height: 0 !important;
        height: auto !important;
        border-bottom: 1px solid var(--bm-ui-line);
        background: #252a32;
    }
    #bmNotifBox .bm-notif-header-left { margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
    #bmNotifBox .bm-notif-header span.title { margin: 0 !important; padding: 0 !important; line-height: 1.4 !important; color: #f2f5f8; font-size: 15px; font-weight: 500; }
    #bmNotifBox .bm-notif-header button {
        margin: 0 !important;
        padding: 4px 0 !important;
        min-height: 0 !important;
        height: auto !important;
        line-height: 1.4 !important;
        color: #bac9d8;
        font-size: 11px;
        font-weight: 500;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
    #bmNotifBox .bm-notif-header button:hover { color: #fff; }
    #bmNotifBox .bm-notif-body { background: #20232a; }
    #bmNotifBox .bm-notif-empty {
        min-height: 175px;
        justify-content: center;
        gap: 11px;
        padding: 33px 20px;
        color: #b2becb;
        font-size: 12px;
        line-height: 1.5;
    }
    #bmNotifBox .bm-notif-empty > svg {
        width: 35px;
        height: 35px;
        margin: 0 0 3px;
        color: #8796a7;
        opacity: .66;
    }
    #bmNotifBox .bm-result-item {
        padding: 13px 16px;
        border-radius: 0;
        color: #eaf0f6 !important;
        background: transparent;
        border-color: #343b46;
        font-size: 12px;
    }
    #bmNotifBox .bm-result-item:hover { background: #2b323c; }
    #bmNotifBox .bm-result-text { color: #eaf0f6 !important; font-weight: 600; line-height: 1.45; }
    #bmNotifBox .bm-result-meta { color: #a9b7c7; }
    #bmNotifBox .bm-badge {
        color: #c5d3e0;
        background: #303a46;
        border: 1px solid #475464;
        border-radius: 3px;
        font-size: 9px;
    }
    #bmNotifBox .bm-notif-thumb { background: #303843; border-radius: 5px; }
    #bmNotifBox .bm-notif-new { color: #b3d0e8; }
    /* Krótkie przypomnienie co 8 s, tylko gdy są nieprzeczytane powiadomienia. */
    .bm-action-btn.bm-notif-bell.bm-has-notification-items > svg {
        transform-origin: 50% 18%;
        animation: bm-notif-gentle-ring 8s ease-in-out infinite;
    }
    @keyframes bm-notif-gentle-ring {
        0%, 90%, 100% { transform: rotate(0deg); }
        92% { transform: rotate(13deg); }
        94% { transform: rotate(-10deg); }
        96% { transform: rotate(7deg); }
        98% { transform: rotate(-4deg); }
    }
    #bmNotifBox .bm-push-btn { background: #354c62; border: 1px solid #5a738a; box-shadow: none; }
    #bmNotifBox .bm-push-btn:hover { background: #425e78; }

    #bmSearchBox :is(a,button,input,.bm-tag):focus-visible,
    #bmNotifBox :is(a,button):focus-visible {
        outline: 2px solid #b4c8dd;
        outline-offset: 2px;
    }
    @media (max-width: 767px) {
        #bmSearchBox.bm-search-panel { padding: 15px; }
        #bmSearchBox .bm-search-form button.bm-submit-btn { padding: 0 12px; }
        #bmSearchBox .bm-search-form input[type="text"] { font-size: 12px; }
        #bmNotifBox .bm-notif-header { padding: 7px 16px !important; }
    }
    @media (prefers-reduced-motion: reduce) {
        .bm-action-btn.bm-notif-bell.bm-has-notification-items > svg { animation: none; }
        #bmSearchBox .bm-ai-toggle,
        #bmSearchBox .bm-ai-toggle::after,
        #bmSearchBox .bm-ai-toggle-wrap { transition: none; }
    }
