/* GEO Content Citability Score — module-specific styles.
   Everything else comes from the shared fsgt primitives. */

.fsgt-geo .fsgt-geo-input { min-height: 220px; }

/* Rubric disclosure table. */
.fsgt-geo .fsgt-geo-rubric { margin: 4px 0 8px; }
.fsgt-geo .fsgt-geo-rubric summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--fsgt-primary);
  width: max-content;
}
.fsgt-geo .fsgt-geo-rubric summary:hover { color: var(--fsgt-primary-hover); }
.fsgt-geo .fsgt-geo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}
.fsgt-geo .fsgt-geo-table th,
.fsgt-geo .fsgt-geo-table td {
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid var(--fsgt-border-subtle);
  color: var(--fsgt-text-2);
  vertical-align: top;
}
.fsgt-geo .fsgt-geo-table th { color: var(--fsgt-text); font-weight: 600; white-space: nowrap; }
.fsgt-geo .fsgt-geo-table td:nth-child(2) { white-space: nowrap; }
.fsgt-geo .fsgt-geo-table tr:last-child td { border-bottom: 0; }

/* Score header: big gradient number + grade banner. */
.fsgt-geo .fsgt-geo-scorehead {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.fsgt-geo .fsgt-geo-score {
  background: var(--fsgt-surface);
  border: 1px solid var(--fsgt-border-subtle);
  border-radius: var(--fsgt-radius);
  box-shadow: var(--fsgt-shadow-soft);
  padding: 14px 22px;
  display: grid;
  justify-items: center;
  gap: 0;
}
.fsgt-geo .fsgt-geo-score b {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--fsgt-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fsgt-geo .fsgt-geo-score span { font-size: 12px; font-weight: 600; color: var(--fsgt-muted); }
.fsgt-geo .fsgt-geo-grade { margin: 0; flex: 1; min-width: 220px; font-weight: 600; }

/* Factor bars. */
.fsgt-geo .fsgt-geo-factors { display: grid; gap: 12px; margin-bottom: 20px; }
.fsgt-geo .fsgt-geo-factor-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fsgt-text);
  margin-bottom: 5px;
}
.fsgt-geo .fsgt-geo-pts { color: var(--fsgt-muted); font-variant-numeric: tabular-nums; }

/* Fix-first list. */
.fsgt-geo .fsgt-geo-fixes { margin-bottom: 4px; }
.fsgt-geo .fsgt-geo-fixlist {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fsgt-text-2);
}
.fsgt-geo .fsgt-geo-fixlist strong { color: var(--fsgt-text); }

@media (max-width: 640px) {
  .fsgt-geo .fsgt-geo-scorehead { align-items: stretch; }
  .fsgt-geo .fsgt-geo-score { justify-self: start; }
}
