@media print {
    @page {
        size: A4 landscape;
        margin: 5mm;
    }

    body {
        background: white;
        padding: 0;
        margin: 0;
    }

    .container {
        max-width: 100%;
        height: 100vh;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .welzijn-form {
        display: none !important;
    }

    .no-print {
        display: none !important;
    }

    .resultaat-container {
        display: block !important;
        padding: 10px;
        height: 100vh;
        overflow: hidden;
    }

    .resultaat-header {
        padding: 8px 0;
        margin-bottom: 15px;
        border-bottom: 3px solid #333;
        background: #f0f0f0;
        padding: 10px;
    }

    .resultaat-header h1 {
        font-size: 20pt;
        color: #000;
        margin-bottom: 8px;
        text-align: center;
    }

    .bewoner-info {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-top: 10px;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 5px;
        background: white;
        padding: 5px 15px;
        border: 2px solid #333;
        border-radius: 5px;
    }

    .info-label {
        font-size: 9pt;
        color: #666;
        font-weight: bold;
    }

    .info-value {
        font-size: 12pt;
        color: #000;
        font-weight: bold;
    }

    .resultaat-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
        gap: 10px;
        margin-bottom: 10px;
        page-break-inside: avoid;
    }

    .resultaat-card {
        border: 1px solid #666;
        padding: 10px;
        box-shadow: none;
        page-break-inside: avoid;
        background: white !important;
    }

    .resultaat-card h3 {
        font-size: 11pt;
        margin-bottom: 5px;
        color: #000;
        border-bottom: 1px solid #ccc;
        padding-bottom: 3px;
    }

    .resultaat-card p {
        font-size: 9pt;
        line-height: 1.3;
        color: #000;
        max-height: 120px;
        overflow: hidden;
    }

    .resultaat-card.noodzakelijk {
        border-left: 4px solid #bb550c;
        grid-column: 1;
        grid-row: 1;
    }

    .resultaat-card.belangrijk {
        border-left: 4px solid #f4781f;
        grid-column: 2;
        grid-row: 1;
    }

    .resultaat-card.wenselijk {
        border-left: 4px solid #ffb066;
        grid-column: 3;
        grid-row: 1;
    }

    .resultaat-card.acties {
        border-left: 4px solid #f4781f;
        grid-column: 4;
        grid-row: 1 / span 2;
    }

    .resultaat-footer {
        border: 1px solid #666;
        padding: 8px;
        background: #f0f0f0 !important;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        page-break-inside: avoid;
    }

    .mobiliteit-section {
        flex: 1;
        max-width: 70%;
    }

    .mobiliteit-info,
    .mobiliteit-beschrijving,
    .datum-info {
        font-size: 9pt;
        color: #000;
        margin-bottom: 3px;
    }

    .mobiliteit-beschrijving {
        display: block;
    }

    .form-actions {
        display: none !important;
    }

    button {
        display: none !important;
    }
}