/* Basic Grammar Checker — design tokens only. No external resources. */
.bgc-notice {
  border: 1px solid #2563EB;
  border-left: 4px solid #2563EB;
  border-radius: 8px;
  padding: 12px 16px;
  background: #F8FAFC;
  color: #142B4A;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
.bgc-notice strong { color: #142B4A; }
#bgc-input, #bgc-original, #bgc-cleaned {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px;
  background: #FFFFFF;
  color: #142B4A;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
}
#bgc-input:focus, #bgc-original:focus, #bgc-cleaned:focus {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}
#bgc-counter.over-limit { color: #B91C1C; font-weight: 700; }
.bgc-compare {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .bgc-compare { grid-template-columns: 1fr 1fr; }
}
#bgc-cleaned {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bgc-finding {
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #FFFFFF;
}
.bgc-finding-head {
  font-weight: 700;
  color: #142B4A;
  margin: 0 0 4px 0;
}
.bgc-finding p { margin: 4px 0; line-height: 1.6; }
.bgc-context {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  background: #F8FAFC;
  border-radius: 6px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
#bgc-results h3 { color: #142B4A; }
#bgc-results .btn-secondary { color: #0F766E; }
.tool-workspace .action-bar .btn-primary {
  background: #2563EB;
  color: #FFFFFF;
  border: 1px solid #2563EB;
}
