/* Shared styles for the standalone "recreated app screen" mini-frames
   used on whats-new.html. Extracted from the 4.2 teaser so the screens
   match the real MSS UI. Renders one .scr app-window, scaled to fit. */
:root{--accent:#f97316;--blue:#1769d6;--green:#22c55e;--amber:#f59e0b;--red:#ef4444;--purple:#8b5cf6;--mut:#64748b;--line:#e6eaf0;}
*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:auto;margin:0;}
body{background:radial-gradient(900px 520px at 50% -12%,#123a6b 0%,#0a2a4e 55%,#05132a 100%);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;padding:18px;}
.fit{width:900px;margin:0 auto;}

/* app-window recreation */
.scr{width:900px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.t2{height:44px;background:linear-gradient(115deg,#0a2a4e,#1565c8 60%,#1769d6);display:flex;align-items:center;padding:0 18px;gap:9px;color:#fff}
.t2 .wm2{font-weight:800;font-size:13px}.t2 .wm2 i{font-style:normal;color:#bfe0ff}
.t2 .cr{margin-left:12px;font-size:11.5px;color:#cfe0f5}.t2 .cr b{color:#fff}
.t2 .tb{margin-left:auto;display:flex;gap:4px}
.t2 .tb span{font-size:11px;color:#cfe0f5;padding:5px 10px;border-radius:7px}
.t2 .tb span.on{background:rgba(255,255,255,.18);color:#fff;font-weight:700}
.bd{padding:15px 20px}
.hh{font-size:16px;font-weight:800;color:#0f2f57}
.ss{font-size:11.5px;color:var(--mut);margin:2px 0 12px}
/* board */
.lg{display:flex;gap:14px;font-size:10.5px;color:var(--mut);margin-bottom:9px;flex-wrap:wrap}
.lg i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:4px;vertical-align:middle}
table.grid{border-collapse:separate;border-spacing:4px;width:100%;font-size:11px}
table.grid th{font-size:9.5px;color:#94a3b8;font-weight:800;text-align:center;padding:1px}
table.grid th.n,table.grid td.n{text-align:left}
td.n{font-weight:700;color:#1e293b;white-space:nowrap}
td.n small{display:block;font-weight:500;color:#94a3b8;font-size:9px}
td.fq{color:#334155;text-align:center;font-weight:600;font-size:10px}
.cell{height:24px;border-radius:4px}
.g{background:#dcfce7;border-left:3px solid #22c55e}.a{background:#fef3c7;border-left:3px solid #f59e0b}
.b{background:#dbeafe;border-left:3px solid #3b82f6}.s{background:#f1f5f9;border-left:3px solid #cbd5e1}
.r{background:#fee2e2;border-left:3px solid #ef4444;color:#991b1b;font-weight:800;text-align:center;font-size:10px}
.f{background:#fecaca;border-left:3px solid #dc2626;color:#7f1d1d;font-weight:800;text-align:center;font-size:10px}
/* rows / pills */
.row{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:9px;padding:10px 13px;margin-bottom:8px;font-size:13px;color:#334155}
.row b{color:#1e293b}
.pill{font-size:10px;font-weight:800;padding:3px 9px;border-radius:999px;white-space:nowrap}
.pg{background:#dcfce7;color:#15803d}.pa{background:#fef3c7;color:#92610a}.pr{background:#fee2e2;color:#b91c1c}
.pb{background:#dbeafe;color:#1d4ed8}.pp{background:#ede9fe;color:#6d28d9}.pn{background:#eef2f7;color:#475569}
/* bars / kpi */
.bar{height:9px;border-radius:5px;background:#eef2f7;overflow:hidden;margin-top:6px}
.fill{height:100%;border-radius:5px}
.kpinum{font-size:40px;font-weight:800;color:#0f2f57;line-height:1}
.catcard{border:1px solid var(--line);border-radius:10px;padding:11px 14px;margin-bottom:9px}
.catrow{display:flex;align-items:center;justify-content:space-between}
.catrow .nm{font-size:13.5px;font-weight:700;color:#1e293b}
.catrow .pc{font-size:15px;font-weight:800}
/* qr */
.qr{position:relative;width:120px;height:120px}
.qr svg{width:120px;height:120px}
.scanline{position:absolute;left:2px;right:2px;height:2px;background:#22c55e;box-shadow:0 0 8px #22c55e;top:2px;border-radius:2px;animation:scanmove 1.9s ease-in-out infinite}
.tick{color:#16a34a;font-weight:800;margin-right:6px}
/* tiles (Integrations, Tutorials) */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.tile{border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12.5px;color:#334155;background:#f8fafc}
.tile .ic{font-size:22px;display:block;margin-bottom:5px}
/* floor plan (Environmental Multi-Map) */
.floor{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.room{position:relative;background:#f4f7fb;border:1.5px solid #d7dfea;border-radius:8px;height:118px}
.room .lbl{position:absolute;top:7px;left:9px;font-size:9.5px;font-weight:800;color:#1d3d75;background:rgba(255,255,255,.8);padding:1px 6px;border-radius:5px}
.pt{position:absolute;width:13px;height:13px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.pt.ok{background:#22c55e}.pt.bad{background:#ef4444}
.cur{position:absolute;width:20px;height:20px;z-index:3;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.pulse{animation:pz 1.5s ease infinite}
@keyframes pz{0%{box-shadow:0 0 0 0 rgba(239,68,68,.5)}70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
@keyframes scanmove{0%{top:2px;opacity:1}50%{top:104px;opacity:1}100%{top:2px;opacity:1}}
