* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0; background: #f6f7f9; color: #1a1a1a; }
header { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #1f3a2e; color: white; }
header .brand { font-weight: 600; }
header nav a { color: #d7e8de; margin-left: 20px; text-decoration: none; }
header nav a.active, header nav a:hover { color: white; text-decoration: underline; }
header nav .session { margin-left: 20px; }
header nav .session button { background: transparent; border: 1px solid #d7e8de; padding: 4px 10px; font-size: 12px; }
header nav .session button:hover { background: #295d45; }
main { max-width: 900px; margin: 24px auto; padding: 0 20px 60px; }
footer { text-align: center; color: #888; font-size: 12px; padding: 20px; }
h1 { font-size: 22px; }
h2 { font-size: 17px; margin-top: 28px; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
input[type=text], input:not([type]) { width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid #ccc; border-radius: 6px; }
.hint { color: #666; font-size: 13px; }
#suggestions { margin-top: 8px; border-radius: 6px; overflow: hidden; }
.suggestion { display: block; padding: 10px 12px; background: white; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; }
.suggestion:hover { background: #eef5f0; }
.suggestion-label { font-weight: 600; }
.suggestion-sub { font-size: 12px; color: #666; }
.suggestion-empty, .suggestion-more { padding: 10px 12px; background: #fafafa; color: #888; font-size: 13px; }
.card { background: white; border: 1px solid #e3e3e3; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
table.kv { width: 100%; border-collapse: collapse; margin: 10px 0; }
table.kv td, table.kv th { padding: 6px 8px; border-bottom: 1px solid #eee; vertical-align: top; text-align: left; }
table.kv td:first-child { color: #555; width: 220px; }
table.audit { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 12px; }
table.audit th, table.audit td { border: 1px solid #ddd; padding: 6px; vertical-align: top; }
table.audit th { background: #eee; }
table.audit pre { margin: 0; white-space: pre-wrap; font-size: 11px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 6px; }
.badge-ok { background: #d9f2e3; color: #166a3c; }
.badge-warn { background: #fde7d9; color: #9a4a12; }
.badge-migrado { background: #e4e4f5; color: #3a3a8c; }
.inline-form { margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.inline-form input { width: auto; flex: 1; padding: 6px 8px; }
button { background: #1f3a2e; color: white; border: none; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; }
button:hover { background: #295d45; }
code { background: #f1f1f1; padding: 1px 5px; border-radius: 3px; }
