.g-intent-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.g-intent-modal.is-open { display: block; }
.g-intent-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); }

.g-intent-card {
  position: relative;
  margin: 5vh auto 0;
  width: min(720px, calc(100vw - 32px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
  padding: 22px;
}

.g-intent-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0;
  font-size: 18px; cursor: pointer; opacity: .7;
}
.g-intent-close:hover { opacity: 1; }

.g-intent-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.g-intent-title { margin: 6px 0 6px; font-size: 24px; line-height: 1.2; }
.g-intent-subtitle { margin: 0 0 14px; opacity: .8; }

.g-intent-q { font-weight: 600; margin: 14px 0 10px; }
.g-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.g-intent-option {
  text-align: left;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  cursor: pointer;
}
.g-intent-option:hover { background: rgba(0,0,0,.04); }
.g-intent-option.is-selected {
  border-color: rgba(0,0,0,.28);
  background: rgba(0,0,0,.06);
}

.g-intent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.g-intent-link { margin-left: auto; font-size: 14px; opacity: .85; }
.g-intent-note { margin: 10px 0 0; font-size: 14px; opacity: .8; }

.g-btn { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12); background: #fff; cursor: pointer; }
.g-btn-primary { border: 0; color: #fff; background: #111; }
.g-btn-ghost { background: rgba(0,0,0,.02); }
.g-btn:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 520px) {
  .g-intent-grid { grid-template-columns: 1fr; }
}
