:root {
  --bg: #070b14;
  --bg-2: #0e1626;
  --card: #121c30;
  --line: #243049;
  --text: #e8eef9;
  --muted: #93a0b8;
  --green: #22c55e;
  --green-2: #16a34a;
  --danger: #f87171;
  --warn: #fbbf24;
  --shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(1200px 500px at 10% -10%, #123224 0%, transparent 50%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 20, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { color: var(--text); font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--green); }
.nav { display: flex; gap: 16px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a.active, .nav a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.hero { padding: 42px 0 10px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin: 0 0 8px; }
.muted { color: var(--muted); }
label { display: block; font-size: .85rem; color: var(--muted); margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text); }
.checks input { width: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #052e16; border: 0; border-radius: 10px;
  padding: 12px 16px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--green-2); text-decoration: none; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.stat { font-size: 1.8rem; font-weight: 800; color: var(--green); margin: 6px 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { background: #0b2418; color: #86efac; border-radius: 999px; padding: 6px 10px; font-size: .85rem; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tab { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.tab.active { color: #052e16; background: var(--green); border-color: var(--green); font-weight: 700; }
.drop {
  border: 1px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); background: var(--bg-2);
}
.progress { height: 10px; background: #0b1220; border-radius: 999px; overflow: hidden; margin: 12px 0; }
.progress > span { display: block; height: 100%; width: 0; background: var(--green); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { cursor: pointer; color: #bbf7d0; background: #0d1b16; position: sticky; top: 0; }
.badge { border-radius: 999px; padding: 3px 8px; font-size: .75rem; font-weight: 700; }
.badge.on { background: #14532d; color: #86efac; }
.badge.off { background: #3f1d1d; color: #fecaca; }
.profile { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; }
.kv span { color: var(--muted); }
.footer { margin-top: 48px; padding: 28px 0 80px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 14px; }
.whatsapp {
  position: fixed; right: 16px; bottom: 16px; background: #25d366; color: #052e16;
  font-weight: 800; padding: 12px 14px; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none;
}
.whatsapp:hover { text-decoration: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #111827; border: 1px solid var(--line); color: white; padding: 12px 16px; border-radius: 10px; z-index: 30;
}
.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.2); border-top-color: #052e16; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.section { margin: 22px 0; }
.error { color: var(--danger); }
.video { position: relative; padding-top: 56.25%; background: #000; border-radius: 12px; overflow: hidden; }
.video iframe, .video .slot { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slot { display: grid; place-items: center; color: var(--muted); }
@media (max-width: 800px) {
  .grid, .profile, .row { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-2); flex-direction: column; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}
