:root {
  --bg: #070b14;
  --panel: #0d1424;
  --panel-2: #121b31;
  --text: #e6ecff;
  --muted: #9fb0d8;
  --line: #263656;
  --brand: #5b7cff;
  --ok: #14a06f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #182445 0%, var(--bg) 40%);
  color: var(--text);
  font-family: Inter, system-ui, Arial, sans-serif;
}
.container { max-width: 980px; margin: 0 auto; padding: 24px 16px 40px; }
.hero { margin-bottom: 18px; }
.heroText { line-height: 1.5; }
.heroActions { margin-top: 12px; }
.howto h2, .trust h2 { margin: 0 0 10px; font-size: 20px; }
.stepsGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stepsGrid article { border: 1px solid #2c3f63; border-radius: 10px; padding: 10px; background: #0b1325; }
.stepsGrid p { margin: 6px 0 0; color: var(--muted); }
.stickySearch { position: sticky; top: 0; z-index: 15; backdrop-filter: blur(6px); }
.badge {
  display: inline-block;
  font-size: 12px;
  border: 1px solid var(--line);
  background: #0e1730;
  color: #b4c2e7;
  padding: 6px 10px;
  border-radius: 999px;
}
h1 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 8px; }
.hero p { color: var(--muted); max-width: 760px; margin: 0; }
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
}
.searchRow { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.toolbar label { color: var(--muted); font-size: 13px; }
.toolbar select {
  border: 1px solid #324871;
  background: #0b1222;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
}
input, textarea, button, a { font: inherit; }
input, textarea {
  width: 100%;
  border: 1px solid #33476f;
  border-radius: 10px;
  background: #0b1222;
  color: #fff;
  padding: 11px 12px;
}
button, a {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
a { background: var(--brand); }
button { background: var(--ok); }
button.ghost, .ghost {
  background: #1a2642;
  color: #d7e1fb;
  border: 1px solid #324871;
}
.muted { color: var(--muted); margin: 0; }
.fileBtn { display: inline-flex; align-items: center; justify-content: center; }
.updateBanner {
  border: 1px solid #37603f;
  background: #132718;
  color: #cbeccf;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 10px; }
.panel { scroll-margin-top: 16px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.statCard {
  border: 1px solid #2c3f63;
  background: #0b1325;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.statCard strong { font-size: 18px; }
.statCard span { color: var(--muted); font-size: 12px; }
.chip {
  border: 1px solid #314468;
  background: #101a31;
  color: #d8e4ff;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.chip.active { border-color: #6b88ff; background: #1a2a55; }
.metaRow { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.card {
  border: 1px solid #2c3f63;
  background: #0b1325;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
}
.card:hover { border-color: #6383ff; }
.card h3 { margin: 0; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.card a { align-self: flex-start; margin-top: auto; }
.card .removeBtn { margin-top: auto; align-self: flex-start; }
.guideLink { background: var(--brand); }
.detailsHead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 12px; background: #1c2c55; border: 1px solid #3f5aa1; border-radius: 999px; padding: 4px 8px; }
.score { font-size: 12px; background: #173822; border: 1px solid #2e7d55; border-radius: 999px; padding: 4px 8px; color: #baf5d2; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ghostLink { background: #1a2642; border: 1px solid #324871; color: #d7e1fb; }
ul { margin: 8px 0 0; padding-left: 18px; color: #c8d5f8; }
.subhead { margin: 12px 0 8px; font-size: 15px; color: #dbe5ff; }
.steps { margin: 0; padding-left: 18px; color: #d3e0ff; line-height: 1.45; }
.steps li { margin-bottom: 5px; }
textarea { margin-top: 6px; }
.faq h2 { margin: 0 0 10px; }
.faq details { border-top: 1px solid #263656; padding: 10px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.trust p { display: flex; gap: 8px; flex-wrap: wrap; }
.auditTable { width: 100%; border-collapse: collapse; }
.auditTable th, .auditTable td { border-bottom: 1px solid #263656; padding: 10px; text-align: left; }
.auditTable th { color: #dfe8ff; }
.auditTable td { color: #b9c8ee; }

.footerCard {
  margin-top: 14px;
  border: 1px solid #3c4a2f;
  color: #d7e4c5;
  background: #131d12;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}
.hidden { display: none; }

@media (max-width: 700px) {
  .container { padding: 16px 12px 28px; }
  .stepsGrid { grid-template-columns: 1fr; }
  .searchRow { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar select, .toolbar button { width: 100%; }
  .metaRow { flex-direction: column; gap: 6px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .results { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .actions a, .actions button { width: 100%; text-align: center; }
  textarea { font-size: 14px; }
  h1 { line-height: 1.1; }
  .hero p { line-height: 1.45; }
}
