.gi-editor {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.45;
  width: 100%;
  min-height: 12rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1a222c;
  color: #e8eef4;
  resize: vertical;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.status-table th,
.status-table td {
  text-align: left;
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.status-table .ignored {
  color: var(--err);
  font-weight: 650;
}

.status-table .tracked {
  color: #047857;
  font-weight: 650;
}

.status-table tr.is-ignored { background: color-mix(in srgb, var(--err) 6%, transparent); }

.preset-row,
.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0;
}

.preset-row button,
.quick-row button {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.preset-row button:hover,
.quick-row button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stats {
  font-family: var(--mono);
  font-size: 0.85rem;
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.stats strong { color: var(--text); }

.rule-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

@media (max-width: 800px) {
  .rule-cards { grid-template-columns: 1fr; }
}

.rule-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem;
  background: var(--surface2);
  font-size: 0.85rem;
}

.rule-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cheat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cheat-table th,
.cheat-table td {
  text-align: left;
  padding: 0.4rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hint-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hint-list li { margin: 0.35rem 0; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.filter-row label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
