/* Warn Optimize — tokens + primitives (tema claro / lime) */
:root {
  --bg: #f2f3f5;
  --panel: #fff;
  --panel2: #f3f4f6;
  --panel3: #fafafa;
  --border: #e5e7eb;
  --border-hover: #d1d5db;
  --text: #151515;
  --muted: #6a7282;
  --dim: #99a1af;
  --brand: #c4f042;
  --brand-hi: #b0d939;
  --ok: #008138;
  --warn: #b75000;
  --err: #bf000f;
  --ink: #151515;
  --info: #151515;
  --shadow: 0 8px 30px #00000008;
  --shadow-lg: 0 16px 40px #00000012;
  --radius: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --font: Manrope, Arial, sans-serif;
  --mono: Consolas, "SFMono-Regular", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  padding: 13px 25px;
  font-size: 14.5px;
}

.btn.primary:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn.ghost {
  background: var(--panel2);
  color: var(--ink);
  padding: 13px 25px;
  font-size: 14.5px;
}

.btn.ghost:hover {
  background: var(--border);
}

.btn.small {
  padding: 10px 17px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--panel2);
  color: var(--muted);
}

.chip.ok {
  background: #dcfce7;
  color: var(--ok);
}

.chip.heavy {
  background: #ffe2e2;
  color: var(--err);
}

.chip.medium {
  background: #fef3c6;
  color: var(--warn);
}

.chip.bad {
  background: var(--panel2);
  color: var(--err);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.under {
  text-decoration: underline;
}

.note {
  font-size: 12.5px;
  color: var(--muted);
}
