
/* ==== moved from about.php (was an inline <style> block) ==== */
.about-card {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e7eeeb;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 36px 40px;
        margin-top: 20px;
    }
    .about-card h2 {
        font-size: 20px;
        font-weight: 700;
        color: #111817;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    .about-card p {
        color: #111817;
        line-height: 1.75;
        margin-bottom: 12px;
        font-size: 15px;
    }
    .about-card ul {
        padding-left: 0;
        margin-bottom: 16px;
        list-style: none;
    }
    .about-card ul li {
        color: #111817;
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 10px;
        padding: 10px 14px;
        background: #eef3f1;
        border-radius: 8px;
        border-left: 3px solid #0d7654;
    }
    .about-card a {
        color: #0d7654;
        text-decoration: none;
    }
    .about-card a:hover {
        text-decoration: underline;
    }
    .about-warning {
        margin-top: 32px;
        padding: 18px 20px;
        background: #fffbea;
        border: 1px solid #ffe08a;
        border-left: 4px solid #f0ad00;
        border-radius: 8px;
        font-size: 14px;
        color: #111817;
        line-height: 1.6;
    }
    .about-contact {
        margin-top: 24px;
        padding: 18px 20px;
        background: #eef3f1;
        border: 1px solid #c7cfcc;
        border-radius: 8px;
    }
    .about-contact p {
        margin-bottom: 6px;
        font-size: 14px;
        color: #111817;
    }
    @media (max-width: 768px) {
        .about-card {
            padding: 20px 16px;
        }
        .about-card h2 { font-size: 17px; }
    }

/* ==== moved from privacy.php (was an inline <style> block) ==== */
.static-card {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e7eeeb;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 36px 40px;
        margin-top: 20px;
    }
    .static-card h2 {
        font-size: 20px;
        font-weight: 700;
        color: #111817;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    .static-card p {
        color: #111817;
        line-height: 1.75;
        margin-bottom: 12px;
        font-size: 15px;
    }
    .static-card ul {
        padding-left: 20px;
        margin-bottom: 16px;
    }
    .static-card ul li {
        color: #111817;
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 8px;
    }
    .static-card a {
        color: #0d7654;
        text-decoration: none;
    }
    .static-card a:hover {
        text-decoration: underline;
    }
    .privacy-date {
        color: #7c8a85;
        font-size: 13px;
        margin-bottom: 24px;
        font-style: italic;
    }
    .static-footer {
        margin-top: 32px;
        padding: 18px 20px;
        background: #eef3f1;
        border-left: 4px solid #0d7654;
        border-radius: 8px;
        font-size: 14px;
        color: #111817;
        line-height: 1.6;
    }
    .static-contact {
        margin-top: 24px;
        padding: 18px 20px;
        background: #eef3f1;
        border: 1px solid #c7cfcc;
        border-radius: 8px;
    }
    .static-contact p {
        margin-bottom: 6px;
        font-size: 14px;
        color: #111817;
    }
    @media (max-width: 768px) {
        .static-card { padding: 20px 16px; }
        .static-card h2 { font-size: 17px; }
    }

/* ==== moved from terms.php (was an inline <style> block) ==== */
.static-card {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e7eeeb;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 36px 40px;
        margin-top: 20px;
    }
    .static-card h2 {
        font-size: 20px;
        font-weight: 700;
        color: #111817;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    .static-card p {
        color: #111817;
        line-height: 1.75;
        margin-bottom: 12px;
        font-size: 15px;
    }
    .static-card ul {
        padding-left: 20px;
        margin-bottom: 16px;
    }
    .static-card ul li {
        color: #111817;
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 8px;
    }
    .static-card a {
        color: #0d7654;
        text-decoration: none;
    }
    .static-card a:hover {
        text-decoration: underline;
    }
    .static-card .terms-date {
        color: #7c8a85;
        font-size: 13px;
        margin-bottom: 24px;
        font-style: italic;
    }
    .static-card .terms-important {
        font-weight: bold;
        color: #DC2626;
    }
    .static-footer {
        margin-top: 32px;
        padding: 18px 20px;
        background: #eef3f1;
        border-left: 4px solid #0d7654;
        border-radius: 8px;
        font-size: 14px;
        color: #111817;
        line-height: 1.6;
        font-weight: 600;
        text-align: center;
    }
    @media (max-width: 768px) {
        .static-card {
            padding: 20px 16px;
        }
        .static-card h2 { font-size: 17px; }
    }

/* ==========================================
 * Калькуляторы (/calculators.php) — §13
 * Подключается через $pageCss = ['static-pages.css']
 * ========================================== */
.calculator {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-radius: var(--nd-r-lg);
    padding: 24px;
    box-shadow: var(--nd-shadow-sm);
    margin-bottom: 24px;
}
.calculator h3 {
    margin: 0 0 16px;
    font-size: var(--nd-fs-lg);
    font-weight: 700;
    color: var(--nd-text);
}
.calculator label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--nd-fs-sm);
    font-weight: 600;
    color: var(--nd-text-secondary);
}
.calculator input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--nd-line-strong);
    border-radius: var(--nd-r-sm);
    font-size: 16px;
    color: var(--nd-text);
    background: var(--nd-surface);
    transition: border-color var(--nd-t) var(--nd-ease), box-shadow var(--nd-t) var(--nd-ease);
}
.calculator input[type="number"]:focus {
    outline: none;
    border-color: var(--nd-accent);
    box-shadow: 0 0 0 3px rgba(13, 118, 84, .16);
}
.calculator button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--nd-accent);
    border: none;
    border-radius: var(--nd-r-sm);
    font-size: 15px;
    font-weight: 700;
    color: var(--nd-text-invert);
    cursor: pointer;
    transition: background var(--nd-t) var(--nd-ease), transform var(--nd-t) var(--nd-ease);
}
.calculator button[type="submit"]:hover {
    background: var(--nd-accent-hover);
    transform: translateY(-1px);
}

.result-box {
    background: var(--nd-surface);
    border: 1px solid var(--nd-line);
    border-left: 4px solid var(--nd-accent);
    border-radius: var(--nd-r-md);
    padding: 20px 22px;
    margin-bottom: 24px;
}
.result-box h3 {
    margin: 0 0 10px;
    font-size: var(--nd-fs-lg);
    font-weight: 700;
    color: var(--nd-text);
}
.result-box p {
    margin: 0 0 6px;
    font-size: var(--nd-fs-sm);
    color: var(--nd-text-secondary);
}
.result-box p:last-child { margin-bottom: 0; }
.result-box strong { color: var(--nd-text); }
.result-box.error { border-left-color: #DC2626; }
.result-box.error h3 { color: #DC2626; }

@media (max-width: 640px) {
    .calculator { padding: 18px 16px; }
    .result-box { padding: 16px; }
}
