
/* Series page only (sl-*; V3-174). Tokens only.
   Mobile: title, full-width Create Series, then the sections stacked; search under the All Series heading.
   Desktop: title left / Create Series right; All Series heading left / search right. */
.sl-head         { display: flex; flex-direction: column; gap: var(--space-3); }
.sl-head .ui-section__lead { margin-bottom: 0; }
.sl-head__action { align-self: stretch; }

.sl-new          { max-width: calc(var(--space-7) * 10); }
.sl-section + .sl-section { margin-top: var(--space-4); }
.sl-heading      { display: flex; align-items: baseline; gap: var(--space-2); margin: 0; font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold); }
.sl-heading__count { color: var(--color-text-muted); font-size: var(--font-size-sm); font-weight: var(--font-weight-regular); }

.sl-toolbar      { display: flex; flex-direction: column; gap: var(--space-2); }
.sl-search       { width: 100%; }
.sl-count        { margin: 0; color: var(--color-text-muted); font-size: var(--font-size-sm); }

@media (min-width: 576px) {
  .sl-head         { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sl-head__action { align-self: auto; flex-shrink: 0; }
}

@media (min-width: 768px) {
  .sl-toolbar { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-3); }
  .sl-search  { flex: 0 1 auto; max-width: calc(var(--space-7) * 7); }
}
