{"id":148,"date":"2026-08-18T16:34:34","date_gmt":"2026-08-18T16:34:34","guid":{"rendered":"https:\/\/balicompliancecentre.com\/?page_id=148"},"modified":"2026-08-18T16:47:07","modified_gmt":"2026-08-18T16:47:07","slug":"audit","status":"publish","type":"page","link":"https:\/\/balicompliancecentre.com\/?page_id=148","title":{"rendered":"Audit"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"148\" class=\"elementor elementor-148\">\n\t\t\t\t<div class=\"elementor-element elementor-element-020fdc6 e-flex e-con-boxed e-con e-parent\" data-id=\"020fdc6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f3fcbc3 elementor-widget elementor-widget-html\" data-id=\"f3fcbc3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <title>BCC Master Compliance Auditor - Complete 45-Point Matrix<\/title>\r\n    <style>\r\n        :root {\r\n            --primary: #1A365D;       \/* Authority Midnight Blue *\/\r\n            --eco: #2E7D32;           \/* Sustainability Forest Green *\/\r\n            --culture: #D84315;       \/* Customary Custom Sunset Orange *\/\r\n            --primary-light: #EBF8FF;\r\n            --bg: #F8F9FA;\r\n            --border: #E2E8F0;\r\n            --text: #2D3748;\r\n            --danger: #D9534F;\r\n            --warning: #F0AD4E;\r\n            --success: #5CB85C;\r\n        }\r\n\r\n        body {\r\n            font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\r\n            background-color: var(--bg);\r\n            color: var(--text);\r\n            margin: 0; padding: 20px;\r\n            line-height: 1.6; padding-bottom: 120px;\r\n        }\r\n\r\n        .container { max-width: 1200px; margin: 0 auto; }\r\n\r\n        header {\r\n            background-color: var(--primary); color: white;\r\n            padding: 24px; border-radius: 12px;\r\n            box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 24px;\r\n            border-left: 6px solid var(--eco);\r\n            display: flex; justify-content: space-between; align-items: center;\r\n        }\r\n\r\n        header h1 { margin: 0 0 8px 0; font-size: 26px; }\r\n        header p { margin: 0; color: #A0AEC0; font-style: italic; }\r\n\r\n        .meta-form {\r\n            background: white; padding: 25px; border-radius: 8px;\r\n            box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 30px;\r\n            display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;\r\n        }\r\n\r\n        .form-group { display: flex; flex-direction: column; }\r\n        label { font-weight: bold; margin-bottom: 8px; color: var(--primary); }\r\n        input[type=\"text\"] { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; background: white; outline: none; }\r\n\r\n        .category-block { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 25px; }\r\n        .legal-block { border-left: 6px solid var(--danger); }\r\n        .eco-block { border-left: 6px solid var(--eco); }\r\n        .cultural-block { border-left: 6px solid var(--culture); }\r\n\r\n        h3 { margin-top: 0; color: var(--primary); border-bottom: 2px solid var(--border); padding-bottom: 8px; margin-bottom: 15px; }\r\n        .checkbox-grid { display: flex; flex-direction: column; gap: 15px; }\r\n        .checkbox-item { display: flex; flex-direction: column; gap: 8px; padding: 15px; border-radius: 6px; background-color: #fafafa; border: 1px solid var(--border); }\r\n        .checkbox-row { display: flex; align-items: flex-start; gap: 12px; }\r\n        .checkbox-row input { margin-top: 4px; transform: scale(1.3); cursor: pointer; }\r\n        \r\n        .evidence-input { margin-left: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }\r\n        .evidence-input input { padding: 6px 10px; font-size: 13px; border: 1px solid #ddd; border-radius: 4px; outline: none; }\r\n\r\n        .btn-container { margin: 30px 0; }\r\n        .btn { background-color: var(--primary); color: white; border: none; padding: 12px 28px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; transition: background 0.2s; }\r\n        .btn:hover { background-color: #12264a; }\r\n\r\n        .alert-success { background-color: #C6F6D5; color: #22543D; padding: 14px; border-radius: 6px; margin-bottom: 25px; border-left: 4px solid #38A169; font-weight: 500; display: none; }\r\n\r\n        .sticky-counter {\r\n            position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 20px 40px; box-shadow: 0 -4px 10px rgba(0,0,0,0.1);\r\n            display: flex; justify-content: space-between; align-items: center; z-index: 1000; border-top: 3px solid var(--eco);\r\n        }\r\n\r\n        .score-display { font-size: 18px; font-weight: bold; }\r\n        .badge-status { padding: 8px 20px; border-radius: 20px; color: white; font-weight: bold; font-size: 15px; }\r\n\r\n        .table-container { background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); overflow-x: auto; margin-top: 20px; margin-bottom: 40px; }\r\n        table { width: 100%; border-collapse: collapse; text-align: left; }\r\n        th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); }\r\n        th { background: #EDF2F7; font-weight: 600; }\r\n\r\n        @media (max-width: 768px) {\r\n            .meta-form { grid-template-columns: 1fr; }\r\n            .evidence-input { grid-template-columns: 1fr; }\r\n            .sticky-counter { flex-direction: column; gap: 12px; text-align: center; padding: 15px; }\r\n        }\r\n\r\n        @media print {\r\n            .sticky-counter, .btn, input, select, .evidence-input { display: none !important; }\r\n            body { background: white; padding-bottom: 0; }\r\n            .category-block { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }\r\n            .print-header { display: block !important; margin-bottom: 30px; }\r\n        }\r\n        .print-header { display: none; border-bottom: 3px solid var(--primary); padding-bottom: 10px; }\r\n    <\/style>\r\n<\/head>\r\n<body>\r\n\r\n<div class=\"container\">\r\n    <header>\r\n        <div>\r\n            <h1>\ud83c\udf3f Bali Compliance Centre (BCC)<\/h1>\r\n            <p>Master Compliance Audit Portal & History Registry Database<\/p>\r\n        <\/div>\r\n        <div>\r\n            <button class=\"btn\" style=\"background-color: var(--eco);\" onclick=\"window.print()\">\ud83d\udda8\ufe0f Print PDF Inspection Report<\/button>\r\n        <\/div>\r\n    <\/header>\r\n\r\n    <div class=\"print-header\">\r\n        <h2>OFFICIAL BALI COMPLIANCE CORE INSPECTION REPORT<\/h2>\r\n        <p>Issued by: Bali Compliance Centre (BCC) | Confidential Dossier<\/p>\r\n    <\/div>\r\n\r\n    <!-- Metadata Intake Fields -->\r\n    <div class=\"meta-form\">\r\n        <div class=\"form-group\">\r\n            <label>Villa \/ Property Name:<\/label>\r\n            <input type=\"text\" id=\"vName\" placeholder=\"e.g. Mandala Uluwatu\" required>\r\n        <\/div>\r\n        <div class=\"form-group\">\r\n            <label>Lead Auditor Name:<\/label>\r\n            <input type=\"text\" id=\"aName\" placeholder=\"e.g. Made \/ Sarah\">\r\n        <\/div>\r\n        <div class=\"form-group\">\r\n            <label>Plot \/ Regional Zone:<\/label>\r\n            <input type=\"text\" id=\"vZone\" placeholder=\"e.g. Jalan Bingin Beach, Uluwatu\">\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <div id=\"successAlert\" class=\"alert-success\"><\/div>\r\n\r\n    <form id=\"auditForm\" onsubmit=\"event.preventDefault(); processAudit();\">\r\n        \r\n        <!-- Part 1 Node Grid Layout Container -->\r\n        <div class=\"category-block legal-block\">\r\n            <h3>\u2696\ufe0f Part 1: Hard Legal Assets & Corporate Structure (1 - 10)<\/h3>\r\n            <p style=\"color: var(--danger); font-weight: bold; margin-top: -10px;\">\ud83d\udea8 If any of these 10 baseline legal requirements are missing, the report automatically triggers 'HIGH RISK'.<\/p>\r\n            <div class=\"checkbox-grid\" id=\"legalGrid\"><\/div>\r\n        <\/div>\r\n\r\n        <!-- Part 2 Node Grid Layout Container -->\r\n        <div class=\"category-block eco-block\">\r\n            <h3>\ud83c\udf3f Part 2: Eco-Luxury Operations & ETB Compliance (11 - 35)<\/h3>\r\n            <p style=\"color: var(--eco); font-weight: bold; margin-top: -10px;\">\ud83d\udc9a Calibrated against the operational criteria of the Eco Tourism Bali Framework.<\/p>\r\n            <div class=\"checkbox-grid\" id=\"ecoGrid\"><\/div>\r\n        <\/div>\r\n\r\n        <!-- Part 3 Node Grid Layout Container -->\r\n        <div class=\"category-block cultural-block\">\r\n            <h3>\ud83c\udf38 Part 3: Cultural Harmony, Banjar Adat & Local HR (36 - 45)<\/h3>\r\n            <p style=\"color: var(--culture); font-weight: bold; margin-top: -10px;\">\ud83e\udd1d Safeguards sustainable and respectful integration within the Balinese village structure.<\/p>\r\n            <div class=\"checkbox-grid\" id=\"culturalGrid\"><\/div>\r\n        <\/div>\r\n\r\n        <div class=\"btn-container\">\r\n            <button type=\"submit\" class=\"btn\">Calculate Score & Save Audit Log<\/button>\r\n        <\/div>\r\n    <\/form>\r\n\r\n    <!-- Historical Table Layout -->\r\n    <h2>\ud83d\udcca Database: Executed Master Scans<\/h2>\r\n    <div class=\"table-container\">\r\n        <table>\r\n            <thead>\r\n                <tr>\r\n                    <th>Villa Name<\/th>\r\n                    <th>Audit Region<\/th>\r\n                    <th>Legal Status<\/th>\r\n                    <th>Eco & Culture Score<\/th>\r\n                    <th>ETB Classification<\/th>\r\n                    <th>Registered On<\/th>\r\n                <\/tr>\r\n            <\/thead>\r\n            <tbody id=\"historyBody\"><\/tbody>\r\n        <\/table>\r\n    <\/div>\r\n<\/div>\r\n\r\n<!-- Persistent Global Bottom Dashboard Bar -->\r\n<div class=\"sticky-counter\">\r\n    <div class=\"score-display\">\r\n        <strong>Legal Status:<\/strong> <span id=\"legalScore\">0\/10 OK<\/span> | \r\n        <strong>Eco & Culture (ETB):<\/strong> <span id=\"ecoPercent\">0%<\/span> (<span id=\"ecoCount\">0<\/span>\/35 OK)\r\n    <\/div>\r\n    <div><span id=\"statusBadge\" class=\"badge-status bg-danger\">\ud83d\udd34 HIGH RISK (Risk of Closure)<\/span><\/div>\r\n<\/div>\r\n<script>\r\n    \/\/ PART 1: LEGAL & STRUCTURE DATA MATRIX (1 - 10)\r\n    const legalQuestions = [\r\n        { id: 1, label: '1. PT PMA Registered Company: Foreign corporate setup is fully approved by the ministry and BKPM. No illegal nominee structures used.', p1: 'AKTA Notary Number', p2: 'SK Menkumham Code' },\r\n        { id: 2, label: '2. KBLI 55193 Vacation Rental Code: The OSS system contains the mandatory business classification for short-term villa rentals to prevent OTA delisting.', p1: 'NIB Registration Number', p2: 'OSS Operational Date' },\r\n        { id: 3, label: '3. Spatial Planning & Zoning (RDTR): Plot is officially located in an approved tourist (Zona Pariwisata) or commercial zone, not on green zone land.', p1: 'Plot Number \/ Coordinate', p2: 'RDTR Zone Status' },\r\n        { id: 4, label: '4. Building Approval Permit (PBG): Fysical build construction matches exactly with a fully approved PBG (formerly IMB) license.', p1: 'PBG Document Number', p2: 'Registered Area (m2)' },\r\n        { id: 5, label: '5. Certificate of Occupancy (SLF): Valid certificate present proving structural safety, electrical integrity, and fire safety systems are up to code.', p1: 'SLF Certificate ID', p2: 'SLF Expiration Date' },\r\n        { id: 6, label: '6. Environmental Registration (SPPL \/ UKL-UPL): Approved environmental impact notification submitted and active with the local DLHK authority.', p1: 'DLHK Registration ID', p2: 'Impact Classification' },\r\n        { id: 7, label: '7. Local Tax Registration (NPWPD): Active hotel\/villa tax registration (PB1) for the correct remittance of the mandatory 10% hospitality tax.', p1: 'NPWPD Tax Number', p2: 'Taxpayer Registered Name' },\r\n        { id: 8, label: '8. Legalized Lease Agreements: Ground lease contracts (Hak Sewa or Hak Pakai) are notarially formalized and appropriate transactional taxes paid.', p1: 'Notary Public Name', p2: 'Lease Expiration Date' },\r\n        { id: 9, label: '9. Operational KITAS Work Permits: All active foreign managers, directors, or owners hold valid work KITAS linked to the PT PMA entity.', p1: 'IMTA \/ KITAS ID Number', p2: 'Immigration End Date' },\r\n        { id: 10, label: '10. Fire & Evacuation Safety: Calibrated fire extinguishers (APAR) present at strategic layout locations alongside marked, clear evacuation exits.', p1: 'APAR Inspection Date', p2: 'Total Number of Units' }\r\n    ];\r\n\r\n    \/\/ PART 2: ECO-LUXURY OPERATIONS DATA MATRIX - SQUAD 1 (11 - 25)\r\n    const ecoQuestionsPart1 = [\r\n        { id: 11, label: '11. Single-Use Plastic Ban: Comprehensive operational ban restricting single-use plastic water bottles for both guests and resort staff.' },\r\n        { id: 12, label: '12. Plastic-Free F&B: Plastic straws, stirrers, and single-use plastic wrapped condiments are entirely banned from kitchen and F&B operations.' },\r\n        { id: 13, label: '13. Refillable Bulk Dispensers: Non-plastic refillable dispensers (ceramic, glass, or finished wood) used in all bathrooms for soap, shampoo, and conditioner.' },\r\n        { id: 14, label: '14. Source Waste Sorting: Waste bins partitioned and clearly labeled across at least 3 distinct channels: Organic, Recyclable, and Residue residuals.' },\r\n        { id: 15, label: '15. Circular Waste Logistics: Active, paid service agreement with a certified local circular recycler (e.g., EcoBali, Eco Mantra) providing sortation logs.' },\r\n        { id: 16, label: '16. On-Site Organic Composting: Active aerobic composting beds or container units functional for recycling garden clippings and raw kitchen scraps.' },\r\n        { id: 17, label: '17. Isolated Hazardous Storage: Secured, separate depot built for toxic household waste items such as batteries, toners, chemical cleaners, and mercury tubes.' },\r\n        { id: 18, label: '18. Supply Chain Outer Packaging Reduction: Procurement policy actively mandates wholesale F&B vendors to deliver items in reusable bins instead of plastic wrap.' },\r\n        { id: 19, label: '19. Certified Bio-Septic Tanks: Plumbing network is connected to structured, multi-chamber biological septic tanks with filter compartments instead of unsealed soak pits.' },\r\n        { id: 20, label: '20. Hydrophobic Kitchen Grease Traps: High-capacity commercial kitchen drains fitted with mechanical grease traps subjected to documented weekly extraction runs.' },\r\n        { id: 21, label: '21. Flow-Restrictors & Aerators: Water tap aerators and eco-showerheads mounted across all suites to tightly restrict maximum fluid flow to under 6 liters per minute.' },\r\n        { id: 22, label: '22. Rainwater Catchment: Retention buffers or tanks integrated into roof gutters to store rainwater for grounds irrigation or structural cooling loops.' },\r\n        { id: 23, label: '23. Greywater Remediation Filters: Greywater from showers and washbasins directed through sand\/carbon beds or hydrophyte setups for toilet refilling.' },\r\n        { id: 24, label: '24. Ground Absorption Inlets (Biopori): Functional biopori infiltration holes bored into structural topsoil lines to maximize earth groundwater recharge profiles.' },\r\n        { id: 25, label: '25. Laboratory Certified Water Assays: Up-to-date third-party laboratory verification certificates available proving domestic tap and pool water is completely pathogen-free.' }\r\n    ];\r\n    \/\/ PART 2: ECO-LUXURY OPERATIONS DATA MATRIX - SQUAD 2 (26 - 35)\r\n    const ecoQuestionsPart2 = [\r\n        { id: 26, label: '26. Eco Pool Pump Engineering: Variable-speed pool circulation systems calibrated to automated timeslots to minimize utility load and run-offs.' },\r\n        { id: 27, label: '27. 100% LED Luminescent Footprint: All indoor, outdoor, decorative, and back-of-house grid fixtures exclusively leverage high-efficiency LED electronics.' },\r\n        { id: 28, label: '28. Eco-Inverter AC Technology: Split-system climate units standardized on smart variable inverter designs charging only R32 or equivalent eco-refrigerants.' },\r\n        { id: 29, label: '29. Automated Room Power-off: Suites fitted with magnetic mechanical keycard master blocks or IR sensors that cut idle voltage and cooling loops when guest exits.' },\r\n        { id: 30, label: '30. Solar Photovoltaic Grid Integration: Structural roof grid hosts solar PV modules calibrated to generate at least 10% of total operational kilowatt needs.' },\r\n        { id: 31, label: '31. Passive Thermal Architecture: Structural design leverages cross-ventilation breeze lanes, native shading plants, and double-roof layouts to offset AC runtime metrics.' },\r\n        { id: 32, label: '32. Solar Thermal Water Collectors: Guest bathroom loops backed by thermodynamic water panels (e.g. Wika Solar grids) to source domestic hot water demands.' },\r\n        { id: 33, label: '33. Local Sourcing Chain (F&B): At least 50% of raw kitchen inventory sourced directly via Balinese farming groups, local market hubs, or regional growers.' },\r\n        { id: 34, label: '34. 100% Biodegradable Housekeeping: All laundry soaps, multi-surface compounds, and sanitizers verified as eco-friendly formulas lacking phosphate compounds.' },\r\n        { id: 35, label: '35. Legally Sourced Materials (SVLK\/FSC): Build carpentry, structural bamboo arrays, and luxury structural timber carry legal SVLK indices or FSC forestry stamps.' }\r\n    ];\r\n\r\n    \/\/ PART 3: SOCIAL, CULTURAL & COMMUNITY DATA MATRIX (36 - 45)\r\n    const culturalQuestions = [\r\n        { id: 36, label: '36. Balinese Employment Quota: Local employment tracking proves that at least 70% of frontline operational staff carry valid Balinese residency identities (KTP).' },\r\n        { id: 37, label: '37. Statutory Regional Wage Protections: Basic salary sheets audited to conform completely with current spatial minimum guidelines (UMK Badung \/ Gianyar benchmarks).' },\r\n        { id: 38, label: '38. Banjar Adat Customary Contributions: Ongoing monthly village infrastructure payments and customary ceremonial fees logged with validated receipts from local leaders.', p1: 'Local Banjar Adat Name', p2: 'Last Receipt Date' },\r\n        { id: 39, label: '39. Customary Palinggih Temple Upkeep: An authentic, clean Hindu temple structural sanctuary (Padmasana \/ Palinggih) integrated and cared for on premises.' },\r\n        { id: 40, label: '40. Paid Ceremonial Staff Leave: Balinese personnel are guaranteed fully paid, flexible roster adjustments to fulfill sacred family and custom village ceremonies.' },\r\n        { id: 41, label: '41. Guest Cultural Onboarding Guides: Incoming travelers provided with explicit print or digital media outlines mapping out custom village manners and temple dress etiquette.' },\r\n        { id: 42, label: '42. National Social Security Enrollment: Operational employees formally signed onto the Indonesian healthcare and social welfare program network (BPJS Kesehatan & Ketenagakerjaan).' },\r\n        { id: 43, label: '43. Annual Local CSR Allocations: Corporate social allocation backs at least one verified annual village development project, neighborhood beach sweep, or youth asset fund.' },\r\n        { id: 44, label: '44. Neighborhood Noise & Light Controls: Structural noise caps enforced after standard evening parameters (e.g. 10PM\/11PM) to prevent audio or light intrusion onto local housing arrays.' },\r\n        { id: 45, label: '45. Customary Village Operation Approvals: Management office stores an active operational approval document authenticated by the regional Klian Adat (Village Elder).' }\r\n    ];\r\n    \/\/ COMBINE ECO SECTIONS FOR DYNAMIC PROCESSING\r\n    const ecoQuestions = [...ecoQuestionsPart1, ...ecoQuestionsPart2];\r\n\r\n    \/\/ INJECTION LAYER DESIGNED TO PREVENT CHARACTER TRUNCATIONS\r\n    function injectQuestions(array, gridId, prefix) {\r\n        const grid = document.getElementById(gridId);\r\n        array.forEach(q => {\r\n            const container = document.createElement('div');\r\n            container.className = 'checkbox-item';\r\n\r\n            let evidenceHTML = '';\r\n            if (q.p1 && q.p2) {\r\n                evidenceHTML = `<div class=\"evidence-input\"><input type=\"text\" placeholder=\"${q.p1}\"><input type=\"text\" placeholder=\"${q.p2}\"><\/div>`;\r\n            }\r\n\r\n            container.innerHTML = `\r\n                <div class=\"checkbox-row\">\r\n                    <input type=\"checkbox\" class=\"audit-check ${prefix}-check\" onclick=\"calculateLiveScore()\">\r\n                    <div>${q.label}<\/div>\r\n                <\/div>\r\n                ${evidenceHTML}\r\n            `;\r\n            grid.appendChild(container);\r\n        });\r\n    }\r\n\r\n    \/\/ LOCAL STORAGE SYNCHRONIZATION HOOKS (Streamlit session_state parity)\r\n    let auditHistory = JSON.parse(localStorage.getItem('bcc_master_history')) || [];\r\n\r\n    function renderHistory() {\r\n        const tbody = document.getElementById('historyBody');\r\n        tbody.innerHTML = '';\r\n\r\n        if (auditHistory.length === 0) {\r\n            tbody.innerHTML = `<tr><td colspan=\"6\" style=\"text-align: center; color: #718096; font-style: italic;\">No audit scans logged in the local workspace. Perform an inspection above to populate records.<\/td><\/tr>`;\r\n            return;\r\n        }\r\n\r\n        auditHistory.forEach(audit => {\r\n            const row = document.createElement('tr');\r\n            row.innerHTML = `\r\n                <td><strong>${audit.villaName}<\/strong><\/td>\r\n                <td>${audit.region}<\/td>\r\n                <td>${audit.legalStatus}<\/td>\r\n                <td>${audit.ecoScore}<\/td>\r\n                <td>${audit.classification}<\/td>\r\n                <td>${audit.timestamp}<\/td>\r\n            `;\r\n            tbody.insertBefore(row, tbody.firstChild);\r\n        });\r\n    }\r\n\r\n    function calculateLiveScore() {\r\n        const legalBoxes = document.querySelectorAll('.legal-check');\r\n        let legalPassed = 0;\r\n        legalBoxes.forEach(box => { if(box.checked) legalPassed++; });\r\n        document.getElementById('legalScore').innerText = legalPassed + '\/10 OK';\r\n\r\n        const ecoBoxes = document.querySelectorAll('.eco-check, .cultural-check');\r\n        let ecoPassed = 0;\r\n        ecoBoxes.forEach(box => { if(box.checked) ecoPassed++; });\r\n        \r\n        const ecoPercent = Math.round((ecoPassed \/ 35) * 100);\r\n        document.getElementById('ecoCount').innerText = ecoPassed;\r\n        document.getElementById('ecoPercent').innerText = ecoPercent + '%';\r\n\r\n        const stickyBadge = document.getElementById('statusBadge');\r\n        \r\n        if (legalPassed < 10) {\r\n            stickyBadge.innerText = \"\ud83d\udd34 HIGH RISK (Risk of Closure)\";\r\n            stickyBadge.className = \"badge-status bg-danger\";\r\n            return \"\ud83d\udd34 High Risk (Permits Incomplete)\";\r\n        } else if (legalPassed === 10 && ecoPercent < 60) {\r\n            stickyBadge.innerText = \"\ud83d\udfe0 MEDIUM RISK (Permits OK, Systems Upgrade Needed)\";\r\n            stickyBadge.className = \"badge-status bg-warning\";\r\n            return \"\ud83d\udfe0 Risk Pending (Physical Systems Outdated)\";\r\n        } else if (legalPassed === 10 && ecoPercent >= 60 && ecoPercent < 85) {\r\n            stickyBadge.innerText = \"\ud83e\udd48 SILVER COMPLIANT (Ready for ETB Silver Badge)\";\r\n            stickyBadge.className = \"badge-status bg-warning\";\r\n            return \"\ud83d\udfe2 Fully Compliant (ETB Silver Confirmed)\";\r\n        } else {\r\n            stickyBadge.innerText = \"\ud83e\udd47 GOLD COMPLIANT (Airtight & ETB Gold Certified)\";\r\n            stickyBadge.className = \"badge-status bg-success\";\r\n            return \"\ud83d\udfe2 Fully Compliant (ETB Gold Confirmed)\";\r\n        }\r\n    }\r\n\r\n    function processAudit() {\r\n        const nameInput = document.getElementById('vName');\r\n        const zoneInput = document.getElementById('vZone');\r\n        const checkboxes = document.querySelectorAll('.audit-check');\r\n\r\n        const v_name = nameInput.value.trim();\r\n        const v_zone = zoneInput.value.trim();\r\n\r\n        if(!v_name) {\r\n            alert('Please fill out the Property \/ Villa Name field.');\r\n            return;\r\n        }\r\n\r\n        const calculatedLegalStatus = calculateLiveScore();\r\n        \r\n        const ecoBoxes = document.querySelectorAll('.eco-check, .cultural-check');\r\n        let ecoPassed = 0;\r\n        ecoBoxes.forEach(box => { if(box.checked) ecoPassed++; });\r\n        const finalEcoPercent = Math.round((ecoPassed \/ 35) * 100);\r\n\r\n        let classification = \"\";\r\n        if (finalEcoPercent >= 85) {\r\n            classification = \"\ud83e\udd47 Gold Eco Badge Secured\";\r\n        } else if (finalEcoPercent >= 60) {\r\n            classification = \"\ud83e\udd48 Silver Eco Badge Secured\";\r\n        } else {\r\n            classification = \"\ud83e\udd49 Bronze \/ Transition Required\";\r\n        }\r\n\r\n        const now = new Date();\r\n        const timestamp = now.getFullYear() + '-' +\r\n            String(now.getMonth() + 1).padStart(2, '0') + '-' +\r\n            String(now.getDate()).padStart(2, '0') + ' ' + \r\n            String(now.getHours()).padStart(2, '0') + ':' + \r\n            String(now.getMinutes()).padStart(2, '0');\r\n\r\n        const newAudit = {\r\n            villaName: v_name,\r\n            region: v_zone ? v_zone : \"Unknown Locality\",\r\n            legalStatus: calculatedLegalStatus,\r\n            ecoScore: finalEcoPercent + \"% (\" + ecoPassed + \"\/35 OK)\",\r\n            classification: classification,\r\n            timestamp: timestamp\r\n        };\r\n\r\n        auditHistory.push(newAudit);\r\n        localStorage.setItem('bcc_master_history', JSON.stringify(auditHistory));\r\n\r\n        nameInput.value = '';\r\n        zoneInput.value = '';\r\n        checkboxes.forEach(box => box.checked = false);\r\n        \r\n        const alertNode = document.getElementById('successAlert');\r\n        alertNode.innerText = `\u2714\ufe0f Master Audit for '${newAudit.villaName}' successfully compiled! Eco-score: ${finalEcoPercent}% - Status: ${classification}`;\r\n        alertNode.style.display = 'block';\r\n\r\n        calculateLiveScore();\r\n        renderHistory();\r\n\r\n        alertNode.scrollIntoView({ behavior: 'smooth' });\r\n    }\r\n\r\n    \/\/ DOM DEPLOYMENT RUNNERS\r\n    injectQuestions(legalQuestions, 'legalGrid', 'legal');\r\n    injectQuestions(ecoQuestions, 'ecoGrid', 'eco');\r\n    injectQuestions(culturalQuestions, 'culturalGrid', 'cultural');\r\n\r\n    \/\/ INITIALIZATION INTERFACES\r\n    renderHistory();\r\n    calculateLiveScore();\r\n<\/script>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>BCC Master Compliance Auditor &#8211; Complete 45-Point Matrix \ud83c\udf3f Bali Compliance Centre (BCC) Master Compliance Audit Portal &#038; History Registry Database \ud83d\udda8\ufe0f Print PDF Inspection Report OFFICIAL BALI COMPLIANCE CORE INSPECTION REPORT Issued by: Bali Compliance Centre (BCC) | Confidential Dossier Villa \/ Property Name: Lead Auditor Name: Plot \/&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-148","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Audit -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/balicompliancecentre.com\/?page_id=148\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Audit -\" \/>\n<meta property=\"og:description\" content=\"BCC Master Compliance Auditor &#8211; Complete 45-Point Matrix \ud83c\udf3f Bali Compliance Centre (BCC) Master Compliance Audit Portal &#038; History Registry Database \ud83d\udda8\ufe0f Print PDF Inspection Report OFFICIAL BALI COMPLIANCE CORE INSPECTION REPORT Issued by: Bali Compliance Centre (BCC) | Confidential Dossier Villa \/ Property Name: Lead Auditor Name: Plot \/&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/balicompliancecentre.com\/?page_id=148\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-18T16:47:07+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/balicompliancecentre.com\\\/?page_id=148\",\"url\":\"https:\\\/\\\/balicompliancecentre.com\\\/?page_id=148\",\"name\":\"Audit -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/balicompliancecentre.com\\\/#website\"},\"datePublished\":\"2026-08-18T16:34:34+00:00\",\"dateModified\":\"2026-08-18T16:47:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/balicompliancecentre.com\\\/?page_id=148#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/balicompliancecentre.com\\\/?page_id=148\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/balicompliancecentre.com\\\/?page_id=148#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/balicompliancecentre.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Audit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/balicompliancecentre.com\\\/#website\",\"url\":\"https:\\\/\\\/balicompliancecentre.com\\\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/balicompliancecentre.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Audit -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/balicompliancecentre.com\/?page_id=148","og_locale":"nl_NL","og_type":"article","og_title":"Audit -","og_description":"BCC Master Compliance Auditor &#8211; Complete 45-Point Matrix \ud83c\udf3f Bali Compliance Centre (BCC) Master Compliance Audit Portal &#038; History Registry Database \ud83d\udda8\ufe0f Print PDF Inspection Report OFFICIAL BALI COMPLIANCE CORE INSPECTION REPORT Issued by: Bali Compliance Centre (BCC) | Confidential Dossier Villa \/ Property Name: Lead Auditor Name: Plot \/&hellip;","og_url":"https:\/\/balicompliancecentre.com\/?page_id=148","article_modified_time":"2026-08-18T16:47:07+00:00","twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"1 minuut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/balicompliancecentre.com\/?page_id=148","url":"https:\/\/balicompliancecentre.com\/?page_id=148","name":"Audit -","isPartOf":{"@id":"https:\/\/balicompliancecentre.com\/#website"},"datePublished":"2026-08-18T16:34:34+00:00","dateModified":"2026-08-18T16:47:07+00:00","breadcrumb":{"@id":"https:\/\/balicompliancecentre.com\/?page_id=148#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/balicompliancecentre.com\/?page_id=148"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/balicompliancecentre.com\/?page_id=148#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/balicompliancecentre.com\/"},{"@type":"ListItem","position":2,"name":"Audit"}]},{"@type":"WebSite","@id":"https:\/\/balicompliancecentre.com\/#website","url":"https:\/\/balicompliancecentre.com\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/balicompliancecentre.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"}]}},"_links":{"self":[{"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/pages\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=148"}],"version-history":[{"count":4,"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/pages\/148\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=\/wp\/v2\/pages\/148\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/balicompliancecentre.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}