.action-guide-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.action-guide-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

.action-guide-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(1);
  opacity: .94;
}

.action-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 42px;
  border-top: 1px solid var(--guide-line);
  border-bottom: 1px solid var(--guide-line);
}

.action-fact {
  min-width: 0;
  padding: 17px 18px 17px 0;
}

.action-fact + .action-fact {
  padding-left: 18px;
  border-left: 1px solid var(--guide-line);
}

.action-fact-label {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.action-fact-value {
  display: block;
  color: #dedede;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.5;
}

.action-example {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0 34px;
  border-top: 1px solid var(--guide-line);
  border-bottom: 1px solid var(--guide-line);
}

.action-example-single {
  grid-template-columns: 1fr;
}

.action-example-card {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.action-example-card + .action-example-card {
  padding-right: 0;
  padding-left: 18px;
  border-left: 1px solid var(--guide-line);
}

.action-example-label {
  display: block;
  margin-bottom: 8px;
  color: #7e7e7e;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.action-example-text {
  margin: 0 !important;
  color: #e8e8e8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .86rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.action-settings-list {
  margin: 25px 0 34px;
  border-top: 1px solid var(--guide-line);
}

.action-setting {
  padding: 21px 0;
  border-bottom: 1px solid var(--guide-line);
}

.action-setting h3 {
  margin: 0 0 7px;
  color: #f2f2f2;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.action-setting p {
  margin: 0;
  color: #aaa;
  font-size: .94rem;
  line-height: 1.65;
}

.action-setting-options {
  display: block;
  margin: 10px 0 0;
  padding-left: 1.25rem;
  color: #c9c9c9;
  list-style: disc outside;
}

.action-setting-option {
  display: list-item;
  font-size: .84rem;
  line-height: 1.5;
}

.action-setting-option + .action-setting-option {
  margin-top: 4px;
}

.action-path {
  display: block;
  margin: 4px 0 24px;
  color: #b8a8dc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .78rem;
  line-height: 1.55;
}

.action-settings-screenshot {
  width: min(100%, 680px);
  margin: 4px 0 36px;
}

.action-settings-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--guide-line-strong);
  border-radius: 8px;
  background: #efefef;
}

.action-settings-image-link:focus-visible {
  outline: 2px solid var(--guide-blue);
  outline-offset: 4px;
}

.action-settings-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.action-settings-screenshot figcaption {
  margin-top: 10px;
  color: #858585;
  font-size: .8rem;
  line-height: 1.55;
}

.related-actions {
  margin-top: 24px;
  border-top: 1px solid var(--guide-line);
}

.related-action {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--guide-line);
}

.related-action:focus-visible {
  outline: 2px solid var(--guide-blue);
  outline-offset: 3px;
}

.related-action img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
  filter: invert(1);
  opacity: .86;
}

.related-action-copy {
  min-width: 0;
}

.related-action-name {
  display: block;
  color: #ededed;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
}

.related-action:hover .related-action-name {
  color: var(--guide-blue);
}

.related-action-description {
  display: block;
  margin-top: 2px;
  color: #858585;
  font-size: .78rem;
  line-height: 1.5;
}

.action-draft-note {
  margin-bottom: 30px;
  color: #898989;
  font-size: .82rem;
}

@media (max-width: 700px) {
  .action-guide-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .action-guide-icon {
    width: 42px;
    height: 42px;
  }

  .action-guide-icon img {
    width: 35px;
    height: 35px;
  }

  .action-facts,
  .action-example {
    grid-template-columns: 1fr;
  }

  .action-fact,
  .action-fact + .action-fact,
  .action-example-card,
  .action-example-card + .action-example-card {
    padding: 15px 0;
    border-left: 0;
  }

  .action-fact + .action-fact,
  .action-example-card + .action-example-card {
    border-top: 1px solid var(--guide-line);
  }
}
