/* Стили для коммерческого предложения (A4) */
.commercial-preview {
    max-width: 210mm;
    margin: 0 auto;
    background: white;
    padding: 15mm;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    line-height: 1.4;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.commercial-preview .header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--purple);
    padding-bottom: 10px;
}

.commercial-preview .company-name {
    font-size: 24pt;
    font-weight: bold;
    color: var(--purple);
}

.commercial-preview .title {
    font-size: 20pt;
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
}

.commercial-preview .recipient {
    margin: 20px 0;
    border: 1px solid #ddd;
    padding: 10px;
}

.commercial-preview table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.commercial-preview th, .commercial-preview td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.commercial-preview th {
    background-color: #f2f2f2;
}

.commercial-preview .total {
    text-align: right;
    font-weight: bold;
    margin-top: 20px;
}

.commercial-preview .signatures {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.commercial-preview .testimonials {
    margin-top: 40px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
}

.commercial-preview .testimonial {
    margin-bottom: 15px;
    font-style: italic;
}

@media print {
    body * {
        visibility: hidden;
    }
    .commercial-preview, .commercial-preview * {
        visibility: visible;
    }
    .commercial-preview {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    .no-print {
        display: none;
    }
}