<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Nowills SQC ERP — Command Centre</title>
<meta name="description" content="Nowills SQC ERP — quarry, construction & finance enterprise command centre.">
<meta name="theme-color" content="#f8c200">
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23f8c200'/%3E%3Cpath d='M12 48 L24 20 L34 38 L41 27 L52 48 Z' fill='%2316181d'/%3E%3C/svg%3E">
<link rel="manifest" href="/cc/manifest.webmanifest">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Nowills ERP">
<link rel="stylesheet" href="/cc/css/command.css">
<style>
/* Laravel bridge additions: live/sample ribbon */
#liveRibbon{display:flex;align-items:center;gap:9px;border-radius:10px;padding:8px 13px;font-size:12px;margin:0 0 12px;border:1px solid}
#liveRibbon.live{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.4);color:#4ade80}
#liveRibbon.demo{background:rgba(245,158,11,.09);border-color:rgba(245,158,11,.4);color:#fbbf24}
:root[data-theme="light"] #liveRibbon.live{color:#15803d}
:root[data-theme="light"] #liveRibbon.demo{color:#b45309}
#liveRibbon .pill{font-weight:800;font-size:10px;letter-spacing:1px;padding:2px 8px;border-radius:6px}
#liveRibbon.live .pill{background:#22c55e;color:#0d0e12}
#liveRibbon.demo .pill{background:#f59e0b;color:#1a1c22}
#liveRibbon small{margin-left:auto;opacity:.75}
.kv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.kv{background:var(--bg-2);border:1px solid var(--border);border-radius:9px;padding:8px 10px}
.kv span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);font-weight:700}
.kv b{font-size:13px}
</style>
<script>window.__SERVER = <?php echo json_encode($server); ?>;</script>
</head>
<body>
<div id="app">
 <aside id="sidebar">
  <div class="sb-brand">
   <div class="sb-logo"><svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="#16181d" stroke-width="2.2" stroke-linejoin="round"><path d="M3 20L9 6l4 8 3-5 5 11z"/></svg></div>
   <div class="sb-name"><b>NOWILLS SQC</b><small>Enterprise ERP</small></div>
   <button class="tbtn" id="sbCollapse" title="Collapse sidebar" style="margin-left:auto"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M11 17l-5-5 5-5M18 17l-5-5 5-5"/></svg></button>
  </div>
  <div class="sb-search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM21 21l-4.4-4.4"/></svg><input id="sbSearch" placeholder="Filter modules…" autocomplete="off"></div>
  <nav id="sbNav"></nav>
  <div class="sb-foot" id="sbFoot"><span class="dot"></span><span id="sbFootTxt">ONLINE · cluster acc-erp-01<br>sync <?php echo e(now()->format('H:i')); ?> · <span style="color:#22c55e">healthy</span></span></div>
 </aside>
 <div id="backdrop"></div>
 <header id="topbar">
  <button class="tbtn" id="burger" title="Menu"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 6h16M4 12h16M4 18h16"/></svg></button>
  <div class="tb-title"><b>Nowills SQC ERP</b><span id="crumb">/ Executive Dashboard</span></div>
  <div class="tb-sel" id="tbSel"></div>
  <div class="tb-grow"></div>
  <div class="tb-search" id="bSearch" title="Global search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM21 21l-4.4-4.4"/></svg><span>Search anything…</span><kbd>Ctrl K</kbd></div>
  <button class="tbtn" id="bFilters" title="Global filters"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linejoin="round"><path d="M22 3H2l8 9.5V19l4 2v-8.5z"/></svg></button>
  <button class="netstat" id="btnNet" title="Toggle offline simulation" style="background:none;border:none;cursor:pointer"><span class="dot"></span><b>Online</b><span id="syncTxt">Synced just now</span></button>
  <button class="tbtn" id="bNotif2" title="Notifications & exception centre"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a6 6 0 1 0-12 0c0 7-3 8-3 8h18s-3-1-3-8M10.3 21a2 2 0 0 0 3.4 0"/></svg><span class="pb" id="bNotif">3</span></button>
  <button class="tbtn" id="bTasks2" title="Approvals & tasks"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M9 11l3 3 8-8M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9"/></svg><span class="pb amber" id="bTasks">9</span></button>
  <button class="tbtn" id="bAI" title="Nia — AI assistant"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round"><path d="M12 3l1.7 4.6 4.6 1.7-4.6 1.7L12 15.6l-1.7-4.6L5.7 9.3l4.6-1.7zM19 14.5l.9 2.3 2.3.9-2.3.9-.9 2.3-.9-2.3-2.3-.9 2.3-.9z"/></svg></button>
  <button class="tbtn on" id="bQuick" title="Quick create"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg></button>
  <button class="tbtn" id="bTheme" title="Theme"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"><path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10zM12 1v3M12 20v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M1 12h3M20 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1"/></svg></button>
  <button class="tbtn" id="bFull" title="Full screen"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"><path d="M8 3H5a2 2 0 0 0-2 2v3M16 3h3a2 2 0 0 1 2 2v3M8 21H5a2 2 0 0 1-2-2v-3M16 21h3a2 2 0 0 0 2-2v-3"/></svg></button>
  <button class="tbtn" id="bHelp" title="Help centre"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round"><path d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01"/></svg></button>
  <div class="user-chip" id="bUser"><div class="av"><?php echo e($server['user']['initials']); ?></div><div class="un"><b><?php echo e($server['user']['name']); ?></b><small id="tbUserName"><?php echo e($server['role']); ?></small></div></div>
 </header>
 <main id="main"><div class="page" id="page"></div></main>
</div>
<nav id="bottomnav"></nav>
<div class="watermark" id="wm"><span>NOWILLS SQC ERP • CONFIDENTIAL • <?php echo e(strtoupper($server['user']['name'])); ?> • <?php echo e(now()->format('d M Y')); ?></span></div>
<div id="toasts"></div>
<div id="printzone"></div>
<script src="/cc/js/chartkit.js"></script>
<script src="/cc/js/edata.js"></script>
<script src="/cc/js/edata2.js"></script>
<script src="/cc/js/edata3.js"></script>
<script src="/cc/js/modules1.js"></script>
<script src="/cc/js/modules2.js"></script>
<script src="/cc/js/modules3.js"></script>
<script src="/cc/js/modules4.js"></script>
<script src="/cc/js/mounts1.js"></script>
<script src="/cc/js/mounts2.js"></script>
<script src="/cc/js/modules5.js"></script>
<script src="/cc/js/app.js"></script>
<script src="/cc/js/bridge.js"></script>
</body>
</html>
<?php /**PATH /home/user/nowills-sqc-erp/resources/views/command/shell.blade.php ENDPATH**/ ?>