:root { --bg:#f4f4f6; --card:#fff; --ink:#1d1d22; --brand:#c2185b; --line:#e2e2e8; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  padding: 16px;
}
.card {
  max-width: 480px; margin: 0 auto; background: var(--card);
  border-radius: 14px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
h1 { font-size: 1.3rem; margin: 0 0 4px; }
.sub { margin: 0 0 16px; color: #6b6b75; }
label { display: block; margin: 12px 0; font-weight: 600; font-size: .9rem; }
input, select, button {
  width: 100%; margin-top: 6px; padding: 12px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
input, select { font-weight: 400; }
button {
  margin-top: 20px; background: var(--brand); color: #fff; border: 0;
  font-weight: 700; cursor: pointer;
}
button:active { opacity: .85; }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; }
legend { padding: 0 6px; font-weight: 700; font-size: .85rem; }
.hint { font-size: .8rem; color: #6b6b75; margin: 10px 0 0; }
.sugestoes { list-style: none; margin: 6px 0 0; padding: 0; }
.sugestoes li {
  padding: 10px; border: 1px solid var(--line); border-radius: 8px;
  margin-top: 4px; cursor: pointer; background: #fafafb;
}
.sugestoes li:active { background: #f0f0f3; }
.resultado {
  margin-top: 16px; padding: 12px; border-radius: 10px; background: #f0f0f3;
  white-space: pre-wrap; word-break: break-word; font-size: .85rem;
}
