:root {
  --green: #72bf44;
  --earth-6: #2d2a26;
  --earth-1: #dfddd8;
  --earth-0: #edeae6;
  --white: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  background: var(--earth-0);
  color: var(--earth-6);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--earth-1);
}
.brand { font-weight: 600; letter-spacing: 0.04em; }
nav { display: flex; gap: 24px; }
.nav-item { color: #827870; font-size: 14px; }
.nav-item.active { color: var(--earth-6); border-bottom: 2px solid var(--green); padding-bottom: 4px; }
.ghost {
  border: 1px solid var(--earth-1);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
}
main { padding: 32px; }
.hero { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.cp-form { display: flex; gap: 12px; align-items: end; }
.cp-form input {
  min-width: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--earth-1);
}
.cp-form button {
  background: var(--green);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
}
.dashboard { position: relative; }
.dashboard.locked .grid,
.dashboard.locked .kpis { filter: blur(8px); }
.blur-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.dashboard:not(.locked) .blur-overlay { display: none; }
.overlay-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--earth-1);
  border-radius: 16px;
  padding: 24px 32px;
  max-width: 420px;
  text-align: center;
}
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.kpi { background: var(--white); border-radius: 16px; padding: 16px; border: 1px solid var(--earth-1); }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.panel { background: var(--white); border-radius: 16px; padding: 16px; border: 1px solid var(--earth-1); }
.panel.live { grid-row: span 2; }
#live-video { width: 100%; border-radius: 12px; background: #111; min-height: 280px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td, th { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--earth-1); }
#activity-list { list-style: none; padding: 0; margin: 0; }
#activity-list li { padding: 10px 0; border-bottom: 1px solid var(--earth-1); font-size: 14px; }
