/* ============================================================
   style-interactive.css v1.0
   Workflow LCA, Hotspot Diagram, Chart.js cards, Hero ticker
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   HERO TICKER
   ──────────────────────────────────────────────────────────── */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem max(2rem, calc((100vw - 1120px) / 2));
    background: rgba(4, 18, 16, 0.72);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(13, 191, 159, 0.18);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    overflow: hidden;
    white-space: nowrap;
}
.ticker-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.ticker-val { color: #0DBF9F; font-weight: 600; }
.ticker-sep { color: rgba(13,191,159,0.3); }

/* ──────────────────────────────────────────────────────────────
   IX SECTION WRAPPER
   ──────────────────────────────────────────────────────────── */
.ix-section {
    border-radius: 12px;
    overflow: hidden;
    padding: 2.5rem 2rem;
}
.ix-section-dark {
    background: #071714;
    border: 1px solid rgba(13,191,159,0.12);
    box-shadow: 0 4px 32px rgba(0,0,0,0.28);
}
.ix-section-light {
    background: var(--paper-card);
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.ix-section-neutral {
    background: var(--paper-warm);
    border: 1px solid rgba(0,0,0,0.06);
}
.ix-section-header {
    margin-bottom: 2rem;
    text-align: center;
}
.ix-section-header-dark { text-align: center; margin-bottom: 2rem; }
.ix-section-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    margin: 0.3rem 0 0.5rem;
    letter-spacing: -0.02em;
}
.ix-section-title-dark {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0.3rem 0 0.5rem;
    letter-spacing: -0.02em;
}
.ix-section-sub { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin: 0; }
.ix-section-sub-dark { color: var(--text-secondary); font-size: 0.88rem; margin: 0; }
.ix-section-dark .section-num    { color: rgba(13,191,159,0.7); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ix-section-light .section-num   { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ix-section-neutral .section-num { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ix-section-neutral .ix-section-title { color: var(--ink); }
.ix-section-neutral .ix-section-sub   { color: var(--text-secondary); }

/* ──────────────────────────────────────────────────────────────
   MODUŁY EN 15804+A2 — układ A→B→C→D
   ──────────────────────────────────────────────────────────── */
.lca-modules-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(13,191,159,0.3) transparent;
}
.lca-stage {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.lca-stage.wf-visible { opacity: 1; transform: none; }

.lca-stage-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.25rem;
}
.lca-stage-letter {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}
.lca-stage-name {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.lca-stage-a { background: rgba(13,191,159,0.14); }
.lca-stage-a .lca-stage-letter,
.lca-stage-a .lca-stage-name { color: #0DBF9F; }

.lca-stage-b { background: rgba(45,125,210,0.14); }
.lca-stage-b .lca-stage-letter,
.lca-stage-b .lca-stage-name { color: #2d7dd2; }

.lca-stage-c { background: rgba(217,119,6,0.14); }
.lca-stage-c .lca-stage-letter,
.lca-stage-c .lca-stage-name { color: #D97706; }

.lca-stage-d { background: rgba(124,77,204,0.14); }
.lca-stage-d .lca-stage-letter,
.lca-stage-d .lca-stage-name { color: #7c4dcc; }

.lca-stage-modules { display: flex; flex-direction: column; gap: 0.5rem; }

.lca-mod {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.lca-mod-mandatory {
    border-color: rgba(13,191,159,0.25);
    background: rgba(13,191,159,0.05);
}
.lca-mod-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0DBF9F;
    letter-spacing: 0.04em;
}
.lca-mod-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}
.lca-mod-desc {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.45;
}
.lca-mod-badge {
    font-size: 0.62rem;
    font-family: 'IBM Plex Mono', monospace;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-top: 0.2rem;
}
.lca-badge-required {
    background: rgba(13,191,159,0.15);
    color: #0DBF9F;
    border: 1px solid rgba(13,191,159,0.3);
}
.lca-badge-optional {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}
.lca-stage-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(13,191,159,0.35);
    font-size: 1.2rem;
    padding: 0 0.4rem;
    flex-shrink: 0;
    padding-top: 2.5rem;
    opacity: 0;
    transition: opacity 0.45s ease 0.3s;
}
.lca-stage-arrow.wf-visible { opacity: 1; }

@media (max-width: 860px) {
    .lca-stage { min-width: 150px; }
}
@media (max-width: 640px) {
    .lca-stage { min-width: 130px; }
    .lca-mod-desc { display: none; }
    .lca-stage-arrow { padding: 0 0.15rem; font-size: 0.9rem; }
}

/* ──────────────────────────────────────────────────────────────
   WORKFLOW — Fazy A1–A5 (używany w postach blogowych)
   ──────────────────────────────────────────────────────────── */
.workflow-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(13,191,159,0.3) transparent;
}
.wf-step {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    background: rgba(13,191,159,0.04);
    border: 1px solid rgba(13,191,159,0.12);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    opacity: 0;
    transform: translateY(18px);
}
.wf-step.wf-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease, background 0.2s, border-color 0.2s;
}
.wf-step:hover {
    background: rgba(13,191,159,0.09);
    border-color: rgba(13,191,159,0.35);
    transform: translateY(-3px);
    cursor: default;
}
.wf-step-highlight {
    background: rgba(13,191,159,0.10);
    border-color: rgba(13,191,159,0.40);
    box-shadow: 0 0 0 1px rgba(13,191,159,0.15), 0 4px 20px rgba(13,191,159,0.12);
}
.wf-step-highlight:hover { background: rgba(13,191,159,0.15); border-color: #0DBF9F; }

.wf-icon {
    width: 44px; height: 44px;
    background: rgba(13,191,159,0.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #0DBF9F;
    flex-shrink: 0;
    margin-bottom: 0.2rem;
}
.wf-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0DBF9F;
    letter-spacing: 0.05em;
}
.wf-name {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}
.wf-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    flex: 1;
}
.wf-co2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: rgba(13,191,159,0.75);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(13,191,159,0.1);
}
.wf-badge {
    position: absolute;
    top: -10px; right: 10px;
    background: #0DBF9F;
    color: #071714;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}
.wf-arrow {
    display: flex; align-items: center; justify-content: center;
    color: rgba(13,191,159,0.4);
    font-size: 1.3rem;
    padding: 0 0.2rem;
    flex-shrink: 0;
    align-self: center;
}

.wf-legend {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(13,191,159,0.1);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}
.wf-legend-item { display: flex; align-items: center; gap: 0.5rem; }
.wf-legend-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
}
.wf-legend-dot.accent  { background: #0DBF9F; }
.wf-legend-dot.muted   { background: rgba(13,191,159,0.3); }
.wf-legend-dot.orange  { background: #D97706; }

/* ──────────────────────────────────────────────────────────────
   HOTSPOT DIAGRAM
   ──────────────────────────────────────────────────────────── */
.hotspot-diagram {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: visible;
    background: #0f1a17;
    border: 1px solid rgba(13,191,159,0.12);
}
.hotspot-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Hotspot button */
.hotspot {
    position: absolute;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 0;
}
.hotspot:focus { outline: 2px solid #0DBF9F; outline-offset: 4px; }

.hotspot-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.5;
    animation: hs-pulse 2.2s ease-out infinite;
}
.hotspot-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: currentColor;
    position: relative; z-index: 1;
    transition: transform 0.15s;
}
.hotspot:hover .hotspot-dot,
.hotspot.active .hotspot-dot { transform: scale(1.35); }

.hotspot-critical { color: #0DBF9F; }
.hotspot-medium   { color: #60a5fa; }
.hotspot-warm     { color: #D97706; }
.hotspot-low      { color: #6B7280; }

.hotspot.active .hotspot-ring { opacity: 1; border-width: 2.5px; }

@keyframes hs-pulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    60%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}
/* stagger pulse -->  */
.hotspot:nth-child(1) .hotspot-ring { animation-delay: 0s; }
.hotspot:nth-child(2) .hotspot-ring { animation-delay: 0.4s; }
.hotspot:nth-child(3) .hotspot-ring { animation-delay: 0.8s; }
.hotspot:nth-child(4) .hotspot-ring { animation-delay: 1.2s; }
.hotspot:nth-child(5) .hotspot-ring { animation-delay: 1.6s; }
.hotspot:nth-child(6) .hotspot-ring { animation-delay: 2.0s; }

/* Tooltip globalny */
.hotspot-tooltip {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    background: #071714;
    border: 1px solid rgba(13,191,159,0.3);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s, transform 0.12s;
}
.hotspot-tooltip.visible { opacity: 1; transform: translateY(0); }
.htt-title { font-family: 'Inter Tight', sans-serif; font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.htt-value { font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: #0DBF9F; font-weight: 600; margin-bottom: 0.5rem; }
.htt-desc  { font-size: 0.75rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* Legenda hotspotów */
.hotspot-legend {
    display: flex; flex-wrap: wrap; gap: 1.25rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.hsl-item { display: flex; align-items: center; gap: 0.45rem; }
.hsl-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.hsl-dot.critical { background: #0DBF9F; }
.hsl-dot.medium   { background: #60a5fa; }
.hsl-dot.warm     { background: #D97706; }
.hsl-dot.low      { background: #9ca3af; }

/* ──────────────────────────────────────────────────────────────
   CHART CARDS — Chart.js
   ──────────────────────────────────────────────────────────── */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 768px) { .charts-row { grid-template-columns: 1fr; } }

.chart-card {
    background: var(--paper-card);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.chart-card-header { flex-shrink: 0; }
.chart-card-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.2rem;
}
.chart-card-sub { font-size: 0.75rem; color: var(--text-tertiary); }
.chart-wrapper {
    position: relative;
    height: 240px;
}

/* ──────────────────────────────────────────────────────────────
   SECTOR TEASER CARD — link do dedykowanego posta
   ──────────────────────────────────────────────────────────── */
.sector-teaser-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--paper-card);
    border: 1px solid rgba(13,191,159,0.18);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.sector-teaser-card:hover {
    box-shadow: 0 4px 20px rgba(13,191,159,0.12);
    border-color: rgba(13,191,159,0.4);
    transform: translateY(-2px);
}
.stc-icon {
    width: 56px; height: 56px;
    background: rgba(13,191,159,0.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.stc-body { flex: 1; min-width: 0; }
.stc-label {
    font-size: 0.68rem;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.stc-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.stc-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.stc-arrow {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}
.sector-teaser-card:hover .stc-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 640px) {
    .sector-teaser-card { flex-wrap: wrap; }
    .stc-arrow { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .workflow-row { gap: 0.25rem; }
    .wf-arrow { font-size: 1rem; padding: 0; }
    .wf-step  { min-width: 110px; padding: 0.9rem 0.7rem; }
}
@media (max-width: 640px) {
    .ix-section { padding: 1.5rem 1rem; }
    .hero-ticker { display: none; }
    .workflow-row { padding-bottom: 1rem; }
    .wf-step  { min-width: 100px; }
    .wf-desc  { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   BLOG POST — hero, layout, sidebar, callout, formula
   ──────────────────────────────────────────────────────────── */

/* Breadcrumb */
.blog-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}
.blog-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--accent); }

/* Post hero */
.blog-post-hero {
    position: relative; width: 100%; height: 340px;
    border-radius: 12px; overflow: hidden; margin-bottom: 2.5rem;
}
.blog-post-hero-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.blog-post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,12,0.85) 0%, rgba(8,8,12,0.3) 60%, transparent 100%);
}
.blog-post-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem 2.5rem;
}
.blog-post-hero-content .blog-post-title {
    color: #fff; font-size: clamp(1.4rem,3vw,2rem);
    margin: 0.5rem 0; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.blog-post-hero-content .blog-post-lead {
    color: rgba(255,255,255,0.75); font-size: 0.95rem;
    max-width: 60ch; margin: 0; line-height: 1.6;
}
@media (max-width: 640px) {
    .blog-post-hero { height: 240px; }
    .blog-post-hero-content { padding: 1.25rem; }
}

/* Layout: article + sidebar */
.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}
.blog-post-content { min-width: 0; }
@media (max-width: 960px) {
    .blog-post-layout { grid-template-columns: 1fr; }
    .blog-post-sidebar { order: -1; }
}

/* Key numbers strip */
.post-key-numbers {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; margin: 2rem 0;
    border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.pkn-item {
    padding: 1.25rem 1rem; text-align: center;
    background: var(--paper-card);
}
.pkn-item + .pkn-item { border-left: 1px solid var(--border); }
.pkn-val {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.4rem; font-weight: 600;
    color: var(--accent); line-height: 1;
    margin-bottom: 0.4rem;
}
.pkn-label { font-size: 0.73rem; color: var(--text-secondary); line-height: 1.4; }
.pkn-sep { display: none; }
@media (max-width: 640px) {
    .post-key-numbers { grid-template-columns: 1fr 1fr; }
    .pkn-item:nth-child(3) { border-left: none; border-top: 1px solid var(--border); }
    .pkn-item:nth-child(4) { border-top: 1px solid var(--border); }
}

/* Callout */
.post-callout {
    border-radius: 8px; padding: 1rem 1.25rem;
    font-size: 0.88rem; line-height: 1.6; margin: 1.5rem 0;
}
.post-callout-accent {
    background: rgba(13,191,159,0.07);
    border-left: 3px solid var(--accent);
    color: var(--text-primary);
}

/* Formula */
.post-formula {
    background: #071714; border: 1px solid rgba(13,191,159,0.15);
    border-radius: 10px; padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
.pf-title {
    font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem;
    color: rgba(13,191,159,0.6); margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.pf-eq {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem;
    color: #fff; margin-bottom: 1rem;
}
.pf-term { background: rgba(13,191,159,0.08); border-radius: 4px; padding: 0.3rem 0.6rem; }
.pf-coef { color: #0DBF9F; }
.pf-op { color: rgba(255,255,255,0.4); font-size: 1.1rem; }
.pf-legend {
    display: flex; flex-direction: column; gap: 0.3rem;
    font-size: 0.75rem; color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(13,191,159,0.1); padding-top: 0.75rem;
}
.pf-legend code { color: rgba(13,191,159,0.8); }

/* Sidebar */
.blog-post-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 5rem; }
.sidebar-card {
    background: var(--paper-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 1.25rem;
}
.sidebar-card-title {
    font-family: 'Inter Tight', sans-serif; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-tertiary); margin-bottom: 0.75rem;
}
.sidebar-toc { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-toc a {
    font-size: 0.82rem; color: var(--text-secondary);
    text-decoration: none; padding: 0.2rem 0;
    border-left: 2px solid transparent; padding-left: 0.6rem;
    transition: color 0.15s, border-color 0.15s;
}
.sidebar-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.sidebar-links { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-link {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; color: var(--text-secondary);
    text-decoration: none; padding: 0.4rem 0.6rem;
    border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.sidebar-link:hover { background: var(--accent-subtle); color: var(--accent); }
.sidebar-card-accent {
    background: rgba(13,191,159,0.06);
    border-color: rgba(13,191,159,0.2);
}
.sidebar-stat {
    font-family: 'IBM Plex Mono', monospace; font-size: 1.8rem;
    font-weight: 600; color: var(--accent); line-height: 1;
}
.sidebar-stat span { font-size: 0.85rem; color: rgba(13,191,159,0.7); }
.sidebar-stat-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.3rem; line-height: 1.4; }

/* === ix-section-light — kolory tekstu dla jasnych sekcji === */
.ix-section-light .ix-section-title { color: var(--ink); }
.ix-section-light .ix-section-sub   { color: var(--text-secondary); }
.ix-section-light .chart-card-title { color: var(--ink); }
.ix-section-light .chart-card-sub   { color: var(--text-tertiary); }
.ix-section-light .section-num      { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
