window.FORCE_REFRESH_IN4 = false;
    let checkPass = false;
    const checkAndRemoveInterval = setInterval(() => {
        const spans = Array.from(document.querySelectorAll('span.ng-star-inserted, button, .ui-button'));
        const removeAllBtn = spans.find(span => (span.innerText || '').trim() === 'Tümünü kaldır');
        if (removeAllBtn) {
            removeAllBtn.click();
            clearInterval(checkAndRemoveInterval);
            checkPass = true;
        }
    }, 200);
    setTimeout(() => {\n        clearInterval(checkAndRemoveInterval);
        if(!checkPass) {
            const testChecks = document.querySelectorAll('hyp-lab-test-row p-checkbox .ui-state-active, .ui-panel-content p-checkbox .ui-state-active');
            testChecks.forEach(cb => cb.click());
        }
    }, 4000);
    bindIN4Events();
}

function createIN4Input(label, id, value, unit = '') {
    return `
        <div style="background: #f8fafc; padding: 10px; border-radius: 8px; border: 1px solid #e2