@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;700&display=swap");

.gcsc-root {
  --gcsc-bg-1: #f7f2e8;
  --gcsc-bg-2: #fdf9f3;
  --gcsc-ink: #12231e;
  --gcsc-accent: #0f5f4f;
  --gcsc-accent-soft: #d6efe9;
  --gcsc-danger: #9e1f1f;
  --gcsc-safe: #1c6b2d;
  --gcsc-warn: #8b5b00;
  --gcsc-border: rgba(18, 35, 30, 0.16);
  --gcsc-shadow: 0 16px 40px rgba(15, 47, 41, 0.12);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--gcsc-ink);
  margin: 24px 0;
}

.gcsc-shell {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(15, 95, 79, 0.08), transparent 55%),
    linear-gradient(130deg, var(--gcsc-bg-1), var(--gcsc-bg-2));
  border: 1px solid var(--gcsc-border);
  border-radius: 18px;
  box-shadow: var(--gcsc-shadow);
  padding: 24px;
}

.gcsc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gcsc-accent);
}

.gcsc-shell h2 {
  margin: 8px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.05;
}

.gcsc-shell p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 70ch;
}

.gcsc-form {
  display: grid;
  gap: 14px;
}

.gcsc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gcsc-form label {
  display: grid;
  gap: 6px;
}

.gcsc-form label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gcsc-form input,
.gcsc-form textarea {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 10px;
  border: 1px solid var(--gcsc-border);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 12px;
  color: var(--gcsc-ink);
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.gcsc-form input:focus,
.gcsc-form textarea:focus {
  border-color: var(--gcsc-accent);
  box-shadow: 0 0 0 3px rgba(15, 95, 79, 0.15);
}

.gcsc-form textarea {
  resize: vertical;
  min-height: 150px;
}

.gcsc-turnstile-wrap {
  margin-top: 2px;
}

.gcsc-turnstile-wrap .cf-turnstile {
  min-height: 65px;
}

.gcsc-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #0f5f4f, #1f7d6b);
  color: #fff;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gcsc-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(15, 95, 79, 0.25);
}

.gcsc-submit:disabled {
  cursor: wait;
  opacity: 0.85;
}

.gcsc-inline-note {
  margin: 0;
  font-size: 12px;
}

.gcsc-inline-note a {
  font-weight: 700;
}

.gcsc-result {
  margin-top: 14px;
}

.gcsc-loading,
.gcsc-error {
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

.gcsc-loading {
  background: var(--gcsc-accent-soft);
  border: 1px solid rgba(15, 95, 79, 0.28);
}

.gcsc-error {
  background: #ffefef;
  border: 1px solid rgba(158, 31, 31, 0.25);
  color: #812020;
}

.gcsc-card {
  background: rgba(255, 255, 255, 0.83);
  border: 1px solid var(--gcsc-border);
  border-radius: 14px;
  padding: 14px;
}

.gcsc-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.gcsc-row-top {
  justify-content: flex-start;
}

.gcsc-badge {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gcsc-badge-danger {
  background: rgba(158, 31, 31, 0.14);
  color: var(--gcsc-danger);
}

.gcsc-badge-safe {
  background: rgba(28, 107, 45, 0.14);
  color: var(--gcsc-safe);
}

.gcsc-badge-warn {
  background: rgba(139, 91, 0, 0.14);
  color: var(--gcsc-warn);
}

.gcsc-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gcsc-score {
  border: 1px solid var(--gcsc-border);
  border-radius: 11px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.gcsc-score-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(18, 35, 30, 0.7);
}

.gcsc-score-value {
  font-size: 17px;
  font-weight: 700;
  margin-top: 4px;
}

.gcsc-meter {
  margin-top: 8px;
  height: 7px;
  border-radius: 999px;
  background: rgba(18, 35, 30, 0.09);
  overflow: hidden;
}

.gcsc-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f5f4f, #efb74f);
}

.gcsc-summary {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--gcsc-accent);
  background: rgba(15, 95, 79, 0.08);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.gcsc-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gcsc-columns section {
  border: 1px solid var(--gcsc-border);
  border-radius: 11px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.gcsc-columns h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gcsc-columns ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.gcsc-columns li {
  position: relative;
  padding-left: 17px;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-family: inherit !important;
}

.gcsc-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #4f7f76;
}

.gcsc-panel-signals li::before {
  background: linear-gradient(135deg, #d16f2a, #efb74f);
}

.gcsc-panel-actions li::before {
  background: linear-gradient(135deg, #0f5f4f, #2f8d7a);
  border-radius: 999px;
}

.gcsc-panel-citations li::before {
  background: linear-gradient(135deg, #4f6fd1, #7ba2ef);
  transform: rotate(45deg);
}

.gcsc-panel-citations ul {
  gap: 8px;
}

.gcsc-panel-citations li,
.gcsc-panel-citations li a {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.gcsc-panel-citations li {
  padding-left: 0;
}

.gcsc-panel-citations li::before {
  content: none;
}

.gcsc-citation-link {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(79, 111, 209, 0.22);
  background: linear-gradient(120deg, rgba(79, 111, 209, 0.08), rgba(123, 162, 239, 0.04));
  border-radius: 10px;
  padding: 8px 10px;
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.gcsc-citation-link:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 111, 209, 0.36);
  box-shadow: 0 6px 14px rgba(79, 111, 209, 0.12);
}

.gcsc-citation-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(140deg, #4f6fd1, #7ba2ef);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gcsc-citation-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.gcsc-citation-title {
  color: #15253f;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcsc-citation-host {
  color: rgba(21, 37, 63, 0.72);
  text-transform: lowercase;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.gcsc-citation-arrow {
  color: #4f6fd1;
  font-size: 14px;
  font-weight: 700;
}

.gcsc-citation-empty {
  border: 1px dashed rgba(79, 111, 209, 0.32);
  background: rgba(79, 111, 209, 0.05);
  border-radius: 10px;
  padding: 10px !important;
  color: rgba(21, 37, 63, 0.75);
}

.gcsc-columns a {
  word-break: break-word;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.gcsc-footnote {
  margin-top: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(18, 35, 30, 0.67);
}

.gcsc-skeleton {
  pointer-events: none;
}

.gcsc-skel {
  position: relative;
  overflow: hidden;
  background: rgba(18, 35, 30, 0.08);
  border-radius: 8px;
}

.gcsc-skel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 140%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: gcsc-shimmer 1.15s linear infinite;
}

.gcsc-skel-pill {
  width: 110px;
  height: 28px;
  border-radius: 999px;
}

.gcsc-skel-line {
  width: 100%;
  height: 14px;
  margin-bottom: 9px;
}

.gcsc-skel-sm {
  width: 44%;
}

.gcsc-skel-mid {
  width: 76%;
}

.gcsc-skel-meter {
  width: 100%;
  height: 7px;
  border-radius: 999px;
}

@keyframes gcsc-shimmer {
  100% {
    left: 120%;
  }
}

@media (max-width: 900px) {
  .gcsc-grid,
  .gcsc-score-grid,
  .gcsc-columns {
    grid-template-columns: 1fr;
  }

  .gcsc-shell {
    padding: 16px;
  }
}
