/* ==========================================================================
   PRZEGLĄD V2 — Dedykowany, wyizolowany system stylów
   Zachowuje DNA wizualne psychoterapia.no (Playfair Display + Inter),
   zapewniając idealną czytelność, rozróżnienie claimów oraz mobilną responsywność.
   ========================================================================== */

:root {
    --przeglad-bg: #fcfbf9;
    --przeglad-surface: #ffffff;
    --przeglad-text: #1f2421;
    --przeglad-text-muted: #5a6460;
    --przeglad-primary: #1b4931;
    --przeglad-border: #e8e6e1;
    --przeglad-font-serif: 'Playfair Display', Georgia, serif;
    --przeglad-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Etykiety faktów i interpretacji */
    --claim-fact-border: #2e7d32;
    --claim-fact-bg: #edf7ee;
    --claim-fact-text: #1b5e20;

    --claim-interp-border: #f57c00;
    --claim-interp-bg: #fff8e1;
    --claim-interp-text: #b78103;

    --claim-comm-border: #1976d2;
    --claim-comm-bg: #e3f2fd;
    --claim-comm-text: #0d47a1;

    --claim-uncert-border: #7b1fa2;
    --claim-uncert-bg: #f3e5f5;
    --claim-uncert-text: #4a148c;
}

body.przeglad-body {
    background-color: var(--przeglad-bg);
    color: var(--przeglad-text);
    font-family: var(--przeglad-font-sans);
    line-height: 1.7;
    margin: 0;
}

.przeglad-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3.5rem;
    max-width: 1240px;
    margin: 2.5rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ── LEWA KOLUMNA (Nawigacja + TOC) ─────────────────────────────────────── */
.przeglad-sidebar-left {
    position: relative;
}

.przeglad-sidebar-sticky {
    position: sticky;
    top: 90px;
}

.przeglad-module-brand {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--przeglad-primary);
}

.przeglad-module-brand h2 {
    font-family: var(--przeglad-font-serif);
    font-size: 1.6rem;
    margin: 0;
    color: var(--przeglad-primary);
    font-weight: 700;
}

.przeglad-tagline {
    font-size: 0.8rem;
    color: var(--przeglad-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.przeglad-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.przeglad-nav-list li {
    margin-bottom: 0.35rem;
}

.przeglad-nav-list a {
    color: var(--przeglad-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.przeglad-nav-list a:hover {
    color: var(--przeglad-primary);
    background-color: #f0eee8;
}

.przeglad-nav-list a.is-active {
    color: var(--przeglad-primary);
    background-color: #e5ede8;
    font-weight: 600;
}

/* ── GŁÓWNA WARSTWA CZYTELNIKA (MAIN CONTENT & ARTICLE FRAME) ───────────── */
.przeglad-body .main-content {
    max-width: 920px;
    margin: 2.5rem auto 5rem;
    width: 92%;
    box-sizing: border-box;
}

.przeglad-body .section-frame {
    background: var(--przeglad-surface);
    padding: 3rem 3.5rem;
    border-radius: 8px;
    border: 1px solid var(--przeglad-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.przeglad-breadcrumbs {
    max-width: 920px;
    margin: 1.5rem auto 0;
    width: 92%;
    padding: 0;
}

.przeglad-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--przeglad-text-muted);
}

.przeglad-breadcrumbs li + li::before {
    content: "›";
    margin-right: 0.5rem;
    color: #aaa;
}

.przeglad-breadcrumbs a {
    color: var(--przeglad-text-muted);
    text-decoration: none;
}

.przeglad-breadcrumbs a:hover {
    color: var(--przeglad-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .przeglad-body .main-content {
        margin: 1.5rem auto 3rem;
        width: 95%;
    }
    .przeglad-body .section-frame {
        padding: 1.8rem 1.4rem;
    }
}

.przeglad-article-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--przeglad-border);
    padding-bottom: 2rem;
}

.przeglad-badges-row {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.przeglad-category-badge {
    background: #edf3f0;
    color: var(--przeglad-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.przeglad-reading-time {
    font-size: 0.85rem;
    color: var(--przeglad-text-muted);
    align-self: center;
}

.przeglad-article-header h1 {
    font-family: var(--przeglad-font-serif);
    font-size: 2.5rem;
    line-height: 1.25;
    margin: 0 0 1.2rem 0;
    color: #111;
    font-weight: 700;
}

.przeglad-lead-text {
    font-size: 1.28rem;
    line-height: 1.7;
    color: #2e3330;
    font-weight: 400;
    margin: 0 0 1.8rem 0;
}

.przeglad-author-meta {
    font-size: 0.9rem;
    color: var(--przeglad-text-muted);
}

.przeglad-author-meta a {
    color: var(--przeglad-primary);
    text-decoration: none;
    font-weight: 600;
}

.przeglad-investigate-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .55rem .8rem;
    border: 1px solid var(--przeglad-border);
    border-radius: 6px;
    color: var(--przeglad-primary);
    background: #f7f9f8;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
}

.przeglad-investigate-link:hover,
.przeglad-investigate-link:focus-visible {
    background: #edf3f0;
    text-decoration: underline;
}

.research-argument-graph { margin: 0; padding: 1rem; border: 1px solid var(--przeglad-border); border-radius: 12px; background: #fff; overflow-x: auto; }
.research-argument-graph svg { display: block; min-width: 720px; }
.research-argument-graph figcaption { margin-top: .75rem; color: var(--przeglad-text-muted); font-size: .84rem; line-height: 1.5; }
.research-argument-svg-heading { fill: #4b504c; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.research-argument-svg-link { stroke: #576d83; stroke-width: 2; }
.research-argument-svg-node { stroke-width: 2; }
.research-argument-svg-node.is-claim { fill: #eef3f8; stroke: #284d70; }
.research-argument-svg-node.is-evidence { fill: #eef6f1; stroke: #2f6449; }
.research-argument-svg-node.is-source { fill: #f2f0f6; stroke: #665581; }
.research-argument-svg-text { fill: #161b1a; font-size: 13px; }
.research-argument-svg-meta { fill: #4b504c; font-size: 11px; }
.research-argument-graph g:focus .research-argument-svg-node { stroke: #111; stroke-width: 4; }

/* W SKRÓCIE */
.przeglad-in-short {
    background-color: #f7f9f8;
    border-left: 4px solid var(--przeglad-primary);
    padding: 1.8rem 2rem;
    border-radius: 0 8px 8px 0;
    margin: 2.5rem 0;
}

.przeglad-in-short-header strong {
    font-family: var(--przeglad-font-serif);
    font-size: 1.3rem;
    color: var(--przeglad-primary);
    display: block;
    margin-bottom: 1rem;
}

.przeglad-in-short-list {
    margin: 0;
    padding-left: 1.2rem;
}

.przeglad-in-short-list li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.in-short-q {
    font-weight: 700;
    color: var(--przeglad-text);
}

.in-short-a {
    color: #2e3330;
}

/* SEKCJE ARTYKUŁU */
.przeglad-article-section {
    margin-bottom: 3rem;
}

.przeglad-article-section h2 {
    font-family: var(--przeglad-font-serif);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem 0;
    color: #111;
    border-bottom: 1px solid #f0eee8;
    padding-bottom: 0.5rem;
}

.przeglad-para {
    font-size: 1.12rem;
    line-height: 1.8;
    margin-bottom: 1.4rem;
    color: #2a2e2b;
}

/* BLOKI CLAIMÓW (Traceability & Separation) */
.przeglad-claim-block {
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    background: #fafaf8;
    border-left: 3px solid #ccc;
}

.przeglad-claim-meta {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.przeglad-claim-badge {
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.claim-badge--fact { background: var(--claim-fact-bg); color: var(--claim-fact-text); }
.claim-type-FACT { border-left-color: var(--claim-fact-border); }

.claim-badge--interpretation { background: var(--claim-interp-bg); color: var(--claim-interp-text); }
.claim-type-INTERPRETATION { border-left-color: var(--claim-interp-border); }

.claim-badge--comment { background: var(--claim-comm-bg); color: var(--claim-comm-text); }
.claim-type-COMMENT { border-left-color: var(--claim-comm-border); }

.claim-badge--uncertainty { background: var(--claim-uncert-bg); color: var(--claim-uncert-text); }
.claim-type-UNCERTAINTY { border-left-color: var(--claim-uncert-border); }

.claim-id-ref {
    color: #888;
    font-family: monospace;
}

/* LINKI WEWNĘTRZNE */
.przeglad-internal-link {
    color: var(--przeglad-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 500;
}

.przeglad-internal-link:hover {
    color: #0d271a;
    background-color: #e5ede8;
}

.przeglad-related-box {
    margin-top: 3.5rem;
    padding: 1.8rem;
    background: #f4f6f5;
    border-radius: 6px;
    border: 1px solid var(--przeglad-border);
}

.przeglad-related-box h3 {
    margin-top: 0;
    font-family: var(--przeglad-font-serif);
    font-size: 1.25rem;
    color: var(--przeglad-primary);
}

.przeglad-related-box ul {
    margin: 0;
    padding-left: 1.2rem;
}

.przeglad-related-box li {
    margin-bottom: 0.6rem;
}

.przeglad-related-box a {
    color: var(--przeglad-primary);
    font-weight: 600;
    text-decoration: none;
}

.przeglad-related-box a:hover {
    text-decoration: underline;
}

.link-context {
    color: var(--przeglad-text-muted);
    font-size: 0.9rem;
}

/* POKREWNE ARTYKUŁY PRZEGLĄDU */
.przeglad-related-articles-box {
    margin-top: 2.5rem;
}

.przeglad-related-articles-box h3 {
    font-family: var(--przeglad-font-serif);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.related-article-card {
    background: #fafaf8;
    border: 1px solid var(--przeglad-border);
    padding: 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-article-card:hover {
    transform: translateY(-2px);
    border-color: var(--przeglad-primary);
}

.related-cat {
    font-size: 0.75rem;
    color: var(--przeglad-primary);
    text-transform: uppercase;
    font-weight: 700;
}

.related-article-card h4 {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #111;
}

/* ── PRAWA KOLUMNA (Warstwa Naukowa / Źródła) ────────────────────────────── */
.przeglad-sidebar-right {
    position: relative;
}

.przeglad-sources-sticky {
    position: sticky;
    top: 90px;
}

.przeglad-sources-sticky h3 {
    font-family: var(--przeglad-font-serif);
    font-size: 1.25rem;
    color: var(--przeglad-primary);
    margin: 0 0 1.2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--przeglad-border);
}

.source-item-card {
    background: var(--przeglad-surface);
    border: 1px solid var(--przeglad-border);
    border-radius: 6px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.source-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.source-type-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--przeglad-text-muted);
    letter-spacing: 0.5px;
}

.source-status-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.status-badge--verified {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #b7e1cd;
}

.status-badge--partially_verified {
    background: #fef7e0;
    color: #b06000;
}

.status-badge--unverified {
    background: #f1f3f4;
    color: #5f6368;
}

.status-badge--rejected {
    background: #fce8e6;
    color: #c5221f;
}

.source-card-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 0.8rem 0;
    color: #111;
}

.source-card-bib {
    font-size: 0.85rem;
    color: var(--przeglad-text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.source-card-doi {
    margin-bottom: 1rem;
}

.doi-btn {
    display: inline-block;
    background: #f0f7f4;
    color: var(--przeglad-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #cce3d8;
    transition: background 0.15s ease;
}

.doi-btn:hover {
    background: var(--przeglad-primary);
    color: #fff;
}

.source-card-verification-audit {
    font-size: 0.75rem;
    color: #777;
    background: #f9f9f8;
    padding: 0.5rem;
    border-radius: 4px;
    border-top: 1px dashed #e0ded8;
}

/* ── RESPONSYWNOŚĆ (TABLET I MOBILE) ────────────────────────────────────── */
@media (max-width: 1100px) {
    .przeglad-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 900px) {
    .przeglad-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.2rem;
        margin: 1.5rem auto;
    }
    .przeglad-sidebar-left {
        display: none;
    }
    .przeglad-main-col {
        padding: 1.5rem 0;
    }
}

@media (max-width: 600px) {
    .przeglad-layout {
        padding: 0 1rem;
    }
    .przeglad-article-header h1 {
        font-size: 2rem;
    }
}

/* ── WARSTWA NAUKOWA I KARTY ŹRÓDEŁ (DLA DRAWERA) ───────────────────────── */
.science-layer .source-item-card {
    background: #ffffff;
    border: 1px solid #e2dfd7;
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.science-layer .science-claim-detail-card {
    background: #fafaf8;
    border: 1px solid #e8e6e0;
    border-radius: 6px;
    padding: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

/* ── PŁYWAJĄCY PRZYCISK "ŹRÓDŁA" Z PRAWEJ STRONY (IDENTYCZNY Z /DBT) ────── */
.page-view-controls--science-only {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9000 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.science-layer-is-open .page-view-controls--science-only {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}




/* ── TAXONOMIA: KLIKALNE TAGI I DATY ───────────────────────────────────── */
.przeglad-taxonomy-row,
.przeglad-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.przeglad-tag-list {
    margin: 0.8rem 0 1rem;
}

.przeglad-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #e5f1e8;
    border: 1px solid #bdd9c5;
    color: #185c35;
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.przeglad-tag:hover,
.przeglad-tag:focus-visible {
    background: #d5e8da;
    color: #114527;
    text-decoration: underline;
}

.przeglad-category-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.przeglad-card-date {
    color: var(--przeglad-text-muted);
    font-size: 0.84rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ── INDEKS ─────────────────────────────────────────────────────────────── */
.przeglad-index-header {
    margin-bottom: 2.2rem;
}

.przeglad-kicker {
    color: var(--przeglad-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.przeglad-index-header h1 {
    font-family: var(--przeglad-font-serif);
    font-size: 2.35rem;
    line-height: 1.2;
    margin: 0 0 0.8rem;
    color: #111;
}

.przeglad-index-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--przeglad-text-muted);
    font-size: 0.86rem;
    border-top: 1px solid var(--przeglad-border);
    padding-top: 0.8rem;
    margin-top: 1rem;
}

.przeglad-index-meta a {
    color: var(--przeglad-primary);
    font-weight: 700;
    text-decoration: none;
}

.przeglad-index-card {
    margin-bottom: 2rem;
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--przeglad-border);
}

.przeglad-index-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.przeglad-index-card h2 {
    font-family: var(--przeglad-font-serif);
    font-size: 1.72rem;
    line-height: 1.28;
    margin: 0.65rem 0 0.8rem;
}

.przeglad-index-card h2 a {
    color: inherit;
    text-decoration: none;
}

.przeglad-index-card h2 a:hover,
.przeglad-index-card h2 a:focus-visible {
    color: var(--przeglad-primary);
}

.przeglad-index-excerpt {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #414742;
    margin: 0 0 1rem;
}

.przeglad-index-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.84rem;
    color: var(--przeglad-text-muted);
}

.przeglad-index-card-footer a {
    color: var(--przeglad-primary);
    font-weight: 700;
    text-decoration: none;
}

.przeglad-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--przeglad-border);
}

.przeglad-page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.przeglad-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.3rem;
    min-height: 2.3rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--przeglad-border);
    border-radius: 5px;
    color: var(--przeglad-primary);
    background: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.przeglad-page-link:hover,
.przeglad-page-link:focus-visible {
    background: #edf4ef;
    border-color: var(--przeglad-primary);
}

.przeglad-page-link.is-current {
    color: #fff;
    background: var(--przeglad-primary);
    border-color: var(--przeglad-primary);
}

.przeglad-page-link.is-disabled {
    color: #aaa;
    background: #f7f7f5;
    cursor: default;
}

.przeglad-discovery-box {
    margin: 2rem 0 4rem;
    padding: 1.35rem 1.5rem;
    background: #f5f8f5;
    border: 1px solid var(--przeglad-border);
    border-left: 4px solid var(--przeglad-primary);
    border-radius: 0 7px 7px 0;
}

.przeglad-discovery-box h2 {
    margin: 0 0 0.7rem;
    font-family: var(--przeglad-font-serif);
    font-size: 1.35rem;
}

.przeglad-discovery-box p {
    margin: 0.55rem 0;
    line-height: 1.6;
}

.przeglad-discovery-box a {
    color: var(--przeglad-primary);
    font-weight: 700;
}

/* ── FAQ I CYTOWANIE ────────────────────────────────────────────────────── */
.przeglad-faq {
    margin: 3.5rem 0 2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--przeglad-border);
}

.przeglad-citation {
    margin: 2rem 0 3rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--przeglad-border);
}

.przeglad-collapsible-heading {
    margin: 0;
    font-family: var(--przeglad-font-serif);
    font-size: 1.75rem;
}

.przeglad-disclosure-trigger {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.przeglad-section-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.25rem;
    border-radius: 6px;
}

.przeglad-section-trigger:hover,
.przeglad-section-trigger:focus-visible,
.przeglad-faq-question:hover,
.przeglad-faq-question:focus-visible {
    outline: none;
    background: rgba(0, 0, 0, 0.035);
}

.przeglad-section-trigger:focus-visible,
.przeglad-faq-question:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 111, 79, 0.18);
}

.przeglad-disclosure-icon {
    position: relative;
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}

.przeglad-disclosure-icon::before,
.przeglad-disclosure-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.85rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 160ms ease;
}

.przeglad-disclosure-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.przeglad-disclosure-trigger.is-open .przeglad-disclosure-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.przeglad-disclosure-panel {
    margin-top: 0.35rem;
    overflow: hidden;
}

.przeglad-disclosure-panel.is-open {
    animation: przeglad-disclosure-in 160ms ease-out;
}

@keyframes przeglad-disclosure-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.przeglad-faq-content {
    padding: 0.25rem 0 0;
}

.przeglad-faq-item {
    margin: 0 0 0.75rem;
    background: #fafaf8;
    border: 1px solid var(--przeglad-border);
    border-radius: 6px;
}

.przeglad-faq-question-heading {
    margin: 0;
    font-size: 1.02rem;
}

.przeglad-faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    font-weight: 700;
    border-radius: 6px;
}

.przeglad-faq-answer {
    padding: 0 1.15rem 1rem;
}

.przeglad-faq-answer p {
    margin: 0;
    line-height: 1.65;
    color: #3b403c;
}

.przeglad-citation-content {
    padding: 0.25rem 1.25rem 1.25rem;
    background: #f7f8f6;
    border: 1px solid var(--przeglad-border);
    border-radius: 6px;
}

.przeglad-citation-content p {
    line-height: 1.65;
    margin: 0.5rem 0;
}

.przeglad-citation-content a {
    overflow-wrap: anywhere;
}

.przeglad-citation-note {
    color: var(--przeglad-text-muted);
    font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
    .przeglad-disclosure-icon::before,
    .przeglad-disclosure-icon::after,
    .przeglad-disclosure-panel.is-open {
        transition: none;
        animation: none;
    }
}

@media (max-width: 700px) {
    .przeglad-index-card-top,
    .przeglad-index-card-footer,
    .przeglad-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .przeglad-page-numbers {
        justify-content: flex-start;
    }

    .przeglad-index-header h1 {
        font-size: 2rem;
    }
}

/* AUTOMATYCZNE POWIĄZANIA Z GŁÓWNYM SERWISEM */
.przeglad-related-box {
    margin-top: 3.5rem;
    padding: 1.8rem;
    background: #f4f6f5;
    border: 1px solid var(--przeglad-border);
    border-radius: 8px;
}

.przeglad-related-box h2 {
    margin: 0 0 0.55rem;
    font-family: var(--przeglad-font-serif);
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--przeglad-primary);
}

.przeglad-related-intro {
    margin: 0 0 1rem;
    color: var(--przeglad-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.przeglad-related-box ul {
    margin: 0;
    padding-left: 1.2rem;
}

.przeglad-related-box li {
    margin-bottom: 0.65rem;
}

.przeglad-related-box a {
    color: var(--przeglad-primary);
    font-weight: 600;
    text-decoration: none;
}

.przeglad-related-box a:hover,
.przeglad-related-box a:focus-visible {
    text-decoration: underline;
}

/* ── NOWE OPCJONALNE WIDOKI JEDNEGO JSON-A ─────────────────────────────── */
.przeglad-study-card {
    margin: 1.5rem 0 1.7rem;
    padding: 1.25rem 1.4rem;
    background: #f6f8f6;
    border: 1px solid var(--przeglad-border);
    border-radius: 8px;
}

.przeglad-study-card h2,
.przeglad-patient-view h2,
.przeglad-practice-box h2,
.przeglad-author-note h2,
.przeglad-figure h2 {
    margin: 0 0 0.8rem;
    font-family: var(--przeglad-font-serif);
    font-size: 1.35rem;
    line-height: 1.3;
}

.przeglad-study-card-grid {
    margin: 0;
    display: grid;
    gap: 0;
}

.przeglad-study-card-row {
    display: grid;
    grid-template-columns: minmax(150px, 28%) 1fr;
    gap: 1rem;
    padding: 0.72rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.przeglad-study-card-row:first-child { border-top: 0; }
.przeglad-study-card-row dt { font-weight: 700; color: #343a36; }
.przeglad-study-card-row dd { margin: 0; color: #4b514d; line-height: 1.55; }
.przeglad-study-card-row.is-boundary {
    margin-top: 0.35rem;
    padding: 0.9rem;
    border: 1px solid #d9e2dc;
    border-radius: 6px;
    background: #eef3ef;
}

.przeglad-patient-view {
    margin: 2rem 0;
    padding: 1.35rem 1.5rem;
    border-left: 4px solid var(--przeglad-primary);
    background: #fbfbf8;
    border-radius: 0 8px 8px 0;
}
.przeglad-patient-view ol { margin: 0; padding-left: 1.35rem; }
.przeglad-patient-view li { margin: 0 0 0.65rem; line-height: 1.6; }
.przeglad-patient-practice { margin: 1rem 0 0; }
.przeglad-patient-practice a { color: var(--przeglad-primary); font-weight: 700; text-decoration: none; }
.przeglad-patient-practice a:hover,
.przeglad-patient-practice a:focus-visible { text-decoration: underline; }

.przeglad-source-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
    color: var(--przeglad-text-muted);
}

.przeglad-practice-box {
    margin: 2.7rem 0 2rem;
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--przeglad-border);
    border-left: 4px solid var(--przeglad-primary);
    border-radius: 0 8px 8px 0;
    background: #f6f8f6;
}
.przeglad-practice-box p { margin: 0 0 0.8rem; line-height: 1.55; color: var(--przeglad-text-muted); }
.przeglad-practice-box ul { margin: 0; padding-left: 1.25rem; }
.przeglad-practice-box li { margin-bottom: 0.45rem; }
.przeglad-practice-box a { color: var(--przeglad-primary); font-weight: 700; text-decoration: none; }
.przeglad-practice-box a:hover,
.przeglad-practice-box a:focus-visible { text-decoration: underline; }

.przeglad-author-note {
    margin: 2rem 0;
    padding: 1.3rem 1.45rem;
    background: #f9f8f4;
    border: 1px solid var(--przeglad-border);
    border-radius: 8px;
}
.przeglad-author-note-label {
    display: inline-block;
    margin: 0 0 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #ecebe5;
    color: #555a56;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.przeglad-author-note p { line-height: 1.65; }
.przeglad-author-note time { color: var(--przeglad-text-muted); font-size: 0.8rem; }

.przeglad-figure {
    margin: 2.7rem 0 2rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--przeglad-border);
    border-radius: 8px;
}
.przeglad-figure-header { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; }
.przeglad-figure-header h2 { margin-bottom: 0.2rem; }
.przeglad-figure-source { font-size: 0.8rem; color: var(--przeglad-text-muted); }
.przeglad-figure-caption { margin: 0 0 1rem; color: var(--przeglad-text-muted); line-height: 1.5; font-size: 0.88rem; }
.przeglad-figure-table-wrap { overflow-x: auto; }
.przeglad-figure-table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.przeglad-figure-table th,
.przeglad-figure-table td { padding: 0.55rem 0.7rem; border-top: 1px solid var(--przeglad-border); text-align: left; }
.przeglad-figure-table thead th { border-top: 0; font-size: 0.85rem; color: var(--przeglad-text-muted); }
.przeglad-figure-table tbody td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.przeglad-figure-svg-wrap { position: relative; color: var(--przeglad-primary); }
.przeglad-figure-svg { display: block; width: 100%; height: auto; max-height: 390px; }
.przeglad-figure-axis { stroke: #8f9892; stroke-width: 1.25; }
.przeglad-figure-axis-label,
.przeglad-figure-label { fill: #5a625d; font-size: 10px; }
.przeglad-figure-label { font-size: 11px; }
.przeglad-figure-bar { opacity: 0.82; outline: none; cursor: pointer; }
.przeglad-figure-bar:hover,
.przeglad-figure-bar:focus { opacity: 1; stroke: currentColor; stroke-width: 2; }
.przeglad-figure-live-value {
    min-height: 1.25em;
    margin-top: 0.2rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--przeglad-primary);
}

.przeglad-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    color: var(--przeglad-text-muted);
}

@media (max-width: 700px) {
    .przeglad-study-card-row { grid-template-columns: 1fr; gap: 0.25rem; }
    .przeglad-study-card-row dt { font-size: 0.88rem; }
    .przeglad-figure { padding: 1rem; }
}


/* Visual study map and controlled glossary */
.przeglad-study-map{margin:2.2rem 0 2.4rem;padding:1.45rem;background:#f7f4ee;border:1px solid var(--przeglad-border);border-radius:12px}.przeglad-study-map-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;border-bottom:1px solid rgba(0,0,0,.08);padding-bottom:.9rem}.przeglad-study-map-kicker,.przeglad-study-map-verdict-label{display:block;margin-bottom:.35rem;color:var(--przeglad-text-muted);font-size:.78rem;letter-spacing:.05em;text-transform:uppercase}.przeglad-study-map-head h2{margin:0;font-family:var(--przeglad-font-serif);font-size:1.55rem}.przeglad-study-map-subtitle{margin:.25rem 0 0;color:#4e554f;font-size:1rem}.przeglad-study-map-source{font-size:.78rem;color:var(--przeglad-text-muted);white-space:nowrap}.przeglad-study-map-context{margin:.95rem 0 1.15rem;color:var(--przeglad-text-muted);font-size:.92rem}.przeglad-study-map-flow{display:grid;grid-template-columns:180px 42px 1fr;align-items:stretch;min-height:238px}.przeglad-study-map-enrolled,.przeglad-study-map-arm,.przeglad-study-map-verdict-card{color:inherit;text-decoration:none}.przeglad-study-map-enrolled{align-self:center;display:flex;min-height:98px;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:12px;background:#1f1d1a;color:#fff;padding:1rem;transition:transform .16s ease,box-shadow .16s ease}.przeglad-study-map-enrolled strong{font-size:2.2rem;line-height:1}.przeglad-study-map-enrolled span{margin-top:.4rem;font-size:.9rem;opacity:.9}.przeglad-study-map-enrolled:hover,.przeglad-study-map-enrolled:focus-visible{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.12)}.przeglad-study-map-connector{position:relative}.przeglad-study-map-connector::before{content:"";position:absolute;left:20px;top:28px;bottom:28px;width:2px;background:#2b2926}.przeglad-study-map-connector::after{content:"";position:absolute;left:0;right:0;top:calc(50% - 1px);height:2px;background:#2b2926}.przeglad-study-map-arms{display:grid;gap:.72rem}.przeglad-study-map-arm{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;border:1px solid #ddd7cc;border-radius:11px;background:#fff;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.przeglad-study-map-arm span{display:block}.przeglad-study-map-arm strong{display:block;font-size:1.04rem}.przeglad-study-map-arm small{display:block;margin-top:.18rem;color:var(--przeglad-text-muted);font-size:.84rem}.przeglad-study-map-arm b{min-width:2.6rem;text-align:right;color:var(--przeglad-primary);font-size:1.55rem}.przeglad-study-map-arm:hover,.przeglad-study-map-arm:focus-visible{transform:translateX(2px);box-shadow:0 5px 16px rgba(0,0,0,.08);border-color:#c6bfae}.przeglad-study-map-verdict-label{margin-top:1.35rem}.przeglad-study-map-verdict{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}.przeglad-study-map-verdict-card{display:block;min-height:92px;padding:1rem 1.05rem;border:1px solid #ddd7cc;border-radius:11px;background:#fff;transition:transform .16s ease,box-shadow .16s ease}.przeglad-study-map-verdict-card>span{display:block;font-size:.86rem;margin-bottom:.55rem}.przeglad-study-map-verdict-card>strong{display:block;line-height:1.4}.przeglad-study-map-verdict-card.state-shown>span{color:#2b7658}.przeglad-study-map-verdict-card.state-not_shown>span{color:#97601c}.przeglad-study-map-verdict-card.state-boundary{background:#1f1d1a;color:#fff;border-color:#1f1d1a}.przeglad-study-map-verdict-card.state-boundary>span{color:#d9d4cb}.przeglad-study-map-verdict-card:hover,.przeglad-study-map-verdict-card:focus-visible{transform:translateY(-2px);box-shadow:0 7px 18px rgba(0,0,0,.1)}.przeglad-study-map-caption{margin-top:1rem;color:var(--przeglad-text-muted);font-size:.85rem;line-height:1.5}.przeglad-study-map-a11y{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.przeglad-claim-block.is-visual-selected{outline:3px solid rgba(36,105,78,.25);outline-offset:4px}.przeglad-glossary{margin:2rem 0}.przeglad-glossary-details{border-top:1px solid var(--przeglad-border);border-bottom:1px solid var(--przeglad-border)}.przeglad-glossary-details summary{cursor:pointer;list-style:none;padding:.95rem 0;font-weight:700;font-family:var(--przeglad-font-serif);font-size:1.1rem}.przeglad-glossary-details summary::-webkit-details-marker{display:none}.przeglad-glossary-details summary::after{content:"+";float:right;color:var(--przeglad-primary);font-family:var(--przeglad-font-sans)}.przeglad-glossary-details[open] summary::after{content:"−"}.przeglad-glossary-list{margin:0;padding:0 0 1rem}.przeglad-glossary-item{display:grid;grid-template-columns:minmax(130px,22%) 1fr;gap:1rem;padding:.72rem 0;border-top:1px solid rgba(0,0,0,.06)}.przeglad-glossary-item dt{font-weight:700}.przeglad-glossary-item dd{margin:0;color:var(--przeglad-text-muted);line-height:1.55}.przeglad-glossary-term{text-decoration:underline dotted;text-underline-offset:3px;cursor:help}@media (max-width:760px){.przeglad-study-map-flow{grid-template-columns:1fr;gap:.7rem}.przeglad-study-map-connector{display:none}.przeglad-study-map-verdict{grid-template-columns:1fr}.przeglad-study-map-head{align-items:flex-start;flex-direction:column}.przeglad-study-map-source{white-space:normal}.przeglad-glossary-item{grid-template-columns:1fr;gap:.25rem}}


/* ── BYLINE CZYTELNIKA ──────────────────────────────────────────────────── */
.przeglad-author-byline {
    font-weight: 600;
    color: var(--przeglad-text);
}

.przeglad-author-byline > span {
    font-weight: 400;
    color: var(--przeglad-text-muted);
}

/* Study map: explicit assignment and arms without invented N */
.przeglad-study-map-assignment{margin:.75rem 0 1.15rem;padding:.65rem .8rem;border-left:3px solid var(--przeglad-primary);background:#fff;border-radius:0 8px 8px 0;color:#403d38;font-size:.92rem}.przeglad-study-map-note{margin:.85rem 0 0;color:var(--przeglad-text-muted);font-size:.82rem;line-height:1.5}.przeglad-study-map-arm.has-no-count{justify-content:flex-start}.przeglad-study-map-arm.has-no-count span{max-width:100%}.przeglad-study-map-arm:not(a){color:inherit;text-decoration:none}

/* Research modules — isolated public layer */
.przeglad-research-shell{max-width:1180px;margin:0 auto;padding:2rem 1.25rem 4rem}
.przeglad-research-header{max-width:880px;margin:0 auto 1.2rem}
.przeglad-research-header h1{margin:.15rem 0 .7rem;font-family:var(--przeglad-font-serif);font-size:clamp(2rem,4vw,3.2rem);line-height:1.08}
.research-theme-toggle{position:fixed;bottom:1.5rem;right:1.5rem;z-index:1000;width:44px;height:44px;border-radius:50%;border:1px solid var(--przeglad-border);background:#fff;color:var(--przeglad-text);cursor:pointer;font-size:1.1rem;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .15s ease,box-shadow .15s ease;display:flex;align-items:center;justify-content:center}
.research-theme-toggle:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.research-theme-toggle:focus-visible{outline:2px solid var(--przeglad-primary);outline-offset:2px}.research-module-tabs{position:sticky;top:0;z-index:100;display:flex;flex-wrap:wrap;gap:.35rem;margin:0 auto 1.8rem;padding:.5rem .35rem;border-bottom:1px solid var(--przeglad-border);background:rgba(252,251,249,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.research-module-tab{display:inline-flex;align-items:center;min-height:38px;padding:.55rem .85rem;border-radius:8px;text-decoration:none;color:var(--przeglad-text-muted);font-size:.88rem;font-weight:500}.research-module-tab:hover,.research-module-tab:focus-visible{background:#efede6;color:var(--przeglad-primary);text-decoration:none}.research-module-tab.is-active{background:#e2ddd2;color:var(--przeglad-primary);font-weight:700;box-shadow:inset 0 -2px 0 var(--przeglad-primary)}.research-toolbar{display:flex;flex-wrap:wrap;gap:.55rem .75rem;align-items:end;margin:0 0 1.15rem;padding:1.1rem 1.2rem;border:1px solid var(--przeglad-border);border-radius:12px;background:#faf9f6}.research-toolbar label{display:grid;gap:.28rem;font-size:.76rem;color:var(--przeglad-text-muted);font-weight:500}.research-toolbar input,.research-toolbar select{min-width:155px;padding:.6rem .75rem;border:1px solid #cfc8bc;border-radius:7px;background:#fff;color:inherit;font:inherit;font-size:.88rem;transition:border-color .15s ease,box-shadow .15s ease}.research-toolbar input:focus,.research-toolbar select:focus{border-color:var(--przeglad-primary);box-shadow:0 0 0 3px rgba(27,73,49,.1);outline:none}.research-toolbar input[type=search]{min-width:260px}.research-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.62rem .95rem;border:1px solid #b9b1a4;border-radius:7px;background:#1f1d1a;color:#fff;text-decoration:none;cursor:pointer;font:inherit;font-weight:600;font-size:.88rem;transition:transform .15s ease,box-shadow .15s ease}.research-btn.secondary{background:#fff;color:#2d312e}.research-btn:hover,.research-btn:focus-visible{text-decoration:none;transform:translateY(-1px);box-shadow:0 3px 10px rgba(0,0,0,.1)}.research-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:0 0 1.35rem}.research-kpi{padding:1.1rem;border:1px solid var(--przeglad-border);border-radius:11px;background:#fff;text-align:center;transition:border-color .15s ease}.research-kpi:hover{border-color:#d5d0c6}.research-kpi strong{display:block;font-size:1.65rem;line-height:1.1;font-variant-numeric:tabular-nums}.research-kpi span{display:block;margin-top:.4rem;color:var(--przeglad-text-muted);font-size:.76rem}.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.research-card{padding:1.1rem;border:1px solid var(--przeglad-border);border-radius:12px;background:#fff}.research-card h2,.research-card h3{margin:.05rem 0 .55rem;font-family:var(--przeglad-font-serif)}.research-card p{margin:.4rem 0;line-height:1.58}.research-muted{color:var(--przeglad-text-muted)}.research-meta{display:flex;flex-wrap:wrap;gap:.4rem .7rem;margin:.55rem 0;font-size:.82rem;color:var(--przeglad-text-muted)}.research-pills{display:flex;flex-wrap:wrap;gap:.35rem;margin:.65rem 0}.research-pill{display:inline-flex;align-items:center;padding:.3rem .55rem;border:1px solid #ddd7cc;border-radius:999px;background:#f7f5f1;font-size:.72rem;color:#4b504c;font-weight:500}.research-pill.is-therapy-DBT{background:#e8f0ea;color:#2f6449;border-color:#c5d9cc}.research-pill.is-therapy-CBT{background:#e3ecf5;color:#1e4d7a;border-color:#c2d4e4}.research-pill.is-therapy-ACT{background:#f0e8f5;color:#5c2d7a;border-color:#dccfe4}.research-pill.is-therapy-RO-DBT{background:#f5ece3;color:#7a4a1e;border-color:#e4d0bc}.research-pill.is-therapy-EFT{background:#fdeaea;color:#8a2020;border-color:#f0c8c8}.research-pill.is-therapy-CFT{background:#e8f5f0;color:#1a6b52;border-color:#c0ddd4}.research-list{display:grid;gap:.75rem}.research-result{padding:1.15rem 1.25rem;border:1px solid var(--przeglad-border);border-radius:11px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.research-result:hover{border-color:#c8c2b6;box-shadow:0 4px 14px rgba(0,0,0,.05);transform:translateY(-1px)}.research-result h2{margin:0 0 .45rem;font-size:1.18rem;line-height:1.35;font-family:var(--przeglad-font-serif)}.research-result h2 a{text-decoration:none;color:inherit}.research-result h2 a:hover{color:var(--przeglad-primary)}.research-result .excerpt{margin:.55rem 0;color:#444a46;line-height:1.6;font-size:.94rem}.research-result-grid{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:start}.research-result-side{min-width:170px;text-align:right}.research-number{font-size:1.7rem;font-weight:700}.research-table-wrap{overflow:auto;border:1px solid var(--przeglad-border);border-radius:11px;background:#fff}.research-table{width:100%;border-collapse:collapse;min-width:760px}.research-table th,.research-table td{padding:.72rem .75rem;text-align:left;vertical-align:top;border-bottom:1px solid #ebe7df;font-size:.86rem}.research-table th{background:#f6f3ed;color:#4d534f;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em}.research-table tr:last-child td{border-bottom:0}.research-table blockquote{margin:.35rem 0;padding-left:.7rem;border-left:2px solid #cfc8bc;color:#4b504c}.research-alert{padding:.9rem 1rem;border:1px solid #ddd7cc;border-radius:10px;background:#f8f5ef}.research-alert strong{display:block;margin-bottom:.25rem}.research-score{font-weight:700}.research-bar{height:9px;border-radius:999px;background:#e8e4dc;overflow:hidden}.research-bar span{display:block;height:100%;background:#756d61}.research-spark{display:grid;grid-template-columns:repeat(auto-fit,minmax(8px,1fr));gap:3px;height:86px;align-items:end}.research-spark i{display:block;border-radius:4px 4px 0 0;background:#80786c;min-height:4px}.research-spark-labels{display:grid;grid-template-columns:repeat(auto-fit,minmax(8px,1fr));gap:3px;margin-top:.35rem;font-size:.62rem;color:var(--przeglad-text-muted)}.research-matrix{display:grid;grid-template-columns:180px repeat(6,minmax(0,1fr));gap:1px;background:#ddd7cc;border:1px solid #ddd7cc}.research-matrix>*{background:#fff;padding:.65rem;font-size:.75rem}.research-matrix .head{background:#f5f2ec;font-weight:700}.research-matrix .signal-low{background:#fbf8f1}.research-matrix .signal-none{background:#f2eee7;color:#796f62}.research-stage{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.6rem;margin:1rem 0}.research-stage .node{padding:.85rem;border:1px solid var(--przeglad-border);border-radius:10px;background:#fff}.research-stage .node b{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--przeglad-text-muted);margin-bottom:.3rem}.research-stage .node strong{font-size:.95rem}.research-pico{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.research-pico .cell{padding:.85rem;border:1px solid var(--przeglad-border);border-radius:10px;background:#faf9f6}.research-pico b{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--przeglad-text-muted);margin-bottom:.35rem}.research-empty{padding:1.2rem;border:1px dashed #cfc8bc;border-radius:11px;color:var(--przeglad-text-muted);background:#fcfbf8}.research-footnote{margin-top:1rem;color:var(--przeglad-text-muted);font-size:.78rem;line-height:1.55}.research-linkline{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.84rem}.research-direct{padding:.75rem;border-radius:9px;background:#f7f4ee;border:1px solid #e3ddd2}.research-flag{display:inline-flex;padding:.2rem .45rem;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.03em}.research-flag.good{background:#e8f0ea;color:#2f6449}.research-flag.warn{background:#f8ecd7;color:#85591a}.research-flag.neutral{background:#ece9e3;color:#5e5a54}@media(max-width:900px){.research-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.research-grid{grid-template-columns:1fr}.research-result-grid{grid-template-columns:1fr}.research-result-side{text-align:left}.research-stage{grid-template-columns:1fr 1fr}.research-pico{grid-template-columns:1fr 1fr}.research-matrix{grid-template-columns:120px repeat(6,minmax(75px,1fr))}}@media(max-width:620px){.przeglad-research-shell{padding-inline:.85rem}.research-toolbar input[type=search],.research-toolbar input,.research-toolbar select{min-width:0;width:100%}.research-toolbar label{flex:1 1 100%}.research-kpis{grid-template-columns:1fr 1fr}.research-stage,.research-pico{grid-template-columns:1fr}.research-module-tabs{overflow:auto;flex-wrap:nowrap}.research-module-tab{white-space:nowrap}}

.przeglad-sidebar-tools{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--przeglad-border);display:grid;gap:.25rem}.przeglad-sidebar-tools-title{margin-bottom:.35rem;font-size:.68rem;letter-spacing:.08em;font-weight:700;color:var(--przeglad-text-muted)}.przeglad-sidebar-tools a{display:block;padding:.45rem .5rem;border-radius:7px;color:#4b514d;text-decoration:none;font-size:.82rem}.przeglad-sidebar-tools a:hover,.przeglad-sidebar-tools a:focus-visible{background:#efede6;color:var(--przeglad-primary);text-decoration:none}

/* Advanced research modules — public read-only layer */
.research-appraisal-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.research-definition-list{display:grid;grid-template-columns:minmax(130px,30%) 1fr;gap:.45rem .8rem;margin:0}.research-definition-list dt{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--przeglad-text-muted);font-weight:700}.research-definition-list dd{margin:0;line-height:1.5}.research-appraisal-domains{display:grid;gap:.55rem;margin:1rem 0 1.2rem}.research-appraisal-domain{display:grid;grid-template-columns:1fr auto;gap:.25rem .8rem;padding:.75rem .8rem;border:1px solid var(--przeglad-border);border-radius:9px;background:#faf9f6}.research-appraisal-domain p{grid-column:1/-1;margin:.2rem 0 0;color:var(--przeglad-text-muted);font-size:.86rem}.research-evidence-item{padding:.75rem;border:1px solid #e5e0d7;border-radius:9px;background:#faf9f6;margin:.6rem 0}.research-evidence-item blockquote{margin:.55rem 0;padding:.55rem .7rem;border-left:3px solid #c8c0b2;background:#fff;font-size:.9rem;line-height:1.55}.research-json-preview{max-height:240px;overflow:auto;padding:.7rem;border:1px solid #e0dbd2;border-radius:8px;background:#f6f3ed;font-size:.72rem;white-space:pre-wrap}.argument-node{scroll-margin-top:90px}.research-agenda{display:grid;gap:.7rem}.research-agenda-item{padding:.85rem;border-left:3px solid var(--przeglad-primary);background:#faf9f6;border-radius:0 8px 8px 0;line-height:1.55}.gap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.gap-item{display:grid;gap:.4rem;padding:.8rem;border:1px solid var(--przeglad-border);border-radius:10px;background:#fff}.gap-item a{text-decoration:none}.gap-item small{color:var(--przeglad-text-muted)}.gap-meter{height:9px;background:#eae6de;border-radius:999px;overflow:hidden}.gap-meter span{display:block;height:100%;background:#756d61}.gap-number{font-size:1.35rem;font-weight:700}.research-note-small{font-size:.75rem;color:var(--przeglad-text-muted);line-height:1.5}@media(max-width:800px){.research-appraisal-grid,.gap-grid{grid-template-columns:1fr}.research-definition-list{grid-template-columns:1fr}.research-appraisal-domain{grid-template-columns:1fr}.research-appraisal-domain .research-flag{justify-self:start}}


/* Research Explorer 3.0 */
.research-help-strip{display:flex;flex-wrap:wrap;gap:.35rem .7rem;align-items:baseline;margin:.8rem 0 1rem;padding:.7rem .85rem;border:1px solid var(--przeglad-border);border-radius:10px;background:#f8f6f1;font-size:.82rem;line-height:1.5}.research-help-strip strong{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.research-help-strip a{text-decoration:none;font-weight:700}.research-faq-table{display:grid;gap:.65rem}.research-faq-table>div{display:grid;grid-template-columns:minmax(180px,28%) 1fr;gap:.8rem;padding:.75rem .85rem;border:1px solid var(--przeglad-border);border-radius:9px;background:#faf9f6}.research-faq-table>div span{line-height:1.55}.research-faq-defs{display:grid;gap:.55rem}.research-faq-defs p{margin:0;padding:.65rem .75rem;border-left:3px solid #cfc8bc;background:#faf9f6}.research-synthesis-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}.research-synthesis-box>div{display:grid;gap:.3rem;padding:.8rem;border:1px solid var(--przeglad-border);border-radius:9px;background:#faf9f6}.research-synthesis-box strong{font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--przeglad-text-muted)}.research-synthesis-box span{line-height:1.55}.research-epistemic-chain{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:1rem 0}.research-epistemic-chain>div{padding:.75rem;border:1px solid var(--przeglad-border);border-radius:9px;background:#fff}.research-epistemic-chain b{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--przeglad-text-muted);margin-bottom:.25rem}.research-counter{border-left:3px solid #9a6b3c;background:#fbf5ed;padding:.75rem;border-radius:0 8px 8px 0}.research-gap-status{font-weight:700}.research-llm-note{font-size:.78rem;line-height:1.5;color:var(--przeglad-text-muted)}@media(max-width:720px){.research-help-strip{align-items:flex-start}.research-faq-table>div,.research-synthesis-box,.research-epistemic-chain{grid-template-columns:1fr}}
