:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --text: #172033;
    --muted: #667085;
    --line: #d9dee8;
    --accent: #2563eb;
    --accent-soft: #dbeafe;
    --good-soft: #dcfce7;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--text); }
.shell { max-width: 1180px; margin: 0 auto; padding: 24px; }
.hero, .controls-card, .table-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .04); }
.hero p { margin: 0 0 6px; color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.hero h1 { margin: 0; font-size: 32px; }
.hero .lead { margin-top: 8px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
    gap: 26px;
    align-items: stretch;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-description {
    margin-top: 16px !important;
    max-width: 760px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 15px !important;
    line-height: 1.65;
    color: var(--muted);
}

.hero-description {
    text-align: justify;
    text-align-last: left;
}

.hero-mascot-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 18px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.hero-mascot-card img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 260px;
    margin-bottom: 8px;
}

.hero-mascot-card strong {
    font-size: 18px;
}

.hero-mascot-card span {
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
}

.hero-mascot-card {
    position: relative;
    overflow: hidden;
}

.hero-mascot-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 35%, rgba(37, 99, 235, .08), transparent 62%);
    pointer-events: none;
}

.hero-mascot-card img {
    position: relative;
    z-index: 1;
    transition: transform .22s ease;
}

.hero-mascot-card:hover img {
    transform: translateY(-4px) scale(1.02);
}

.hero-mascot-card strong,
.hero-mascot-card span {
    position: relative;
    z-index: 1;
}

.hero-contract-banner {
    display: block;
    margin-top: 20px;
    max-width: 520px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hero-contract-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
    filter: brightness(.99);
}

.hero-contract-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-contract-banner {
    margin: 20px auto 0;
    max-width: 620px;
}

.donacija-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.donacija-hero-image {
    text-align: center;
    margin-bottom: 22px;
}

.donacija-hero-image img {
    display: block;
    width: 100%;
    max-width: 860px;
    height: auto;
    margin: 0 auto;
}

.donacija-content {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.donacija-kicker {
    margin: 0 0 6px !important;
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px !important;
    font-weight: 700;
}

.donacija-content h2 {
    margin: 0 0 14px;
    font-size: 28px;
}

.donacija-content p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

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

.donacija-payment-box {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    background: #fff;
    text-align: center;
    color: var(--text);
    text-decoration: none;
}

.donacija-payment-box img {
    display: block;
    max-width: 210px;
    max-height: 150px;
    width: auto;
    height: auto;
    margin: 0 auto 12px;
}

.donacija-payment-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.donacija-payment-box span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.donacija-uplatnica-link {
    transition: transform .18s ease, box-shadow .18s ease;
}

.donacija-uplatnica-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
}

.donacija-text {
    max-width: 820px;
    margin: 8px auto 0;
}

.donacija-text h3 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.donacija-text a {
    color: var(--accent);
    font-weight: 700;
}

.donacija-free-notice {
    margin: 28px auto 0;
    padding: 18px 22px;
    max-width: 820px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    border: 1px solid #bfdbfe;
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
    animation: donacijaNoticeGlow 3.6s ease-in-out infinite;
}

@keyframes donacijaNoticeGlow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
    }

    50% {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(37, 99, 235, .16);
    }
}

h2 { margin: 0 0 14px; font-size: 20px; }
.controls-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.control-status {
    grid-column: span 6;
}

.control-days {
    grid-column: span 3;
}

.control-base {
    grid-column: span 3;
}
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }

input,
select {
    width: 100%;
    border: 1px solid #b8c0cc;
    border-radius: 8px;
    padding: 10px;
    font-size: 15px;
    background: #fff;
    color: var(--text);
    text-align: center;
}

select {
    text-align-last: center;
}

input:focus, select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.checks label { display: flex; align-items: center; gap: 7px; color: var(--text); }
.checks input { width: auto; }
.calc-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calc-table th, .calc-table td { border: 1px solid var(--line); padding: 9px; text-align: right; vertical-align: middle; }
.calc-table th:first-child { text-align: center; width: 39%; }
.calc-table td:first-child { text-align: left; width: 39%; }
.calc-table th { background: #f1f5f9; font-size: 13px; text-align: center;}
.calc-table td { background: #fff; }
.calc-table .input-row td { background: #f8fafc; }
.calc-table .input-row input { background: var(--good-soft); }
.calc-table .strong-row td { font-weight: 700; background: #fbfdff; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 18px 0 0; }
button { border: 0; border-radius: 9px; padding: 11px 16px; background: var(--accent); color: #fff; cursor: pointer; font-size: 15px; }
button:hover { filter: brightness(.95); }
.mobile-only { display: none; }

@media (min-width: 821px) {
    .actions button[name="action"][value="calculate"] {
        order: 10;
        margin-left: 8px;
    }
}

.basic-data-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.basic-recipient {
    grid-column: span 6;
}

.basic-employer {
    grid-column: span 6;
}

.basic-employer-id {
    grid-column: span 3;
}

.basic-contract-number {
    grid-column: span 4;
}

.basic-calculation-date {
    grid-column: span 3;
}

.basic-period {
    grid-column: span 5;
}

.basic-month {
    grid-column: span 3;
}

.basic-employer textarea {
    min-height: 58px;
}

.coop-basic-data {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.basic-note {
    grid-column: span 12;
}

.is-hidden {
    display: none;
}

textarea {
    width: 100%;
    min-height: 78px;
    resize: vertical;
    border: 1px solid #b8c0cc;
    border-radius: 8px;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    background: #fff;
    color: var(--text);
    text-align: left;
}

textarea:focus {
    outline: 2px solid var(--accent-soft);
    border-color: var(--accent);
}

.calc-table .calculator-author-row td {
    padding: 7px 12px;
    background: #fbfdfb;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.calculator-author-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
}

.calculator-author-signature img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 52px;
}

.calculator-author-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
    text-align: left;
    white-space: nowrap;
}

.calculator-author-text strong {
    font-size: 14px;
}

.calculator-author-text span {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 820px) {
    .calculator-author-signature {
        flex-direction: column;
        gap: 5px;
        min-height: 0;
    }

    .calculator-author-signature img {
        max-width: 130px;
        max-height: 44px;
    }

    .calculator-author-signature div {
        text-align: center;
    }

    .calculator-author-text {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        white-space: normal;
        text-align: center;
    }

.hero-split {
    grid-template-columns: 1fr;
}

.hero-mascot-card img {
    max-width: 190px;
}

.hero-description {
    font-size: 14px !important;
}

.hero-contract-banner {
    max-width: 100%;
    margin-top: 16px;
}

}





@media (max-width: 820px) {
    .shell { padding: 12px; }
    .hero h1 { font-size: 26px; }
    .controls-grid { grid-template-columns: 1fr; }
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    .mobile-tables .table-card { margin-bottom: 16px; }
    .calc-table.compact { table-layout: auto; }
    .calc-table.compact th, .calc-table.compact td { padding: 8px 6px; font-size: 13px; }
    .calc-table.compact th:first-child, .calc-table.compact td:first-child { width: 48%; }
    .actions { position: sticky; bottom: 0; background: rgba(246,248,251,.96); padding: 10px 0; }
    button { flex: 1 1 45%; }
}
@media (max-width: 820px) {
    .control-status,
    .control-days,
    .control-base {grid-column: span 12;}
    .basic-recipient,
    .basic-employer,
    .basic-employer-id,
    .basic-period,
    .basic-month {grid-column: span 12;}
.basic-contract-number,
.basic-calculation-date,
.basic-note {
    grid-column: span 12;
}

.coop-basic-data {
    grid-column: span 12;
    grid-template-columns: 1fr;
}
}
.help-text { margin: -6px 0 14px; color: var(--muted); font-size: 13px; }
.rates-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .rates-grid { grid-template-columns: 1fr; } }

/* Izbor obračuna za pojedinačne PDF izveštaje */
.report-controls-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 12px;
    align-items: end;
}

.active-calculation-status {
    min-height: 63px;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 9px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #f8fafc;
}

.active-calculation-status span {
    color: var(--muted);
    font-size: 12px;
}

.active-calculation-status strong {
    font-size: 15px;
    color: var(--text);
}

.active-calculation-input {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.active-calculation-card {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft), 0 10px 30px rgba(15, 23, 42, .04);
}

@media (max-width: 820px) {
    .report-controls-grid {
        grid-template-columns: 1fr;
    }

    .active-calculation-status {
        min-height: auto;
    }
}

/* Vizuelno označavanje aktivne kolone na desktop tabeli */
body[data-active-calculation="neto"] .desktop-only .calc-table th:nth-child(3),
body[data-active-calculation="neto"] .desktop-only .calc-table td:nth-child(3),
body[data-active-calculation="bruto"] .desktop-only .calc-table th:nth-child(4),
body[data-active-calculation="bruto"] .desktop-only .calc-table td:nth-child(4),
body[data-active-calculation="total"] .desktop-only .calc-table th:nth-child(5),
body[data-active-calculation="total"] .desktop-only .calc-table td:nth-child(5) {
    box-shadow: inset 3px 0 0 var(--accent), inset -3px 0 0 var(--accent);
}

body[data-active-calculation="neto"] .desktop-only .calc-table th:nth-child(3),
body[data-active-calculation="bruto"] .desktop-only .calc-table th:nth-child(4),
body[data-active-calculation="total"] .desktop-only .calc-table th:nth-child(5) {
    background: var(--accent-soft);
}


@media (max-width: 820px) {
    .donacija-card {
        padding: 18px;
    }

    .donacija-hero-image img {
        max-width: 100%;
    }

    .donacija-content h2 {
        font-size: 23px;
    }

    .donacija-content p {
        font-size: 15px;
    }

    .donacija-payment-grid {
        grid-template-columns: 1fr;
    }

    .donacija-free-notice {
        font-size: 18px;
        padding: 15px;
    }
}

.seo-section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    margin-top: 18px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.seo-section h2 {
    margin: 0 0 14px;
    padding-top: 8px;
    font-size: 28px;
    color: var(--text);
}

.seo-section h3 {
    margin: 24px 0 10px;
    font-size: 20px;
    color: var(--text);
}

.seo-section p {
    margin: 0 0 16px;
    line-height: 1.8;
    text-align: justify;
    text-align-last: left;
    color: var(--muted);
}

.seo-section p:last-child {
    margin-bottom: 0;
}

.seo-section h2:not(:first-child) {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.seo-intro {
    font-size: 17px;
    font-weight: 500;
    color: var(--text) !important;
    margin-bottom: 28px !important;
}

@media (max-width: 820px) {

    .seo-section {
        padding: 18px;
    }

    .seo-section h2 {
        font-size: 24px;
    }

    .seo-section h3 {
        font-size: 18px;
    }

    .seo-section p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.partneri-section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
    text-align: center;
}

.partneri-kicker {
    margin: 0 0 6px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
}

.partneri-section h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

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

.partneri-tile {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.partneri-tile:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.partneri-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 9px;
    background: #f8fafc;
}

.reklama-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    padding: 24px;
}

.reklama-modal:target {
    display: block;
}

.reklama-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(4px);
}

.reklama-modal-box {
    position: relative;
    z-index: 1001;
    width: min(860px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.reklama-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: var(--text);
    text-decoration: none;
    font-size: 26px;
    line-height: 1;
}

.reklama-modal-close:hover {
    background: var(--accent-soft);
}

.reklama-kicker {
    margin: 0 0 6px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
}

.reklama-modal-box h2 {
    margin: 0 0 16px;
    font-size: 30px;
}

.reklama-modal-box h3 {
    margin: 22px 0 8px;
    font-size: 19px;
}

.reklama-modal-box p,
.reklama-modal-box li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    text-align: justify;
    text-align-last: left;
}

.reklama-modal-box ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.reklama-highlight {
    padding: 16px;
    margin: 18px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    border: 1px solid #bfdbfe;
}

.reklama-highlight strong,
.reklama-highlight span {
    display: block;
}

.reklama-highlight strong {
    margin-bottom: 5px;
    font-size: 17px;
}

.reklama-highlight span {
    color: var(--muted);
    font-size: 15px;
}

.reklama-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.reklama-price-grid div {
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    text-align: center;
}

.reklama-price-grid strong {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 24px;
}

.reklama-price-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.reklama-contact {
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    text-align: center;
}

.reklama-contact strong {
    display: block;
    margin-bottom: 5px;
}

.reklama-contact a {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 820px) {
    .partneri-banner-grid {
        grid-template-columns: 1fr;
    }

    .reklama-modal {
        padding: 12px;
    }

    .reklama-modal-box {
        max-height: calc(100vh - 24px);
        padding: 22px 18px;
    }

    .reklama-modal-box h2 {
        font-size: 24px;
        padding-right: 36px;
    }

    .reklama-price-grid {
        grid-template-columns: 1fr;
    }

    .reklama-modal-box p,
    .reklama-modal-box li {
        font-size: 14px;
        line-height: 1.6;
    }
}

.partneri-info-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 26px 0 22px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
    transition: transform .18s ease, filter .18s ease;
}

.partneri-info-button:hover {
    transform: translateY(-1px);
    filter: brightness(.96);
}

.partneri-info-button span {
    font-size: 17px;
    line-height: 1;
}

.povezani-section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
    text-align: center;
}

.povezani-kicker {
    margin: 0 0 6px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
}

.povezani-section h2 {
    margin: 0 0 20px;
    font-size: 24px;
}

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

.povezani-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 185px;
    padding: 20px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.povezani-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .09);
}

.povezani-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--accent-soft);
    font-size: 24px;
}

.povezani-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.35;
}

.povezani-card small {
    display: block;
    margin-top: auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.povezani-card em {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--good-soft);
    color: #166534;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

.povezani-current {
    background: linear-gradient(135deg, #fff, var(--accent-soft));
    border-color: #bfdbfe;
}

@media (max-width: 980px) {
    .povezani-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .povezani-grid {
        grid-template-columns: 1fr;
    }

    .povezani-card {
        min-height: auto;
    }
}

.autorska-section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    margin: 18px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.autorska-header {
    text-align: center;
}

.autorska-header h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

.autorska-highlight {
    max-width: 920px;
    margin: 0 auto 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.autorska-copy {
    max-width: 920px;
    margin: 0 auto;
}

.autorska-copy p,
.autorska-copy li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    text-align-last: left;
}

.autorska-copy p {
    margin: 0 0 16px;
}

.autorska-copy ul {
    margin: -4px 0 18px;
    padding-left: 24px;
}

.autorska-copy li {
    margin-bottom: 7px;
}

.autorska-copy strong {
    color: var(--text);
}

.autorska-author {
    text-align: center !important;
    text-align-last: center !important;
    margin: 4px 0 24px !important;
    color: var(--text) !important;
}

.autorska-author a {
    color: var(--accent);
    font-weight: 700;
}

.autorska-note {
    max-width: 920px;
    margin: 26px auto 0;
    padding: 17px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    border: 1px solid #bfdbfe;
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
}

@media (max-width: 820px) {
    .autorska-section {
        padding: 18px;
    }

    .autorska-header h2 {
        font-size: 23px;
    }

    .autorska-highlight,
    .autorska-note {
        font-size: 15px;
    }

    .autorska-copy p,
    .autorska-copy li {
        font-size: 14px;
        line-height: 1.65;
    }
}

.report-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .85fr);
    gap: 22px;
    align-items: stretch;
}

.report-main-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.report-main-panel h2 {
    margin-bottom: 12px;
}

.report-main-panel .help-text {
    margin-bottom: 22px;
}

.report-extra-help {
    margin-top: 14px;
    margin-bottom: 18px;
    color: var(--muted);
    text-align: justify;
}

.report-controls-grid {
    display: block;
}

.report-side-panel {
    display: grid;
    gap: 10px;
    align-content: start;
}

.report-rotator {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 540 / 156;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.report-rotator img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: reportRotator 25s infinite;
}

.report-rotator img:nth-child(1) { animation-delay: 0s; }
.report-rotator img:nth-child(2) { animation-delay: 5s; }
.report-rotator img:nth-child(3) { animation-delay: 10s; }
.report-rotator img:nth-child(4) { animation-delay: 15s; }
.report-rotator img:nth-child(5) { animation-delay: 20s; }

@keyframes reportRotator {
    0% { opacity: 0; }
    4% { opacity: 1; }
    18% { opacity: 1; }
    22% { opacity: 0; }
    100% { opacity: 0; }
}

.report-rotator:hover img {
    animation-play-state: paused;
}

@media (max-width: 820px) {
    .report-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .report-side-panel {
        gap: 12px;
    }

    .report-rotator {
        max-width: 540px;
        margin: 0 auto;
    }
}

.ppp-footer {
    margin: 18px 0 0;
    padding: 18px;
    border-radius: 14px;
    background: #172033;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
}

.ppp-footer-inner {
    display: grid;
    gap: 7px;
}

.ppp-footer-main {
    font-size: 15px;
}

.ppp-footer-contact,
.ppp-footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
}

.ppp-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.ppp-footer a:hover {
    text-decoration: underline;
}

.button-link {
    display: inline-block;
    border-radius: 9px;
    padding: 11px 16px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.button-link:hover {
    filter: brightness(.95);
}