.gg-similar-title {
  margin: 28px 0 14px;
  color: #142033;
}

.gg-intent-sections {
  display: grid;
  gap: 18px;
}

.gg-intent-section {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e6edf5;
  border-radius: 16px;
}

.gg-intent-section__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #334155;
}

.gg-list.gg-intent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gg-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  padding: 11px 12px;
  background: #fbfdff;
  border: 1px solid #e7eef6;
  border-radius: 12px;
}

.gg-item-thumb {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
}

.gg-item-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gg-meta {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.gg-item-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #d7e6ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #315b90;
}

.gg-name {
  display: inline-block;
  grid-column: 2;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #152135;
  text-decoration: none !important;
}

.gg-name:hover,
.gg-name:focus,
.gg-name:active {
  color: #0f4a85 !important;
  text-decoration: underline !important;
}

.gg-codes,
.gg-frequency,
.gg-updated {
  color: #607085;
}

.gg-codes.no-codes {
  color: #8b6a6a;
}

.gg-meta-sep {
  color: #a0aec0;
}

.gg-empty {
  padding: 14px;
  text-align: center;
  font-size: 14px;
  color: #65748a;
  background: #ffffff;
  border: 1px solid #e5edf6;
  border-radius: 14px;
}

.gg-propose-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 18px auto 0;
  position: relative;
}

.gg-propose-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d9e4ef;
  border-radius: 12px;
  background: #ffffff;
  color: #1d2b3f !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.gg-propose-trigger:hover,
.gg-propose-trigger:focus,
.gg-propose-trigger:active {
  background: #f8fbff !important;
  color: #1d2b3f !important;
  border-color: #c5d5e7 !important;
}

.gg-propose-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dbe6f1;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  z-index: 99;
}

.gg-propose-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  margin-bottom: 12px !important;
  border: 1px solid #d4dee9;
  border-radius: 10px;
  background: #fbfcfe;
  font-size: 14px;
  color: #152135;
}

.gg-propose-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.gg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gg-btn-green {
  background: #22c55e;
  color: #ffffff !important;
}

.gg-btn-green:hover,
.gg-btn-green:focus,
.gg-btn-green:active {
  background: #18a34b !important;
  color: #ffffff !important;
}

.gg-btn-red {
  background: #ef4444;
  color: #ffffff !important;
}

.gg-btn-red:hover,
.gg-btn-red:focus,
.gg-btn-red:active {
  background: #dc2626 !important;
  color: #ffffff !important;
}

.gg-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #dbe6f1;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  font-size: 14px;
  font-weight: 600;
  color: #17263b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100000;
}

.gg-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .gg-intent-section {
    padding: 12px;
  }

  .gg-intent-section__title {
    font-size: 16px;
  }

  .gg-name {
    font-size: 15px;
  }

  .gg-meta {
    gap: 4px;
    font-size: 12px;
  }

  .gg-item {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
    padding: 10px;
  }

  .gg-item-thumb {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .gg-propose-wrapper {
    max-width: 100%;
  }
}

