<?php
$isModalMode = true;
?><!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<link rel="stylesheet" href="/assets/css/app.css?v=<?= defined('ASSET_VERSION') ? ASSET_VERSION : time() ?>">
<style>body,.admin-shell{background:#fff!important;}.main-inner{padding:20px 24px!important;}.sidebar{display:none!important;}.main{margin:0!important;}</style>
</head><body><div class="admin-shell"><main class="main"><div class="main-inner">
<div style="text-align:center;padding:40px 20px;">
  <div style="font-size:36px;margin-bottom:12px;">✅</div>
  <h2 style="margin:0 0 8px;"><?= htmlspecialchars($flash) ?></h2>
  <p style="color:var(--text-muted);font-size:14px;">You can close this window.</p>
</div>
<script>
window.parent.postMessage({type:'kpi-submitted'},'*');
setTimeout(function(){ window.parent.postMessage({type:'kpi-saved'},'*'); }, 300);
</script>
</div></main></div></body></html>
