/* ============================================================
   Skin "investing" dla Maklera — nadpisanie palety + shell.
   Ładowany TYLKO w base_inv.html (nowy wygląd). Klasyczny motyw
   nie dotyka tego pliku.
   ============================================================ */

html[data-skin="investing"] {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f4f6f8;
    --bg-hover: #f6f8fa;
    --text-primary: #1a1d21;
    --text-secondary: #444444;
    --text-muted: #57606a;
    --border-color: #dfe3e6;
    --border-light: #d9dde1;
    --accent-color: #1256A0;
    --accent-hover: #0d4886;
    --success-color: #0E8A31;
    --danger-color: #D91400;
    --card-shadow: none;
}

html[data-skin="investing"] body {
    font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--text-primary);
    font-size: 14px;
}

/* ---------- TOPBAR ---------- */
.inv-topbar { background: #1e1e1e; }
.inv-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.inv-topbar .inv-wrap { padding-top: 10px; padding-bottom: 10px; gap: 18px; }
.inv-logo { display: inline-flex; align-items: center; color: #fff !important; text-decoration: none !important; }
/* logotyp StockAdvisor: znak SVG (_logo.html) + nazwa; "Advisor" w pomaranczu marki */
.sa-logotyp { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; line-height: 1; }
.sa-znak { flex: none; display: block; }
.sa-nazwa { font-size: 24px; font-weight: 800; letter-spacing: -.7px; color: #fff; white-space: nowrap; }
.sa-nazwa em { font-style: normal; color: #F7941E; }
.inv-footer-logo .sa-nazwa { font-size: 20px; }
.inv-tb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.inv-user { display: flex; align-items: center; gap: 9px; color: #fff !important; font-weight: 600; text-decoration: none !important; }
.inv-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#3aa3ff,#1256A0);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; }
.inv-uname { text-transform: capitalize; }
.inv-dropdown { border: 1px solid #d9dde1; border-radius: 6px; box-shadow: 0 6px 22px rgba(0,0,0,.14); font-size: 14px; min-width: 210px; }
.inv-dropdown .dropdown-item { padding: 8px 16px; color: #232526; }
.inv-dropdown .dropdown-item:hover { background: #f0f4f9; color: #1256A0; }
.inv-dropdown .dropdown-item.active { background: #e8f0fa; color: #1256A0; font-weight: 700; }
.inv-dropdown .dropdown-header { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: #98a1a8; }

/* ---------- NAV ---------- */
.inv-nav { background: #1e1e1e; border-top: 1px solid #333; margin-bottom: 24px; }
.inv-nav .inv-wrap { padding: 0 20px; gap: 0; }
.inv-nav a { color: #fff; font-weight: 700; font-size: 14.5px; padding: 13px 16px; text-decoration: none !important; }
.inv-nav a:hover { background: #2c2c2c; color: #fff; }
.inv-nav a.active { background: #fff; color: #232526; }
.inv-nav a.inv-admin { color: #F7941E; }
.inv-nav a.inv-admin.active { color: #232526; }
.inv-container { max-width: 1240px; }
.inv-footer { color: #98a1a8; border-top: 1px solid #e6e9eb; }

/* ---------- LINKI / TYPOGRAFIA ---------- */
html[data-skin="investing"] a { color: #1256A0; }
html[data-skin="investing"] a:hover { color: #0d4886; }
/* nawigacja i topbar zawsze jasne na ciemnym (wyzsza specyficznosc niz ogolny link) */
html[data-skin="investing"] .inv-nav a { color: #fff; }
html[data-skin="investing"] .inv-nav a:hover { color: #fff; background: #2c2c2c; }
html[data-skin="investing"] .inv-nav a.active { color: #232526; background: #fff; }
html[data-skin="investing"] .inv-nav a.inv-admin { color: #F7941E; }
html[data-skin="investing"] .inv-nav a.inv-admin.active { color: #232526; }
html[data-skin="investing"] .inv-logo, html[data-skin="investing"] .inv-user { color: #fff; }
html[data-skin="investing"] h1, html[data-skin="investing"] h2,
html[data-skin="investing"] h3, html[data-skin="investing"] h4 { font-weight: 700; color: #232526; }

/* ---------- KARTY ---------- */
html[data-skin="investing"] .card {
    background: #fff !important;
    border: 1px solid #d6dbdf !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
html[data-skin="investing"] .card-header {
    background: #eef1f4 !important;
    border-bottom: 1px solid #d6dbdf !important;
    font-weight: 700;
    color: #232526 !important;
}

/* ---------- TABELE ---------- */
html[data-skin="investing"] .table { color: #232526; font-variant-numeric: tabular-nums; }
html[data-skin="investing"] .table thead th {
    color: #33383d; font-size: 13px; font-weight: 700;
    border-top: 2px solid #c9ced3; border-bottom: 1px solid #c9ced3;
    background: #fff;
}
html[data-skin="investing"] .table td { border-color: #e6e9eb; }
html[data-skin="investing"] .table-hover tbody tr:hover,
html[data-skin="investing"] .table tbody tr:hover { background: #f6f8fa; }

/* ---------- PRZYCISKI ---------- */
html[data-skin="investing"] .btn-primary {
    background: #1B66C9; border-color: #1B66C9; font-weight: 700; border-radius: 4px;
}
html[data-skin="investing"] .btn-primary:hover { background: #1256A0; border-color: #1256A0; }
html[data-skin="investing"] .btn-success { background: #22a53f; border-color: #22a53f; font-weight: 700; border-radius: 4px; }
html[data-skin="investing"] .btn-danger { background: #e03434; border-color: #e03434; font-weight: 700; border-radius: 4px; }
html[data-skin="investing"] .btn-warning, html[data-skin="investing"] .btn-accent {
    background: linear-gradient(180deg,#fca31c,#f26d0d); border-color: #f26d0d; color: #fff; font-weight: 700; border-radius: 4px;
}
html[data-skin="investing"] .btn-outline-primary { color: #1256A0; border-color: #cfd6dc; border-radius: 4px; font-weight: 600; }
html[data-skin="investing"] .btn-outline-primary:hover { background: #f4f7fa; color: #0d4886; }

/* ---------- BADGE / ALERTY ---------- */
html[data-skin="investing"] .badge.bg-success { background: #e7f3e9 !important; color: #0E8A31 !important; font-weight: 800; }
html[data-skin="investing"] .badge.bg-danger { background: #fdecea !important; color: #D91400 !important; font-weight: 800; }
html[data-skin="investing"] .alert { border-radius: 4px; }

/* ---------- FORMULARZE ---------- */
html[data-skin="investing"] .form-control, html[data-skin="investing"] .form-select {
    background: #fff; color: #232526; border: 1px solid #c9d0d6; border-radius: 3px;
}
html[data-skin="investing"] .form-control:focus, html[data-skin="investing"] .form-select:focus {
    border-color: #1256A0; box-shadow: 0 0 0 2px rgba(18,86,160,.15);
}

/* ---------- KOLORY ZMIAN (zielony/czerwony jak na investing) ---------- */
html[data-skin="investing"] .text-success { color: #0a7d2c !important; font-weight: 700; }
html[data-skin="investing"] .text-danger { color: #c51100 !important; font-weight: 700; }
html[data-skin="investing"] .text-warning { color: #b8860b !important; }

/* mobile */
@media (max-width: 720px) {
    .inv-nav .inv-wrap { flex-wrap: wrap; }
    .inv-nav a { padding: 10px 10px; font-size: 13px; }
    .inv-uname { display: none; }
}

/* ============================================================
   Dopieszczenie 2: subtelne sygnały + strona akcji jak investing
   ============================================================ */

/* --- SYGNAŁY / BADGE — stonowane (jasne tło + kolorowy tekst) --- */
html[data-skin="investing"] .badge.badge-buy {
    background: #def0e2 !important; color: #0a7d2c !important;
    border: 1px solid #b9dcc2; font-weight: 700; letter-spacing: 0;
}
html[data-skin="investing"] .badge.badge-sell {
    background: #fbdfdb !important; color: #c51100 !important;
    border: 1px solid #f2beb6; font-weight: 700; letter-spacing: 0;
}
html[data-skin="investing"] .badge.badge-neutral {
    background: #e8ebef !important; color: #454f58 !important;
    border: 1px solid #d3d9de; font-weight: 700; letter-spacing: 0;
}
html[data-skin="investing"] .badge { text-transform: none; border-radius: 3px; }

/* --- STRONA AKCJI --- */
html[data-skin="investing"] .stock-header h2 { font-size: 25px; font-weight: 700; color: #232526; }
html[data-skin="investing"] .stock-header h2 span { color: #6b7280 !important; font-weight: 400 !important; }
html[data-skin="investing"] #livePrice {
    color: #232526 !important; font-size: 3.4rem !important; font-weight: 800 !important; letter-spacing: -1.5px;
}
html[data-skin="investing"] #liveChange { font-size: 1.3rem !important; font-weight: 700 !important; }
html[data-skin="investing"] #liveSession {
    background: #f4f6f8 !important; color: #6b7280 !important; border: 1px solid #e6e9eb;
}
html[data-skin="investing"] .sector-badge {
    background: #fff !important; border: 1px solid #cfd6dc !important; color: #1256A0 !important;
    border-radius: 3px !important; font-weight: 600 !important;
}
html[data-skin="investing"] .btn-refresh, html[data-skin="investing"] .btn-back {
    background: #fff !important; border: 1px solid #cfd6dc !important; color: #1256A0 !important;
    border-radius: 4px !important; font-weight: 600 !important; box-shadow: none !important;
}
html[data-skin="investing"] .btn-refresh:hover, html[data-skin="investing"] .btn-back:hover { background: #f4f7fa !important; }

/* rekomendacja — bez krzyczących boxów: jasna plansza, kolor tylko w tekście i pasku */
html[data-skin="investing"] .recommendation-box {
    background: #fff !important; border: 1px solid #e6e9eb !important; border-left-width: 4px !important;
    box-shadow: none !important; border-radius: 4px !important;
}
html[data-skin="investing"] .recommendation-box.buy { border-left-color: #0E8A31 !important; }
html[data-skin="investing"] .recommendation-box.sell { border-left-color: #D91400 !important; }
html[data-skin="investing"] .recommendation-box.neutral { border-left-color: #b8c0c8 !important; }
html[data-skin="investing"] .recommendation-box .rec-label { color: #6b7280 !important; }
html[data-skin="investing"] .recommendation-box.buy .rec-value { color: #0E8A31 !important; }
html[data-skin="investing"] .recommendation-box.sell .rec-value { color: #D91400 !important; }
html[data-skin="investing"] .recommendation-box.neutral .rec-value { color: #55606a !important; }
html[data-skin="investing"] .recommendation-box .rec-score { color: #6b7280 !important; }

/* podsumowania (Newsy/Techniczna/Fundamentalna) — jasne tinty */
html[data-skin="investing"] .summary-item { background: #fff !important; border: 1px solid #e6e9eb !important; border-radius: 4px !important; }
html[data-skin="investing"] .summary-item.buy .summary-item-score,
html[data-skin="investing"] .summary-item.buy .summary-item-badge { color: #0E8A31 !important; background: #e7f3e9 !important; }
html[data-skin="investing"] .summary-item.sell .summary-item-score,
html[data-skin="investing"] .summary-item.sell .summary-item-badge { color: #D91400 !important; background: #fdecea !important; }
html[data-skin="investing"] .summary-item.neutral .summary-item-score,
html[data-skin="investing"] .summary-item.neutral .summary-item-badge { color: #55606a !important; background: #eef1f4 !important; }

/* range-change (zmiana przy cenie) */
html[data-skin="investing"] .range-change.positive { color: #0E8A31 !important; background: transparent !important; }
html[data-skin="investing"] .range-change.negative { color: #D91400 !important; background: transparent !important; }
html[data-skin="investing"] .range-change.neutral { color: #55606a !important; background: transparent !important; }

/* --- STRONA AKCJI: nadpisanie twardych ciemnych styli szablonu (!important vs !important — ten plik laduje sie pozniej) --- */
html[data-skin="investing"] body { background: #fff !important; }
html[data-skin="investing"] .stock-header {
    background: #fff !important; border: 0 !important; border-bottom: 1px solid #e6e9eb !important;
    border-radius: 0 !important; box-shadow: none !important; padding: 6px 0 20px 0 !important;
}
html[data-skin="investing"] .stock-header h2 { color: #232526 !important; }
html[data-skin="investing"] .card-body {
    background: #fff !important; color: #232526 !important;
}
html[data-skin="investing"] .ai-analysis .card-body { background: #fff !important; }
html[data-skin="investing"] .rec-score, html[data-skin="investing"] .rec-label { background: transparent !important; }
html[data-skin="investing"] .summary-item-label { color: #6b7280 !important; }
html[data-skin="investing"] .company-info-inline { color: #444 !important; }
html[data-skin="investing"] .stock-header h2, html[data-skin="investing"] .stock-header { text-shadow: none !important; }

/* --- STRONA AKCJI: naglowek w jednej linii + subtelne akcje --- */
html[data-skin="investing"] .stock-header > div:first-child {
    display: flex !important; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 0 !important;
}
html[data-skin="investing"] .stock-header h2 { margin: 0 !important; font-size: 23px; white-space: nowrap; }
html[data-skin="investing"] #liveQuoteBox { margin-top: 0 !important; gap: 10px !important; }
html[data-skin="investing"] #livePrice { font-size: 1.9rem !important; letter-spacing: -0.5px; }
html[data-skin="investing"] #liveChange { font-size: 1rem !important; }
html[data-skin="investing"] .stock-header .sector-badge { white-space: nowrap; }
html[data-skin="investing"] .btn-refresh, html[data-skin="investing"] .btn-back {
    background: transparent !important; border: 0 !important; color: #6b7280 !important;
    font-size: 13px !important; font-weight: 600 !important; padding: 4px 8px !important; box-shadow: none !important;
}
html[data-skin="investing"] .btn-refresh:hover, html[data-skin="investing"] .btn-back:hover {
    background: transparent !important; color: #1256A0 !important; text-decoration: underline;
}

/* --- kontrast: liczby/tresc tabel ciemniejsze --- */
html[data-skin="investing"] .table td { color: #1a1d21; }
html[data-skin="investing"] .card-header { color: #1a1d21 !important; }
html[data-skin="investing"] body { color: #1a1d21; }

/* ============================================================
   GLOBALNE PRZYCIEMNIENIE TEKSTU (za jasne czcionki na bieli)
   ============================================================ */
html[data-skin="investing"] .card-body :where(p, span, div, td, th, li, strong, b, small, label, h5, h6, dt, dd) {
    color: #1a1d21 !important;
}
html[data-skin="investing"] .text-muted,
html[data-skin="investing"] .card-body :where(.text-muted),
html[data-skin="investing"] small, html[data-skin="investing"] .small {
    color: #4d565f !important;
}
html[data-skin="investing"] .card-body a:not(.btn) { color: #1256A0 !important; }

/* --- PONOWNE nałożenie kolorów akcentów (muszą wygrać z globalnym przyciemnieniem) --- */
html[data-skin="investing"] .text-success, html[data-skin="investing"] .card-body :where(.text-success) { color: #0a7d2c !important; }
html[data-skin="investing"] .text-danger, html[data-skin="investing"] .card-body :where(.text-danger) { color: #c51100 !important; }
html[data-skin="investing"] .badge.badge-buy, html[data-skin="investing"] .card-body :where(.badge-buy) { color: #0a7d2c !important; }
html[data-skin="investing"] .badge.badge-sell, html[data-skin="investing"] .card-body :where(.badge-sell) { color: #c51100 !important; }
html[data-skin="investing"] .badge.badge-neutral, html[data-skin="investing"] .card-body :where(.badge-neutral) { color: #454f58 !important; }
html[data-skin="investing"] .recommendation-box.buy .rec-value { color: #0a7d2c !important; }
html[data-skin="investing"] .recommendation-box.sell .rec-value { color: #c51100 !important; }
html[data-skin="investing"] .recommendation-box.neutral .rec-value { color: #454f58 !important; }
html[data-skin="investing"] .summary-item.buy :where(.summary-item-score, .summary-item-badge) { color: #0a7d2c !important; }
html[data-skin="investing"] .summary-item.sell :where(.summary-item-score, .summary-item-badge) { color: #c51100 !important; }
html[data-skin="investing"] .range-change.positive { color: #0a7d2c !important; }
html[data-skin="investing"] .range-change.negative { color: #c51100 !important; }
html[data-skin="investing"] .rec-label, html[data-skin="investing"] .summary-item-label { color: #57606a !important; }
/* badge'y bootstrapowe na ciemnym tle (np. "Zgodność wskaźników") zostają jasne */
html[data-skin="investing"] .card-body :where(.badge.bg-secondary, .badge.bg-dark, .badge.text-bg-secondary, .badge.text-bg-dark) { color: #fff !important; }

/* --- logo spolki przy nazwie (strona akcji) --- */
html[data-skin="investing"] .inv-stock-logo {
    width: 36px; height: 36px; border-radius: 6px; object-fit: contain;
    border: 1px solid #dfe3e6; background: #fff; padding: 2px; flex-shrink: 0;
}
html[data-skin="investing"] .inv-stock-logo-fb {
    width: 36px; height: 36px; border-radius: 6px; background: #1256A0; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px; flex-shrink: 0;
}

/* --- mini-loga spolek w tabelach dashboardu --- */
html[data-skin="investing"] .tbl-logo {
    width: 22px; height: 22px; border-radius: 4px; object-fit: contain;
    vertical-align: -5px; margin-right: 8px; border: 1px solid #e6e9eb; background: #fff; padding: 1px;
}
html[data-skin="investing"] .tbl-logo-fb {
    display: inline-flex; width: 22px; height: 22px; border-radius: 4px;
    background: #e8ebef; color: #454f58; font-size: 11px; font-weight: 800;
    align-items: center; justify-content: center; margin-right: 8px; vertical-align: -5px;
}

/* ============================================================
   MOBILE: kafelki akcji w JEDNEJ linii (motyw investing)
   ============================================================ */
html[data-skin="investing"] .mobile-stock-card {
    display: flex !important; align-items: center !important; gap: 8px !important;
    padding: 7px 10px !important; margin-bottom: 6px !important;
    background: #fff !important; border: 1px solid #e3e6e8 !important; border-radius: 4px !important;
    box-shadow: none !important;
}
html[data-skin="investing"] .mobile-drag-handle { display: flex; align-items: center; gap: 4px; margin: 0 !important; }
html[data-skin="investing"] .mobile-card-header {
    display: flex !important; flex: 1 1 auto !important; align-items: center !important;
    gap: 10px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0;
}
html[data-skin="investing"] .mobile-card-symbol { display: flex !important; align-items: center; gap: 8px; min-width: 0; }
html[data-skin="investing"] .mobile-symbol { font-size: 14px !important; font-weight: 800 !important; color: #1a1d21 !important; }
html[data-skin="investing"] .mobile-name { display: none !important; }
html[data-skin="investing"] .mobile-card-price {
    display: flex !important; align-items: baseline !important; gap: 8px !important;
    margin-left: auto !important; text-align: right !important;
}
html[data-skin="investing"] .mobile-price { font-size: 14px !important; font-weight: 700 !important; color: #1a1d21 !important; }
html[data-skin="investing"] .mobile-change { font-size: 12.5px !important; font-weight: 700 !important; }
html[data-skin="investing"] .mobile-card-footer {
    display: flex !important; align-items: center !important; gap: 6px !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; flex-shrink: 0;
}
html[data-skin="investing"] .mobile-signal-score { display: flex !important; align-items: center !important; gap: 6px !important; }
html[data-skin="investing"] .mobile-signal-score .badge {
    font-size: 10px !important; padding: 3px 7px !important; max-width: 96px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;
}
html[data-skin="investing"] .mobile-score { font-size: 12.5px !important; font-weight: 800 !important; }
html[data-skin="investing"] .mobile-remove-btn {
    background: transparent !important; border: 0 !important; color: #98a1a8 !important;
    font-size: 16px !important; padding: 2px 4px !important; line-height: 1 !important;
}

/* mobile: dopasowanie szerokosci wiersza kafelka */
html[data-skin="investing"] .mobile-stock-card { overflow: hidden; }
@media (max-width: 430px) {
    html[data-skin="investing"] .mobile-card-header { gap: 6px !important; }
    html[data-skin="investing"] .mobile-signal-score .badge { max-width: 72px; font-size: 9.5px !important; }
    html[data-skin="investing"] .mobile-price { font-size: 13px !important; }
    html[data-skin="investing"] .mobile-change { font-size: 11.5px !important; }
    html[data-skin="investing"] .mobile-remove-btn { padding: 2px 2px !important; }
}

/* --- plywajacy przycisk POWROT na stronie akcji (mobile) --- */
html[data-skin="investing"] .inv-fab-back {
    position: fixed; right: 14px; bottom: 16px; z-index: 1000;
    background: #1e1e1e; color: #fff !important; font-weight: 700; font-size: 14px;
    padding: 11px 24px; border-radius: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.28);
    text-decoration: none !important; display: none; align-items: center; gap: 8px;
}
html[data-skin="investing"] .inv-fab-back:active { background: #000; }
@media (max-width: 768px) {
    html[data-skin="investing"] .inv-fab-back { display: inline-flex; }
}

/* ============================================================
   MOBILE: koniec z poziomym rozjezdzaniem strony (fix viewportu)
   ============================================================ */
@media (max-width: 768px) {
    html[data-skin="investing"], html[data-skin="investing"] body {
        overflow-x: hidden !important; max-width: 100vw !important;
    }
    /* naglowek akcji moze sie lamac na telefonie */
    html[data-skin="investing"] .stock-header h2 { white-space: normal !important; font-size: 19px !important; }
    html[data-skin="investing"] .stock-header > div:first-child { gap: 10px !important; }
    html[data-skin="investing"] #livePrice { font-size: 1.5rem !important; }
    /* szerokie tabele/paski przewijaja sie WEWNATRZ karty, nie rozpychaja strony */
    html[data-skin="investing"] .card-body { overflow-x: auto !important; }
    html[data-skin="investing"] .card { max-width: 100% !important; }
}


/* ============================================================
   STREFA OTWARTA (2026-09-05): topbar bez sesji, pasek demo, stopka
   ============================================================ */
.inv-tb-link { color: #e6e6e6 !important; font-weight: 600; font-size: 14px; text-decoration: none !important;
    padding: 7px 10px; border-radius: 4px; display: inline-flex; align-items: center; gap: 6px; }
.inv-tb-link:hover { color: #fff !important; background: #2c2c2c; }
.inv-tb-cta { background: #F7941E; color: #1a1d21 !important; font-weight: 800; font-size: 14px; text-decoration: none !important;
    padding: 8px 16px; border-radius: 4px; letter-spacing: .1px; transition: background .15s, transform .15s; }
.inv-tb-cta:hover { background: #ffa640; transform: translateY(-1px); }
.inv-nav a.inv-nav-cta { color: #F7941E; }
.inv-nav a.inv-nav-cta:hover { color: #ffb45c; }
@media (max-width: 640px) { .inv-tb-link span, .inv-nav a.inv-nav-cta { display: none; } .inv-tb-cta { padding: 7px 12px; font-size: 13px; } }

.inv-demo-bar { background: linear-gradient(90deg, #fff4e5, #fff9f0); border-bottom: 1px solid #f6d9b3; margin: -24px 0 22px; }
.inv-demo-bar .inv-wrap { padding: 10px 20px; gap: 14px; flex-wrap: wrap; }
.inv-demo-tag { background: #F7941E; color: #1a1d21; font-weight: 800; font-size: 11.5px; letter-spacing: .8px; padding: 3px 9px; border-radius: 3px; }
.inv-demo-txt { color: #5a4a35; font-size: 13.5px; flex: 1 1 320px; line-height: 1.4; }
.inv-demo-cta { background: #1256A0; color: #fff !important; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 4px; text-decoration: none !important; white-space: nowrap; }
.inv-demo-cta:hover { background: #0d4886; }

.inv-footer { background: #1e1e1e; color: #b7bcc2; padding: 34px 0 26px; }
.inv-footer-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
.inv-footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.inv-footer-logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.inv-footer-logo .d { color: #F7941E; }
.inv-footer-tag { font-size: 13px; color: #9aa1a8; }
.inv-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.inv-footer-links a { color: #d7d7d7 !important; font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.inv-footer-links a:hover { color: #fff !important; text-decoration: underline !important; }
.inv-footer-disc { font-size: 12px; line-height: 1.55; color: #8f969d; max-width: 900px; margin: 6px 0 0; }
.inv-footer-copy { font-size: 12px; color: #6f767d; margin: 0; }


/* ============================================================
   PODGLAD PUBLICZNY karty spolki: zaslepki sekcji Premium
   ============================================================ */
.prem-tag { display: inline-flex; align-items: center; gap: 4px; background: #F7941E; color: #1a1d21 !important; font-size: 10.5px; font-weight: 800;
    letter-spacing: .6px; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; vertical-align: middle; margin-left: 6px; line-height: 1.3; }
.prem-tag .bi { font-size: 9px; }
.prem-lock { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px dashed #cfd6dc; border-radius: 10px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9); }
.prem-lock-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid #dfe3e6; color: #1256A0; display: inline-flex;
    align-items: center; justify-content: center; font-size: 20px; flex: none; }
.prem-lock-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prem-lock-txt b { font-size: 15px; color: #1a1d21 !important; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.prem-lock-txt > span { font-size: 13.5px; color: #4d565f !important; line-height: 1.5; }
.prem-lock-btn, html[data-skin="investing"] .card-body a.prem-lock-btn, html[data-skin="investing"] .card-body :where(a.prem-lock-btn) {
    flex: none; display: inline-block; background: #1256A0; color: #fff !important; font-weight: 700; font-size: 13.5px; padding: 9px 14px;
    border-radius: 6px; text-decoration: none !important; white-space: nowrap; }
.prem-lock-btn:hover, html[data-skin="investing"] .card-body a.prem-lock-btn:hover { background: #0d4886; color: #fff !important; }
html[data-skin="investing"] .card-body :where(.prem-tag) { color: #1a1d21 !important; }
html[data-skin="investing"] .card-body :where(a.sc-prem-link) { color: #1256A0 !important; }
.prem-lock-btn--sm { display: inline-block; margin-top: 8px; font-size: 12.5px; padding: 7px 12px; }
@media (max-width: 640px) { .prem-lock { flex-wrap: wrap; } .prem-lock-btn { width: 100%; text-align: center; } }
/* karta oceny */
.sc-sec--prem .sc-title { display: flex; align-items: center; flex-wrap: wrap; }
.sc-prem-rows { display: flex; flex-direction: column; gap: 7px; margin: 6px 0 8px; filter: blur(1.5px); opacity: .7; }
.sc-prem-rows .sc-skeleton { display: block; height: 10px; border-radius: 5px; background: #e3e7eb; width: 85%; }
.sc-prem-link { font-size: 12.5px; font-weight: 700; color: #1256A0 !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 5px; }
.sc-prem-link:hover { text-decoration: underline !important; }
/* doradca za klodka */
.tg-advisor--prem .tg-face { filter: grayscale(1) opacity(.7); }
.tg-advisor--prem .tg-bubble b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: #1a1d21 !important; }
.tg-advisor--prem .tg-bubble b .bi-lock-fill { color: #1256A0; }
