:root {
  --navy: #1b2a4a;
  --blue: #2f5fa8;
  --green: #2e7d5b;
  --amber: #b3781c;
  --red: #b3392c;
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #e1e4e9;
  --text: #1c2230;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}
header.site {
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.site a { color: white; text-decoration: none; }
header.site nav a { margin-left: 18px; opacity: 0.85; font-size: 14px; }
header.site nav a:hover { opacity: 1; text-decoration: underline; }
.brand { font-weight: 600; font-size: 15px; }
.brand small { display: block; font-weight: 400; opacity: 0.75; font-size: 12px; }
main { max-width: 1000px; margin: 0 auto; padding: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
}
h1 { font-size: 22px; margin-top: 0; }
h2 { font-size: 17px; margin-top: 0; }
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
textarea { min-height: 100px; }
button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  margin-right: 6px;
}
button:hover { opacity: 0.92; }
button.secondary { background: var(--muted); }
button.danger { background: var(--red); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { background: #fafbfc; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  background: #e8ecf3;
  color: var(--navy);
}
.badge.breach { background: #fbe6e3; color: var(--red); }
.badge.sensitive { background: #fbe6e3; color: var(--red); }
.badge.ok { background: #e4f3ea; color: var(--green); }
.note {
  font-size: 12.5px;
  color: var(--muted);
  background: #fafbfc;
  border-left: 3px solid var(--blue);
  padding: 8px 12px;
  margin: 10px 0;
}
.note.warn { border-left-color: var(--amber); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.actions-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#result { margin-top: 14px; font-size: 14px; }
a.ref-link { color: var(--blue); text-decoration: none; font-weight: 600; }
