@page { size: A4; margin: 12mm 14mm; }
        * { box-sizing: border-box; }
        html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
        body { margin: 0; background: #E9EDF3; color: #0C1D3D; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: 13px; line-height: 1.5; }

        .toolbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: center; gap: 10px; padding: 12px; background: #0C2350; }
        .toolbar a, .toolbar button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius:3px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
        .toolbar a { background: rgba(255, 255, 255, .12); color: #FFF; }
        .toolbar button { background: #FFF; color: #0C2350; }
        .toolbar svg { width: 16px; height: 16px; }

        .sheet { display: flex; flex-direction: column; width: 210mm; max-width: 100%; min-height: 297mm; margin: 24px auto; padding: 14mm; background: #FFF; box-shadow: 0 10px 40px -12px rgba(1, 17, 43, .3); }

        .doc-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 14px; border-bottom: 3px solid #0C2350; }
        .doc-header img { display: block; width: 170px; height: auto; }
        .doc-meta { text-align: right; }
        .doc-type { font-size: 15px; font-weight: 700; color: #0C2350; letter-spacing: .02em; }
        .doc-date { margin-top: 2px; font-size: 11px; color: #64748B; }

        .product { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
        .product-image { display: flex; align-items: center; justify-content: center; flex: none; width: 190px; height: 190px; padding: 12px; border: 1px solid #E2E8F0; border-radius:3px; }
        .product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .product-info { flex: 1; min-width: 0; }
        h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; color: #0C2350; }
        .summary { margin: 10px 0 0; color: #475569; }
        .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0 0; }
        .facts dt { font-size: 10px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: .06em; }
        .facts dd { margin: 1px 0 0; font-size: 14px; font-weight: 600; }

        h2 { margin: 26px 0 10px; font-size: 14px; font-weight: 700; color: #0C2350; }
        table { width: 100%; border-collapse: collapse; border: 1px solid #E2E8F0; }
        tr { break-inside: avoid; }
        tr:nth-child(even) { background: #F6F8FB; }
        th, td { padding: 8px 12px; border-bottom: 1px solid #E2E8F0; text-align: left; vertical-align: top; }
        th { width: 38%; font-weight: 600; color: #334155; }

        .doc-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 14px; border-top: 1px solid #CBD5E1; font-size: 10.5px; line-height: 1.6; color: #475569; }
        .doc-footer strong { display: block; color: #0C2350; }
        .doc-footer > div:last-child { flex: none; text-align: right; }
        .footer-gap { flex: none; height: 28px; }

        @media (max-width: 640px) {
            .sheet { margin: 0; padding: 18px; min-height: 0; box-shadow: none; }
            .doc-header img { width: 120px; }
            .doc-type { font-size: 13px; }
            .product { flex-direction: column; align-items: stretch; gap: 14px; }
            .product-image { width: 100%; height: 180px; }
            h1 { font-size: 20px; }
            .doc-footer { flex-direction: column; gap: 8px; }
            .doc-footer > div:last-child { text-align: left; }
        }

        @media print {
            body { background: #FFF; }
            .toolbar { display: none; }
            .sheet { width: auto; min-height: 272mm; margin: 0; padding: 0; box-shadow: none; }
            .product { margin-top: 16px; }
            .product-image { width: 150px; height: 150px; }
            h2 { margin-top: 16px; margin-bottom: 8px; }
            th, td { padding: 5px 10px; font-size: 12px; }
            .footer-gap { height: 14px; }
            .doc-footer { break-inside: avoid; }
        }
