/* v9 checklist additions; loaded after the shared portal styles. */
.checklist-guide {
  max-width: 72ch;
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.checklist-guide h2 { margin-top: 0; }
.checklist-guide ol { padding-left: 1.4rem; }
.checklist-guide li { margin: .7rem 0; }
.checklist-storage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
}
.checklist-storage-status {
  flex: 1 1 24rem;
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.checklist-storage-actions .button { margin: 0; }

@media (max-width: 600px) {
  .checklist-guide { padding: 18px; }
  .checklist-storage-actions { align-items: stretch; }
  .checklist-storage-actions .button { width: 100%; }
}

@media print {
  .checklist-guide,
  .checklist-storage-actions,
  #checklist-form,
  #wizard-progress,
  #wizard-meter,
  #wizard-review,
  .result-actions,
  .task-check input,
  button { display: none !important; }
  #checklist-results { display: block !important; max-width: none; margin: 0; }
  .checklist-task { break-inside: avoid; page-break-inside: avoid; }
  .checklist-task.is-complete .task-title span { text-decoration: line-through; }
  .checklist-task::after { content: ' '; display: block; }
}
