:root {
  color-scheme: dark;
  --bg: #0f0f11;
  --card: #18181b;
  --card-2: #1f1f23;
  --line: #2c2c31;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #8b8a84;
  --accent: #3987e5;
  --accent-2: #199e70;
  --s1: #3987e5;
  --s2: #d95926;
  --s3: #199e70;
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;
  --r: 14px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
header.top {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--text-2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card-2); color: var(--text);
  padding: 9px 16px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 14px;
}
.btn:hover { border-color: #46464d; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #2a78d6; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.muted { color: var(--muted); }
.demo-head { padding: 32px 0 20px; }
.demo-head h1 { font-size: clamp(26px, 4vw, 36px); margin: 8px 0; }
.demo-head p { color: var(--text-2); max-width: 760px; margin: 0; }
.aviso { font-size: 13px; color: var(--muted); margin-top: 10px; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--good); } .st.warn { color: var(--warning); } .st.bad { color: var(--critical); } .st.off { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scroll-x { overflow-x: auto; }
footer { color: var(--muted); font-size: 13px; padding: 40px 0; border-top: 1px solid var(--line); margin-top: 48px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* itens de grid não podem forçar largura maior que a tela */
.layout > *, .charts > *, .grid2 > *, .kpis > *, .grid > * { min-width: 0; }
