.ct-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ct-sticky-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg);
  padding-bottom: 0.3rem;
}
.ct-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  margin: 0.4rem 0;
  overflow: hidden;
}
.ct-progress-fill {
  height: 100%;
  background: var(--accent-2);
  width: 0%;
  transition: width 0.2s ease;
}

.ct-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
}
.ct-filter-field { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.72rem; color: var(--muted); }
.ct-filter-field select,
.ct-filter-field input {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
  min-width: 9rem;
}
.ct-filter-search input { min-width: 14rem; }
.ct-filter-count { margin-left: auto; align-self: center; }

.ct-group { margin-bottom: 0.5rem; }
.ct-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 0.5rem;
}
.ct-group-head h2 { font-size: 1rem; margin: 0; }

.ct-card {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.ct-card:has(.ct-checkbox:checked) { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 8%, var(--panel)); }
.ct-checkbox { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--accent-2); }
.ct-img { width: 48px; min-width: 48px; height: 68px; object-fit: cover; border-radius: 6px; background: var(--panel-2); }
.ct-body { min-width: 0; flex: 1; }
.ct-title { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.ct-name { font-weight: 700; }
.ct-meta { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.ct-effect { font-size: 0.82rem; margin: 0.25rem 0 0; color: var(--text); }
.ct-fecha { margin: 0.2rem 0 0; }
.ct-fecha:empty { display: none; }
