.next-steps-actions .secondary-action {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.next-steps-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}.next-steps-actions .primary-action {
    background: var(--accent);
    color: var(--primary-dark);
}
.next-steps-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}.next-steps-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; 
}.next-steps p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 620px;
}.next-steps h2 {
    color: #fff !important;
    font-size: 1.35rem;
    margin-bottom: 8px;
}.next-steps {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin: 8px 0 0;
    color: #fff;
    max-width: 900px;margin:0 auto
}.download-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 28px;
  margin: 32px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.download-bar .info { flex: 1; min-width: 240px; }
.download-bar .info strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.download-bar .info span { font-size: 0.85rem; color: var(--text-light); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-download:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn-download:active { transform: scale(0.98); }
.btn-download:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ===== Tabs ===== */
.tab-bar {
  display: flex;
  gap: 4px;
  margin: 28px 0 0;
  border-bottom: 2px solid var(--border); 
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn[aria-selected="true"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 4px;
}

.tab-panel { display: none; padding: 36px 0; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Progress bar ===== */
.progress-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 820px;
}
.progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}
.progress-track {
  flex: 1;
  height: 8px;
  background: #eef4f7;
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 100px;
  transition: width 0.25s ease;
}

/* ===== Timeline (div > .timeline-item structure) =====
   Note: choose-movers also has a .timeline class, but that one
   uses ol > li. Different structure, different pages, no conflict. */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 820px;
  margin: 24px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary-light);
  z-index: 1;
}
.timeline-item.milestone::before {
  background: var(--accent);
  border-color: var(--accent);
}
.timeline-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.timeline-item .week-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(26,95,122,0.08);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.timeline-item .week-label.milestone-label {
  background: rgba(245,158,11,0.12);
  color: var(--accent-hover);
}
.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 10px;
}

/* ===== Task list with native checkboxes ===== */
.task-list { list-style: none; margin: 0; }
.task-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  line-height: 1.55;
  align-items: flex-start;
  color: var(--text);
}

.task-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.task-checkbox:hover { border-color: var(--primary-light); }
.task-checkbox:checked {
  background: var(--green);
  border-color: var(--green);
}
.task-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.task-checkbox:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.task-list label {
  cursor: pointer;
  display: block;
  flex: 1;
}
.task-list .task-text strong { font-weight: 600; display: block; }
.task-list .task-text span {
  color: var(--text-lighter);
  font-size: 0.82rem;
  display: block;
}
.task-checkbox:checked + label .task-text strong {
  text-decoration: line-through;
  color: var(--text-light);
}

/* ===== Category cards (By Category tab) ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.category-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.category-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.category-card ul {
  list-style: none;
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.6;
}
.category-card li {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  align-items: flex-start;
}
.category-card .task-checkbox { margin-top: 2px; }
.category-card label {
  cursor: pointer;
  flex: 1;
  font-size: 0.86rem;
  color: var(--text);
}
.category-card .task-checkbox:checked + label {
  text-decoration: line-through;
  color: var(--text-light);
}

/* ===== Tab end note (link to next tab) ===== */
.tab-endnote {
  background: #f0f7fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0 0;
  max-width: 820px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.tab-endnote strong { color: var(--primary-dark); }

/* ===== Print footer (only visible in print) ===== */
.print-footer {
  display: none;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #ccc;
  font-size: 9pt;
  color: #666;
}

/* ===== Responsive overrides (page-specific only) ===== */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .progress-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .progress-track { width: 100%; }
}

@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
  .download-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-download {
    width: 100%;
    justify-content: center;
  }
  .timeline { padding-left: 32px; }
  .timeline-item::before { left: -25px; }
}

/* ===== Print overrides for checklist ===== */
@media print {
  /* Hide interactive chrome */
  .download-bar,
  .tab-bar,
  .progress-bar,
  .tab-endnote,
  .no-print { display: none !important; }

  /* Expand every tab so the printed checklist is complete */
  .tab-panel {
    display: block !important;
    page-break-inside: auto;
  }
  .tab-panel + .tab-panel { page-break-before: always; }

  .timeline::before { background: #ccc; }
  .timeline-item::before {
    border-color: #666;
    background: #fff;
  }
  .timeline-item { padding-bottom: 18px; }

  .task-list li { padding: 3px 0; }

  .task-checkbox {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #000;
    background: #fff;
  }
  .task-checkbox:checked {
    background: #fff;
    border-color: #000;
  }
  .task-checkbox:checked::after { border-color: #000; }

  .category-card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
  .category-grid { grid-template-columns: 1fr 1fr; }

  .print-footer { display: block !important; }
}