/* ===== CHECKLIST PRESENTATION MODES =====
   Distinct layouts on shared .checklist-card chrome
   (public/css/checklist-card.css). Gradients use design tokens only. */

.presentation-executive { position: relative; }

/* —— Classic: landing-adjacent showcase list —— */
.presentation-classic {
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--surface) 88%, var(--success)) 0%,
      var(--surface) 38%,
      var(--surface) 100%
    );
}
.presentation-classic .item-row {
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.presentation-classic .item-row:hover {
  transform: translateX(2px);
}

/* —— Cards: tap-friendly tiles (green completion language) —— */
.presentation-cards {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface) 90%, var(--brand)) 0%,
      var(--surface) 55%
    );
}
.presentation-cards .item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.presentation-cards .item-row {
  flex-direction: column;
  text-align: center;
  padding: 16px 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  min-height: 92px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.presentation-cards .item-row:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--success) 40%, var(--border));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}
.presentation-cards .item-row:has(.item-checkbox-input:checked) {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 8%, var(--surface-raised));
}
.presentation-cards .item-checkbox { margin-bottom: 6px; }
.presentation-cards .item-text { font-size: var(--text-xs, 0.8rem); line-height: 1.3; }

/* —— Compact: dense rows —— */
.presentation-compact {
  padding: 18px 20px;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--surface) 92%, var(--text-muted)) 0%,
      var(--surface) 28%
    );
}
.presentation-compact .item-list { gap: 0; }
.presentation-compact .item-row {
  padding: 5px 8px;
  gap: 8px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.presentation-compact .item-row:last-child { border-bottom: none; }
.presentation-compact .item-checkbox { width: 15px; height: 15px; border-radius: 3px; }
.presentation-compact .item-text { font-size: var(--text-xs, 0.8rem); }
.presentation-compact .card-progress-bar { height: 2px; }
.presentation-compact .card-actions { margin-bottom: 10px; }

/* —— Executive: ring-forward —— */
.presentation-executive {
  background:
    radial-gradient(
      ellipse at 20% 0%,
      color-mix(in srgb, var(--brand) 18%, transparent),
      transparent 55%
    ),
    var(--surface);
}
.presentation-executive .exec-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.exec-ring {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  position: relative;
}
.exec-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.exec-ring__bg { fill: none; stroke: var(--border); stroke-width: 6; }
.exec-ring__fill {
  fill: none;
  stroke: var(--success);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 600ms cubic-bezier(0.22, 1, 0.36, 1), stroke 0.3s;
}
.exec-ring__pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.exec-summary { flex: 1; min-width: 0; }
.exec-summary__count { font-size: 1.15rem; font-weight: 700; }
.exec-summary__count .accent { color: var(--success); }
.exec-summary__label { font-size: 0.75rem; color: var(--text-muted); }
.exec-details { margin-bottom: 8px; }
.exec-details summary {
  list-style: none;
  cursor: pointer;
  color: var(--brand-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 0;
  -webkit-user-select: none;
  user-select: none;
}
.exec-details summary::-webkit-details-marker { display: none; }
.exec-details[open] summary { margin-bottom: 8px; }
.presentation-executive .item-list { margin-top: 4px; }

/* —— Timeline: vertical path —— */
.presentation-timeline {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface) 88%, var(--secondary)) 0%,
      var(--surface) 40%
    );
}
.presentation-timeline .item-list {
  position: relative;
  padding-left: 18px;
}
.presentation-timeline .item-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--success), var(--border));
  border-radius: 2px;
}
.presentation-timeline .item-row {
  position: relative;
  padding-left: 28px;
  background: transparent;
  border: none;
  margin-bottom: 4px;
}
.presentation-timeline .item-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  z-index: 1;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.presentation-timeline .item-row:has(.item-checkbox-input:checked)::before {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(var(--success-rgb), 0.2);
}
.presentation-timeline .item-row:not(:has(.item-checkbox-input:checked))::before {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.presentation-timeline .item-checkbox { display: none; }

@media (max-width: 768px) {
  .presentation-cards .item-list { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .presentation-classic .item-row,
  .presentation-cards .item-row,
  .exec-ring__fill {
    transition: none;
  }
  .presentation-classic .item-row:hover,
  .presentation-cards .item-row:hover {
    transform: none;
  }
}
