/* A guide's step plan as a checklist (post.html, action_plan.py, js/action-plan.v1.js).
   Same palette as the "at a glance" box and the affiliate tools box.
   Immutable one-year cache on /css: ship any edit under a new file name. */
ol[data-action-plan].action-plan--ready {
  --ap-accent: #2b6cb0;
  --ap-ink-muted: #595959;
  --ap-line: #dbe3ee;
  --ap-surface: #f7f9fc;
  list-style: none;
  margin: 0 0 8px;
  padding: 6px 18px;
  border: 1px solid var(--ap-line);
  border-radius: 6px;
  background: var(--ap-surface);
}

.action-plan__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--ap-line);
}
.action-plan__step:first-child { border-top: 0; }
ol[data-action-plan] .action-plan__step { margin: 0; }

/* Scoped under the list: the theme's input[type=checkbox] and label rules
   outrank a single class (the box took the whole row at 375 px). */
ol[data-action-plan] .action-plan__check {
  flex: none;
  display: inline-block;
  position: static;
  opacity: 1;
  -webkit-appearance: checkbox;
  appearance: auto;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--ap-accent);
  cursor: pointer;
}
ol[data-action-plan] .action-plan__check:focus-visible { outline: 2px solid var(--ap-accent); outline-offset: 2px; }

ol[data-action-plan] .action-plan__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}
ol[data-action-plan] .action-plan__step.is-done .action-plan__text { color: var(--ap-ink-muted); text-decoration: line-through; }

.action-plan__status { margin: 0 0 24px; font-size: 0.85em; color: var(--ap-ink-muted); }
