/* ================================================================
   GEO GUIDANCE
   Inspector recommendations · AI reports
   ================================================================ */


/* Potential score ------------------------------------------------ */

.geo-potential-score {
  margin-top: 20px;
  padding: 15px;

  text-align: left;

  background: rgba(255, 255, 255, 0.09);

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.geo-potential-score > span,
.geo-potential-score > strong,
.geo-potential-score > small {
  display: block;
}

.geo-potential-score > span {
  color: rgba(255, 255, 255, 0.7);

  font-family: "Work Sans", sans-serif;
  font-size: 0.64rem;
  font-weight: 650;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.geo-potential-score > strong {
  margin-top: 5px;

  color: #ffffff;

  font-family: "Barlow", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.geo-potential-score > small {
  margin-top: 6px;

  color: rgba(255, 255, 255, 0.64);

  font-family: "Work Sans", sans-serif;
  font-size: 0.66rem;
  line-height: 1.5;
}


/* Check heading -------------------------------------------------- */

.geo-check-summary-copy {
  min-width: 0;
}

.geo-check summary .geo-check-summary-copy strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.geo-check summary .geo-check-summary-copy small {
  margin-top: 3px;

  font-size: 0.62rem;
  line-height: 1.45;
}


/* Check body ----------------------------------------------------- */

.geo-check-description {
  margin: 0 0 14px !important;

  color: #4d6773;

  font-family: "Work Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.55;
}

.geo-check-current,
.geo-recommendation {
  margin-top: 11px;
  padding: 12px 13px;

  border-radius: 9px;
}

.geo-check-current {
  background: #f4f8f9;
}

.geo-recommendation {
  background: #fff7e8;

  border: 1px solid #f1ddb8;
}

.geo-check-current strong,
.geo-recommendation strong,
.geo-guidance-suggestions > strong {
  display: block;

  color: #31505f;

  font-family: "Work Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.geo-recommendation strong {
  color: #885605;
}

.geo-check-current p,
.geo-recommendation p {
  margin: 5px 0 0;

  font-size: 0.7rem;
  line-height: 1.55;
}


/* AI Suggestions ------------------------------------------------- */

.geo-guidance-suggestions {
  margin-top: 12px;
  padding: 13px;

  background: #f0f7f9;

  border: 1px solid #d4e5ea;
  border-radius: 10px;
}

.geo-guidance-suggestions > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  color: #054d7f;
}

.geo-guidance-suggestions > strong > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 25px;
  height: 25px;

  padding: 0 8px;

  color: #ffffff;
  background: #054d7f;

  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 700;
}


/* Individual suggestion ----------------------------------------- */

.geo-guidance-suggestion {
  margin-top: 10px;
  padding: 12px;

  background: #ffffff;

  border: 1px solid #d9e6ea;
  border-radius: 8px;
}

.geo-guidance-suggestion b,
.geo-guidance-suggestion p,
.geo-guidance-suggestion small,
.geo-guidance-suggestion code {
  display: block;

  overflow-wrap: anywhere;
}

.geo-guidance-suggestion b {
  color: #274957;

  font-family: "Work Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
}

.geo-guidance-suggestion p {
  margin: 5px 0 0;

  color: #58717c;

  font-size: 0.68rem;
  line-height: 1.5;
}

.geo-guidance-suggestion small {
  margin-bottom: 5px;

  color: #7b9099;

  font-size: 0.62rem;
  line-height: 1.45;
}

.geo-guidance-suggestion code {
  margin-top: 6px;
  padding: 6px 7px;

  color: #054d7f;
  background: #edf4f6;

  border-radius: 6px;

  font-size: 0.62rem;
  line-height: 1.45;
}


/* Verification warning ------------------------------------------ */

.geo-verification-note {
  margin: 11px 0 0 !important;
  padding-top: 10px;

  color: #667e88;

  border-top: 1px solid #d8e6ea;

  font-size: 0.64rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   GENERATION REPORT
   ---------------------------------------------------------------- */

.geo-ai-generation-report {
  margin-bottom: 18px;

  overflow: hidden;

  background: #f7fafb;

  border: 1px solid #dce6ea;
  border-radius: 12px;
}

.geo-ai-generation-report-header {
  padding: 15px 17px;

  background: #ebf4f7;

  border-bottom: 1px solid #dce6ea;
}

.geo-ai-generation-report-header strong {
  display: block;

  color: #032e4d;

  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.geo-ai-generation-report-header p {
  margin: 5px 0 0;

  color: #647b85;

  font-family: "Work Sans", sans-serif;
  font-size: 0.68rem;
  line-height: 1.5;
}


/* Report grid ---------------------------------------------------- */

.geo-ai-generation-report-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
}

.geo-ai-generation-report-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 4px 12px;

  padding: 12px 15px;

  border-right: 1px solid #e0e8eb;
  border-bottom: 1px solid #e0e8eb;
}

.geo-ai-generation-report-row:nth-child(2n) {
  border-right: 0;
}

.geo-ai-generation-report-row > span {
  color: #405c68;

  font-size: 0.68rem;
  font-weight: 600;
}

.geo-ai-generation-report-row > strong {
  color: #054d7f;

  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.geo-ai-generation-report-row > small {
  grid-column: 1 / -1;

  color: #7e929a;

  font-size: 0.6rem;
  line-height: 1.4;
}


/* Human-required footer ----------------------------------------- */

.geo-ai-generation-human {
  display: flex;
  align-items: baseline;

  gap: 10px 18px;

  padding: 13px 15px;

  background: #fff8eb;
}

.geo-ai-generation-human strong {
  color: #86570d;

  font-size: 0.66rem;
  font-weight: 700;
}

.geo-ai-generation-human span {
  color: #725f43;

  font-size: 0.64rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   MOBILE
   ---------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .geo-check summary .geo-check-summary-copy strong {
    font-size: 0.76rem;
  }

  .geo-check-current,
  .geo-recommendation,
  .geo-guidance-suggestions {
    padding: 11px;
  }

  .geo-ai-generation-report-grid {
    grid-template-columns: 1fr;
  }

  .geo-ai-generation-report-row,
  .geo-ai-generation-report-row:nth-child(2n) {
    border-right: 0;
  }

  .geo-ai-generation-human {
    align-items: flex-start;
    flex-direction: column;

    gap: 5px;
  }
}