:root{--bg:#f6f7f9;--card:#fff;--text:#17191d;--muted:#6c727f;--line:#e4e7ec;--accent:#b32025;--accent2:#8f171c;--soft:#f1f2f5;--success:#176b3a;--danger:#a61b1b;--shadow:0 8px 24px rgba(15,23,42,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.narrow{width:min(820px,calc(100% - 32px));margin:0 auto}.site-header,.admin-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav-wrap{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:800;letter-spacing:-.02em}.nav{display:flex;align-items:center;gap:22px;font-size:14px}.button{border:0;border-radius:9px;padding:11px 16px;background:var(--accent);color:#fff!important;font:inherit;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}.button:hover{background:var(--accent2)}.button-small{padding:8px 11px;font-size:13px}.button-outline{background:#fff;color:var(--text)!important;border:1px solid var(--line)}.button-outline:hover{background:var(--soft);color:var(--text)}.full{width:100%}.hero{padding:84px 0 66px;background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);border-bottom:1px solid var(--line)}.hero-inner{max-width:900px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:var(--accent)}h1,h2,h3{line-height:1.15;letter-spacing:-.025em;margin-top:0}h1{font-size:clamp(36px,5vw,64px);margin:10px 0 20px}h2{font-size:28px}h3{font-size:19px}.hero p,.lead{font-size:19px;color:#444b56;max-width:760px}.hero-search{display:flex;gap:10px;margin-top:28px;max-width:680px}.hero-search input{flex:1}.stats{display:flex;gap:36px;margin-top:36px}.stats div{display:flex;flex-direction:column}.stats strong{font-size:25px}.stats span{font-size:13px;color:var(--muted)}.section{padding:54px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{margin:4px 0 0}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.case-card,.list-card,.form-card,.admin-panel,.report-box,.statement,.person-card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.case-card,.list-card{padding:24px}.case-card h3,.list-card h2,.list-card h3{margin:8px 0 10px}.case-card p,.list-card p{color:#555d68;margin:0 0 16px}.case-meta,.case-footer,.source-meta,.small-muted,.muted-text,.help{font-size:13px;color:var(--muted)}.case-meta{display:flex;justify-content:space-between;gap:12px}.page-head{padding:58px 0 34px;background:#fff;border-bottom:1px solid var(--line)}.page-head h1{font-size:46px;margin-bottom:12px}.back{display:inline-block;color:var(--muted);font-size:14px;margin-bottom:18px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.detail-grid>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);display:flex;flex-direction:column}.detail-grid span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.chip{padding:7px 10px;border-radius:999px;background:#f9e9ea;color:#7f181d;font-weight:700;font-size:13px}.chip.muted{background:#edf0f4;color:#4b5563}.filter-bar{display:grid;grid-template-columns:2fr 1fr 1fr .7fr auto;gap:10px;margin-bottom:20px}.filter-bar.simple{grid-template-columns:1fr auto;max-width:640px}.filter-bar input,.filter-bar select,.form-card input,.form-card textarea,.form-card select,.inline-edit input,.inline-edit textarea,.inline-edit select,.inline-form select,.form-grid input,.form-grid textarea,.form-grid select{width:100%;padding:11px 12px;border:1px solid #cfd4dc;border-radius:8px;background:#fff;color:var(--text);font:inherit}.form-card label,.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}.form-card{padding:26px}.form-narrow{max-width:680px}.list-stack{display:flex;flex-direction:column;gap:14px}.timeline{position:relative}.timeline-item{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}.timeline-date{color:var(--muted);font-size:14px}.timeline-item h3{margin:0 0 8px}.statement-list{display:flex;flex-direction:column;gap:14px}.statement{padding:22px}.statement-head{display:flex;justify-content:space-between;gap:16px}.statement-head span{font-size:13px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:42px 0}.changelog summary{font-weight:800;cursor:pointer}.change-list{margin-top:16px}.change-list>div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.change-list time{color:var(--muted)}.report-box{margin-top:42px;padding:24px}.report-box p{color:var(--muted)}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.person-card{display:flex;align-items:center;gap:14px;padding:16px}.person-card img,.avatar-placeholder{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#e9edf2;display:flex;align-items:center;justify-content:center;font-weight:800}.person-card div:last-child{display:flex;flex-direction:column}.person-card span{font-size:13px;color:var(--muted)}.profile-head{display:flex;gap:24px;align-items:flex-start}.profile-photo{width:110px;height:110px;border-radius:14px;object-fit:cover}.affiliations{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.affiliations>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.affiliations span{color:var(--muted);font-size:13px}.count-badge{font-size:13px;padding:4px 8px;border-radius:999px;background:var(--soft);color:var(--muted);vertical-align:middle}.empty{padding:26px;border:1px dashed #cfd4dc;border-radius:12px;color:var(--muted);background:#fff}.pagination{display:flex;gap:6px;margin-top:24px}.pagination a{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:8px}.pagination a.active{background:var(--text);color:#fff}.footer{border-top:1px solid var(--line);padding:32px 0;color:var(--muted);font-size:13px}.footer .container{display:flex;justify-content:space-between;gap:20px}.flash-stack{margin-top:14px}.flash{padding:12px 14px;border-radius:9px;margin-bottom:10px;background:#eef2f7}.flash.success{background:#e8f5ed;color:#165c33}.flash.error{background:#fae9e9;color:#8a1717}.flash.info{background:#eef3fb;color:#2d4c7c}
/* Admin */.admin-body{background:#f3f5f7}.admin-header{position:sticky}.admin-shell{display:grid;grid-template-columns:190px 1fr;gap:24px;padding-top:26px;padding-bottom:50px}.admin-sidebar{display:flex;flex-direction:column;gap:5px;position:sticky;top:94px;height:max-content}.admin-sidebar a{padding:9px 11px;border-radius:8px;color:#48505b;font-size:14px}.admin-sidebar a:hover{background:#fff;color:var(--text)}.admin-content{min-width:0}.admin-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.admin-title h1{font-size:34px;margin:4px 0 0}.admin-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}.admin-stats>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.admin-stats strong{display:block;font-size:27px}.admin-stats span{font-size:12px;color:var(--muted)}.admin-panel{padding:22px;margin-bottom:18px}.admin-panel h2{font-size:21px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#eceff3}.badge.published,.badge.used{background:#e6f4ea;color:#1f6d3b}.badge.draft,.badge.new{background:#fff1d8;color:#875a00}.badge.rejected{background:#f9e5e5;color:#8d2020}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid.compact{margin-top:12px}.span-2{grid-column:span 2}.checkbox{flex-direction:row!important;align-items:center!important;font-weight:600!important}.checkbox input{width:auto!important}.inline-edit{display:grid;gap:8px;min-width:420px;padding:12px 0}.danger-link{background:none;border:0;color:var(--danger);cursor:pointer;padding:5px 0}.admin-item{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}.admin-item>div{max-width:75%}.admin-changes>div{grid-template-columns:145px 1fr auto}.align-end{display:flex;align-items:end}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:var(--shadow)}.login-card h1{font-size:28px}.form-card.bare{border:0;box-shadow:none;padding:0;margin-top:22px}.submission-list{display:flex;flex-direction:column;gap:12px}.submission{margin-bottom:0}.inline-form{display:flex;gap:8px;align-items:center}.inline-form select{max-width:200px}.admin-panel details summary{cursor:pointer;color:var(--accent);font-size:13px}.admin-panel details[open]{min-width:440px}.admin-panel details[open] summary{margin-bottom:8px}
@media(max-width:900px){.card-grid,.people-grid{grid-template-columns:1fr 1fr}.filter-bar{grid-template-columns:1fr 1fr}.filter-bar .button{grid-column:span 2}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;flex-direction:row;overflow:auto}.admin-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.container,.narrow{width:min(100% - 22px,1180px)}.nav-wrap{align-items:center;padding:14px 0;flex-direction:column}.nav{gap:12px;flex-wrap:wrap}.hero{padding:52px 0}.hero-search{flex-direction:column}.stats{gap:18px}.card-grid,.people-grid,.detail-grid,.form-grid,.filter-bar,.filter-bar.simple{grid-template-columns:1fr}.filter-bar .button,.span-2{grid-column:span 1}.timeline-item{grid-template-columns:1fr;gap:6px}.profile-head{flex-direction:column}.admin-stats{grid-template-columns:1fr 1fr}.change-list>div,.admin-changes>div{grid-template-columns:1fr}.footer .container{flex-direction:column}.admin-title{align-items:flex-start;flex-direction:column}.admin-panel{padding:15px}.inline-edit{min-width:260px}.admin-panel details[open]{min-width:0}}

.hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.site-logo{display:block;max-width:220px;max-height:42px;width:auto;height:auto}.source-lead{margin:0 0 10px;color:#4b535e;line-height:1.6}.upload-preview{display:flex;align-items:center;gap:12px;margin:6px 0 4px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:12px;color:var(--muted);font-weight:600}.upload-preview img{width:64px;height:64px;border-radius:8px;object-fit:cover;background:#fff;border:1px solid var(--line)}.upload-preview.logo-preview img{width:100px;object-fit:contain}.seo-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.seo-settings fieldset{border:1px solid var(--line);border-radius:12px;padding:16px;margin:0;display:flex;flex-direction:column;gap:12px}.seo-settings legend{padding:0 6px;font-weight:800}.seo-settings label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}@media(max-width:760px){.seo-settings{grid-template-columns:1fr}.site-logo{max-width:180px;max-height:38px}}

/* ==========================================================================
   Homepage – dodatkowe sekcje
   ========================================================================== */


/* --------------------------------------------------------------------------
   Sekcje
   -------------------------------------------------------------------------- */

   .section-muted {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-description {
    margin: 8px 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 14px;
}

.section-head > a {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.section-head > a:hover {
    color: var(--accent);
}


/* --------------------------------------------------------------------------
   Politycy – dwie kolumny
   -------------------------------------------------------------------------- */

.home-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-column {
    min-width: 0;
}

.subsection-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.subsection-head h3 {
    margin: 0;
    font-size: 18px;
}

.subsection-head > span {
    color: var(--muted);
    font-size: 12px;
}


/* --------------------------------------------------------------------------
   Lista polityków
   -------------------------------------------------------------------------- */

.people-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-columns .person-card {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 88px;
    padding: 14px 16px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.home-columns .person-card:hover {
    border-color: #d5d9e0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
    color: var(--text);
}


/* --------------------------------------------------------------------------
   Zdjęcie polityka
   -------------------------------------------------------------------------- */

.person-photo {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border-radius: 50%;
    overflow: hidden;

    background: var(--soft);
    border: 1px solid var(--line);

    display: flex;
    align-items: center;
    justify-content: center;
}

.home-columns .person-photo img {
    width: 100%;
    height: 100%;

    border-radius: 0;
    object-fit: cover;

    background: transparent;
}

.person-photo > span {
    color: #555d68;
    font-size: 19px;
    font-weight: 800;
}


/* --------------------------------------------------------------------------
   Dane polityka
   -------------------------------------------------------------------------- */

.person-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.person-info strong {
    display: block;

    color: var(--text);
    font-size: 15px;
    line-height: 1.3;
}

.person-info > span {
    display: block;

    margin-top: 3px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.person-info small {
    display: block;

    margin-top: 5px;

    color: var(--muted);
    font-size: 11px;
}

.small-empty {
    padding: 18px;
    font-size: 13px;
}


/* --------------------------------------------------------------------------
   Partie polityczne
   -------------------------------------------------------------------------- */

.party-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.party-card {
    min-width: 0;
    min-height: 116px;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px;

    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.party-card:hover {
    border-color: #d5d9e0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
    color: var(--text);
}


/* --------------------------------------------------------------------------
   Logo partii
   -------------------------------------------------------------------------- */

.party-logo {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.party-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.party-logo span {
    color: #555d68;
    font-size: 16px;
    font-weight: 800;
}


/* --------------------------------------------------------------------------
   Dane partii
   -------------------------------------------------------------------------- */

.party-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.party-info strong {
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
}

.party-info > span {
    margin-top: 3px;

    color: var(--muted);
    font-size: 12px;
}

.party-info small {
    margin-top: 6px;

    color: var(--muted);
    font-size: 11px;
}


/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .home-columns {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .party-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .section {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
    }

    .section-head > a {
        font-size: 13px;
    }

    .subsection-head {
        align-items: center;
    }

    .home-columns .person-card {
        min-height: 82px;
        padding: 12px;
    }

    .person-photo {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .party-grid {
        grid-template-columns: 1fr;
    }

    .party-card {
        min-height: 100px;
        padding: 14px;
    }

    .party-logo {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

}

/* ==========================================================================
   Źródła – przypisanie do konkretnych polityków / partii
   ========================================================================== */

   .source-scope {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0 0 10px;
}

.source-scope-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.source-scope-entities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.source-entity {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;
    background: #f9e9ea;
    color: #7f181d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;

    transition:
        background .15s ease,
        color .15s ease;
}

.source-entity:hover {
    background: #f3d7d9;
    color: var(--accent2);
}

.source-entity-party {
    background: #edf0f4;
    color: #4b5563;
}

.source-entity-party:hover {
    background: #e2e6eb;
    color: var(--text);
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 650px) {

    .source-scope {
        align-items: flex-start;
        gap: 5px;
    }

    .source-scope-label {
        padding-top: 3px;
    }

    .source-entity {
        font-size: 11px;
    }

}

/* ==========================================================================
   Karty spraw – kompaktowy widok z podmiotami
   ========================================================================== */

   .case-card {
    display: flex;
    flex-direction: column;
}

.case-card h3 {
    margin: 8px 0 14px;
}


/* --------------------------------------------------------------------------
   Podmioty sprawy
   -------------------------------------------------------------------------- */

.case-entities {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0 0 18px;
}

.case-entities-label {
    flex-shrink: 0;

    padding-top: 4px;

    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.case-entities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


/* Polityk */

.case-entity {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    background: #f9e9ea;
    color: #7f181d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;

    transition:
        background .15s ease,
        color .15s ease;
}

.case-entity:hover {
    background: #f3d7d9;
    color: var(--accent2);
}


/* Partia */

.case-entity-party {
    background: #edf0f4;
    color: #4b5563;
}

.case-entity-party:hover {
    background: #e2e6eb;
    color: var(--text);
}


/* Liczba pozostałych podmiotów */

.case-entity-more {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    background: var(--soft);
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}


/* --------------------------------------------------------------------------
   Stopka karty
   -------------------------------------------------------------------------- */

.case-card .case-footer {
    margin-top: auto;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 650px) {

    .case-card {
        padding: 20px;
    }

    .case-card h3 {
        margin-bottom: 12px;
    }

    .case-entities {
        gap: 6px;
        margin-bottom: 15px;
    }

    .case-entities-label {
        width: 100%;
        padding-top: 0;
    }

    .case-entity,
    .case-entity-more {
        font-size: 11px;
    }

}

/* ==========================================================================
   Listing spraw – /sprawy
   ========================================================================== */

   .case-list-card {
    padding: 22px 24px;
}

.case-list-card h2 {
    margin: 8px 0 9px;
    font-size: 21px;
    line-height: 1.18;
}


/* --------------------------------------------------------------------------
   Opis – maksymalnie 2 linie
   -------------------------------------------------------------------------- */

.case-list-card .case-summary-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    margin: 0 0 13px;

    color: #555d68;
    font-size: 14px;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Podmioty
   -------------------------------------------------------------------------- */

.case-list-card .case-entities {
    margin-bottom: 13px;
}


/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.case-list-card .case-footer {
    margin-top: 2px;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 650px) {

    .case-list-card {
        padding: 18px;
    }

    .case-list-card h2 {
        font-size: 19px;
    }

    .case-list-card .case-summary-clamp {
        font-size: 13px;
        line-height: 1.5;
    }

}

/* ==========================================================================
   Listing spraw – siatka
   ========================================================================== */

   .cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cases-grid .case-list-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cases-grid .case-list-card h2 {
    font-size: 19px;
    line-height: 1.2;
}

.cases-grid .case-footer {
    margin-top: auto;
    padding-top: 4px;
}

@media (max-width: 900px) {

    .cases-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================================
   Powiązane sprawy – profile polityków i partii
   ========================================================================== */

   .related-cases-list {
    gap: 10px;
}

.related-case-card {
    padding: 18px 20px;
}

.related-case-card h3 {
    margin: 7px 0 10px;
    font-size: 17px;
    line-height: 1.25;
}

.related-case-card .case-meta {
    font-size: 12px;
}

.related-case-card .case-footer {
    margin-top: 0;
    font-size: 12px;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 650px) {

    .related-case-card {
        padding: 16px;
    }

    .related-case-card h3 {
        font-size: 16px;
    }

}

/* ==========================================================================
   Obserwowanie – box na profilach
   ========================================================================== */

   .follow-box {
    margin-top: 24px;
    padding: 20px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.follow-box strong {
    display: block;
    margin-bottom: 4px;

    font-size: 16px;
    line-height: 1.3;
}

.follow-box p {
    margin: 0;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Niezalogowany / jeszcze nie obserwuje
   -------------------------------------------------------------------------- */

.follow-box-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.follow-form {
    display: flex;
    gap: 8px;
    max-width: 520px;
}

.follow-form input {
    flex: 1;
    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #cfd4dc;
    border-radius: 8px;
    background: #fff;

    color: var(--text);
    font: inherit;
}

.follow-form input:focus {
    outline: none;
    border-color: #aeb5c0;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, .05);
}

.follow-box-action {
    margin-top: 2px;
}

.follow-box-note {
    display: block;

    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}


/* --------------------------------------------------------------------------
   Obserwuje
   -------------------------------------------------------------------------- */

.follow-box-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.follow-box-check {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e8f5ed;
    color: var(--success);

    font-size: 15px;
    font-weight: 800;
}

.follow-box-status-content {
    flex: 1;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.follow-box-status-content form {
    flex-shrink: 0;
}

.follow-box-status-content .button {
    padding: 8px 11px;
    font-size: 12px;
}


/* ==========================================================================
   /obserwowane – konto
   ========================================================================== */

.following-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 30px;
    padding: 15px 18px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.following-account span {
    color: var(--muted);
    font-size: 13px;
}

.following-account strong {
    font-size: 13px;
}


/* ==========================================================================
   /obserwowane – sekcje
   ========================================================================== */

.following-section {
    margin-top: 32px;
}

.following-section:first-of-type {
    margin-top: 0;
}

.following-section > h2 {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    font-size: 22px;
}

.following-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ==========================================================================
   /obserwowane – pojedynczy obserwowany element
   ========================================================================== */

.following-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 18px 20px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.following-item-main {
    flex: 1;
    min-width: 0;
}

.following-item .case-meta {
    font-size: 12px;
}

.following-item h3 {
    margin: 7px 0 9px;

    font-size: 17px;
    line-height: 1.25;
}

.following-item .case-footer {
    font-size: 12px;
}

.following-item > form {
    flex-shrink: 0;
}

.following-item > form .button {
    padding: 8px 11px;

    font-size: 12px;
    white-space: nowrap;
}


/* ==========================================================================
   Obserwowani politycy / partie
   ========================================================================== */

.following-person {
    flex: 1;
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 14px;
}

.following-person h3 {
    margin: 0 0 4px;
}

.following-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    object-fit: contain;

    padding: 3px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}


/* ==========================================================================
   Wylogowanie
   ========================================================================== */

.following-account-actions {
    margin-top: 36px;
    padding-top: 22px;

    border-top: 1px solid var(--line);
}

.following-account-actions .button {
    font-size: 13px;
}


/* ==========================================================================
   Logowanie do /obserwowane
   ========================================================================== */

.follow-manage-login {
    max-width: 620px;

    padding: 26px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.follow-manage-login h2 {
    margin-bottom: 8px;
    font-size: 22px;
}

.follow-manage-login > p {
    margin: 0 0 20px;

    color: var(--muted);
    font-size: 14px;
}

.follow-manage-login-form {
    display: flex;
    gap: 8px;
}

.follow-manage-login-form input {
    flex: 1;
    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #cfd4dc;
    border-radius: 8px;
    background: #fff;

    color: var(--text);
    font: inherit;
}


/* ==========================================================================
   Accessibility
   ========================================================================== */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 650px) {

    .follow-box {
        padding: 17px;
    }

    .follow-form {
        flex-direction: column;
    }

    .follow-form .button {
        width: 100%;
    }

    .follow-box-status-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }


    .following-account {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .following-section {
        margin-top: 28px;
    }

    .following-section > h2 {
        font-size: 20px;
    }

    .following-item {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;

        padding: 16px;
    }

    .following-item > form .button {
        width: 100%;
    }

    .following-person {
        width: 100%;
    }

    .follow-manage-login {
        padding: 20px;
    }

    .follow-manage-login-form {
        flex-direction: column;
    }

    .follow-manage-login-form .button {
        width: 100%;
    }

}