/* GEO admin ------------------------------------------------------ */

.geo-page-header {
  margin-bottom: 22px;
}

.geo-score-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #032e4d 0%, #054d7f 70%, #0679a8 100%);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(3, 46, 77, .14);
}

.geo-score-ring {
  --size: 132px;
  position: relative;
  display: grid;
  flex: 0 0 var(--size);
  width: var(--size);
  height: var(--size);
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#f28d01 calc(var(--geo-score) * 1%), rgba(255,255,255,.17) 0);
}

.geo-score-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: #043957;
  border-radius: 50%;
}

.geo-score-ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.geo-score-ring strong {
  display: block;
  font: 600 2.5rem/1 "Barlow", sans-serif;
}

.geo-score-ring span {
  color: rgba(255,255,255,.67);
  font: 500 .7rem "Work Sans", sans-serif;
}

.geo-score-copy h2 {
  margin: 5px 0 7px;
  color: #fff;
  font: 500 clamp(1.35rem, 2.5vw, 2rem)/1.2 "Barlow", sans-serif;
}

.geo-score-copy p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.75);
  font: 400 .72rem/1.6 "Work Sans", sans-serif;
}

.geo-resource-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.geo-resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  background: #f9fbfc;
  border: 1px solid #e0e8eb;
  border-radius: 11px;
}

.geo-resource-type {
  display: inline-block;
  margin-bottom: 4px;
  color: #04a0dd;
  font: 650 .55rem "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.geo-resource-main h3 {
  margin: 0;
  color: #032e4d;
  font: 600 .84rem "Barlow", sans-serif;
}

.geo-resource-main p {
  margin: 3px 0 0;
  color: #7a8d95;
  font: 400 .6rem "Work Sans", sans-serif;
}

.geo-resource-score {
  padding: 8px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid #dce6ea;
  border-radius: 9px;
}

.geo-resource-score strong,
.geo-resource-score span {
  display: block;
}

.geo-resource-score strong {
  color: #032e4d;
  font: 650 1.2rem "Barlow", sans-serif;
}

.geo-resource-score span {
  color: #809199;
  font: 600 .5rem "Work Sans", sans-serif;
  text-transform: uppercase;
}

.geo-resource-score.is-excellent { border-color: #9cd6b6; }
.geo-resource-score.is-strong { border-color: #9dcde3; }
.geo-resource-score.is-medium { border-color: #f4cf80; }
.geo-resource-score.is-weak { border-color: #e4a6a6; }

.geo-inspector-layout {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.geo-inspector-score-panel {
  position: sticky;
  top: 18px;
}

.geo-inspector-score {
  padding: 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #032e4d, #054d7f);
  border-radius: 15px 15px 0 0;
}

.geo-inspector-score strong {
  font: 650 3rem/1 "Barlow", sans-serif;
}

.geo-inspector-score span {
  color: rgba(255,255,255,.6);
  font: 500 .75rem "Work Sans", sans-serif;
}

.geo-inspector-score small {
  display: block;
  margin-top: 7px;
  color: #f3b75c;
  font: 650 .6rem "Work Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.geo-check-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5e9;
  border-top: 0;
  border-radius: 0 0 15px 15px;
}

.geo-check {
  border-bottom: 1px solid #e7edef;
}

.geo-check:last-child { border-bottom: 0; }

.geo-check summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
}

.geo-check summary::-webkit-details-marker { display: none; }

.geo-check-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  font: 700 .65rem "Work Sans", sans-serif;
}

.geo-check.is-pass .geo-check-status {
  color: #237347;
  background: #e8f6ed;
}

.geo-check.is-fail .geo-check-status {
  color: #9b5a00;
  background: #fff2dc;
}

.geo-check summary > span:last-child strong,
.geo-check summary > span:last-child small {
  display: block;
}

.geo-check summary strong {
  color: #253f4d;
  font: 600 .62rem "Work Sans", sans-serif;
}

.geo-check summary small {
  margin-top: 2px;
  color: #94a2a8;
  font: 500 .5rem "Work Sans", sans-serif;
}

.geo-check-body {
  padding: 0 13px 13px 47px;
  color: #657a84;
  font: 400 .58rem/1.55 "Work Sans", sans-serif;
}

.geo-check-body > p { margin: 0; }

.geo-why {
  margin-top: 9px;
  padding: 9px;
  background: #f5f8f9;
  border-radius: 7px;
}

.geo-why strong {
  color: #054d7f;
  font-size: .55rem;
}

.geo-why p { margin: 3px 0 0; }

.geo-inspector-editor {
  min-width: 0;
}

.geo-editor-card {
  margin-bottom: 16px;
}

.geo-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-top: 0;
  padding: 14px 0;
  background: rgba(246,248,249,.94);
  backdrop-filter: blur(10px);
}

@media screen and (max-width: 900px) {
  .geo-inspector-layout {
    grid-template-columns: 1fr;
  }

  .geo-inspector-score-panel {
    position: static;
  }

  .geo-resource-row {
    grid-template-columns: 1fr auto;
  }

  .geo-resource-score {
    grid-column: 2;
    grid-row: 1;
  }

  .geo-resource-row .button {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 650px) {
  .geo-score-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .geo-resource-row {
    grid-template-columns: 1fr;
  }

  .geo-resource-score {
    grid-column: auto;
    grid-row: auto;
    width: 110px;
  }
}
