/* Its own band under the identity strip, not a third item inside it: the block
   is taller than the label/value pairs it used to sit beside, so centring it in
   that flex row left nothing aligned. Reads left-to-right as "what this does"
   then "do it". */
.gf-prepare-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 90, 79, 0.2);
  border-radius: 16px;
  background: rgba(31, 90, 79, 0.05);
}

.gf-prepare-action-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 260px;
}

/* The host pages style bare `label` as a 12px uppercase metadata caption, so a
   component that reuses <label> has to opt out explicitly -- setting only the
   size leaves the uppercasing and letter-spacing behind. */
.gf-prepare-action-title {
  color: var(--accent-dark);
  font-size: 0.98rem;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

.gf-prepare-action-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.gf-prepare-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 0 1 auto;
}

.gf-prepare-action-select {
  /* The host pages set `input, select, textarea { width: 100% }` for their form
     rows; inherited here it made the select eat the whole band and push the
     button onto a second line. */
  width: auto;
  min-width: 170px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.gf-prepare-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 20px rgba(31, 90, 79, 0.18);
  color: #fff8ef;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 700px) {
  .gf-prepare-action-row { flex: 1 1 100%; }
  .gf-prepare-action-select,
  .gf-prepare-action-link { flex: 1 1 100%; }
}
